TERMSESS operation (XRC, CC)

This operation ends an active, quiesced, or timed-out XRC or concurrent copy session for a storage control. You may only issue the operation from a system that has the XRC function installed, and has the ANTAS000 address space active. TERMSESS provides several kinds of support, shown in Table 1.
Table 1. Using the TERMSESS operation
If you want . . . Then . . . Notes . . .
To end a single session Specify:
  • A device address. For a session that is in either active status or timed-out status, you must issue the operation from the processor where the XRC session is active, or was last active. For a quiesced or suspended session, issue the operation from any processor.
  • The storage control session number of the session you want to end.
Example: To end active storage control session number four, using device F40, use:
F ANTAS005,TERMSESS F40 4
The LIC in the device’s storage control must at least support concurrent copy. The device address must belong to the session that you plan to end, and the device must be online to the processor that you are issuing the TERMSESS operation from. You can use LISTDVCS to show the devices that belong to the session.
To end all active or timed-out XRC sessions that were last active on the processor from which you issued the TERMSESS operation Specify XRC. The TERMSESS XRC operation issues a verify prompt ( REPLY Y | N ) for the operation. You will also receive a verify prompt (REPLY Y | N ) for each eligible storage control session unless you specify N with the operation.
Example: For example, to end all active or timed-out XRC storage control sessions, and not be prompted for each individual session, use:
F ANTAS005,TERMSESS XRC N
At least one device that is associated with the XRC session must be online to the processor from which you issue the TERMSESS operation.
To end all quiesced or suspended XRC sessions, regardless of which processor the XRC session was last active on Specify SUS. The TERMSESS SUS operation issues a verify prompt ( REPLY Y | N ) for the operation. You will also receive a verify prompt (REPLY Y | N ) for each eligible storage control session, unless you specify N with the operation.
Example: For example, to end all quiesced or suspended XRC storage control sessions with prompting for each individual session, use:
F ANTAS005,TERMSESS SUS
At least one device that is associated with the XRC session must be online to the processor from which you issue the TERMSESS operation.
To end all XRC or concurrent copy sessions that are in timed-out status Specify TIM. The TERMSESS TIM operation issues a verify prompt (REPLY Y | N ) for the operation. You will also receive a verify prompt (REPLY Y | N ) for each eligible storage control session, unless you specify N with the operation.
Example: To end all timed-out XRC and concurrent copy storage control sessions, with prompting for each individual session, use:
F ANTAS005,TERMSESS TIM
At least one device that is associated with the XRC session must be online to the processor from which the TERMSESS operation is issued.
To end all Concurrent Copy sessions on all storage controls that are visible to the system from which the command is issued Specify CCS. Add the N option to request no confirmation prompts.
Example: To end global Concurrent Copy sessions without prompts, use:
F ANTAS000,TERMSESS CCS N
The sessions being ended may include:
  • Sessions for devices that are not currently online to the issuing system
  • Sessions for currently running jobs. You should expect those jobs to fail as a result of the session termination.
To have the command be effective from any device in the same storage control as the target session Specify FORCE.
Example: To end storage session 02 on the storage control where device E023 resides, use:
F ANTAS000,TERMSESS E023 02 FORCE
This also allows the command to be issued from any system that has access to the storage control, and not just from the system that created the session. FORCE requires storage controls with Licensed Internal Code that supports the function.