Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

CMDSTRUC Generate transfer area for analyzed statement

&pagelevel(4)&pagelevel

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:

  1. SDF passes an analyzed statement to the program (see CORSTMT, RDSTMT and TRSTMT)

  2. The program returns a semantically incorrect statement to SDF (see CORSTMT)

  3. 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.