Command shortcuts in the TSO SPOC
You can use the command shortcuts option of the TSO SPOC if you prefer to use shortened versions of commands or nicknames for commands. Define the shortcuts (the short commands or nicknames) in the TSO SPOC.
Use the ampersand (&) character as the first character of the shortcut if you want to use it as a nickname.
When you issue a short version of a command, the TSO SPOC appends the additional parameters to the short command. When you issue a nickname for a command, the TSO SPOC replaces the nickname with the full version of the command. The following example shows the SPOC Command Shortcuts panel with some user-defined command shortcuts.
File Action Manage resources SPOC View Options Help
------------------------------------------------------------------
SPOC Command Shortcuts
Command ===> _____________________________________________________
___________________________________________________________________
----------------------- Plex . _____ Route . _________ Wait . ____
Act Command Additional Parameters
____ ______________ ___________________________________________
___________________________________________
____ &QRY1_________ QRY IMSPLEX SHOW(STATUS)___________________
___________________________________________
____ QRY PGM______ SHOW(ALL)__________________________________
___________________________________________
____ QRY TRAN______ SHOW(CLS PSB QCNT STATUS)__________________
___________________________________________
____ MON LINE ABC07 PTERM ALL__________________________________
___________________________________________
*************************** Bottom of data **********************
In this example, the first command shortcut is &QRY1 (a nickname). When you issue this command shortcut, the TSO SPOC replaces the nickname with the entire command, QRY IMSPLEX SHOW(STATUS). The second command shortcut is QRY PGM. When you issue this command shortcut, the TSO SPOC appends the additional parameters (in this example, SHOW(ALL)) to the short version of the command when it is issued. The full command QRY PGM SHOW(ALL) is issued.