Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

CMDANALY Generate EQUATE statements for return codes

&pagelevel(5)&pagelevel

The CMDANALY macro generates a series of EQUATE statements. These define the return codes for the macros CMDSTA, CORSTMT, RDSTMT and TRSTMT. This is not necessary for the macros CMDRST, CMDTST and CMDCST (see, example "Migration from RDSTMT to CMDRST" in"CMDRST Read and analyze statement").

Operation

Operands

CMDANALY

[ P = CMD / mac ]

P = CMD / mac
Prefix of the macro identifier. By default, the macro identifier starts with the string ’CMD’.

Notes on certain return codes

  1. DIALOGUE_IMPOSSIBLE_:
    No correction dialog could be provided for correction of the current input:

    • the input was unknown

    • batch task

    • spin-off state

    • procedure mode and PROCEDURE-DIALOG=*NO specified

  2. DIALOGUE_REJECTED_:
    A correction dialog was started but the requested correction was rejected by the caller in guided or unguided mode.