Runtime Session resolution change

5 pts.
Tags:
RPG ILE
RPGILE
Source code
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.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Sign on to a workstation session that is defined to allow 27×132 — this is a setting in the emulator on the PC.

Once the workstation device is capable of displaying 27×132, then you would simply display a 27×132 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 24×80 or 27×132 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 24×80.</li><li>*DS4 indicates record formats designed for 27×132.</li>
</ul>
You can only display *DS4 formats on devices that are enabled for 27×132.

Tom

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following