As an example, issue the following to list the existing sessions
for the storage control that is attached to device F40:
F ANTAS004,LISTSESS F40
Result: The following is a possible response to this command:
ANTX8913I F40 XA01
The response means that storage control session 1 is an active
XRC session.
You can also issue the following command to list all the sessions
in the system:
F ANTAS000,LISTSESS ALL
Result: All the sessions that exist in the system
are shown in ANTX8193l messages. Refer to z/OS MVS System Messages, Vol 1 (ABA-AOM) for
details. Sessions for both online and offline devices
are displayed. Offline devices are displayed even if they have never
been online and/or are associated with sessions on another system.
The operation output contains multiple fields that provide information
about each session on the specified device’s storage control. The
command returns the following information for each session:
- Type of storage control session
- Status of storage control session
- Storage control session number
- Host connection status
An individual session report has a format of
tsnnc,
where the following apply:
- t
- C = concurrent copy session, X = XRC session.
- s
- A = active session, S = suspended session, Q = quiesced session,
T = timed-out session.
- nn
- The storage control session number.
- c
- The connection status of the storage control session, as known
by the system that issued the command. If c is
blank, this host processor owns the session. If c is "*",
another processor owns the session. If c is "?",
this host processor owns the session, but may or may not have access
to the session.
Results: Other possible responses to this command are:
- ANTX8913I F40 CA02—This means that storage control
session 2 is an active concurrent copy session.
- ANTX8913I F40 - CA03 XQ04—This means that there
are two storage control sessions: Session 3 is an active concurrent
copy session, and Session 4 is a quiesced XRC session.
- ANTX8914I F40 NO SYSTEM DATA MOVER STORAGE CONTROL SESSIONS—This
means that there are no sessions for the storage control that is associated
with device F40.
- ANTX8914I ALL NO SYSTEM DATA MOVER STORAGE CONTROL SESSIONS—
This means that there are no sessions in the system.
- ANTX8980l FINISHED LISTSESS ALL PROCESSING —
This means the LISTSESS ALL command has finished processing.
Note: If errors occur, this command might also issue I/O error messages.