Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

CMDMEM Generate transfer area for status information

&pagelevel(5)&pagelevel

The CMDMEM macro generates a DSECT or a CSECT. These define the transfer area into which, after the CMDSTA macro has been called, information is written regarding the activated syntax files and the current specifications for command/statement input and processing.

Operation

Operands

CMDMEM

D / C

[ ,P = CMD / prefix ]

D / C
Specifies whether a DSECT (D) or a CSECT (C) is generated.

P = CMD / prefix
Specifies a character string that is to be concatenated with the beginning of all names in the program section. The string may be up to three characters long. Unless otherwise specified, the string “CMD” will be concatenated with the name of the section.

The size of the transfer area has been increased as of SDF V2.0A. The CMDSTA macro supplied by SDF V4.0A uses this new layout. The transfer area used by the caller must match the call, i.e. the function call and the definition of the transfer area must have been created with the same SDF environment. Non-compliance with this can lead to a parameter error, which is returned by the CMDSTA macro. Earlier versions of the CMDSTA macro used with the old transfer area are still supported.