Previous Topic: Additional Return InformationNext Topic: Changing the Default Return Destination with CMDRESP


Changing the Default Variable With PREFIX

You can direct return information to a variable other than the default OPS.opscommand by specifying the PREFIX operand as follows:

PREFIX(newvarname)

where newvarname is the name of the variable to replace the default.

Note: The PREFIX operand is valid only if the destination of the return information is REXX.

Example:

The following statement returns the status of the CA OPS/MVS system with an MSF ID of OPS44T, and directs the information to a variable called CURSTATUS:

ADDRESS OPS "LIST CMDRESP(REXX) PREFIX(CURSTATUS) SYSTEM(ALL)"