Previous Topic

Next Topic

Book Contents

Book Index

CTOSCMD XAM Function

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:

  1. Create the XAM interface by calling the "INIT" function.
  2. Implement CTOSCMD by specifying the following:

    CTOSCMD ‘command' CMDRESP(response_type) PREFIX(prefix) CMDWAIT(timeout)

    where:

  3. Terminate the XAM environment using the "TERM" function upon completion.

Parent Topic

Extended Automation Mechanism