Previous Topic: ExampleNext Topic: /CLOSE Examples


/CLOSE Command

The /CLOSE command closes VTAM terminals.

A /CLOSE command with no parameters disconnects the issuing terminal from CA Workload Automation SE.

Important! Production users should use the command with no parameters. Only system users should use the parameters.

This command has the following format:

►►─ /CLOSE ─┬────────────────┬─┬───────────────────────────────────┬──────────►◄
            └─ ,GROUP=group ─┘ └─ , ─┬─ T ────┬─ = ─┬─ terminal ─┬─┘
                                     └─ TERM ─┘     └─ TCP/IP ───┘
GROUP

(Optional) Defines a line group to close and identifies which group. Value must be the group name defined by the NAME parameter on the GROUP statement in the initialization file. If GROUP specifies a VTAM group, all CA Workload Automation SE connected VTAM terminals are disconnected, not just the identified group.

Both CAICCI and TCP/IP share the group defined as DEVICE=CCI. If /CLOSE is used with a group defined as DEVICE=CCI and there is no TERM=TCP/IP parameter, it forces termination of the CA Workload Automation SE CAICCI terminal session that is active on that group. This should not be needed in normal operation.

If /CLOSE is used with any group defined as DEVICE=CCI and there is a TERM=TCP/IP parameter, it forces termination of all TCP/IP sessions connected to the port defined for the active CA Workload Automation SE instance.

Limits: 1 to 7 alphanumeric characters

TERM

(Optional) Defines the VTAM terminal to disconnect from CA Workload Automation SE or specifies to terminate TCP/IP. T and TERM can be used interchangeably.

terminal

Specifies the VTAM terminal to disconnect from CA Workload Automation SE. The value must be the NAME value on the TERM statement in the initialization file for the VTAM terminal to disconnect.

TCP/IP

Specifies to terminate all TCP/IP sessions connected to the port defined for the active CA Workload Automation SE instance when the GROUP parameter is specified with any group defined as DEVICE=CCI.

Limits: 1 to 7 alphanumeric characters