CANCEL

Read syntax diagramSkip visual syntax diagram
>>-CANCEL------------------------------------------------------><

If CANCEL is requested from an action bar pull-down, the action taken depends on whether you are running in host or GUI mode:

If CANCEL is requested from a panel displayed using the DISPLAY, TBDISPL, or SELECT service calls, the DM component places the command in ZCMD and sets a return code of 0 from the display screen.

If CANCEL is requested from a panel displayed using the DISPLAY or TBDISPL service calls and the panel was defined with a PANEL tag (DTL) or a )PANEL statement, the DM component returns the command in ZVERB and sets a return code of 8 from the display screen.