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
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
DIALOGUE_REJECTED_:
A correction dialog was started but the requested correction was rejected by the caller in guided or unguided mode.