The CMDSTRUC macro generates a DSECT. This defines the standardized transfer area up to SDF V4.0. This is needed for the following three purposes:
SDF passes an analyzed statement to the program (see CORSTMT, RDSTMT and TRSTMT)
The program returns a semantically incorrect statement to SDF (see CORSTMT)
The program passes values to SDF that are to replace specified operand values (see RDSTMT and TRSTMT).
The standardized transfer area is described in detail in section “Format of the standardizedtransfer area up to SDF V4.0”.
Operation | Operands |
CMDSTRUC | [ P = CMD / prefix ] |
P = CMD / prefix
specifies a character string that is to be concatenated with the beginning of all names in the DSECT. It may be up to three characters long. Unless otherwise specified, the string “CMD” will be used.