(RPG) A tip for ‘dual purposing’ existing 5250 RPG code
Posted: Fri Jun 29, 2012 2:03 pm
LongRange ships with a program called LRNGACTIVE - the source code is shipped in LRNGSOFT/LRNGSOURCE.
You can call this program from any RPG program.
Pass it a char (1) parameter which will be returned as ‘Y’ or ‘N’.
The returned value can be used by existing 5250 RPG code to decide whether it is directing output to a 5250 device or to a mobile device.
You can call this program from any RPG program.
Pass it a char (1) parameter which will be returned as ‘Y’ or ‘N’.
The returned value can be used by existing 5250 RPG code to decide whether it is directing output to a 5250 device or to a mobile device.