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 WA CA 7 Edition.

Important! Production users must use the command with no parameters. The parameters are only for system users.

This command has the following format:

/CLOSE[,GROUP=group][,{T|TERM}={terminal|TCP/IP}]
GROUP

(Optional) Defines a line group to close and identifies which group. Value must be the group name that the NAME parameter on the GROUP statement in the initialization file defines. If GROUP specifies a VTAM group, all CA WA CA 7 Edition connected VTAM terminals are disconnected, not just the identified group.

Both CAICCI and TCP/IP share the group that is 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 WA CA 7 Edition 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 that are connected to the port defined for the active CA WA CA 7 Edition instance.

Limits: 1 to 7 alphanumeric characters

TERM

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

terminal

Specifies the VTAM terminal to disconnect from CA WA CA 7 Edition. 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 that are connected to the port defined for the active CA WA CA 7 Edition instance when the GROUP parameter is specified with any group defined as DEVICE=CCI.

Limits: 1 to 7 alphanumeric characters