Previous Topic: Action=DISPLAY Class=MENU

Next Topic: Action=EDIT Class=DATA


Action=DISPLAY Class=MESSAGE

This statement displays a message and its associated explanation, system action and user action.

This statement has the following format:

&CONTROL NOSHRVARS
-EXEC $CACALL   OPT=ACTION
                ACTION=DISPLAY
                CLASS=MESSAGE
                NAME=‘MESSAGE=message id’
MESSAGE=message id

A required parameter giving the identifier of the message to be displayed.

Input Variables

This statement has no input variables.

Return Variables

This statement contains the following return variables:

&SYSMSG

System message. Contains the error message (for return code 8).

Feedback Codes

If a return code of 8 is set, then additional information is available as one of the following feedback codes, set in &$CAFDBK:

1

Definition not found

8

Processing error

10

Nesting level exceeded

Example

The following statements display information about message PV7014:

&CONTROL NOSHRVARS
-EXEC $CACALL   OPT=ACTION +
                ACTION=DISPLAY +
                CLASS=MESSAGE +
                NAME=‘MESSAGE=PV7014