CONNECT
COBOL | PL/I | Assembler | C Language |
Description
The CONNECT command connects a VTAM terminal to a job submitted through Code Debug TSO’s Batch Connect facility. This command lets you monitor a complete job with multiple steps or a single step job that is not yet ready to be attached.
Use the DISC command to disconnect the VTAM terminal from the batch job.
Input
The following are the parameter descriptions for the CONNECT command:
nodename
The node name associated with the APPLID of the batch job.
NODE
Required keyword following the node name.
jobname
The name of the job to connect to. If jobid is also specified, it must be contained within parentheses.
(jobid)
The ID of the job to connect to. The jobid must be contained within parentheses.
Usage Notes
ALL Languages |
- If the CONNECT command is entered with no parameters, you will connect to the next available job that is ready for connection.
- When a nodename is entered, a single attempt is made to connect to the named node. (NODE is required.) If the attempt fails or the connection is broken, the command is terminated.
- When a jobname is entered without a jobid, all jobs with the specified name are searched. If there is only one active job with the specified name, a connection is made. If there is more than one active job with that name, no connection is made and the command is terminated.
- When a jobname is entered with a jobid, the specific job is connected if that job is currently executing or waiting to be executed. The jobid must be contained within parentheses.
- When a jobid is specified, the specific job is connected if that job is currently executing or waiting to be executed. Again, the jobid must be contained within parentheses.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*