TSO/E REXX commands in REXX EXECs
MainView AutoOPERATOR supports the following TSO/E REXX commands if you specify the ADDRESS MVS command prior to issuing the command.
For additional information about syntax and usage of the commands, see the TSO Extensions Version 2 REXX Reference guide.
TSO/E REXX commands
Command | Description |
---|---|
DELSTACK | deletes the data stack that was most recently created by the NEWSTACK command, and all elements on it If a new data stack was not created, DELSTACK removes all the elements from the original data stack. |
DROPBUF | deletes the data stack buffer that was most recently created by the MAKEBUF command, and all elements on the data stack in the buffer To remove a specific data stack buffer and all buffers created after it, issue the DROPBUF command with the number of the buffer. |
EXECIO | performs input and output operations to and from a data set, a stack, or a list of variables |
MAKEBUF | creates a new buffer on the data stack The MAKEBUF command can be issued from REXX EXECs that execute in both the TSO/E address space and non-TSO/E address spaces. |
NEWSTACK | creates a new data stack and hides or isolates the current data stack Elements on the previous data stack cannot be accessed until a DELSTACK command is issued to delete the new data stack and any elements remaining in it. |
QBUF | queries the number of buffers that were created on the data stack with the MAKEBUF command |
QELEM | queries the number of data stack elements that are in the most recently created data stack buffer |
QSTACK | queries the number of data stacks in existence for an EXEC that is executing |
SUBCOM | queries the existence of a specified host command environment |