EYUAPI()

Pass an API command to CICSPlex® SM.

   var = EYUAPI(command string)
 
       OR
 
   var = EYUAPI('command string')

Description

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.

Options

command string
Identifies the API command and options to be passed.

Return codes

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.
0
The EYUAPI function was successful.
1
The EYUAPI function failed.