TSO SPOC command examples

Both type-2 commands and type-1 commands can be entered from a TSO SPOC. /START DB command, which is a type-1 command, and CREATE DB command, a type-2 command, are used as examples to show the input and output from a TSO SPOC.

Type-1 command example

The input and output of /START DB command from a TSO SPOC is shown as follows:

TSO SPOC input:
STA DB BANKATMS BANKTERM BANKLDGR BE3ORDER
TSO SPOC output:
SYS3     DFS0488I  STA COMMAND COMPLETED. DBN= BANKATMS RC=04
SYS3     DFS0488I  STA COMMAND COMPLETED. DBN= BANKTERM RC=04
SYS3     DFS0488I  STA COMMAND COMPLETED. DBN= BANKLDGR RC=04
SYS3     DFS0488I  STA COMMAND COMPLETED. DBN= BE3ORDER RC=08
IMS3     DFS0488I  STA COMMAND COMPLETED. DBN= BANKATMS RC=04
IMS3     DFS0488I  STA COMMAND COMPLETED. DBN= BANKTERM RC=04
IMS3     DFS0488I  STA COMMAND COMPLETED. DBN= BANKLDGR RC=04
IMS3     DFS0488I  STA COMMAND COMPLETED. DBN= BE3ORDER RC=08 

Type-2 command example

The input and output of CREATE DB command from a TSO SPOC is shown as follows:

TSO SPOC input:
CREATE DB NAME(DB000001,DB000002,DB000003) SET(ACCTYPE(UPD),RESIDENT(Y))
TSO SPOC output:
DBName   MbrName    CC 
DB000001 IMS1        0 
DB000002 IMS1        0 
DB000003 IMS1        0