LCS optical library/drive VARY online/offline (subtypes 64–67)

Table 1 describes the format of the subtype data section for the following subtypes:
64
LCS optical drive vary online.
65
LCS optical drive vary offline.
66
LCS optical library vary online.
67
LCS optical library vary offline.
Table 1. Format of the subtype data section for subtypes 64–67
Offsets Name Length Format Description
0 0 ST64OLN 8 EBCDIC Contains the real optical library name for the operator-accessible drive.
8 8 ST64OLDT 8 EBCDIC Optical library device type.
16 10 ST64OLDN 4 EBCDIC MVS device number corresponding to the optical library.
20 14 ST64ODN 8 EBCDIC Optical drive name. Valid for subtypes 64 and 65. This field contains blanks for other subtypes.
28 1C ST64ODDT 8 EBCDIC Optical drive device type. Valid for subtypes 64 and 65. This field contains blanks for other subtypes.
36 24 ST64ODDN 4 EBCDIC MVS device number corresponding to the optical drive. Valid for subtypes 64 and 65. This field contains blanks for other subtypes.
40 28 ST64VSN0 6 EBCDIC Volume serial number of the currently mounted volume. Valid for subtypes 64 and 65. This field contains blanks for other subtypes.
46 2E ST64VSN1 6 EBCDIC Volume serial number of the opposite side of the currently mounted volume. Valid for subtypes 64 and 65. This field contains blanks for other subtypes.
52 34 ST64OMT 2 EBCDIC Optical media type. Valid for subtypes 64 and 65. This field contains blanks for other subtypes.
Value
Meaning
01
IBM 3995 5.25-inch 650-MB rewritable optical disk media.
03
IBM 3995 5.25-inch 650-MB WORM optical disk media.
11
IBM 3995 5.25-inch 1300-MB rewritable optical disk media.
13
IBM 3995 5.25-inch 1300-MB WORM optical disk media.
15
IBM 3995 5.25-inch 1300-MB CCW optical disk media.
21
IBM 3995 5.25-inch 2600-MB rewritable optical disk media.
23
IBM 3995 5.25-inch 2600-MB WORM optical disk media.
25
IBM 3995 5.25-inch 2600-MB CCW optical disk media.
31
IBM 3995 5.25-inch 5.2-GB rewritable optical disk media.
33
IBM 3995 5.25-inch 5.2-GB WORM optical disk media.
35
IBM 3995 5.25-inch 5.2-GB CCW optical disk media.
Note: CCW = continuous composite WORM media. WORM = write-once-read-many.
54 36 ST64ODT 1 EBCDIC Optical drive type. Valid for subtypes 64 and 65. This field contains blanks for other subtypes.
Value
Meaning
L
Optical drive is a library-resident drive.
S
Optical drive is a stand-alone or operator-accessible drive.
55 37 ST64OVT 1 EBCDIC Optical volume type. Valid for subtypes 64 and 65. This field contains blanks for other subtypes.
Value
Meaning
B
Optical volume is a backup volume belonging to an OBJECT BACKUP storage group.
G
Optical volume is a grouped volume belonging to an OBJECT storage group.
S
Optical volume is a scratch volume.
56 38 ST64SGN 8 EBCDIC Storage group name. Valid for subtypes 64 and 65. This field contains blanks for other subtypes.
64 40 ST64LIQT 4 binary LCS input-work-queue time. The amount of time in milliseconds this request has spent on the LCS input-work-queue waiting to be processed.
68 44 ST64LDQT 4 binary LCS dispatcher-queued time. The amount of time in milliseconds this request has spent on the LCS dispatcher-queue waiting to be processed.
72 48 ST64LEQT 4 binary LCS execution-queue time. The amount of time in milliseconds this request has spent on the LCS execution-queue being processed.
76 4C ST64LTQT 4 binary LCS library task queue time. The amount of time in milliseconds that this request has spent on the LCS library queue waiting to be processed. Normally, this field represents the cartridge transport mechanism wait time. That is, the time spent waiting for the cartridge transport mechanism within the automated optical disk library to become available. Valid for subtypes 66 and 67.
80 50 ST64LTPT 4 binary LCS library task processing time. The amount of time in milliseconds that this request took to be processed by the library task. Normally, this field represents the cartridge transport mechanism service time. This is, the time spent by the cartridge transport mechanism within the automated optical disk library performing mechanical motion to move cartridges within the optical disk library. Valid for subtypes 66 and 67.
84 54 ST64RC 4 binary LCS return code
88 58 ST64RS 4 binary LCS reason code.
92 5C ST64FLGS 4 binary Processing flags.
Bit
Meaning
0–31
Reserved

Although subtypes 64–67 share a common subtype data section, not all fields are valid for each of the four subtypes. Table 2 identifies which fields in the OAM subtype data section are valid for each of the four subtypes.

Table 2. Valid subtype data section fields for subtypes 64–67
Field name Drive online subtype 64 Drive offline subtype 65 Library online subtype 66 Library offline subtype 67
ST64OLN X X X X
ST64OLDT X X X X
ST64OLDN X X X X
ST64ODN X X    
ST64ODDT X X    
ST64ODDN X X    
ST64VSN0 See table note 1. See table note 2.    
ST64VSN1 See table note 1. See table note 2.    
ST64OMT See table note 1. See table note 2.    
ST64ODT X X    
ST64OVT See table note 1. See table note 2.    
ST64SGN See table note 1. See table note 2.    
ST64LIQT        
ST64LDQT X X X X
ST64LTQT     X X
ST64LTPT     X X
ST64RC X X X X
ST64RS X X X X
ST64FLGS X X X X
Note:
  1. This field is valid only if there is an optical disk cartridge mounted in the drive at the time the VARY SMS,DRIVE(drive_name),ONLINE is issued.
  2. This field is valid only if there is an optical disk cartridge mounted in the drive at the time the VARY SMS,DRIVE(drive_name),OFFLINE is issued.