CTOSCMD is an implementation of the XAM interface. It allows the user to issue an operator command from a REXX or CLIST. If a response is needed (for example to return to the calling REXX command), it returns a REXX variable stack or a CLIST variable.
To implement the CTOSCMD XAM function, perform the following steps:
Create the XAM interface by calling the "INIT" function.