Changing Field Attributes

RPG
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

Normally, if you change a display file field from input/output to output only, your input buffer will change and you will need to recompile your program.

A quick way to change fields to disallow input is to add the attribute DSPATR(PR) to the input/output field. This attribute prohibits users from keying into the field, but it does not change the input buffer; therefore the program does not have to be recompiled.

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$0.00 Raised:
$