TSO Considerations

The TSO environment is available to scripts and therefore most TSO commands can be issued by the script. However, the following TSO commands cannot be issued directly from within a Connector for Top Secret script.

  • Authorized TSO commands

  • SUBMIT command

These commands and the method in which they can be issued are described below.

Authorized TSO Command

Authorized TSO commands cannot be issued directly from a script.

To execute an authorized TSO command, use the CTSAEXC command processor. For example, to activate command IDCAMS DEFINE (which is an authorized command processor) enter the following statement in the script:

CTSAEXC DEFINE ....define command arguments...

SUBMIT Command

The TSO SUBMIT command cannot be issued directly from a script.

To submit a job, use the CTSASUB command processor. CTSASUB receives the name of a DD statement which contains the job JCL image.

For example

Include the following statement in the script:

CTSASUB TEST

This activates command CTSASUB which reads DD statement TEST and writes its contents to the JES internal reader. An exclusive JES internal reader is allocated to the Connector for Top Secret started task via DD statement INTRDR in the task’s JCL. If no DD statement is specified for command CTSASUB, a default DD statement CTSJOBIN is used and its contents are written to the JES internal reader.

Online TSS Commands

Online TSS commands cannot be issued directly from a script. To issue online TSS commands from a script, use the following command:

ADDRESS TSO “CTSAEXC <online_tss_command