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.
(RPG) A tip for ‘dual purposing’ existing 5250 RPG code
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am