Space announcement This documentation space provides the same content as before, but the organization of the content has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

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.

Important

The CONNECT command can be entered on any screen except the Source screen and any screen accessed from the source (Memory, Browse, Log).

Input

image2021-2-15_15-6-52.png

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

  1. If the CONNECT command is entered with no parameters, you will connect to the next available job that is ready for connection.
  2. 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.
  3. 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.
  4. 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.
  5. 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*