Capabilities of the Data Set Commander TSO shell

The Data Set Commander TSO shell offers these advantages:

  • Support for ISPEXEC dialog manager commands. Data Set Commander executes these commands, and display dialog error messages if any are produced.
  • Control over the location of the output line of TSO commands.
  • The ability to substitute a data set pointed to by the cursor into the command buffer. (See Point-and-shoot parameters.)

The TSO Command Shell panel looks like this:

Figure 1. The TSO Command Shell panel
 -DSC-                       TSO COMMAND SHELL               Row 1 to 13 of 999
 PF6/F6=Standard SPF/TSO, PF10/F10=Set Linenum
 Command ===>


 Enter: TSO command, CLIST, REXX EXEC, or ISPEXEC statement.     Scroll => CSR
        /IS standard ISPF/TSO, /H history
        /EH edit history, /EP edit permanent, /SAV save, /RES restore
        <c><entry number> where <c> is ? or / or omitted.

 ------------------------- PERMANENT COMMAND LIST ------------------------------
   1 │ RECEIVE                                                                ->
   2 │ ISPVCALL                                                               ->
   3 │ SUB CNTL.JCL(COMPRESS)                                                 ->
   4 │ XMIT OS390/INTT125 DA('SPFE.IBM.HIQI580.PTFLIB') OUTDA(SPFE.PTFLIB)    ->
   5 │ PROFILE WTPMSG                                                         ->
   6 │ SEND 'Hello World' USER(INTT125) LOGON                                 ->
   7 │ LISTCAT ENTRY('SYS1.LINKLIB') /* LIST CATALOG */                       ->
   8 │ ishell /*UNIX services*/                                               ->
   9 │                                                                        ->
  10 │                                                                        ->
  11 │                                                                        ->
  12 │                                                                        ->
  13 │                                                                        ->

If you choose to show History Command List by entering /H on the command line, TSO Command Shell panel is displayed as follows:

-DSC-                       TSO COMMAND SHELL                  Row 1 to 3 of 3
PF6/F6=Standard SPF/TSO, PF10/F10=Set Linenum
Command ===>


Enter: TSO command, CLIST, REXX EXEC, or ISPEXEC statement.     Scroll => CSR
       /IS standard ISPF/TSO, /P permanent
       /EH edit history, /EP edit permanent, /SAV save, /RES restore
       <c><entry number> where <c> is ? or / or omitted.

-------------------------  HISTORY COMMAND LIST  ------------------------------
  1 │ LISTCAT ENTRY('SYS1.LINKLIB')                                          ->
  2 │ ISHELL                                                                 ->
  3 │                                                                        ->
-------------------------- END OF COMMAND LIST ----------------------------

The TSO Command Shell allows you to reissue any of the commands on the list from any panel by number.

Data Set Commander also provides special point-and-shoot support for TSO commands and CLISTs. When entering such a command, you can designate the data set name with a slash (/) and point to the data set name with your cursor. For example, on any ISPF panel with the cursor on the name ACCOUNTS.A.REPORT, the command TSO ALLOC FILE(A) DA(/) OLD is equivalent to TSO ALLOC FILE(A) DA('ACCOUNTS.A.REPORT') OLD

If you are not pointing to a data set name, Data Set Commander passes the slash to the command.