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.
Opening a 5250 web page with a link longer than 123 characters
-
- Posts: 12
- Joined: Mon Dec 05, 2022 1:58 pm
Re: Opening a 5250 web page with a link longer than 123 characters
You can have HTML on a 5250 screen and it will be clickable, I don't think it uses STRPCCMD, as I've not tried it. In the ACS 5250 Preferences->Hot spots there is a setting for URLs.
Maybe worth a try.
Maybe worth a try.
Re: Opening a 5250 web page with a link longer than 123 characters
That limit disappeared back in release 7.2. Are you running a really old release? The current limit is 1,023 characters. Of course you will also need to be running a 5250 emulator package that is aware of this update.
-
- Posts: 12
- Joined: Mon Dec 05, 2022 1:58 pm
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 update the various clients in the short term (they are many and mostly located in different places).
The solution one would like to adopt is to issue a window displaying the relevant link and, by enabling the “hotspots” function, to open the browser.
If you have any other ideas, they are welcome.
Thank you all
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 update the various clients in the short term (they are many and mostly located in different places).
The solution one would like to adopt is to issue a window displaying the relevant link and, by enabling the “hotspots” function, to open the browser.
If you have any other ideas, they are welcome.
Thank you all
Re: Opening a 5250 web page with a link longer than 123 characters
It always saddens me when programmers are forced to find "solutions" for non-existent problems. The answer is so easy - update to a supported release.
But if the powers that be deem this impossible the only thiong I can think of is to load a batch file on each PC and invoke that with parms for the variable portion.
But if the powers that be deem this impossible the only thiong I can think of is to load a batch file on each PC and invoke that with parms for the variable portion.
-
- Posts: 12
- Joined: Mon Dec 05, 2022 1:58 pm
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
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