AS/400 display file

1215 pts.
Tags:
AS/400 Display File
RPGLE
How to decide the position of Display file's constant variable dynamically. I wanted to decide the position in RPGLE program.

Software/Hardware used:
AS400

Answer Wiki

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

Define a line as a field 79 characters (1 position for an attribute byte).
Then in your program populate that field with the contstant you want to display.
You can insert Hex values for attributes bytes if you want.

===========================================================

If you want to do it yourself (without using the above suggestion, which is perfectly valid), then define a record format as USRDFN or use the DSM APIs. I.e., do it yourself.

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.

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.

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

Following

Share this item with your network: