Start of change

CICSPlex SM API command argument list

The CICSPlex® SM API command arguments are listed.

For each EXEC CPSM command, the CICS® translator inserts a call to the CICSPlex SM EXEC interface stub program. See Link editing your program.

Parameters of the EXEC CPSM command are passed with the standard call parameter list; the list of EXEC CPSM command arguments, ARG0 - ARGn:

Argument 0
ARG0 contains command-specific data. The first two bytes of ARG0 contain the function code of the CPSM command. For a list of function code values, see CICSPlex SM API command function code values.
Argument 1
ARG1 contains the THREAD value. For the TERMINATE command, ARG1 contains zeros.
Argument 2
ARG2 contains the OBJECT value, when applicable. For a list of commands that can contain a valid OBJECT value, see CICSPlex SM API command function code values.
Argument 3
ARG3 contains command-specific data.
Argument 4
ARG4 contains command-specific data.
Argument 5
ARG5 returns the response code. See RESPONSE and REASON values.
Argument 6
ARG6 returns the reason code. See RESPONSE and REASON values.
Argument 7 and higher
ARG7 and higher contain command-specific data.
End of change