var = EYUAPI(command string)
OR
var = EYUAPI('command string')
This function passes an API command to CICSPlex SM. You must issue an EYUAPI or EYUINIT function before you can use the ADDRESS CPSM command to pass API commands to REXX.
The following is a list of the REXX return codes that can be returned by the EYUAPI function in its assigned variable (var).
These return codes indicate what REXX did with the EYUAPI function; they do not indicate whether the API command that was passed was successfully processed by CICSPlex SM. For that information, you must refer to the RESPONSE and REASON values returned by the command.
var = EYUINIT()
This command initializes the CICSPlex SM API environment and allocates the necessary resources. EYUINIT should be the first function issued in a REXX program.
The following is a list of the REXX return codes that can be returned by the EYUINIT function in its assigned variable (var).
var = EYUREAS(reason)
This command translates the numeric value returned by the REASON option of an API command into its character equivalent and vice versa.
The following is a list of the REXX return codes that can be returned by the EYUREAS function in its assigned variable (var).
var = EYURESP(response)
This command translates the numeric value returned by the RESPONSE option of an API command into its character equivalent and vice versa.
The following is a list of the REXX return codes that can be returned by the EYURESP function in its assigned variable (var).
var = EYUTERM()
This command terminates the CICSPlex SM API environment and releases any allocated resources. EYUTERM should be the last function issued in a REXX program.
The following is a list of the REXX return codes that can be returned by the EYUTERM function in its assigned variable (var).