Displays snapshots for the specified source device and their relationship to target devices.
To specify a range of devices, use the DEVICE option with the LOCAL or REMOTE parameter.
NOTE:To view detailed information about the snapshot devices, run the QUERY VOLUME command that is described in the
TimeFinder/Clone Mainframe Snap Facility Product Guide.
Multiline query
When MULTI_LINE_query(YES) is specified, the query output includes detailed information about devices for each snapshot, such as:
Track counts
Snapshot ID
Time since creation and time to live
Whether the snapshot is secure
Snapshot copy mode
Compact query
When COMPACT_query(YES) is specified, the query output shows status fields at the end of each line to provide a single-line summary of important snapshot information, including:
Snapshot status and whether the snapshot has been activated
Link type (softlink, hardlink)
Snapshot copy mode (COPY or NOCOPY) and status (if every track on the source has been copied to the target at least one time)
Whether the snapshot is secure and (or) zDP-managed
NOTE:You can use the LOCAL, REMOTE, and CONTROLLER parameters without a SYMDV# parameter being present.
NOTE:The LOCAL or REMOTE parameter can be used together with the VOLume, UNIT, or DEVice parameters in the same command. You can combine the LOCAL or REMORE parameter with VOLume or UNIT, and DEVice to further refine the selected devices.
Command-specific parameters
NAME(snapshot_name)
See
NAME. When NAME(snapshot_name) is specified, QUERY SNAPSHOT shows only the snapshot with the specified snapshot_name.
SORT({Yes|No})
When set to YES, sorts snapshots by date. NO disables sorting by date.
The default value is No.
NOTE:Sorting can dramatically increase the query time.
TOTAL NUMBER OF QUERY RESULTS: 4390
TIME STAMP
SRC CUU VOLSER TGT CUU VOLSER NAME YYDDD/HH:MM:SS STATUS ACT
-----------------------------------------------------------------------------------------------------------
0000010E(N/A ) FFFFFFFF(N/A ) SAMPLE_SNAPSHOT_NAME 17110/13:13:40 CREATE SOFT Y
UNIQUE TRACKS: 0000000000
SRC MODIFIED TRACKS (UNIQUE+SHARED): 0000000000
TGT MODIFIED TRACKS (UNIQUE+SHARED): 0000000000
TRACKS TO BE COPIED: 0000000000
TIME TO LIVE DDDD/HH:MM:SS: 0000/00:00:00
TIME SINCE CREATION DDDD/HH:MM:SS: 0004/20:09:34
SNAPSHOT ID: ADAD0001
SECURE SNAPSHOT: NO
COPY MODE: N/A
TRACKS TO BE DEFINED: 0000000000
0000010E(N/A ) 0000015E(N/A ) SAMPLE_SNAPSHOT_NAME 17111/15:43:52 LINKED Y
UNIQUE TRACKS: 0000000000
SRC MODIFIED TRACKS (UNIQUE+SHARED): 0000000000
TGT MODIFIED TRACKS (UNIQUE+SHARED): 0000000000
TRACKS TO BE COPIED: 0000000000
TIME TO LIVE DDDD/HH:MM:SS: 0000/00:00:00
TIME SINCE CREATION DDDD/HH:MM:SS: 0003/17:39:22
SNAPSHOT ID: ADAD0001
SECURE SNAPSHOT: NO
COPY MODE: COPY
TRACKS TO BE DEFINED: 0000000000
...
----------------------------------------------------------------------------------------------------------
TOTAL UNIQUE TRACKS IN REQUEST: 0000000000005087
TOTAL TRACKS TO BE COPIED IN REQUEST: 0000000000000000
TOTAL SRC MODIFIED TRACKS (UNIQUE+SHARED) IN REQUEST: 0000000013394781
TOTAL TGT MODIFIED TRACKS (UNIQUE+SHARED) IN REQUEST: 0000000000263646
TOTAL TRACKS TO BE DEFINED IN REQUEST: 0000000000000000
Output fields
The multiline query displays the following information for each snapshot:
UNIQUE TRACKS
The number of tracks that are only associated with the displayed snapshot. These tracks are freed when the snapshot is terminated. A preceding tilde (~) indicates an approximate value.
NOTE:The unique track count is not updated immediately after a snapshot is terminated. A background task in the storage system updates it periodically.
SRC MODIFIED TRACKS (UNIQUE+SHARED)
The number of tracks that have changed on the snapshot source device since the ACTIVATE was issued. A preceding tilde (~) indicates an approximate value.
TGT MODIFIED TRACKS (UNIQUE+SHARED)
The number of tracks that have changed on a snapshot linked target device since the LINK action.
TRACKS TO BE COPIED
The number of tracks that remain to be copied to the linked target device. A preceding tilde (~) indicates an approximate value.
TIME TO LIVE
The time until a snapshot is automatically terminated. For expired snapshots,
EXPIRED is displayed.
TIME SINCE CREATION
The time that has elapsed since snapshot creation.
SNAPSHOT ID
The ID given to a snapshot at creation time. This ID is only unique for each source device. The IDs are reused after snapshots are terminated.
This field is not displayed for snapsets that are created by zDP with PowerMaxOS 5978.0300 or later.
Indicates the current copy mode (COPY or NOCOPY). For unlinked snapshots,
N/A is displayed.
With PowerMaxOS 5978 and HYPERMAX OS 5977, NOCOPY and NOCOPYRD are not distinguished.
TRACKS TO BE DEFINED
The number of tracks that are still to be defined on the target device.
This field is shown when the SHOW_TRACKS_TO_BE_DEFINED parameter or the SHOWDEF site option is set to YES.
For hardlinked or unlinked snapshots, the field shows
N/A.
SNAPSHOT SIZE (IN CYLINDERS)
The size of the source device at the moment of snapshot creation.
This field is displayed if the GLOBAL CHECK_SNAPSHOT_SIZE option is set to Yes. The size of the source device is not displayed for linked parts of the snapshot.
TOTAL UNIQUE TRACKS IN REQUEST
The number of tracks that are associated with all snapshots in the current query. A preceding tilde (~) indicates an approximate value.
TOTAL TRACKS TO BE COPIED IN REQUEST
The number of tracks that remain to be copied to the linked target devices for all snapshots in the current query. A preceding tilde (~) indicates an approximate value.
TOTAL SRC MODIFIED TRACKS (UNIQUE+SHARED) IN REQUEST
The number of tracks that have been modified on all snapshot source devices in the current query since the ACTIVATE was issued. A preceding tilde (~) indicates an approximate value.
TOTAL TGT MODIFIED TRACKS (UNIQUE+SHARED) IN REQUEST
The number of tracks that have been modified on all snapshot linked target devices since the LINK actions.
TOTAL TRACKS TO BE DEFINED IN REQUEST
The number of tracks to be defined on all snapshot linked target devices. This field is displayed when SHOW_TRACKS_TO_BE_DEFINED(YES) and MULTI_LINE_QUERY(YES) are set.
QUERY SNAPSHOT(UNIT(DC00) DEV(F8-FF) COMPACT(Y))
ESNP1AAI TOTAL NUMBER OF QUERY RESULTS: 15
ESNP1AAI ************************************** STATUS FIELDS LEGEND *****************************************
ESNP1AAI * STA=SNAPSHOT STATUS | S/H=SOFT/HARD LINK | LTH=LINK TARGET HOLD | CPY=COPYMODE | ZDP=ZDP MANAGED *
ESNP1AAI * DEF=TARGET DEFINED | ACT=ACTIVATED | 1PS=1 PASS COMPLETE | SEC=SECURE | *
ESNP1AAI *****************************************************************************************************
ESNP1AAI
ESNP1AAI S S L C Z D A 1 S
ESNP1AAI TIME STAMP T / T P D E C P E
ESNP1AAI SRC CUU VOLSER TGT CUU VOLSER NAME YYDDD/HH:MM:SS A H H Y P F T S C
ESNP1AAI -------------------------------------------------------------------------------------------------------------
ESNP1AAI 000000F8(N/A ) FFFFFFFF(N/A ) SNVX_S1 21313/23:11:58 S S - - N - Y - N
ESNP1AAI 000000F8(N/A ) 00000100(N/A ) SNVX_S1 21313/23:11:58 L S - C N Y Y - N
ESNP1AAI 000000F9(N/A ) FFFFFFFF(N/A ) SNVX_S1 21313/23:11:58 S S - - N - Y - N
ESNP1AAI 000000F9(N/A ) 00000101(N/A ) SNVX_S1 21313/23:11:58 L S - C N Y Y - N
ESNP1AAI 000000FA(N/A ) FFFFFFFF(N/A ) SNVX_S1 21313/23:11:58 S S - - N - Y - N
ESNP1AAI 000000FA(N/A ) 00000102(N/A ) SNVX_S1 21313/23:11:58 L S - C N N Y - N
ESNP1AAI 000000FB(N/A ) FFFFFFFF(N/A ) SNVX_S2 21313/23:13:35 S S - - N - Y - N
ESNP1AAI 000000FB(N/A ) 00000103(N/A ) SNVX_S2 21313/23:13:35 L S - N N N Y - N
ESNP1AAI 000000FC(N/A ) FFFFFFFF(N/A ) SNVX_S2 21313/23:13:35 S S - - N - Y - N
ESNP1AAI 000000FC(N/A ) 00000104(N/A ) SNVX_S2 21313/23:13:35 L S - N N N Y - N
ESNP1AAI 000000FD(N/A ) FFFFFFFF(N/A ) SNVX_S2 21313/23:13:35 S S - - N - Y - N
ESNP1AAI 000000FD(N/A ) 00000105(N/A ) SNVX_S2 21313/23:13:35 L S - N N N Y - N
ESNP1AAI 000000FE(N/A ) FFFFFFFF(N/A ) EMCVDG1........213132317C00001 21313/23:17:47 S S - - Y - Y - N
ESNP1AAI 000000FE(N/A ) 000001C7(N/A ) EMCVDG1........213132317C00001 21313/23:18:50 L S N C Y Y Y - N
ESNP1AAI 000000FF(N/A ) 000001D4(N/A ) CLONE_HL 21313/23:21:21 H H - C N N Y - N
ESNP1AAI -----------------------------------------------------------------------------------------------------------
ESNP1AAI
Output fields
The compact query adds status fields on the right of the display. Status column headings are stacked vertically so that each corresponds to a one-character value for each query result. STATUS FIELDS LEGEND above the table explains the status values.
Status fields have the following meaning:
STA
Indicates the snapshot status:
E—Emulation resnap
F—Failed snapshot
H—Hardlink
L—Linked to a target device
S—Created softlinked snapshot
U—Unlinked from a target device
S/H
Indicates whether the snapshot is softlinked (S) or hardlinked (H).
CPY
Indicates the copy mode that the source and target devices are in. Possible values are:
C—COPY
N—NOCOPY
ZDP
Indicates whether the snapshot was created by zDP.
DEF
Indicates if the target device is fully defined or not. If not linked, this field shows a dash (‘-’).
ACT
Indicates if the snapshot has been activated.
1PS
Indicates if every track on the source has been copied to the target at least one time. For active snapshots, a dash (‘-’) is shown.