5 pts.
 Runtime Session resolution change
I want to change seesion resolution from 24X80 to 27X132 in runtime through RPG ILE. Please help me on this regard, by giving sample code.

Software/Hardware used:
ASKED: August 27, 2010  11:49 AM
UPDATED: August 27, 2010  8:30 PM

Answer Wiki:
Sign on to a workstation session that is defined to allow 27x132 -- this is a setting in the emulator on the PC. Once the workstation device is capable of displaying 27x132, then you would simply display a 27x132 record format. (System displays will automatically adapt to the display size of the device.) The DDS for a display file would be created to handle either 24x80 or 27x132 or both. The DDS file-level keyword is DSPSIZ(). It can have parameter values of *DS3, *DS4 or both. It can have some other values, but they all translate to one of those two special values.<ul> <li>*DS3 indicates record formats designed for 24x80.</li><li>*DS4 indicates record formats designed for 27x132.</li> </ul> You can only display *DS4 formats on devices that are enabled for 27x132. Tom
Last Wiki Answer Submitted:  August 27, 2010  8:30 pm  by  TomLiotta   108,135 pts.
All Answer Wiki Contributors:  TomLiotta   108,135 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _