Search found 12 matches

by sandrocarosso
Mon Jun 30, 2025 7:58 am
Forum: RPG IV
Topic: Opening a 5250 web page with a link longer than 123 characters
Replies: 5
Views: 21102

Re: Opening a 5250 web page with a link longer than 123 characters

@jonboy49 I absolutely agree with you.
Probably, the decision will be to upgrade the various clients (which is also the most logical one).
In the meantime, it is necessary to find a “temporary” solution.
Thanks for the suggestion

Have a great day
by sandrocarosso
Sun Jun 29, 2025 4:51 pm
Forum: RPG IV
Topic: Opening a 5250 web page with a link longer than 123 characters
Replies: 5
Views: 21102

Re: Opening a 5250 web page with a link longer than 123 characters

Thank you all for your replies.
The operating system is 7.5, most pc's (maybe all) are still using iseries access 7.1.
With this software, the ‘strpccmd’ command is limited (I think to about 123 characters), whereas using the new ACS this limit is exceeded. Unfortunately, it is not possible to ...
by sandrocarosso
Fri Jun 27, 2025 2:40 pm
Forum: RPG IV
Topic: Opening a 5250 web page with a link longer than 123 characters
Replies: 5
Views: 21102

Opening a 5250 web page with a link longer than 123 characters

Good evening everyone, I need to open a 5250 web page which has a link with more than 123 characters, which is the limit imposed by the “STRPCCMD” command.
Do you know of any method to get around this limit?
Thanks in advance.
by sandrocarosso
Fri Jun 27, 2025 9:32 am
Forum: HTTPAPI
Topic: Web service & content-type application/x-www-form-urlencoded
Replies: 2
Views: 28924

Re: Web service & content-type application/x-www-form-urlencoded

Hi Scott, I tried again this morning and the webservice worked correctly, so I'm thinking that the error is not related to the programme.
Sorry to bother you and thanks for the support.
by sandrocarosso
Wed Jun 25, 2025 2:20 pm
Forum: HTTPAPI
Topic: Web service & content-type application/x-www-form-urlencoded
Replies: 2
Views: 28924

Web service & content-type application/x-www-form-urlencoded

Hello everyone, I am trying to consume a web service to obtain a token via user and password.
The content-type must be application/x-www-form-urlencoded.
The credentials must be passed in the format:
grant_type=client_credentials&client_id=Your_client_ID&client_secret=Your_secret.
If I try to ...
by sandrocarosso
Wed Jun 28, 2023 12:42 pm
Forum: General
Topic: Table Functions (UDTFs) & RPGLE
Replies: 2
Views: 16021

Re: Table Functions (UDTFs) & RPGLE

Hi Scott, thanks for the reply. Obviously, I know how to make selections on a database. I will carry out more tests in this direction.
by sandrocarosso
Thu Jun 22, 2023 3:34 pm
Forum: General
Topic: Table Functions (UDTFs) & RPGLE
Replies: 2
Views: 16021

Table Functions (UDTFs) & RPGLE

Good evening everyone,

I would like to take advantage of the possibility of using Table Functions (UDTFs) to reuse the logic expressed within my RPG ILE program. Within this program, I have to make a selection based on the parameters received (specifically, an article code could be indicated in ...
by sandrocarosso
Wed May 24, 2023 2:47 pm
Forum: HTTPAPI
Topic: Consuming REST API - String "HTTP/1.1"
Replies: 5
Views: 19311

Re: Consuming REST API - String "HTTP/1.1"

Thanks everyone for the suggestions!! I also entered "Accept: application/json" and now the webservice returns me the data I need, in addition to the corrections you suggested.

Thank you all
by sandrocarosso
Sat May 20, 2023 7:08 pm
Forum: HTTPAPI
Topic: Consuming REST API - String "HTTP/1.1"
Replies: 5
Views: 19311

Re: Consuming REST API - String "HTTP/1.1"

Good evening Scott,
thanks for your reply.
This is the command the API provider sent to me (he specified that I can also use "Application/json")

curl -X GET -H "X-Api-Key: 2KTV8VRAiUk-tvh7TyS_tf6t5qHSo3qAlWySDrHBC3o" -H "Accept: text/csv" "https://export-api-staging.lorch.cloud/api/export ...
by sandrocarosso
Thu May 04, 2023 1:05 pm
Forum: HTTPAPI
Topic: Consuming REST API - String "HTTP/1.1"
Replies: 5
Views: 19311

Consuming REST API - String "HTTP/1.1"

Hello, I have to consume a REST web services that responds to this link:
https://export-api-staging.lorch.cloud/api/export/weldseams? from_start_time_utc=1640993522&to_start_time_utc=1658323083".
I should consume it in GET so that it returns a JSON containing the requested information.
From what I ...