13.4.1 Output Only Attributes

The following attributes are synonyms. Use of these attributes indicates that the field is an "output only" or a "no change" field and it should ALWAYS be protected from user change when it is displayed on a screen.

Example:

This command indicates that fields #A, #B and #C should be displayed to the user and the CHANGE function key should be enabled (which will make the screen input capable and allow change of information on the screen). However, field #C has attribute *NOCHG, which indicates that it should not be allowed to be changed:

DISPLAY  FIELDS(#A #B (#C *NOCHG)) CHANGE_KEY(*YES)

 

The following attributes are synonyms. Use of these attributes indicates that the field is an "input field" and it should NEVER be protected from change, no matter what the screen processing mode is at the time. Refer to the following sections for more information about screen modes.

Input Only Attributes:

Example:

This command indicates that fields #A, #B and #C should be displayed to the user. If the screen is in "display" mode fields #A and #B will be protected from user change. However, field #C has attribute *INPUT, which indicates that it should always be "input capable" no matter what the screen mode:

DISPLAY  FIELDS(#A #B (#C *INPUT))