Mainframes Tape Library PDF
Mainframes Tape Library PDF
Mainframes Tape Library PDF
SC35-0427-09
z/OS
SC35-0427-09
Note
Before using this information and the product it supports, be sure to read the general information under “Notices” on page
371.
iv z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Using the Sample Exit for Volume Not In Library Peer-to-Peer Mode Control (PTPMC) . . . . 148
(CBRUXVNL) . . . . . . . . . . . . 97 Peer-to-Peer Data (PTPDATA) . . . . . . . 149
Library Manager Database Volume List . . . . 97 Obtain Library Name Information (OLN) . . . 149
Returning the Library Manager to an Operational LCS External Services Functions . . . . . . . 149
Status . . . . . . . . . . . . . . . 97 Changing the Use Attribute of a Volume . . . 149
Entering Cartridges into a Manual Tape Library 157
Chapter 5. Operating the OAM Address Ejecting a Tape Cartridge . . . . . . . . 163
Space . . . . . . . . . . . . . . . 99 Querying the Residence of a Volume . . . . 166
Testing the Eligibility of a Volume . . . . . 171
Overview of Operator Tasks . . . . . . . . . 99
Exporting Logical Volumes from a VTS. . . . 173
Message Format Conventions . . . . . . . . 99
Importing Logical Volumes into a VTS . . . . 175
Starting OAM . . . . . . . . . . . . . 100
Changing Library Operating Modes
Varying a Tape Library Online or Offline . . . . 101
(Peer-to-Peer VTS Mode Control) . . . . . . 177
Restarting OAM . . . . . . . . . . . . 102
Obtaining Operational Mode Settings
Varying Tape Drives Online or Offline . . . . . 103
(Peer-to-Peer VTS Data) . . . . . . . . . 180
Ejecting a Specific Tape Volume . . . . . . . 103
Obtaining Library Name Information (OLN) . . 182
Specifying the Shelf Location . . . . . . . 105
CBRXLCS Macro Interface . . . . . . . . . 184
Auditing a Volume . . . . . . . . . . . 106
Using the CBRXLCS Macro in an Assembler
Entering a Tape Volume into an MTL . . . . . 106
Environment . . . . . . . . . . . . 184
Importing Tape Volumes into a VTS . . . . . . 107
CBRXLCS Return Codes. . . . . . . . . 185
Exporting Tape Volumes from a VTS . . . . . 108
CBRXLCS Execution Environment . . . . . 186
Requesting Information from the TS7700
LCS External Services Parameter List
Virtualization Engine . . . . . . . . . . . 108
(CBRLCSPL Macro) . . . . . . . . . . 186
Disabling Installation Exit Processing . . . . . 110
Tape Data Information (CBRTDI Macro) . . . 198
Reenabling Installation Exit Processing . . . . . 112
Tape Volume Information (CBRTVI Macro) . . 201
Displaying the Cartridge Loader Scratch Media
Tape Device Selection Information (CBRTDSI
Type . . . . . . . . . . . . . . . . 112
macro). . . . . . . . . . . . . . . 207
Setting the Cartridge Loader Scratch Media Type 113
Assigning Categories to ATLDS Cartridge
Loaders . . . . . . . . . . . . . . 114 Chapter 7. Installation Exits . . . . . 211
Assigning Media Types to MTL Cartridge Change Use Attribute Installation Exit
Loaders . . . . . . . . . . . . . . 114 (CBRUXCUA) . . . . . . . . . . . . . 211
Media Selection in an ATLDS . . . . . . . 114 Outboard Policy Management Considerations 215
Media Selection in an MTL . . . . . . . . 114 Job Processing Considerations . . . . . . . 216
Assigning Policy Names Outboard . . . . . . 115 Change Use Attribute Installation Exit
Construct Validity Checking . . . . . . . 116 Parameter List (CBRUXCPL) . . . . . . . 216
Displaying OAM Status . . . . . . . . . . 117 Change Use Attribute Installation Exit
Displaying Library Status . . . . . . . . . 119 (CBRUXCUA) Return Codes . . . . . . . 220
Displaying Library Connectivity . . . . . . 120 Change Use Attribute Installation Exit
Displaying Library Detail Status . . . . . . 121 (CBRUXCUA) Usage Requirements . . . . . 221
Displaying Tape Drive Status . . . . . . . . 126 Cartridge Entry Installation Exit (CBRUXENT) . . 221
Displaying Storage Group Status . . . . . . . 131 Outboard Policy Management Processing When
Displaying Tape Volume Status . . . . . . . 133 Calling the Entry Exit . . . . . . . . . 226
Displaying Outstanding OAM Messages . . . . 139 Outboard Policy Management Processing When
Stopping OAM . . . . . . . . . . . . . 140 Returning from the Entry Exit . . . . . . . 227
Capturing OAM Diagnostic Data . . . . . . . 140 Cartridge Entry Installation Exit Parameter List
Querying Active and Waiting OAM Tape Library (CBRUXEPL) . . . . . . . . . . . . 228
Requests . . . . . . . . . . . . . . . 142 Cartridge Entry Installation Exit (CBRUXENT)
Querying Device Services Library Information Return Codes . . . . . . . . . . . . 231
(DEVSERV QLIB) . . . . . . . . . . . . 145 Cartridge Entry Installation Exit (CBRUXENT)
Usage Requirements . . . . . . . . . . 232
Chapter 6. Library Control System Cartridge Eject Installation Exit (CBRUXEJC) . . . 232
Failed Eject Notification Processing . . . . . 234
(LCS) External Services . . . . . . . 147 Export Completion Processing . . . . . . . 235
LCS External Services Overview . . . . . . . 147 Cartridge Eject Installation Exit Parameter List
Change Use Attribute (CUA) . . . . . . . 147 (CBRUXJPL) . . . . . . . . . . . . . 236
Manual Cartridge Entry (MCE) . . . . . . 147 Volume Not in Library Installation Exit
Cartridge Eject (EJECT) . . . . . . . . . 147 (CBRUXVNL) . . . . . . . . . . . . . 240
Query Volume Residence (QVR) . . . . . . 148 Invoking the Installation Exit . . . . . . . 241
Test Volume Eligibility (TVE) . . . . . . . 148 Processing Options for the Installation Exit . . 242
Export Logical Volumes (EXPORT) . . . . . 148 Logical Volume Considerations . . . . . . 242
Import Logical Volumes (IMPORT) . . . . . 148
Contents v
Entering Tape Volumes in the Library Using the ISMF for the Storage Administrator . . . . . . 327
Installation Exit. . . . . . . . . . . . 242 Defining a Tape Library . . . . . . . . . 327
Possible Error Conditions . . . . . . . . 243 Displaying Tape Library Attributes . . . . . 336
Job Step Setup . . . . . . . . . . . . 244 Redefining a Tape Library . . . . . . . . 340
Device Allocation . . . . . . . . . . . 245 Altering a Tape Library . . . . . . . . . 342
Library Mount Processing . . . . . . . . 246 Copying Tape Library Definitions . . . . . 345
Volume Not in Library Installation Exit Deleting a Tape Library Definition . . . . . 346
Parameter List (CBRUXNPL) . . . . . . . 248 Monitoring and Maintaining Tape Volumes . . . 347
Volume Not in Library Installation Exit Return ISMF Mountable Tape Volume Application . . 348
Codes for Job Step Processing . . . . . . . 252 Creating a List of Tape Libraries . . . . . . 355
Volume Not in Library Installation Exit Return Auditing Volumes in an Automated Tape
Codes for Device Allocation . . . . . . . 253 Library . . . . . . . . . . . . . . 359
Volume Not in Library Installation Exit Return Altering the Volume Record . . . . . . . 362
Codes for Library Mount Processing. . . . . 253 Ejecting a Volume from a Tape Library . . . . 367
Volume Not in Library Installation Exit
(CBRUXVNL) Usage Requirements . . . . . 254 Appendix C. Accessibility . . . . . . 369
Using assistive technologies . . . . . . . . 369
Appendix A. SAMPLIB Members . . . 255 Keyboard navigation of the user interface . . . . 369
Sample Library Members . . . . . . . . . 255 z/OS information . . . . . . . . . . . . 369
SAMPLIB Member CBRSPLCS . . . . . . 257
SAMPLIB Member CBRSPUXC . . . . . . 271 Notices . . . . . . . . . . . . . . 371
SAMPLIB Member CBRSPUXE . . . . . . 278 Programming interface information . . . . . . 372
SAMPLIB Member CBRSPUXJ. . . . . . . 286 Trademarks . . . . . . . . . . . . . . 372
SAMPLIB Member CBRSPUXV . . . . . . 293
SAMPLIB Member CBRAPROC . . . . . . 306
Glossary . . . . . . . . . . . . . 373
SAMPLIB Member CBRSPSIM. . . . . . . 307
SAMPLIB Member CBRSPPIM . . . . . . 310
SAMPLIB Member CBRSPPIP . . . . . . . 313 Index . . . . . . . . . . . . . . . 381
SAMPLIB Member CBRSPSXP. . . . . . . 317
SAMPLIB Member CBRSPPXP . . . . . . 320
SAMPLIB Member CBRSPX03 . . . . . . . 323
vi z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Figures
1. IBM TotalStorage Enterprise Automated Tape 32. Sample JCL for an Export List Volume Using
Library (3495) . . . . . . . . . . . . 10 a Scratch Volume . . . . . . . . . . 317
2. IBM TotalStorage Enterprise Automated Tape 33. Sample JCL for an Export List Volume Using
Library (3494) L10 Frame . . . . . . . . 12 a Private Volume . . . . . . . . . . 320
3. Sharing a Tape Library among Multiple 34. Sample JCL for an Export List Volume Using
Systems . . . . . . . . . . . . . . 62 a Private Volume and Export List Format 03 . 323
4. Partitioning a Tape Library . . . . . . . 64 35. ISMF Primary Option Menu Panel . . . . 328
5. CBRXLCS CUA Assembler Macro Syntax 149 36. Library Management Selection Menu Panel 328
6. CBRXLCS MCE Assembler Macro Syntax 158 37. Tape Library Application Selection Panel 329
7. CBRXLCS EJECT Assembler Macro Syntax 163 38. Tape Library Define Panel (Page 1 of 4) 330
8. CBRXLCS QVR Assembler Macro Syntax 166 39. Tape Library Define Panel (Page 2 of 4) 330
9. CBRXLCS TVE Assembler Macro Syntax 171 40. Tape Library Define Panel (Page 3 of 4) 333
10. CBRXLCS EXPORT Assembler Macro Syntax 173 41. Tape Library Define Panel (Page 4 of 4) 333
11. CBRXLCS IMPORT Assembler Macro Syntax 175 42. Tape Library Define Panel (Page 1 of 4 335
12. Peer-to-Peer VTS Mode Control (PTPMC) 43. Tape Library Define Panel (Page 2 of 4) 335
Assembler Macro Syntax . . . . . . . . 177 44. Tape Library Define Panel (Page 3 of 4) 336
13. Peer-to-Peer VTS Data (PTPDATA) Assembler 45. Tape Library Define Panel (Page 4 of 4) 336
Macro Syntax . . . . . . . . . . . 180 46. Tape Library Display Panel (Page 1 of 2) 337
14. Obtain Library Name Information (OLN) 47. Tape Library Display Panel (Page 2 of 2) 339
Assembler Macro Syntax . . . . . . . . 182 48. Tape Library Redefine Panel (Page 1 of 4) 340
15. The LCS External Services Parameter 49. Tape Library Redefine Panel (Page 2 of 4) 341
List—CBRLCSPL Macro . . . . . . . . 187 50. Tape Library Redefine Panel (Page 3 of 4) 341
16. The Tape Data Information Assembler 51. Tape Library Redefine Panel (Page 4 of 4) 342
Mapping Macro—CBRTDI . . . . . . . 198 52. Tape Library Alter Panel (Page 1 of 4) 343
17. The Tape Volume Information Assembler 53. Tape Library Alter Panel (Page 2 of 4) 344
Mapping Macro—CBRTVI . . . . . . . 201 54. Tape Library Alter Panel (Page 3 of 4) 344
18. The Tape Device Selection Information 55. Tape Library Alter Panel (Page 4 of 4) 345
Assembler Mapping—CBRTDSI . . . . . 208 56. Copy Entry Panel . . . . . . . . . . 346
19. Change Use Attribute Installation Exit 57. Confirm Delete Request Panel . . . . . . 347
Parameter List—CBRUXCPL . . . . . . 217 58. Volume List Selection Menu Panel . . . . 349
20. The Cartridge Entry Installation Exit 59. Mountable Tape Volume Selection Entry Panel 349
Parameter List—CBRUXEPL . . . . . . 228 60. Mountable Tape Volume List Panel (part 1 of
21. The Cartridge Eject Installation Exit 5). . . . . . . . . . . . . . . . 351
Parameter List—CBRUXJPL . . . . . . . 236 61. Mountable Tape Volume List Panel (part 2 of
22. Volume Not in Library Installation Exit 5). . . . . . . . . . . . . . . . 352
Parameter List—CBRUXNPL . . . . . . 248 62. Mountable Tape Volume List Panel (part 3 of
23. Sample Installation Management 5). . . . . . . . . . . . . . . . 353
Package—CBRSPLCS . . . . . . . . . 257 63. Mountable Tape Volume List Panel (part 4 of
24. Sample Change Use Attribute Installation 5). . . . . . . . . . . . . . . . 354
Exit—CBRSPUXC . . . . . . . . . . 271 64. Mountable Tape Volume List Panel (part 5 of
25. Sample Cartridge Entry Installation 5). . . . . . . . . . . . . . . . 355
Exit—CBRSPUXE . . . . . . . . . . 278 65. Tape Library List Panel (part 1 of 6). 355
26. Sample Cartridge Eject Installation 66. Tape Library List Panel (part 2 of 6). 356
Exit—CBRSPUXJ . . . . . . . . . . 286 67. Tape Library List Panel (part 3 of 6). 356
27. Sample Volume Not in Library Installation 68. Tape Library List Panel (part 4 of 6). 357
Exit—CBRSPUXV . . . . . . . . . . 293 69. Tape Library List Panel (part 5 of 6). 357
28. Sample CBRAPROC Program That Creates 70. Tape Library List Panel (part 6 of 6). 358
the OAM Member in PROCLIB . . . . . 306 71. Confirm Audit Request Panel . . . . . . 360
29. CBRSPSIM SAMPLIB Job for Writing an 72. Alter from the Mountable Tape Volume Alter
Import List Volume to a Scratch Volume . . 307 Entry Panel . . . . . . . . . . . . 362
30. CBRSPPIM SAMPLIB Job for Writing an 73. Mountable Tape Volume Alter Entry Panel
Import List to a Private Volume and Initiating Displayed (ALTER Request). . . . . . . 363
Import Operations . . . . . . . . . . 310 74. Both OLD VALUE and NEW VALUE Reflect
31. CBRSPPIP SAMPLIB Job for Writing an the Values Assigned to the Volume . . . . 363
Import List using Outboard Policy 75. NEW VALUE Blanked Out for Storage Group 364
Management Options and Specifications . . 313
viii z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Tables
1. Environmental Considerations for a 16. PTPDATA Return and Reason Codes 181
Peer-to-Peer VTS Running Under GDPS . . . 22 17. OLN Function Fields . . . . . . . . . 183
2. Methods for Ejecting Cartridges from a Tape 18. OLN Return and Reason Codes . . . . . 184
Library . . . . . . . . . . . . . . 36 19. Parameters Passed To The Installation
| 3. Tape Storage Configurations . . . . . . . 44 Exit—CBRUXCUA . . . . . . . . . . 214
4. Software Volume Categories . . . . . . . 56 20. Fields Passed to the Installation
5. Change Use Attribute Return and Reason Exit—CBRUXENT . . . . . . . . . . 222
Codes . . . . . . . . . . . . . . 156 21. Fields Passed to the Installation
6. TDSI Processing for MCE—Volume Exists 160 Exit—CBRUXEJC . . . . . . . . . . 233
7. TDSI Processing for MCE—No Volume 22. CBRUXVNL Input During Job Step
Record Exists for Volume . . . . . . . 161 Setup—No TCDB Volume Record . . . . . 244
8. Manual Cartridge Entry Return and Reason 23. CBRUXVNL Input During Job Step
Codes . . . . . . . . . . . . . . 161 Setup—Existing TCDB Volume Record . . . 244
9. Cartridge Eject Return and Reason Codes 165 24. CBRUXVNL Input During Job Step
10. Return and Reason Code Meanings for the Setup—Job Information Fields . . . . . . 245
EJECTOPT=QUERY Keyword . . . . . . 166 25. CBRUXVNL Input During Device
11. Query Volume Residence Return and Reason Allocation—No TCDB Volume Record . . . 246
Codes . . . . . . . . . . . . . . 169 26. CBRUXVNL Input During Device
12. Test Volume Eligibility Return and Reason Allocation—Existing TCDB Volume Record . 246
Codes . . . . . . . . . . . . . . 172 27. CBRUXVNL Input Library Mount
13. EXPORT Return and Reason Codes . . . . 174 Processing—No TCDB Volume Record . . . 247
14. IMPORT Return and Reason Codes . . . . 176 28. CBRUXVNL Input Library Mount
15. PTPMC Return and Reason Codes . . . . 179 Processing—Existing TCDB Volume Record . 247
This book is for system programmers, storage administrators, and system operators
who perform these tasks.
Referenced documents
The following publications are referenced in this book:
xii z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
The z/OS Basic Skills Information Center
The z/OS Basic Skills Information Center is a Web-based information resource
intended to help users learn the basic concepts of z/OS, the operating system that
runs most of the IBM mainframe computers in use today. The Information Center
is designed to introduce a new generation of I/T professionals to basic concepts
and help them prepare for a career as a z/OS professional, such as a z/OS systems
programmer.
To access the z/OS Basic Skills Information Center, open your Web browser to the
following Web site, which is available to all users (no login required):
http://publib.boulder.ibm.com/infocenter/zoslnctr/v1r7/index.jsp
The following rules apply to the conventions that are used in the syntax diagrams
for all the OAM commands:
v Read the syntax diagrams from left to right and from top to bottom.
v Each syntax diagram begins with a double arrowhead () and ends with
opposing arrows ().
v An arrow (─) at the end of a line indicates that the syntax continues on the next
line. A continuation line begins with an arrow (─).
v Commands and keywords are shown in uppercase letters.
v Some commands and keywords have alternative abbreviations; these appear as
part of the stack for that command or keyword. For example, the alternative
abbreviation for DISPLAY is D.
DISPLAY
D
v Where you can choose from two or more keywords, the choices are stacked one
above the other. If one choice within the stack lies on the main path, a keyword
is required, and you must choose one. In the following example you must
choose either DETAIL or STATUS.
DETAIL
STATUS
v If a stack is placed below the main path, a keyword is optional, and you can
choose one or none. In the following example, PURGE, KEEP, and LOCATION
are optional keywords. You can choose any one of the three.
v Where you can choose from two or more keywords and one of the keywords
appears above the main path, that keyword is the default. You may choose one
or the other of the keywords, but if none is entered, the default keyword is
automatically selected. In the following example you may choose either DETAIL
or STATUS. If neither is chosen, STATUS is automatically selected.
STATUS
DETAIL
The variable volser is the serial number of the volume you wish to display.
v The repeat symbol shown below indicates that you can specify keywords and
variables more than once. The repeat symbol appears above the keywords and
variables that can be repeated. For example, when a comma appears in the
repeat symbol, you must separate repeated keywords or variables with a
comma.
In the following example, you may specify the library_name and one or more
system identification numbers (system_id) that are separated by commas. You
must enclose the name of the library and all of the system IDs in parentheses.
(library_name )
,
, system_id
The variable library_name is the name of the library you are working with, and
system_id names three different instances of system identification numbers.
xiv z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Summary of Changes
Summary of Changes for SC35-0427-09 z/OS Version 1 Release 11
This book contains information previously presented in z/OS DFSMS OAM
Planning, Installation, and Storage Administration Guide for Tape Libraries
(SC35-0427-08).
New Information
This edition includes the following new information:
v “Logical WORM Considerations” on page 25 has been added for TS7700
Virtualization Engine Release 1.6 support.
v “TS7680 Tape Virtualization” on page 26 has been added for TS7680 (3958-DE2)
support
v “Balanced Mode in the TS7700 Virtualization Engine” on page 53 has been
added.
Changed Information
The following topics have been updated for TS7700 Virtualization Engine Release
1.6 support:
v “Larger Logical Volume Sizes” on page 16
v “Improved Cache Management” on page 17
v “TS7700 Virtualization Engine” on page 23
v “Scratch Threshold Setting and Scratch Allocation Implications” on page 56
v “Displaying Library Detail Status” on page 121
v “Displaying Tape Volume Status” on page 133 (new status line)
v “Changing a WORM Tape Volume's Use Attribute” on page 155
v Table 5 on page 156 (new reason codes)
v Table 13 on page 174 (new reason codes)
v Figure 15 on page 187 (new reason codes)
v Figure 17 on page 201
v “Change Use Attribute Installation Exit (CBRUXCUA)” on page 211
v Figure 19 on page 217
v “Glossary” on page 373.
The following topics have been updated for TS7680 (3958-DE2) support:
v “TS7720 Virtualization Engine (3957-VEA)” on page 24
v “Displaying Library Detail Status” on page 121.
v “Glossary” on page 373.
New Information
This edition includes the following new information:
v Tape library requests can be made to use the UNIT name and allocate to a
specific device number or set of devices in an esoteric on the UNIT name, as
described in “Demand Allocation with System-Managed Tape” on page 51.
v MVS Device Allocation now supports a "BYDEVICES" load balancing option that
will more evenly distribute scratch allocations across all eligible devices, as
described in “Load Balancing Considerations” on page 51
New Information
This edition includes the following new information:
v “TS7700 Virtualization Engine” on page 23
v Tape library requests can be made to use the UNIT name and allocate to a
specific device number or set of devices in an esoteric on the UNIT name, as
described in “Demand Allocation with System-Managed Tape” on page 51.
Changed Information
This edition includes the following new information:
v “Larger Logical Volume Sizes” on page 16
v “Copy Export from the TS7740 Virtualization Engine (3957-V06)” on page 39
v “Disabling Installation Exit Processing” on page 110
xvi z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Summary of Changes for SC35-0427-06 z/OS Version 1 Release 10
This book contains information previously presented in z/OS DFSMS OAM
Planning, Installation, and Storage Administration Guide for Tape Libraries
(SC35-0427-05).
New Information
This edition includes the following new information:
Added Information
In Chapter 3, “Installing Your Tape Library Support,” on page 69, a new section,
“Encryption-Capable 3592 Model E06 Coexistence Considerations” on page 72, was
added.
Changed Information
For the 3592-E06 (TS1130) support, two recording technologies, EFMT3 and
EEFMT3, are added. The following sections are updated for this support:
v “Displaying Tape Drive Status” on page 126
v “Displaying Tape Volume Status” on page 133
v “Processing the Tape Device Selection Information (TDSI)” on page 158
v “Tape Volume Information (CBRTVI Macro)” on page 201
v “Tape Device Selection Information (CBRTDSI macro)” on page 207
v “Tape Device Selection Information” on page 49
v “Cartridge Entry Installation Exit (CBRUXENT)” on page 221
v “Changing the Use Attribute of a Volume” on page 149
Information specific to 3592 Model E06 was added. For more details see:
v “Tape Systems” on page 12
v “Hardware” on page 43
v “Analyzing Your Hardware Environment” on page 43
v “WORM Considerations” on page 47
v “Managing Multiple Media Formats” on page 48
v “Performance Scaling Considerations” on page 55
v “Performance Segmentation Considerations” on page 55
v “Media Selection in an ATLDS” on page 114
The following parameter lists in Chapter 7, Installation Exits, were updated for the
new recording technologies EFMT3 and EEFMT3:
v “Change Use Attribute Installation Exit Parameter List (CBRUXCPL)” on page
216
v “Cartridge Entry Installation Exit Parameter List (CBRUXEPL)” on page 228
v “Cartridge Eject Installation Exit Parameter List (CBRUXJPL)” on page 236
v “Volume Not in Library Installation Exit Parameter List (CBRUXNPL)” on page
248.
You may notice changes in the style and structure of some content in this
book—for example, headings that use uppercase for the first letter of initial words
only, and procedures that have a different look and format. The changes are
ongoing improvements to the consistency and retrievability of information in our
books.
New Information
This edition includes the following new information:
New information has been added about the TS7700 Virtualization Engine
(3957-V06).
For the 3592-E05 (TS1120) Encryption support, one recording technology, EEFMT2,
was added. The following sections were updated for this support:
v “Tape Device Selection Information” on page 49
v “Tape Device Selection Information (CBRTDSI macro)” on page 207
v “Software Volume Categories” on page 56
v “Entering a Tape Volume into an MTL” on page 106
v “Setting the Cartridge Loader Scratch Media Type” on page 113
v “Displaying Tape Volume Status” on page 133
The following parameter lists in Chapter 7, “Installation Exits,” on page 211 were
updated for the new recording technology EEFMT2:
v “Change Use Attribute Installation Exit Parameter List (CBRUXCPL)” on page
216
v “Cartridge Entry Installation Exit Parameter List (CBRUXEPL)” on page 228
v “Cartridge Entry Installation Exit Parameter List (CBRUXEPL)” on page 228
v “Cartridge Eject Installation Exit Parameter List (CBRUXJPL)” on page 236
v Figure 22 on page 248
xviii z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
In Chapter 5, “Operating the OAM Address Space,” on page 99, a new section,
“Requesting Information from the TS7700 Virtualization Engine” on page 108, was
added.
You may notice changes in the style and structure of some content in this
book—for example, headings that use uppercase for the first letter of initial words
only, and procedures that have a different look and format. The changes are
ongoing improvements to the consistency and retrievability of information in our
books.
New Information
This edition includes the following new information:
Enhanced support for the IBM® TotalStorage® Enterprise Tape System 3592 Model
E05, adding two media types and one recording technology. For more information,
see the following sections:
v “Tape Device Selection Information” on page 49
v “Tape Device Selection Information (CBRTDSI macro)” on page 207
v “Software Volume Categories” on page 56
v “Entering a Tape Volume into an MTL” on page 106
v “Setting the Cartridge Loader Scratch Media Type” on page 113
v “Displaying Tape Volume Status” on page 133
New media types and recording technology were added to the following
parameter lists in Chapter 7, “Installation Exits,” on page 211:
v “Change Use Attribute Installation Exit Parameter List (CBRUXCPL)” on page
216
v “Cartridge Entry Installation Exit Parameter List (CBRUXEPL)” on page 228
v “Cartridge Entry Installation Exit Parameter List (CBRUXEPL)” on page 228
v “Cartridge Eject Installation Exit Parameter List (CBRUXJPL)” on page 236
v Figure 22 on page 248
Information specific to 3592 Model E05 was added. For more details:
v “Tape Systems” on page 12
v “Hardware” on page 43
v “Performance Segmentation Considerations” on page 55
v “Media Selection in an ATLDS” on page 114
The Volume Not In Library Installation Exit section was updated, with new fields
added to Figure 22 on page 248 for the enhanced VNL installation exit support.
xx z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Chapter 1. Introduction to Tape Library Management
The Object Access Method (OAM) is a component of DFSMSdfp, the base of the
storage management system (SMS) of DFSMS. OAM uses the concepts of
system-managed storage, introduced by SMS, to manage, maintain, and verify tape
volumes and tape libraries within a tape storage environment.
The management of data on tape volumes is not discussed in this manual. See
z/OS DFSMS OAM Planning, Installation, and Storage Administration Guide for Object
Support for information on OAM's role in the storage of objects on tape volumes.
Also, see z/OS DFSMSrmm Managing and Using Removable Media for information on
of DFSMSrmm's role in the management of data on tape volumes.
In general, a tape library is a set of tape volumes and the set of tape drives where
those volumes may be mounted. The relationship between tape drives and tape
volumes is exclusive; a tape volume residing in a library (library-resident tape
volume) can only be mounted on a tape drive contained in that library
(library-resident tape drive), and a library-resident tape drive can only be used to
mount a tape volume which resides in the same library. A tape library can consist
of one or more tape systems.
When a volume is entered into a tape library, it is assigned to a tape storage group.
A tape library can contain volumes from multiple storage groups, and a storage
group can reside in up to eight libraries.
As new tape data sets are created, the installation allocates data sets to tape
volumes in an SMS-managed tape library by associating one or more tape storage
group names (using the SMS storage group ACS routine) with the allocation
request. DFSMS ensures that only tape devices within the tape libraries associated
with the tape storage groups are allocated to the request. Existing tape data sets on
library-resident volumes are allocated to tape drives within the library where the
volume resides.
The IBM Automated Tape Libraries and their supporting software streamline and
automate the roles of the storage administrator, tape operator, and the tape
librarian. They also use the concepts of SMS to manage the tape volumes within
the library.
For a discussion of the IBM TotalStorage Enterprise Automated Tape Library (3495)
and the IBM TotalStorage Enterprise Automated Tape Library (3494), see
“TotalStorage Automated Tape Library (3495) System Attachment” on page 9 and
“TotalStorage Automated Tape Library (3494) System Attachment” on page 11. For
Tape cartridges are stored and retrieved by an automated cartridge accessor. The
cartridges are placed in an input station by the tape library operator. The cartridge
accessor then scans the external volume label on the cartridge, carries the cartridge
to the appropriate storage location, and places it into the library. When a volume
mount is requested, the cartridge accessor retrieves the cartridge from the storage
location, carries it to the requested drive, and mounts the cartridge in the drive.
Upon completion of the tape operation, the tape cartridge is unloaded, the accessor
retrieves it from the drive, and returns it to a storage location in the library.
However, the tape library operator can continue library operation during periods
when the cartridge accessor is not operational. During this time the operator
responds to commands displayed on the manual mode console. This is known as
manual mode operation.
In an ATLDS environment, mount and demount messages are only issued to the
system log and will not appear on the console.
2 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Guidelines:
1. Operation of this support outside of the true stand-alone environment is not
intended. To determine feasibility of this support within a non-IBM robotic tape
library, contact the manufacturer of the robotic tape library.
2. If a vendor’s tape device, emulating a 3490E or IBM TotalStorage Enterprise
Tape System 3590 native device, is defined to the library, the manual tape
library support will treat this device as a real 3490E or as a real 3590 Model B.
When entered into the library, the media must be defined as its emulated
media. It is then the user’s responsibility to manage media or device
incompatibilities. This can be managed by keeping incompatible devices with
the same emulated or real device type in separate libraries.
This manual covers the use of the LCS component of OAM in support of tape
libraries. For information on the roles of OSR, OSMC, and LCS in support of object
data, see z/OS DFSMS OAM Planning, Installation, and Storage Administration Guide
for Object Support.
Recommendation: Only a subset of the functions above actually execute within the
OAM address space (entry, eject, audit, and unsolicited attention message
processing). Cartridge mount and demount activity (job processing) does not
require the OAM address space. However, since job processing often results in
volumes being entered and error and status messages being displayed, run the
installation with the OAM address space active whenever possible.
ISMF serves two roles in tape library management. First, it allows the storage
administrator to define tape libraries in the tape configuration database (TCDB).
Second, it allows the storage administrator to define tape libraries in specified
source control data sets (SCDSs), making them a part of the SMS configuration
when that SCDS is activated. Upon activation of an SCDS that has tape libraries
defined, an operator on any console within an SMS complex can issue commands
targeted for any tape library within the SMS configuration. Each change associated
with an SCDS does not take effect until that SCDS is activated. Changes to the
TCDB take effect the next time an SCDS that includes that tape library is activated.
Rule: Tape drives associated with either an automated tape library dataserver or a
manual tape library must be defined using the hardware configuration definition
(HCD). For more information on HCD requirements, see “Creating the Hardware
Configuration” on page 80 and to z/OS HCD User's Guide.
ISMF allows the storage administrator to define, alter, list, and display:
v Tape library definitions
v Tape storage group definitions
v Data class definitions
v Storage class definitions
v Management class definitions
Managing the tape library’s volume inventory is also handled through ISMF. For
more detailed information, see Appendix B, “Using ISMF Panels to Define and
Monitor Your Configuration,” on page 327 and z/OS DFSMS Using the Interactive
Storage Management Facility.
4 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
– Aggregate group allows you to group a collection of data objects that form a
data type. This allows the data to be referred to collectively or individually.
Tape storage groups can be associated with one or more tape libraries, but all
volumes of a multivolume data set must be contained within a single library and a
single storage group. If one of the volumes required in a multivolume data set
request resides outside of the library, the volume not in library installation exit
(CBRUXVNL) can be used to direct the volume back into the library.
When a private volume is entered into a tape library and a storage group name is
not provided, OAM sets the storage group name to blanks. The blank storage
It is a good idea for the storage administrator to assign all volumes in the blank
storage group to other named storage groups as soon as possible. This allows an
installation to take advantage of the storage group states (ENABLED, NOTCON,
DISNEW, and DISALL). Also, the storage group name can be used to direct a
volume to a particular library or libraries, rather than to any library within the
SMS complex. This ensures that a volume is reentered into the appropriate library
following the ejection of that volume, and provides a filter for reducing the length
of the volume list displayed through ISMF.
6 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
VOLCAT must be defined before defining a tape library. The name of the
general volume catalog is hlq.VOLCAT.VGENERAL.
A specific VOLCAT
A volume catalog that contains a specific group of volume records based
on the first character of the volume serial number. The name of the specific
volume catalog is hlq.VOLCAT.Vx. For examples on defining VOLCATS,
see “Creating the Tape Configuration Database” on page 78 or z/OS
DFSMS Access Method Services for Catalogs.
Note: The “hlq” and the “x” in the name of the volume catalog, hlq.VOLCAT.Vx,
stand for high-level qualifier and reference to valid character values (A–Z
and 0–9) respectively. For information on changing high-level qualifiers on
VOLCATs, see z/OS DFSMS Managing Catalogs.
The following TCDB records are used in association with tape libraries:
Library record
There is one library record for each tape library. The library record resides
within the general VOLCAT. Each record contains information related to
the library (for example, library name, library ID, and device type) and is
created by the ISMF tape library define option.
Volume record
Each volume record represents a tape volume. It can reside in the general
or the specific VOLCAT. It contains information related to a volume (for
example, volume serial number, library name, and storage group name)
and is created during cartridge entry processing.
Access method services provide users access to catalog entries for tape libraries
and tape volumes, allowing them to create, alter, list and delete entries residing in
the TCDB. However, access method services is used mainly as a recovery tool to
repair damaged catalogs and should be used with caution whenever you create,
alter, and delete TCDB entries. Incorrect use of this recovery tool can cause
database (host, library manager, and tape management) conflicts. For example,
IDCAMS ALTER can be used to change the use attribute of a volume in the TCDB,
but it does not change the library manager’s inventory record or the tape
management system’s database. When changing a volume’s use attribute, use
CBRXLCS FUNC=CUA or ISMF volume ALTER to keep the databases
synchronized. For more information concerning recovery of catalog entries, see
“Establishing Recovery Procedures” on page 94.
Rule: Tape drives associated with an automated tape library dataserver, a manual
tape library, or configured as a stand-alone device must be defined using the
hardware configuration definition (HCD).
Private tapes are returned to the common scratch pool through an ISMF ALTER
request, through the use of the Library Control System (LCS) external services
change use attribute function, or by a tape management system.
Rule: Keep MTL-resident scratch volumes separate from the stand-alone scratch
pool.
8 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
VTS Outboard Policy Management
Outboard policy management enables you to better manage your VTS stacked and
logical volumes. With this support, the SMS construct names that are associated
with a volume (storage class, storage group, management class, and data class) are
sent to the library. When file sequence 1 is written (DISP = NEW), the 8-character
SMS construct names (as assigned through your ACS routines) are passed to the
library. At the library, you can define outboard policy actions for each construct
name, enabling you and the VTS to better manage your volumes. For example,
through the storage group policy and physical volume pooling, you now have the
ability to group logical volumes with common characteristics on a set of physical
stacked volumes.
The ATLDS (see Figure 1 on page 10) is capable of supporting multiple control
units and tape drives. The details for each callout in Figure 1 on page 10 are
explained in the text that follows. See Table 3 on page 44 for more information
concerning configuration capabilities, and “TotalStorage Automated Tape Library
(3494) System Attachment” on page 11 for more details concerning the tape
systems. For more detailed information regarding the hardware features of the IBM
TotalStorage Enterprise Automated Tape Library (3495), see 3495 Tape Library
Introduction and Planning Guide.
3
4
Note: If the external high-capacity input and output station feature is installed, the
high-capacity input and output facility cannot be enabled.
10 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
cartridge accessor is not active. The library manager uses the manual mode
terminal to inform the operator which volumes to mount and eject, and where to
locate the volumes in the storage cells.
Commands are processed by the library manager and translated into requests for
cartridge movement or database processing. The library manager database
provides a cross-reference between a volume serial number, a volume’s actual
storage location, and a volume’s category. See “Displaying Tape Volume Status” on
page 133 for a list of valid volume categories and their descriptions.
For more information on these hardware features, see 3495 Tape Library Introduction
and Planning Guide.
The details for each callout in Figure 2 on page 12 are explained in the text that
follows.
This ATLDS is capable of supporting multiple control units and tape drives. See
Table 3 on page 44 for more information concerning configuration capabilities. For
more detailed information on the hardware features of the IBM TotalStorage
Enterprise Automated Tape Library (3494), see IBM TotalStorage Enterprise
Automated Tape Library (3494) Introduction and Planning Guide, and IBM TotalStorage
Enterprise Automated Tape Library (3494) Operator’s Guide.
Figure 2. IBM TotalStorage Enterprise Automated Tape Library (3494) L10 Frame
Tape Systems
The 3494 uses the 3490E Magnetic Tape System, the IBM TotalStorage Enterprise
Tape System 3590, and the IBM TotalStorage Enterprise Tape System 3592,
individually or in combination (Figure 2, item 3). Each system has its own
integrated control unit. The 3490E models can read cartridges written by other
3480 and 3490 base models. For more information concerning the IBM 3490E
models, see IBM 3490E Tape Subsystem Installation, Planning, and Operator's Guide.
12 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
IBM TotalStorage 3592 Model J, the IBM TotalStorage 3592 Model E05, and the IBM
TotalStorage 3592 Model E06 are all capable of coexisting in the same IBM
TotalStorage Enterprise Automated Tape Library (3494). With native fibre
connection (FICON®) attachment, the controllers can provide even greater
improvements in tape performance and attachment distance.
The IBM TotalStorage Enterprise Tape System 3590 Model E and Model H, and the
IBM TotalStorage Enterprise Tape System 3592 Model J, Model E05, and Model E06
are supported in the IBM TotalStorage Enterprise Automated Tape Library (3494)
and in the Manual Tape Library (MTL) in 3590-1 emulation mode only. Inside an
IBM tape library, the SMS tape software support recognizes the 3590-1 emulated
devices by their real device types rather than by the drives they are emulating.
This enables 3590 Model B, Model E, Model H, the 3592 Model J, Model E05, and
Model E06 devices to coexist in the same library.
The 3590 Model E and Model H can read cartridges written by the 3590 Model B.
The 3590 Model H can also read cartridges written by the 3590 Model E. The 3590
tape systems use the IBM High Performance Cartridge Tape (MEDIA3) and the
IBM Extended High Performance Cartridge Tape (MEDIA4). The 3592 tape systems
model use the IBM Enterprise Tape Cartridge (MEDIA5), the IBM Enterprise
WORM Tape Cartridge (MEDIA6), the IBM Enterprise Economy Tape Cartridge
(MEDIA7), and the IBM Enterprise Economy WORM Tape Cartridge (MEDIA8).
The 3592 Model E05 and Model E06 also uses two additional media types, the IBM
Enterprise Extended Tape Cartridge (MEDIA9) and the IBM Enterprise Extended
WORM Tape Cartridge (MEDIA10). The 3592 tape systems cannot read cartridges
written by the 3590 tape systems, nor can the 3590 tape systems read any
cartridges written by the 3592 tape systems.
The 3590 and 3592 expand the storage capabilities and performance for these
libraries by providing higher performance, a larger capacity cartridge, and
increased reliability over previous tape systems.
Related Reading:
v For additional information on z/OS® DFSMS software support for the Model
E1x and Model H1x tape drives, see Software Support for IBM TotalStorage
Enterprise Tape System 3590 Models E1x/H1x.
v For additional information on the IBM TotalStorage Enterprise High Performance
Tape System, see the IBM TotalStorage Enterprise Tape System 3590 Introduction and
Planning Guide.
v For additional information on the 3592, see z/OS DFSMS Software Support for
IBM System Storage TS1130 and TS1120 Tape Drives (3592).
14 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
v Automatic 3590 and 3592 storage capacity utilization
v Logical library partitioning
v Operator interface with the library manager
v Logical volume inventory
v Physical volume pooling
v Selective dual copy
Note: The active status of the cartridge loader depends on the availability of
scratch volumes in the assigned pool.
All host interactions with data in a VTS are through virtual volumes and
associated virtual tape devices; there is no direct access to the data on a physical
cartridge or device.
See “Import/Export Considerations for the 3494 VTS” on page 70 for information
on coexistence considerations for the VTS import and export functions, particularly
for outboard policy management support implications.
16 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Tape Volume Cache
The tape volume cache consists of a high performance array of DASD and storage
management software. Virtual volumes are held in the tape volume cache when
they are being used by the host system. Outboard storage management software
manages which virtual volumes are in the tape volume cache and the movement of
data between the tape volume cache and physical devices. The size of the DASD is
made large enough so that more virtual volumes can be retained in it than just the
ones currently associated with the virtual devices.
After an application modifies and closes a virtual volume, the storage management
software in the system makes a copy of it onto a physical tape. The virtual volume
remains available on the DASD until the space it occupies reaches a predetermined
threshold. Leaving the virtual volume in the DASD allows for fast access to it
during subsequent requests. The DASD and the management of the space used to
keep closed volumes available is called tape volume cache. Performance for
mounting a volume that is in tape volume cache is quicker than if a real physical
volume is mounted.
With outboard policy management support, you can define the cache preference
level at the library through the library manager storage class policy, rather than
through the IART parameter. The outboard specification overrides the host IART
specification if you have defined a cache preference level setting in the library
manager policy construct definition. If the outboard construct was automatically
created and was defined with no cache specification, the host IART specification is
used. If there is no IART specification, then the default preference level of 1 is used
for the volume.
| With Release 1.6 of the TS7700 Virtualization Engine, you can use the LIBRARY
| REQUEST command at the host to temporarily override (while the volume is in
The deletion of expired logical volume data eliminates the need for the VTS to
manage logical volume data that has already been expired at the host. At the same
time, it provides a “grace period” during which the VTS continues to manage the
data after the host has expired the data. The deletion times are associated with
categories that have the Fast Ready attribute.
Additionally, a "hold" setting can also be associated with categories that have the
Fast Ready attribute to restrict the usage of volumes with an unexpired expire
time. Restricted volumes cannot be used to satisfy a mount request and cannot be
moved to a different category until their expire time duration has elapsed. Since
volumes with an unexpired expire time cannot be used to satisfy a mount request,
they are also excluded from the scratch volume category count in the DISPLAY
SMS,LIBRARY command.
See IBM TotalStorage Enterprise Automated Tape Library (3494) Operator’s Guide for
more information on defining the Fast Ready categories.
18 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
because the fragment contains the label information needed by the host tape
management software to validate the use of the volume for a nonspecific mount
request. The system signals the host that the mount is complete when the fragment
is accessed. The result is a very low mount response time because no physical
movement or mounting of a cartridge is involved.
Each logical library will have its own unique library sequence number and will
look like a separate physical library to the hosts attached to the system in that
partition. The physical assets used by the system are managed by the library
manager in the library.
Operator Interface
The library manager console is used to perform the setup, management, and status
functions needed to support a VTS system.
Use the library manager storage group policy construct to assign logical volumes
to physical stacked volumes and to group sets of stacked volumes into physical
volume pools. The VTS system writes the logical volumes that are assigned to this
storage group to the set of physical volumes that are assigned to the physical
volume pool.
If you do not specify a physical volume pool in the library manager storage group
policy construct, the VTS system writes the volumes to the common scratch pool.
If you update the library manager storage group policy construct to allow for the
assignment of logical volumes to a specific physical volume pool, the VTS does not
move the data to the specified pool until the next time you rewind and unload the
logical volume from the tape drive.
Use the library manager management class policy construct to make a second copy
of a logical volume and assign it to a secondary physical volume pool. The VTS
system writes the second copy of the volume to the secondary volume pool that
you designate.
If you do not predefine the management class policy construct at the library and
the VTS system automatically assigns default actions to the policy, the system does
not perform the selective dual copy function. The default action is to make only a
primary copy of the logical volume. It is not to create a second copy of the volume
in the VTS. If you update the management class policy construct to make a second
copy of the volume, the VTS does not make the second copy retroactively. The
action of creating the second copy occurs the next time you rewind and unload the
logical volume from the tape drive.
20 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Bulk Volume Information Retrieval
The outboard Bulk Volume Information Retrieval (BVIR) facility allows a host job
to request and obtain information about all of the logical volumes managed by a
virtual tape server (VTS), including a Peer-to-Peer VTS. Within a VTS, a database is
maintained that contains information about the state and data validity of each
logical volume. This function uses a logical volume to allow a batch job to request
information from the VTS. When the logical volume is mounted, the VTS formats
the requested information onto the volume as an IBM standard labeled tape
volume containing a single file. The file contains multiple records, one for each
logical volume in the VTS. Because it is standard volume format, the data is
accessible through standard host utilities such as IEBGENER. Physical–to–logical
volume mapping is just one example of the information you can obtain with this
facility. For additional information on using this facility, refer to the following IBM
Whitepapers: IBM Virtualization Engine TS7700 Series Bulk Volume Information
Retrieval User's Guide and IBM TotalStorage Virtual Tape Server 3494 Bulk Volume
Information Retrieval Function User's Guide.
The Peer-to-Peer VTS system appears as one library image to the attached hosts.
The single library image is referred to as the composite library. The underlying
physical VTS libraries that make up the composite library are referred to as the
distributed libraries. All three libraries (the composite library and two distributed
libraries) will be defined to the host, whereas the drives and volumes will be
defined and associated with the composite library.
The composite library will reflect the overall state of the VTS systems, with
individual library status being reflected through the distributed libraries. For
example, if one of the distributed libraries is in paused mode and the other is in
automated mode, the overall status of the VTS composite library will be automated
with messages to the host indicating which of the distributed libraries is paused. If
one of the distributed libraries is taken offline at the library, the state of the
composite will remain online and operational as long as one of the distributed
libraries is operational.
The Peer-to-Peer VTS allows GDPS to include tape data in its management of data
consistency and integrity across sites. A new I/O VTS selection option is provided
for use with GDPS such that all virtual volumes are processed from a primary VTS
and a copy is stored on the secondary VTS. GDPS has the control capability to
“freeze” copy operations so that tape data consistency can be maintained across
GDPS-managed sites. Additionally, GDPS can switch the primary and secondary
VTSs, and synchronize system data sets such as catalogs, TCDB, and tape
management databases with the Peer-to-Peer VTS after an emergency switchover.
If your installation is running Peer-to-Peer VTS under GDPS, take into account the
considerations that are shown in Table 1 for your particular environment:
Table 1. Environmental Considerations for a Peer-to-Peer VTS Running Under GDPS
Environment Results Notes
Peer-to-Peer VTS runs in The host control data sets for The Peer-to-Peer VTS library
immediate copy mode and is OAM and for your tape under GDPS does not support
fully operational. management software are logical software partitioning.
consistent with the data on
your logical volumes
site-to-site as long as the
volumes are copied.
A disaster occurs and you v There is no synchronization The Peer-to-Peer VTS library
are running in immediate for open logical volumes. under GDPS does not support
copy mode. logical software partitioning.
v A rerun of the workload
will inform you that you
have no valid copy of the
data.
A disaster takes place and v There is no synchronization v You are not able to have
you are in deferred mode. for closed and open logical full control of the selection
The distributed library that volumes. of the I/O VTS.
remains is the input/output
v Open logical volumes at v The Peer-to-Peer VTS
(I/O) VTS for that volume.
the time of the disaster library under GDPS does
become invalid. not support logical software
v Closed logical volumes at partitioning.
the time of the disaster are
valid.
22 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Table 1. Environmental Considerations for a Peer-to-Peer VTS Running Under
GDPS (continued)
Environment Results Notes
A disaster takes place and v There is no synchronization v You are not able to have
you are in deferred mode. for closed and open logical full control of the selection
The distributed library that volumes. of the I/O VTS.
is damaged is the I/O VTS
v Open logical volumes at v The Peer-to-Peer VTS
for that volume. The copy
the time of the disaster library under GDPS does
process for a logical volume
become invalid. not support logical software
has not been completed.
v Closed logical volumes on partitioning.
the damaged VTS at the
time of the disaster become
invalid.
Related Reading: For more information on GDPS, see the following documents:
v GDPS/PPRC Installation and Customization Guide
v IBM TotalStorage™ Peer-to-Peer Virtual Tape Server Planning and Implementation
Guide
Use the library manager management class policy to specify whether a volume’s
copy is made with the immediate or deferred copy mode.
If you do not predefine the management class policy construct at the PtP VTS
library and the VTS system automatically assigns default actions to the policy, the
selective peer-to-peer copy mode uses the current copy mode setting. If you update
the management class policy construct to make an immediate or deferred copy of
the volume, that management class policy setting overrides the current setting the
next time the volume is written.
Note: In general, references throughout this document to the terms "VTS" and
"Peer-to-Peer VTS" also apply to the TS7700 Virtualization Engine. In
general, the TS7700 Virtualization Engine uses the existing 3494 VTS and PtP
VTS support that is in place at the host. However, with specific releases of
the TS7700, explicit host support is added. For TS7700 Release 1.3 refer to
APAR OA20065 (z/OS V1R6 and above), for TS7700 Release 1.5 refer to
| APAR OA24966 (z/OS V1R8 and above), and for TS7700 Release 1.6, refer to
| APAR OA28632 (z/OS V1R9 and above).
A grid configuration presents itself to the attached hosts as a single library image
with 3490-E emulated virtual tape devices. The copying of the volumes in a grid
configuration is handled by the clusters and is completely transparent to the host.
Each TS7740 Virtualization Engine in a grid manages its own set of physical
volumes and maintains the relationship between logical volumes and the physical
volumes on which they reside.
24 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
| starting with Release 1.6 of the TS7700, the clusters in a grid can be heterogeneous
| (TS7720 and TS7740), referred to as a hybrid configuration. Like a TS7740, the
| TS7720 is also defined to the host using composite and distributed libraries.
| When the TS7720 detects that available cache space has fallen below preset
| thresholds, the TS7720 sends CBR3792E (limited cache free space warning state
| reached) and CBR3794A (out of cache resource critical state reached) attention
| messages to the attached hosts. The CBR3792E message can be used to trigger
| return to scratch processing or the copying of data to another library. If the amount
| of available cache subsequently reaches the critical state, all fast ready (scratch)
| mounts are failed and any specific mount operations are allowed; however, any
| attempt to write to the volume will be failed. Mount operations that have been
| accepted before entering this state complete and volumes currently mounted can
| continue to perform host I/O operations. As appropriate, the VARY SMS,STORGRP
| operator command can also be used to steer scratch allocations to another
| composite library that is eligible for the scratch request. The DISPLAY
| SMS,LIBRARY command with DETAIL, can also be used periodically to display
| the "CACHE PERCENTAGE USED" in a distributed library.
| To assist with the cache management in a TS7720, having a TS7740 Virtual Engine
| in the multi-cluster grid configuration (hybrid configuration) provides an
| additional back-end tape capability. To manage the migration of data from the
| TS7720 to the TS7740, with Release 1.6 of the TS7700, there is a ‘Volume Removal
| Policy’ at the library. Since the TS7720 has a finite amount of cache, once that cache
| fills, this policy allows logical volumes to be automatically removed from cache
| while a copy is retained elsewhere in the grid. This copy could exist on physical
| tape associated with a TS7740 or in another TS7720 tape volumes cache. When
| coupled with copy policies, this provides an automatic data migration function
| between the clusters in the grid.
| As with the 3592 physical WORM tape support, any attempt by the host to modify
| a previously written user data record of a logical WORM volume will be failed by
| the TS7700. With the 3592 WORM tape support, a volume is designated as WORM
| through usage of special WORM media types (MEDIA6, MEDIA8 and MEDIA10).
| A logical volume (MEDIA1 or MEDIA2) will be designated as WORM, not by the
| usage of a special WORM media type, but when it is first mounted and written
| from load point (and associated with a data class policy that has WORM
| functionality enabled at the library). As with the 3592 WORM tape support, a
| logical WORM volume is assigned a world-wide unique identifier (WWID) and is
| associated with a write mount count (WMC). During the mount, the TS7700
| For high availability, the TS7680 supports two nodes, with each node consisting of
| an enterprise tape control unit and deduplication engine. Each node supports up to
| 128 virtual tape devices (8 logical control units with 16 devices per logical control
| unit) and emulates the IBM System Storage 3592 Model J1A tape drive and JA
| (MEDIA5) media for a maximum configuration supporting up to 256 devices. Even
| though the library supports up to 256 virtual tape devices, based on the size of the
| backend disk repository, only a subset of the drives may be supported (refer to the
| TS7680 product documentation for any configuration-related requirements).
| Devices in the first (lower) tape control unit are defined using subsystems X'01'
| through X''08' and devices in the second (upper) tape control unit are defined
| using subsystems X''11' through X'18'. With the TS7680, one tape controller or
| deduplication engine can be offline (for code upgrade or repair) and, with a shared
| disk cache, all logical volumes are accessible through the remaining node’s virtual
| device addresses.
| Note: Even though 7-digit slot-values are being supported in the DISPLAY
| SMS,LIBRARY command output (TOTAL SLOTS and EMPTY SLOTS), ISMF
26 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
| and IDCAMS will still only support 6-digit slot-values and will truncate the
| high order digit. The slot counts reflect the maximum number of logical
| volumes that can be defined to the TS7680 (TOTAL SLOTS) and the number
| of logical volumes that can still be defined (EMPTY SLOTS).
| Cache Management
| When the TS7680 detects that available cache space has fallen below preset
| thresholds, the TS7680 sends CBR3792E (limited cache free space warning state
| reached) and CBR3794A (out of cache resource critical state reached) attention
| messages to the attached hosts. The CBR3792E message can be used to trigger
| return to scratch processing or the copying of data to another library. If the amount
| of available cache subsequently reaches the critical state, all fast ready (scratch)
| mounts are failed and any specific mount operations are allowed; however, any
| attempt to write to the volume will be failed. Mount operations that have been
| accepted before entering this state complete and volumes currently mounted can
| continue to perform host I/O operations. As appropriate, the VARY SMS,STORGRP
| operator command can also be used to steer scratch allocations to another library
| that is eligible for the scratch request. The DISPLAY SMS,LIBRARY command with
| DETAIL, can also be used periodically to display the “CACHE PERCENTAGE
| USED”.
| When the host returns a volume to scratch, the TS7680 applies (by default) a nine
| day grace period to the volume. The default grace period can be overridden at
| install time and set to a value from 0-9 days (0 indicating no grace period). After
| the grace period elapses, the data associated with the scratch volume will be
| deleted from the library to free up back-end disk space, rendering the contents of
| the tape volume unusable. When the TS7680 reaches the critical “Out of Cache
| Resources” state (CBR3794A), it can also be configured (at install time) to
| automatically delete data associated with scratch volumes that are in the “grace
| period”. Volumes with the shortest time remaining in the grace period will be
| deleted first. The default behavior is to honor the grace period.
| Load Balancing
| To balance the workload across the two enterprise tape control units, the virtual
| tape devices should be divided equally across the controllers. For example, if the
| size of the disk repository supports fewer than 256 devices (for example 128
| devices), define 64 devices using subsystems X'01' through X'04' and 64 devices
| using subsystems X'11' through X'14'. Or, if a given host only needs a subset of the
| devices, spread the online devices in equal proportions across the two enterprise
| control units.
| If an imbalance across the two enterprise tape controllers is observed with one
| enterprise tape controller (and its tape subsystems) getting the majority of the
| mounts, consider using the new MVS Device Allocation TAPELIB_PREF
| randomization option "BYDEVICES". For a discussion of the load balancing option,
| refer to “Load Balancing Considerations” on page 51.
| For additional information on the IBM System Storage TS7680, refer to the TS7680
| Information Center and APAR OA27786 (z/OS V1R9 and above).
Tip: To force cartridge entry processing to occur on a particular system, use the
LIBRARY DISABLE command. For more information concerning this command,
see “Disabling Installation Exit Processing” on page 110.
Tape cartridges are identified in a VTS at the library manager console through
volume serial number ranges. When a native cartridge, identified as a stacked
volume, is entered into a library, the volume is recognized as being a VTS
managed volume and is not reported to the host as a newly entered volume. Thus,
a volume record for the stacked volume is neither created or maintained in the
tape configuration database (TCDB). However, the volumes identified at the library
manager console as being logical volumes are placed in the insert category and are
processed as part of normal cartridge entry. A volume record for the logical
volume is created and maintained in the TCDB. If a logical volume fails cartridge
entry processing, the logical volume is purged from the library manager database.
For information concerning entering logical volumes into a VTS, see “Importing
Logical Volumes into a 3494 VTS System” on page 29.
Note: If you have enabled the library for outboard policy management support
and if you are defining the logical volumes to the library, the library
supports the preassignment of constructs to a volume or a range of volumes.
However, this preassignment of constructs is not recommended in the
system-managed tape environment. The host, even in coexistence, can reset
the preassigned construct names during entry processing. It is recommended
that you let the host assign the appropriate constructs during entry and job
processing.
Tape cartridges can be entered into a manual tape library through the use of the
CBRXLCS manual cartridge entry (MCE) programming interface, or through use of
the LIBRARY ENTER command. The following actions occur:
v The cartridge entry installation exit (CBRUXENT) is invoked to approve or deny
the entry request.
v The volume record in the TCDB is created or updated.
For more information on manual cartridge entry (MCE), see “Manual Cartridge
Entry (MCE)” on page 147. For more information on the LIBRARY ENTER
command, see “Entering a Tape Volume into an MTL” on page 106.
Tip: You can also use sample program CBRSPLCS to enter volumes into a manual
tape library.
28 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
one device is online, or had been online, to each host or use the LIBRARY
RESET,CBRUXENT command to initiate cartridge entry processing from the host.
This is especially important if you only have one host attached to the library that
owns the volumes being entered. In general, after you have entered volumes into
the library, if you do not see the expected CBR36xxI cartridge entry messages being
issues, you can use the LIBRARY RESET,CBRUXENT command from MVS to
initiate cartridge entry processing. The LIBRARY RESET,CBRUXENT command
causes the host to ask for any volumes in the insert category.
To introduce logical volumes with data into a VTS library or to reintroduce logical
volumes back into a VTS to reuse the volume serial numbers, the volumes must be
imported into the library. An import can be performed at the host, with a list of
logical volumes to import, or at the library manager, if a single logical volume is to
be imported. For more information concerning importing a single logical volume,
see “Importing a Single Logical Volume at the Library Manager” on page 32.
An import operation performed at the host begins with you or the tape
management system writing the list of volumes to be imported into a library on a
logical volume in the library. This logical volume then becomes the import list
volume. The input list volume indicates:
Import all logical volumes
The list of volumes written on file sequence 1 is a list of stacked volumes
to be imported into the VTS. All logical volumes residing on the stacked
volumes specified are imported.
Import specific logical volumes
In this case, the list of volumes is a list of stacked and logical volume
pairs; each stacked volume is followed by the logical volume to import.
With IMPORT LIST format 01, import option SCRATCH or INITIALIZE can be
specified along with the volume serial numbers of the stacked and logical volume
pairs. If this import option is omitted (blank), the data contents of the logical
volume are copied into the VTS system and a data fragment file entry and the
library manager record are created. If the option specified indicates “SCRATCH”,
only the data fragment file entry and the library manager record are created (data
contents not copied). If the option specified indicates “INITIALIZE”, only a library
manager record for the volume is created. If a logical volume serial number is not
included with the stacked volume serial number, the import option specified
applies to all logical volumes on the stacked volume. If you are importing into a
library that supports outboard policy management, any constructs that are
associated with the volume at the time of the export are assigned to the volume on
the import. IMPORT LIST format 02 can then be used to override these construct
names.
With IMPORT LIST format 02, you can also specify additional options to initially
set or override the policy management constructs that are associated with a
volume. You can set these options on a global or a logical volume basis. Also on a
File sequence two is written and later updated by the library manager to record
the import status of each requested logical volume. All files must be written in the
library specified format. see IBM TotalStorage Enterprise Automated Tape Library
(3494) Operator’s Guide for details regarding the library specified format. See
“SAMPLIB Member CBRSPSIM” on page 307, “SAMPLIB Member CBRSPPIM” on
page 310, and “SAMPLIB Member CBRSPPIP” on page 313 for sample JCL that
can be used to write the two required files on the import list volume.
Once the import list volume is written and the stacked volumes are entered into
the library, the host needs to notify the library of the logical volume being used for
the import operation and to initiate the import operation at the library. The
CBRXLCS external services programming interface FUNC=IMPORT or the
LIBRARY IMPORT command can be used to initiate the import operation and to
identify the import list volume. See “Import Logical Volumes (IMPORT)” on page
148 and “Importing Logical Volumes into a VTS” on page 175 for more
information. Only one import operation can be queued or in progress at a time in
a physical library. This is a different restriction than for export processing which
allows one export operation at a time in each VTS system. Also, if an export
operation is already queued or in process, an import operation initiated to the
same VTS system as the export operation fails. However, an import operation
initiated to a different VTS system is allowed.
When all of the requested logical volumes on a stacked volume have been
imported, the library manager places the logical volumes in the insert category to
be processed as part of normal cartridge entry processing. There are additional
flags that are passed to the cartridge entry installation exit (CBRUXENT) to
indicate that the volume is a logical volume and that it has been imported. The
logical volume flag is also set for non-imported logical volumes entered into a
VTS. This provides a mechanism for the tape management system to track logical
volumes.
For the import operation to continue with minimal host delays, it is important for
a host that owns the TCDB records for the logical volumes being imported to have
the OAM address space available to process the volumes in the insert category.
This enables the import category to be processed without delays and allows the
library to continue with the next stacked volume.
Note: If an import operation is initiated and no host processes the logical volumes
added to the insert category within 60 minutes, the VTS terminates the
import operation. This termination is equivalent to a cancel initiated by an
operator at the library manager console. See “Canceling an Import
Operation” on page 31 for more information.
All attached hosts are notified once the import operation is complete. This enables
the import completion status to be reported independently of the status of the host
that initiated the import operation. If the attached host has the import list volume
30 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
in its TCDB, messages are issued with the completion results of the import
operation. See “Import Status Messages” for more information.
To release the import stacked volumes from the library, the operator can selectively
eject the volume or volumes from the library at the library manager. Another
operator option is to alter the volume from the import category to the insert
category which would allow the stacked volume to be entered into a VTS or a
non-VTS library for reuse as a scratch stacked volume or as a physical scratch
volume. Before reusing an import stacked volume, make sure that all the logical
volumes on the stacked volume either have been successfully imported, or that the
data on the logical volumes is no longer needed.
Rule: When a logical volume is successfully imported, the original exported copy
of the logical volume is not altered. To avoid losing changes made to the imported
copy, do not import this level of data again.
The status of all logical volumes requested for import is found in the status file of
the import list volume after the import operation completion. Exported stacked
volumes that were provided for import and were completed before the cancel are
not affected by the cancel.
The library may also issue message CBR3750I if an error occurs during the import
operation that temporarily or permanently stops the operation.
To further assist in this process, when a logical volume is exported from the
library, the volume record in the TCDB is updated with a shelf location of
STACKED=volser (if the TCDB record is retained and the shelf location is blank).
The volume not in library installation exit sample program, CBRSPUXV, also
recognizes a shelf location of STACKED=volser and displays the stacked volume.
This allows the operator to identify the specific stacked volume on which the
requested logical volume resides. If an installation is not using this default support,
nor DFSMSrmm, custom modifications to the volume not in library installation exit
will need to be made.
The sample volume not in library exit supplied by DFSMSrmm also takes into
account whether an exported logical volume is being requested and will display
the stacked volume on which the logical volume resides.
As with a host initiated import operation, when the single volume import
operation is complete, all hosts attached to the VTS system that performed the
operation will be notified of this completion. Only one import operation, host or
library initiated, is allowed per physical library.
If OAM determines that the volume serial number is unique, it obtains the tape
volume record from the TCDB. Depending on whether or not a record is found,
several different actions can occur:
v Tape volume record is not present (for a newly entered cartridge, normal
cartridge entry occurs).
v Tape volume record indicates the volume is in another library (In an automated
tape library environment, a check is made to determine if the volume still
32 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
resides in the other library. If the volume does not reside in that library, entry
processing continues. In a manual tape library environment, since a check cannot
be made, entry is denied).
v Tape volume record indicates volume is in this library (In an automated tape
library environment, entry processing continues. In a manual tape library
environment, since the possibility of a duplicate exists, entry is denied.).
v Tape volume record indicates volume shelf-resident (normal cartridge reentry).
Before the volume record is created or updated, the cartridge entry installation exit
(CBRUXENT) is called to set or verify values for many of the record fields. See
“Cartridge Entry Installation Exit (CBRUXENT)” on page 221 for a list of fields.
If the library is a PtP VTS, the libname represents the composite library.
Note: OAM already performs a SYSTEMS level enqueue for global resource
serialization. If you are using IBM global resource serialization ring or star
support, you do not need to include the QNAME or RNAME in the
SYSTEM inclusion RNL. The QNAME and RNAME are provided for
documentation purposes. If a GRS-equivalent product is being used, refer to
that product documentation to ensure that the SYSTEMS level enqueue is
honored and for any setup that might be needed to propagate the enqueue
across your systems.
Related reading: For more information on using GRS, see z/OS MVS Planning:
Global Resource Serialization.
Note: OAM already performs a SYSTEMS level enqueue for global resource
serialization. If you are using IBM's global resource serialization ring or star
support, you do not need to include the QNAME or RNAME in the
SYSTEM inclusion RNL. The QNAME and RNAME are provided for
documentation purposes. If a GRS-equivalent product is being used, refer to
that product documentation to ensure that the SYSTEMS level enqueue is
honored and for any setup that might be needed to propagate the enqueue
across your systems.
34 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Accessing the Tape Volumes
Because tape volumes can reside either inside libraries or on shelves outside the
library, physical procedures for accessing volumes vary according to their location:
v When a library-resident volume is requested, the system mounts it on a tape
drive in the tape library containing the volume.
v When a shelf-resident volume is requested, the installation is given the
opportunity to enter the volume into a tape library by using the volume not in
library installation exit. If the volume is not entered into the library, the system
requests the volume be mounted on a nonlibrary device (stand-alone tape drive).
Note: Shelf storage may be local to the computer facility and, therefore,
accessible to the operator, or it may be located at another location.
If the volume is assigned the scratch use attribute and no volume serial number
exists for it, a new volume label with a matching volume serial number is written
whenever the data set is opened for output on the tape. For a scratch volume with
an existing volume serial number that does not match the volume serial number
on the external label, the internal label is rewritten to match the external label.
Recommendation: In the case of an MTL scratch volume, since the label process is
not automated, use the IEHINITT utility (or RMM equivalent EDGINERS) to
pre-label the scratch cartridge; otherwise, the operator may be prompted for the
volume serial number when the volume is first mounted for output.
Cartridges can be ejected from a tape library in several ways, as shown in Table 2:
Table 2. Methods for Ejecting Cartridges from a Tape Library
Eject Request Invoked By Action Taken to Cause Eject Associated Procedure
OAM Ejects cartridge automatically N/A
following an unsuccessful
cartridge entry attempt.
Operator Ejects cartridge using the “Ejecting a Specific Tape
LIBRARY EJECT command. Volume” on page 103
Storage administrator Specifies an EJECT line “Ejecting a Volume from a
operator next to a volume Tape Library” on page 367
serial number on an ISMF
Mountable Tape Volume List
panel.
Application program Issues the CBRXLCS macro “Ejecting a Tape Cartridge”
with the EJECT function. on page 163
Before a cartridge can be ejected from a tape library, the cartridge eject installation
exit (CBRUXEJC) is invoked to approve or deny the eject request. See “Cartridge
Eject Installation Exit (CBRUXEJC)” on page 232 for more information.
Rule: OAM does not support the manual removal of volumes from a 3494 tape
library for the purpose of ejecting them. The volumes which are manually ejected
from a library are still library-resident in the TCDB, causing an
out-of-synchronization condition with the library manager database. Volumes must
be ejected following the methods outlined in Table 2.
When OAM ejects a tape volume residing in a manual tape library, no automated
movement of the cartridge takes place. It is up to the operator to physically
remove the tape cartridge from the storage racks associated with the manual tape
library.
After the eject request completes, OAM notifies the invoker of the eject request of
its success or failure and the volume record in the TCDB is updated or deleted.
36 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Exporting Logical Volumes from a 3494 VTS System
Note: This section discusses the export support that is available in the 3494 VTS.
For a discussion of the copy export support that is available in the TS7740
Virtualization Engine (3957-V06), refer to “Copy Export from the TS7740
Virtualization Engine (3957-V06)” on page 39.
To remove a set of logical volumes from a VTS, the operator or the tape
management system should first run a vaulting-type operation at the host to
determine the list of logical volumes to be exported. This list is then written in
volume serial number and destination pairs as the first file on an available logical
volume. This volume then becomes the export list volume. This export list volume
must reside in the library where the volumes to be exported reside and it must be
written in a library specified format. Two more files are also written on this export
list volume. File sequence two is a file reserved for future use. File sequence three
is written and later updated by the VTS to record the export status of each logical
volume listed in the export list. All three files must be written in the library
specified format.
See IBM TotalStorage Enterprise Automated Tape Library (3494) Operator’s Guide for
details regarding the library specified format. See “SAMPLIB Member CBRSPSXP”
on page 317 and “SAMPLIB Member CBRSPPXP” on page 320 for sample JCL that
can be used to write the three required files on the export list volume. The
DFSMSrmm SEARCHVOLUME command with the CLIST option can be used to
create this export list. For more information on this command, see z/OS
DFSMSrmm Managing and Using Removable Media.
Once the export list volume is written, the LIBRARY EXPORT command or the
CBRXLCS external programming interface FUNC=EXPORT can be used to identify
the export list volume and to initiate the export operation at the library. For more
information, see “Export Logical Volumes (EXPORT)” on page 148 and “Exporting
Logical Volumes from a VTS” on page 173. Only one export operation can be
queued or in progress at a time in each VTS system. Also, if an import is currently
queued or in progress, an export operation cannot be initiated to the same VTS
system.
The library then mounts the export list volume and determines the list of volumes
to export and either the destination or destinations for the logical volumes. Logical
volumes with the same destination will be grouped together on the same stacked
media. This lets a single export operation cover multiple destination sites. The
library then begins writing the export logicals on stacked volumes. If the VTS has
outboard policy management support, the volume's policy names are included on
the stacked volume. On the third file of the export list volume, the library records
the status of each logical volume being exported; this can be referred to as the
export status file. If a volume cannot be exported because it is currently in use or
does not exist in the library, the export status file indicates the error that occurred,
as well as reflects the successful export of each logical volume. Each exported
stacked volume contains a volume map identifying the contents of the stacked
volume, logical volume data fragment files for each logical volume successfully
copied, and the logical volumes themselves. A single export operation may result
in many stacked volumes being exported with multiple volumes per destination.
As the library manager finishes with a stacked volume, the logical volumes are
assigned to the exported category. The volumes in this category are then processed
by OAM. Volume export processing is similar to eject processing; however, in
addition, the cartridge eject installation exit (CBRUXEJC) is passed the container
Once all logical volumes residing on a stacked cartridge have been successfully
purged from the library manager inventory, the export operation continues at the
library, filling another stacked volume for the destination currently being
processed. The completed stacked cartridge can then be released by an operator at
the library manager either on an individual completion basis, or after a set of
volumes has been processed. For the export operation to continue with minimal
host delays, it is important for a host that owns the TCDB records for the logical
volumes being exported to have the OAM address space available to process the
volumes in the exported category. This enables the exported category to be
processed without delays and allows the library to continue with the next stacked
volume.
Once the export operation is complete, all hosts attached to the VTS system that
performed the operation are notified of this completion. This enables export
completion status to be reported independently of the status of the host that
initiated the export operation. If the attached host has the export list volume in its
TCDB, messages are issued with the completion results of the export operation.
Status messages are also issued at key processing points throughout the export
operation. See “Export Status Messages” on page 39 for more information.
The host cancellation method is the preferred method for canceling an export
operation. However, in addition to host cancellation methods, you can also
explicitly cancel an export operation at the library manager if there is no host
available to cancel the export operation. Differences in the cancel methods will
occur during host purge processing. If the explicit cancel occurs during host purge
processing, the export operation terminates and logical volumes in the exported
category are placed in the insert category (none of these logical volumes will be
38 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
exported) and the host will perform insert processing on these logical volumes
when it is available. The exported stacked volume will go back into the pool of
usable scratch stacked volumes.
The status of all logical volumes requested for export is found in the status file of
the export list volume after the export operation completes. Exported stacked
volumes that were completed and placed in the export hold category before the
cancel are not affected by the cancel.
The library may also issue message CBR3750I if an error occurs during the export
operation that temporarily or permanently stops the export operation.
Copy export enables a copy of the data to be used for disaster recovery purposes
while the original data remains accessible for production use. For the recovery of
the copy exported volumes, a modified disaster recovery process is used instead of
an import. The copy export support builds on the existing capability (through
advanced policy management and management class) to create a secondary copy
of a logical volume in a secondary physical pool. During a copy export operation,
all of the physical volumes with active data on them, from a specified secondary
pool, are removed from the library associated with the TS7740 performing the
export operation. Only the logical volumes that are valid on that TS7740 are
considered during the execution of the operation (if they are in the cache, but have
not yet been copied to the secondary pool, copies are performed as part of the
copy export operation). If the TS7740 is in a grid configuration, copies that have
not yet been completed to the TS7740 performing the copy export operation are
not considered during the execution of the operation. It is expected that the copy
export operation runs on a periodic basis resulting in multiple groups of physical
volumes containing the copies of the logical volumes from the TS7740. However,
the number of offsite volumes a TS7740 allows is limited to 2000. When a copy
export is initiated, the TS7740 determines the total count of physical volumes that
are currently offsite, then add to that number the number of physical volumes in
the specified pool that have active data on them and would be exported. If that
number exceeds 2000, the export fails. During the copy export operation, a copy of
the current TS7740’s database is written to the exported physical volumes. To
restore access to the data on the physical volumes that have been removed, all
exported physical volumes for a source TS7740 are placed into a library that is
Before initiating a copy export operation using the existing LIBRARY EXPORT
command, the export list volume must first be created on the TS7740 that is to
perform the export operation (using export list format 03). When creating the
export list volume, since a multi-cluster grid configuration can have drives online
in more than one TS7740, management class can be used to direct in which TS7740
the export list volume is created. For copy export, the export list volume cannot be
valid on more than one TS7740 in a grid configuration, it must only be valid on
the TS7740 that is to perform the copy export operation, otherwise the request fails.
Then when the LIBRARY EXPORT command is issued, the library directs the
export operation to the TS7740 that has a valid copy of the export list volume
(again, only one TS7740 can have a valid copy of the export list volume for the
export operation to proceed). The export list volume contains instructions
regarding the execution of the operation (the number of the secondary pool to
export) as well as a reserved file that the TS7740 uses to provide completion status
and export operation information. As part of the execution of the copy export
operation, the TS7740 creates response records in the reserved file that lists the
logical volumes exported and the physical volume that they reside on. This
information may be used by the users as a record for what data is offsite. The
TS7740 also writes records in the reserved file on the export list volume for any
offsite physical volumes that have been reclaimed and no longer contain any active
data.
The copy export operation can also be cancelled using the existing LIBRARY
EXPORT command with the CANCEL option or it can be cancelled at the library.
For a copy export, processing for the current physical volume completes. Status
files are written for all logical and physical volumes which completed export
processing.
In addition to providing a list of the offsite physical volumes that are empty in the
export list volume status file, the Bulk Volume Information Retrieval (BVIR)
function can also be used to obtain a current list of exported physical volumes for
a secondary pool. For each exported physical volume, information is provided
regarding the amount of active data that each contains.
Because the primary copy of the logical volumes being exported are not removed
from the TS7740, no notification of their change in state is performed at the host
(the logical volumes are not placed in the exported category, nor is the host
notified on which physical volume the exported logical volume resides). Instead,
the database entries at the library for the physical volumes are updated to indicate
that they have been exported and the hosts are notified that export processing has
40 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
been completed. In addition to the export completion message which results in the
generation of a console message, status messages are also generated during the
export operation and displayed at the console using the existing CBR3750I
message. When the export operation completes, the user can eject the exported
copy physical volumes from the library and move them to an offsite location.
For additional details on the copy export support and the BVIR function, refer to
IBM Redbook, IBM System Storage Virtualization Engine TS7700: Tape Virtualization
for System z Servers, and the following IBM Whitepapers: IBM Virtualization Engine
TS7700 Series Bulk Volume Information Retrieval User's Guide and IBM Virtualization
Engine TS7700 Series Copy Export User's Guide.
Host Implications
A copy export operation is initiated using the existing LIBRARY EXPORT
command. However, unlike the export support that is available in the 3494 VTS,
when the logical volumes are exported from the , a copy of the logical volume
remains in the library. So from a host database perspective the logical volumes are
still library resident. There is no automatic notification to the host (or to the tape
management system) that a copy of the logical volume also exists outside the
library. When logical volumes are exported from the 3494 VTS, the volumes are
placed in an exported category and the host is notified. As part of this notification,
the host processes each volume in the exported category. This results in the host
and the tape management system updating their database to indicate that the
volume now resides outside the library. The capability also exists for this support
to track on which physical volume an exported logical volume now resides.
Because there is no host notification with a copy export, it is up to the user to
manage and track the exported physical volumes. One mechanism may be to use
the existing SHELF LOCATION field in the tape configuration database (TCDB).
This is a 32-byte free form field which is available for the users. As with the 3494
VTS support, a customer can use the SHELF LOCATION field to track on which
physical volume the logical volume resides (using IDCAMS ALTER
VOLUMEENTRY). For example, COPY EXPORT STACKED=xxxxxx could be placed in
this field to differentiate from STACKED=xxxxxx which is used with the 3494 VTS
support. For users that use DFSMSrmm, when you have stacked volume support
enabled, DFSMSrmm automatically handles and tracks the stacked volumes
created by copy export. However, there is no way to track which logical volume
copies are on the stacked volume. You should retain the updated export list file
created by you and updated by the library, so that you have such a record. Refer to
z/OS DFSMSrmm Implementation and Customization Guide, SC26-7405 for more
information about DFSMSrmm support of copy export.
42 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Chapter 2. Planning for the Tape Library Support
In many ways, planning is the most important phase of a product’s
implementation and administration cycle. Time spent in planning is fully repaid in
time, effort, and money saved by a well-implemented installation and a smooth
transition to full system integration. This chapter identifies key areas that must be
addressed during the planning stage for tape library support, as well as installation
procedures to follow when you are ready to install OAM. Rather than repeat large
amounts of information available elsewhere, this chapter focuses specifically on
issues related to tape library dataservers and provides references to other
resources.
Hardware
Drive types supported in a tape library:
3480 Identified in JCL statements as UNIT=3480. Only supported in the
MTL.
3490 Sometimes referred to as a base 3490. It is identified on JCL
statements as UNIT=3480X. Supported in the 3495 ATLDS and in
the MTL.
3490E It is identified on JCL statements as UNIT=3490. Supported in the
3495 and 3494 ATLDS and in the MTL.
3590-1 It is identified on JCL statements as UNIT=3590-1. Supported in
the 3495 and 3494 ATLDS and in the MTL as a 3590 Model B Tape
Subsystem.
3590-E It is identified on JCL statements as UNIT=3590-1 or UNIT=3490.
Supported in the 3494 ATLDS and in the MTL in 3590-1 emulation
mode as a 3590 Model E Tape Subsystem.
3590-H It is identified on JCL statements as UNIT=3590-1 or UNIT=3490.
Supported in the 3494 ATLDS and in the MTL in 3590-1 emulation
mode as a 3590 Model H Tape Subsystem.
3592-J It is identified on JCL statements as UNIT=3590-1 or UNIT=3490.
Supported in the 3494 or 3584 ATLDS and in the MTL in 3590-1
emulation mode as a 3592 Model J Tape Subsystem.
3592-2 It is identified on JCL statements as UNIT=3590-1. Supported in
the 3494 and 3584 ATLDS and in the MTL in 3590-1 emulation
mode as a 3592 Model E05 Tape Subsystem (not encryption
capable).
3592-2E It is identified on JCL statements as UNIT=3590-1. Supported in
the 3494 and 3584 ATLDS and in the MTL in 3590-1 emulation
mode as a 3592 Model E05 Tape Subsystem with encryption
Note: Due to the compaction incompatibility between the 3480 and the base
3490 (3480X), both of these device types are not allowed in the same
manual tape library.
5. Though a mix of tape subsystem is supported within a library (ATLDS or
MTL), all drives under the same control unit must have the same capabilities.
This ensures that all of the devices under the same control unit are capable of
handling the same allocation request.
44 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
| Table 3. Tape Storage Configurations (continued)
| Library Model and
| Subsystem Device Library
| Type Attachment Media Supported Recording Technology Noncompacted Data Capacity
| 3490E Yes MEDIA1 (R) 18 200MB
| MEDIA1/2 (R/W) 36 400MB, 800MB
| 3590-12 Yes MEDIA3/4 (R/W) 128 10 GB, 20 GB
| 3590-E3 (3590-1 Yes MEDIA3/4 (R) 128 10 GB, 20 GB
| emulation) MEDIA3/4 (R/W) 256 20 GB, 40 GB
| 3590-H4 (3590-1 Yes MEDIA3/4 (R) 128 10 GB, 20 GB
| emulation) MEDIA3/4 (R) 256 20 GB, 40 GB
| MEDIA3/4 (R/W) 384 30 GB, 60 GB
| 3592-J5 (3590-1 Yes MEDIA5/6 (R/W) EFMT1 300 GB
| emulation) MEDIA7/8 (R/W) EFMT1 60 GB
|
| 3592-26 (3590-1 Yes MEDIA5/6 (R/W) EFMT1 300GB
| emulation) MEDIA5/6 (R/W) EFMT2 500GB
| MEDIA7/8 (R/W) EFMT1 60GB
| MEDIA7/8 (R/W) EFMT2 100GB
| MEDIA9/10 (R/W) EFMT2 700GB
| 3592-2E7 (3590-1 Yes MEDIA5/6 (R/W) EFMT1 300GB
| emulation) MEDIA5/6 (R/W) EFMT2/EEFMT2 500GB
| MEDIA7/8 (R/W) EFMT1 60GB
| MEDIA7/8 (R/W) EFMT2/EEFMT2 100GB
| MEDIA9/10 (R/W) EFMT2/EEFMT2 700GB
| 3592-3E8 (3590-1 Yes MEDIA5/6 (R) EFMT1 300GB
| emulation) MEDIA5/6 (R/W) EFMT2/EEFMT2 500GB
| MEDIA5/6 (R/W) EFMT3/EEFMT3 640GB
| MEDIA7/8 (R) EFMT1 60GB
| MEDIA7/8 (R/W) EFMT2/EEFMT2 100GB
| MEDIA7/8 (R/W) EFMT3/EEFMT3 128GB
| MEDIA9/10 (R/W) EFMT2/EEFMT2 700GB
| MEDIA9/10 (R/W) EFMT3/EEFMT3 1000GB
| 3584 L22
| 3592-J5 (3590-1 Yes MEDIA5/6 (R/W) EFMT1 300 GB
| emulation) MEDIA7/8 (R/W) EFMT1 60 GB
| 3592-26 (3590-1 Yes MEDIA5/6 (R/W) EFMT1 300GB
| emulation) MEDIA5/6 (R/W) EFMT2 500GB
| MEDIA7/8 (R/W) EFMT1 60GB
| MEDIA7/8 (R/W) EFMT2 100GB
| MEDIA9/10 (R/W) EFMT2 700GB
| 3592-2E7 (3590-1 Yes MEDIA5/6 (R/W) EFMT1 300GB
| emulation) MEDIA5/6 (R/W) EFMT2/EEFMT2 500GB
| MEDIA7/8 (R/W) EFMT1 60GB
| MEDIA7/8 (R/W) EFMT2/EEFMT2 100GB
| MEDIA9/10 (R/W) EFMT2/EEFMT2 700GB
| 3592-3E8 (3590-1 Yes MEDIA5/6 (R) EFMT1 300GB
| emulation) MEDIA5/6 (R/W) EFMT2/EEFMT2 500GB
| MEDIA5/6 (R/W) EFMT3/EEFMT3 640GB
| MEDIA7/8 (R) EFMT1 60GB
| MEDIA7/8 (R/W) EFMT2/EEFMT2 100GB
| MEDIA7/8 (R/W) EFMT3/EEFMT3 128GB
| MEDIA9/10 (R/W) EFMT2/EEFMT2 700GB
| MEDIA9/10 (R/W) EFMT3/EEFMT3 1000GB
| Manual Tape Library (MTL)
| 3480 N/A MEDIA1 (R/W) 18 200MB
| 3490 N/A MEDIA1 (R/W) 18 200MB
| 3490E N/A MEDIA1 (R) 18 200MB
| MEDIA1/2 (R/W) 36 400MB, 800MB
46 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
| Table 3. Tape Storage Configurations (continued)
| Library Model and
| Subsystem Device Library
| Type Attachment Media Supported Recording Technology Noncompacted Data Capacity
| 3592-3E8 (3590-1 N/A MEDIA5/6 (R) EFMT1 300GB
| emulation) MEDIA5/6 (R/W) EFMT2/EEFMT2 500GB
| MEDIA5/6 (R/W) EFMT3/EEFMT3 640GB
| MEDIA7/8 (R) EFMT1 60GB
| MEDIA7/8 (R/W) EFMT2/EEFMT2 100GB
| MEDIA7/8 (R/W) EFMT3/EEFMT3 128GB
| MEDIA9/10 (R/W) EFMT2/EEFMT2 700GB
| MEDIA9/10 (R/W) EFMT3/EEFMT3 1000GB
| Notes:
| 1. MB = 1&finespace;048&finespace;576 bytes
| GB &finespace;= 1&finespace;073&finespace;741&finespace;824&finespace; bytes
| (R) &finespace;= Read only
| (R/W) = Read and write
| MEDIA1 = IBM Cartridge System Tape
| MEDIA2 = IBM Enhanced Capacity Cartridge System Tape
| MEDIA3 = IBM High Performance Cartridge Tape
| MEDIA4 = IBM Extended High Performance Cartridge Tape
| MEDIA5 = IBM TotalStorage Enterprise Tape Cartridge
| MEDIA6 = IBM TotalStorage Enterprise WORM Tape Cartridge
| MEDIA7 = IBM TotalStorage Enterprise Economy Tape Cartridge
| MEDIA8 = IBM TotalStorage Enterprise Economy WORM Tape Cartridge
| MEDIA9 = IBM TotalStorage Enterprise Extended Tape Cartridge
| MEDIA10 = IBM TotalStorage Enterprise Extended WORM Tape Cartridge
| 2. 3590-1 represents the 3590 Model B Tape Subsystem and is a system-defined esoteric.
| 3. 3590-E represents the 3590 Model E Tape Subsystem and is not a system-defined esoteric. It is supported in a library as a 3590
| Model E tape subsystem rather than what it is emulating.
| 4. 3590-H represents the 3590 Model H Tape Subsystem and is not a system-defined esoteric. It is supported in a library as a 3590
| Model H tape subsystem rather than what it is emulating.
| 5. 3592-J represents the 3592 Model J Tape Subsystem and is not a system-defined esoteric. It is supported in a library as a 3592
| Model J tape subsystem rather than what it is emulating.
| 6. 3592-2 represents the 3592 Model E05 Tape Subsystem and is not a system-defined esoteric. It is supported in a library as a
| 3592 Model E05 tape subsystem rather than what it is emulating.
| 7. 3592-2E represents the 3592 Model E05 Tape Subsystem with encryption capability and is not a system-defined esoteric. It is
| supported in a library as a 3592 Model E05 tape subsystem with encryption capability rather than what it is emulating.
| 8. 3592-3E represents the 3592 Model E06 Tape Subsystem with encryption capability and is not a system-defined esoteric. It is
| supported in a library as a 3592 Model E06 tape subsystem with encryption capability rather than what it is emulating.
| 9. The library models indicated can be configured with any combination of correlating tape subsystem devices. These
| configurations may vary in the number of drives, slots, and media type supported in the libraries.
|
WORM Considerations
The write-once, read-many (WORM) function of tape data storage is accomplished
on the 3592 models through a combination of microcode controls in the drive and
special WORM tape cartridges. All 3592 drives with the appropriate version of
microcode installed are capable of reading and writing MEDIA6 and MEDIA8
WORM cartridges. The MEDIA10 WORM tape is only applicable with the 3592-2,
3592-2E, and 3592-3E drive models.
When the drive senses that a cartridge is a WORM cartridge, the microcode
prohibits alteration of user data already written on the tape by means of an
overwrite-protection pointer stored in the cartridge memory (CM). Statistical
Analysis and Reporting System (SARS) data can be written and updated on
WORM tapes because the SARS data is not in the user area of the tape. Each
WORM cartridge is identified using a world-wide unique cartridge identifier
(WWCID), which is permanent and locked, providing another level of security for
In addition, the manual tape library support can also be used to help manage the
IBM System Storage TS3400 Tape Library (3577 Model L5U). Even though the 3592
Model E05 and E06 drives in the TS3400 tape library are in an automated tape
library, unlike the 3494 or 3584 tape libraries, the drives in the TS3400 report to the
host as if they were stand-alone drives with cartridge loaders. As such, the normal
system-managed tape library support that is available with the 3494 or 3584 tape
libraries is not applicable to the TS3400. Instead, the drives in the TS3400 must be
defined to the host as stand-alone tape drives. For information on the TS3400, refer
to IBM System Storage TS3400 Tape Library Planning and Operator Guide and the IBM
Whitepaper: Overview of IBM TS1120 Tape Controller Support for TS3400 Tape Library.
48 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Extended High Performance Cartridge Tape, IBM Enterprise Tape Cartridge,
IBM Enterprise WORM Tape Cartridge, IBM Enterprise Economy Tape
Cartridge, IBM Enterprise Economy WORM Tape Cartridge, IBM Enterprise
Extended Tape Cartridge, or IBM Enterprise Extended WORM Tape Cartridge?
The 3590 Model B tape drives write data in the 128-track format, the 3590 Model E
tape systems write data in the 256-track format, and the 3590 Model H tape
systems write data in the 384-track format. Data that is written on a 3590 Model B
tape system can also be read on 3590 Model E or Model H tape systems. Data that
is written on a 3590 Model E can also be read on a 3590 Model H.
The 3592 Model J tape drives read and write only in EFMT1 format.
The 3592 Model E05 tape drives read and write in EFMT1 and EFMT2 formats.
The encryption-capable 3592 Model E05 tape drives read and write in EFMT1,
EFMT2, and EEFMT2 formats.
The 3592 Model E06 tape drives read EFMT1, EFMT2, EEFMT2, EFMT3, and
EEFMT3 and write EFMT2, EEFMT2, EFMT3, and EEFMT3 formats.
3592 read-compatibility processing for the 3592 Model E05 and E06. Because the
3592 Model E05 is downward read and write compatible with the EFMT1 format,
explicit specification of the read-compatible special attribute indicator (TDSSPEC)
or usage of the LABEL=(,,,IN) on the DD statement of JCL, is not required for an
EFMT1 formated cartridge to be read on a 3592 Model E05. However, since the
3592 Model E06 is only downward read compatible with the EFMT1 format,
explicit specification of the read-compatible special attribute indicator (TDSSPEC)
or usage of the LABEL=(,,,IN) on the DD statement of JCL is required for the 3592
Model E06 to be considered eligible for an EFMT1 read request. Furthermore, since
the 3592 Model E06 can read and write the EFMT2 and EEFMT2 recording formats,
no read-compatible considerations are needed for the EFMT2 or EEFMT2 formats.
50 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
For a request for an SMS-managed volume, the JCL UNIT specification is ignored,
so read-compatibility must be managed in a different manner. There is a special
attribute field included in the TDSI that can be set to read-compatible, allowing
3490E drives to become eligible to manage requests for 18-track recorded volumes,
3590 Model E drives to become eligible to manage 128-track recorded volumes,
and 3590 Model H drives to become eligible to manage 128-track and 256-track
recorded volumes. Your installation is responsible to set the read-compatible
special attribute in either of the following manners:
v Using the cartridge entry installation exit (CBRUXENT).
v Using the LCS external services CUA function.
v Using the access method services ALTER VOLUMEENTRY service. (For more
information on access method services, see z/OS DFSMS Access Method Services
for Catalogs.)
Once the attribute is set, it remains set until the volume is returned to scratch. To
request read-compatibility for a single usage of the volume, you can specify
LABEL=(,,,IN) on the DD statement of your JCL.
| Scratch allocations
| For non-specific (scratch) allocations, by default, MVS Device Allocation will first
| randomize across all eligible libraries and then once a library is selected, will
| randomize on the eligible devices within that library. In terms of the TS7700
| Virtualization Engine, "library" is in reference to a composite library since MVS
| allocation has no knowledge of the underlying clusters (distributed libraries). z/OS
| also provides an alternate selection algorithm that will instead randomize scratch
| allocations across all eligible devices. This alternate algorithm is available at z/OS
| V1R11 and above, as well as z/OS V1R8 through V1R10 with APAR OA26414
| installed.
| The default algorithm "EQUAL" works well if the libraries under consideration
| have an equal number of online devices. For example, if two libraries are eligible
| for a scratch allocation and each library has 128 devices, over time, each library
| With the default algorithm "EQUAL", there may also be times when device
| randomization within the selected library (or composite library) appears
| unbalanced either across subsystems or across clusters in a TS7700 Virtualization
| Engine (multi-cluster grid configuration running in balanced mode). As the
| number of eligible subsystems increases, the likelihood of this imbalance occurring
| also increases as the number of subsystems increases. If an imbalance is seen that
| impairs the overall throughput rate of the library, consider enabling the
| "BYDEVICES" algorithm.
| Note: The SETALLOC operator command support is available only in z/OS V1R11
| or later releases. In earlier z/OS releases, "BYDEVICES" must be enabled
| through the ALLOCxx PARMLIB member.
| Specific Allocations
| For specific allocations (JES2-only environment), an ordered list of subsystems may
| be returned to MVS allocation. The environments that support an ordered list
| include the 3494 tape library and the TS7700 Virtualization Engine (Release 1.5 and
| higher). With the TS7700 Virtualization Engine, the list of subsystems returned is in
| cluster preference order. When an ordered list is returned, MVS allocation attempts
| to allocate from the first subsystem returned in the list. If an online device is not
| available within that subsystem, MVS allocation moves to the next subsystem in
| the list and tries again until a device is chosen. The default algorithm "EQUAL",
| supports an ordered list for the first seven subsystems returned in the list. After
| that, if an eligible device is not found, all of the remaining subsystems are
| considered equal. The alternate algorithm "BYDEVICES" removes the ordered
| subsystem limitation. With the TS7700 Virtualization Engine (Release 1.5 or higher),
| additional APAR OA30718 should also be installed prior to enabling the new
| "BYDEVICES" algorithm. Without this APAR, the ordered subsystem list may not
| be honored properly, causing specific allocations to appear randomized.
52 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
| Balanced Mode in the TS7700 Virtualization Engine
| A multi-cluster grid can be run in "Preferred" or "Balanced Mode". "Preferred
| Mode" is where a host has virtual devices online to only one cluster in the grid. All
| allocations are then directed to the devices in that one cluster. "Balanced Mode", on
| the other hand, is where a host has virtual devices online to two or more clusters in
| the grid. Allocations from the host could then select virtual devices from multiple
| clusters.
| With Release 1.5 of the TS7700 Virtualization Engine, during device allocation for a
| specific (private) mount, the host will query the TS7700 to determine which cluster
| is the “best” cluster to direct the allocation. With this query, the TS7700 will return
| an ordered list of clusters with the preferred cluster being listed first. In doing so,
| the TS7700 looks at whether a valid copy exists in a cluster (in cache or on
| back-end tape) and other factors to determine the preferred cluster order. Device
| allocation will then take into account this ordered list of clusters "subsystems"
| when allocating a device. The allocation assist "affinity" function improves
| performance by reducing cross cluster mounts. The allocation assist function is
| supported in a JES2-only environment at z/OS V1R8 and above with APAR
| OA24966. Refer to information APAR II14516 and “Load Balancing Considerations”
| on page 51 for additional considerations when running in balanced mode.
The DFSMS tape subsystem encryption support allows specification by data class
that data is to be encrypted when stored on an encryption-capable tape drive. In
addition to this, the key label-related information that is used to encrypt the data
key (of a tape cartridge) can be specified through the DD statement (JCL, dynamic
allocation, and TSO ALLOCATE), data class or Encryption Key Manager (EKM)
defaults. When the encryption-capable tape drive needs a key to perform an
encrypted write, a data key is generated by the EKM. The data key used to encrypt
the data on a tape cartridge is itself encrypted (using the public key of a
public/private key pair) with either one or two key encrypting keys (KEKs) stored
in the key stores. The KEKs are maintained by the EKM through an existing key
store and are pointed to by the appropriate KEK label, also referred to as the key
label.
The communication path to the Encryption Key Manager (EKM) is across TCP/IP
with the choice to go either in-band or out-of-band for the key management flow.
With out-of-band key management, the communication path to the Encryption Key
Manager is handled by the control unit going directly to the Encryption Key
Manager. Then for in-band key management, the communication path to the
Encryption Key Manager is handled across ESCON/FICON with a new IOS proxy
The 3592 Model E06 records in non-encryption enterprise format 2 (EFMT2) and 3
(EFMT3), as well as encrypted enterprise format 2 (EEFMT2) and 3 (EEFMT3). The
encryption formats (EEFMT2 and EEFMT3) are supported across all of the 3592
media types (MEDIA5, MEDIA6, MEDIA7, MEDIA8, MEDIA9, and MEDIA10).
You can also use the Performance Scaling and Performance Segmentation data
class options, applicable with MEDIA5 and MEDIA9, with EEFMT2 or EEFMT3.
The capacities of EMFT3 and EEFMT3 written tapes are the same.
When writing from the beginning of tape (file sequence 1, DISP=NEW), the
encryption capable 3592 Model E05 drive records in the non-encryption recording
format (EFMT2) by default; this default is set by z/OS OPEN processing. Lower
format EFMT1 and encryption format EEFMT2 must be explicitly requested
through data class. The 3592 Model E06 drives records in the non-encryption
recording format (EFMT3) by default. Lower formats EFMT2 and EEFMT2, as well
as the encryption format EEFMT3, must be explicitly requested through data class.
When writing from the beginning of the tape (file sequence 1, DISP=OLD), since
this processing does not go through the data class ACS routine, OPEN processing
determines if the previous usage of the tape was encrypted and if encrypted,
OPEN will explicitly set the EEFMT2 format (3592 Model E05) and the EEFMT3
format (3592 Model E06) with the volume's existing key management-related
information being used by the drive to encrypt the data.
For an encrypted tape cartridge, the cartridge stores not only the encrypted user
data but also critical key management-related information which is needed to
interact with the key manager when decrypting data on the cartridge. A mix of
data written in encrypted and non-encrypted formats is not supported on the same
tape cartridge; whether the data on a cartridge is written in encrypted format is
determined during OPEN processing, when the first file sequence on the tape is
written. If the first file written to a tape is in the encrypted format; all subsequent
files written to that tape cartridge are written in the encrypted format. All files
written to a cartridge in the encrypted format are encrypted using the same data
key. The exception to this is the volume label structure for the first file sequence,
which is encrypted using a key known to all encryption capable 3592 drives.
54 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
data class. OPEN processing passes key management-related information (such as
the key labels) to the drive for subsequent communication with the key manager.
For more information regarding the DFSMS encryption support, the encryption key
manager (EKM), and the IOS proxy interface to the encryption key manager, refer
to z/OS DFSMS Software Support for IBM System Storage TS1130 and TS1120 Tape
Drives (3592).
The 3592 Model J tape subsystem supports the performance scaling option for the
IBM Enterprise Tape Cartridge (MEDIA5). The 3592-2, 3592-2E, and 3592- 3E drive
models support the performance scaling option on the IBM Enterprise Tape
Cartridge (MEDIA5) and on the IBM Enterprise Extended Tape Cartridge
(MEDIA9). Performance scaling, an optional specification, limits the data written to
the first 20% of the cartridge (the optimum scaled performance capacity)
improving the access time to the data. By default, the MEDIA5 or MEDIA9
cartridge is used to its full capacity. When written from loadpoint, the scaled tape
cartridge is reformatted to its full capacity format or to the performance scaled
format, depending on the assigned data class. If performance is of a higher priority
than capacity, consider using the performance scaling data class option or the
economy length cartridges.
The 3592-J model supports the performance segmentation option on the IBM
Enterprise Tape Cartridge (MEDIA5). The 3592-2, , 3592-2E, and 3592-3E models
support the performance segmentation option on the IBM Enterprise Tape
Cartridge (MEDIA5) and the IBM Enterprise Extended Tape Cartridge (MEDIA9).
Where applicable, both the encryption and the non-encryption formats are
supported. When using the performance segmentation option, the overall capacity
of the cartridge is limited to 86.6% of the total capacity. The fast access segment
occuplies the first 20% of the cartridge, followed by the slower access segment. So,
for example, using EFMT2 or EEFMT2, a MEDIA5 cartridge written on a 3592
Model E05 has a capacity of 500 GB. If the cartridge is performance segmented, the
MEDIA5 cartridge is segmented into a 100 GB fast access segment and a 333 GB
slower access segment (for a total capacity of 433 GB). By default, the MEDIA5 or
MEDIA9 cartridge is used to its full capacity. When written from loadpoint, the
segmented tape cartridge is reformatted according to the assigned data class.
Because a segmented cartridge only has one physical partition and one EOV
indicator, data can only be written to the slower access segment after the fast
access segment has been filled. If an application wants to manage what data is
placed in which segment, the application needs to manually track and fill the fast
access segment before it can place less frequently accessed data in the slower
access segment.
If the tape library is partitioned, the categories used are derived from the base software
categories. See “Partitioning Tape Libraries among Multiple Sysplexes” on page 63 for
more information concerning partitioning support.
56 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
threshold processing, allowing the CBR3660A message to be issued when the
number of scratch volumes falls below the scratch threshold setting.
You need to determine whether a library has scratch volumes for the media types
requested. A preferred library is one in which each media type requested (or
rewritable media inferred from a recording technology specification) for the
allocation request has a scratch volume count that is at or above the scratch
threshold value. In an ATL, the scratch count is derived from the hardware, so
scratch volumes that have been placed in the software error category are not
considered usable scratch volumes and are not included in the scratch count.
| Unless the physical WORM media type is explicitly requested by data class
| (MEDIA6, MEDIA8 and MEDIA10), it is excluded from the criteria when
| determining whether a library is preferred.
The search for a prospective library uses the applicable media type. The applicable
media type is based either on the explicit type requested or based on the
applicable rewritable media type for the recording technology requested through
data class. If the library scratch threshold for the requested (or applicable) media
type is zero, the system assumes that the media type is not being used in the
library. This library is not considered to be a preferred library. A library with a
scratch threshold setting above zero and with the number of scratch volumes at or
greater than the threshold value becomes a candidate for the request and is a
preferred library. However, a library with a scratch threshold setting above zero
and with a scratch count below the threshold value is not considered to be a
preferred library.
If you do not use data class to specify a particular media type or recording
technology, all rewritable media types are applicable for the scratch request. All
media types with a nonzero scratch threshold value are examined to determine if
their scratch count is above or below the threshold. If any of the media types in
the library are below the threshold, the library is not preferred. If all the media
types with a nonzero scratch threshold setting are at or above threshold, then the
library is preferred. If the scratch threshold for all the media types are set to zero,
OAM cannot determine which media types exist in the library. By default, the
library is considered preferred as it is likely that there are scratch volumes for the
media type. However, as the example below explains, this situation can lead to a
workload imbalance among multiple libraries depending on whether data class is
used for the media interchange.
Recommendation: Set a scratch threshold value for all media types that are being
used in a library. In some situations, a workload imbalance could occur if some of
the libraries that are eligible for the scratch request set a nonzero scratch threshold
value for a particular media type and other libraries leave the scratch threshold
value for that media type at zero. If a media type is to be used in a library, you must
set a nonzero scratch threshold value in each of the libraries that are eligible for the scratch
allocation.
The following is an example where the scratch threshold setting would impact
workload balancing if some of the eligible libraries had specified a scratch
threshold value and other libraries had not. This scenario uses data class to
explicitly request MEDIA2. The following three libraries are eligible for the request.
Example:
v Two VTS libraries (ATLVTS1 and ATLVTS2) have zero MEDIA2 threshold
settings but have 2000 MEDIA scratch volumes in each library.
When applying scratch threshold factors for the MEDIA2 request, the first two
libraries (ATLVTS1 and ATLVTS2) are marked below threshold as OAM assumes
that MEDIA2 is not being used in the library because the scratch threshold values
are set to zero. The third library (ATLVTS3) is a preferred library because the
number of scratch volumes is greater than the scratch threshold setting. Until the
third library (ATLVTS3) falls below its scratch threshold for MEDIA2, ATLVTS3
with the specified scratch threshold of 1000 will be preferred and scratch requests
probably will be allocated to drives in this library, causing a scratch threshold
workload imbalance along the three libraries. In this scenario, providing a
reasonable or equivalent scratch threshold setting for the first two VTS libraries
creates a better balance for MEDIA2 scratch requests.
However, in the above example, if data class is not being used to request a
particular media type, each of the three libraries are considered to be above
threshold and are preferred, resulting in a better workload balance across the three
libraries. With the two VTS libraries (ATLVTS1 and ATLVTS2) not having any
scratch threshold values set, by default, these libraries would be considered above
threshold.
Recommendation: Always set a scratch threshold value that is greater than zero if
a particular media type is to be used in a library.
More specifically, when a software error is detected for a scratch volume, this
results in the volume being placed in the software error category in the library
manager database. The setting of an error category prevents the volume from
being selected for future nonspecific (scratch) mount requests. In addition, the
error status field in the TCDB volume record is updated to reflect the software
error condition.
58 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
SCRATCH, PRIVATE to PRIVATE, or SCRATCH to SCRATCH. See “Change Use
Attribute (CUA)” on page 147 for more information on how use this interface. If
the only purpose of the CBRXLCS invocation is to reset the volume error status
field, CBRXLCS FUNC(CUA) from SCRATCH to SCRATCH or PRIVATE to
PRIVATE accomplishes this (it is not necessary to actually change the volume’s
use attribute). Invoking CBRXLCS FUNC(CUA) will also move a volume out of
the software error category.
v The ISMF volume ALTER command or line operator can be used to update
specific fields in the TCDB volume record, including the volume error status
field. If no other changes to the volume are required, invoke ISMF ALTER to
change the volume’s use attribute from PRIVATE to PRIVATE or SCRATCH to
SCRATCH. Changing the volume’s use attribute from SCRATCH to PRIVATE or
from PRIVATE to SCRATCH using ISMF ALTER also resets the volume’s error
status field. Invoking ISMF ALTER against a volume record also moves a
volume out of the software error category.
v If a volume is ejected from the library where it resides and is reentered into the
same library, or a different library, the volume error status field and software
error category resets upon entry.
v A successful audit of a volume resets a hardware error in the TCDB (such as
misplaced volumes), but it does not clear a software error in the TCDB. Since
hardware errors do not result in the volume’s category being changed, audit
never alters the setting of a volume in the error category. If a scratch volume has
a software error associated with it, a successful audit of the volume leaves the
volume error condition set in the TCDB and leaves the volume in the error
category.
Note: Also keep in mind that resetting a hardware error condition in the
volume’s TCDB volume record does not clear the condition in the library
manager database.
v When DFSMSrmm is used, EDGUTIL with PARM='MEND(SMSTAPE)' can reset
some error status values.
For critical messages that need to be broadcast to a wider audience, the messages
will be issued to the library console and to the MVS consoles associated with the
routing codes. For example:
CBR3758E Library library-name operation degraded.
The console name specified on the ISMF Tape Library Define panel must also be
defined in the CONSOLxx member of PARMLIB for each system connected to the
library.
60 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
using the UNIT keyword on the CONSOLE statement (not the DEVICE
statement) to establish the logical association to the actual device number on the
individual processors.
v In a cross system communication facility (XCF), define a physical console to
receive tape library-specific messages. Make sure each system in the sysplex has
that console defined with the same name. A separate console can be used per
library.
v In a JES2 environment without XCF, each system must have a separate physical
console, and all consoles must have the same name.
If more than one sysplex shares the library, each sysplex must have a separate
physical console. If there is a single TCDB, then all consoles must have the same
name. If there is a separate TCDB for each sysplex, then each sysplex may have a
unique console name.
The ATLDS and the MTL can also be shared among multiple SMS complexes,
provided the following restrictions are observed:
v There must be a single shared tape configuration database among all systems in
all SMS complexes. This means there is one general volume catalog, and at the
most one specific volume catalog for each valid initial volser character.
v The library name associated with the hardware library ID must be the same in
each SCDS. The library console name and the scratch volume message
thresholds must also be the same. The entry default data class, entry default use
attribute, eject default, and system connectivity status can be different in each
SCDS.
v There is a single pool of scratch volumes to be shared among all the SMS
complexes. This pool consists of separate library manager categories for each of
the supported media types.
62 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
same set of libraries, though the storage group state on each system in the SMS
complex can vary. The cartridge entry installation exit must also be the same on
all systems.
2. The other option, which proves more difficult, is to restrict access to private
volumes to a single SMS complex. Each SCDS can have its own set of tape
storage groups; an attempt to use a private volume in a SMS complex where its
assigned storage group does not exist causes the job to fail. When existing
private volumes are entered into the library, the cartridge entry installation exit
must recognize the volumes which belong to its particular SMS complex. If this
is not possible, the volumes may be assigned to the blank storage group at
cartridge entry time, then selectively assigned to the proper storage group by
the storage administrator at some later time.
64 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
a scratch volume from a default category is mounted on the system where the
parameters were removed, it is not used since there is no tape volume record in
the TCDB. The volume is assigned to the error category with resultant disruption
in library operations in the TCDBplex that owns the default categories.
To provide optimum tape library performance, assign one of the scratch media
types to be preloaded into the integrated cartridge loader (ICL) on each 3495
library-resident tape drive. Varying the drive offline in one place and then online
in another place does not change which media type has been assigned to the ICL.
If the drive is now online in a different sysplex, the category for the preloaded
scratch media type is not one that is defined in the new sysplex. A LIBRARY
DISPCL or DISPDRV command displays the category as currently assigned. As
part of switching the device to the new sysplex, the operator should use LIBRARY
SETCL to assign the scratch media type; this causes the assignment of a category
that is defined in the new sysplex. In response to the command, the Library
Manager unloads the cartridges that are currently in the ICL and replaces them
with cartridges from the scratch category in the new sysplex. See “Displaying the
Cartridge Loader Scratch Media Type” on page 112, and “Setting the Cartridge
Loader Scratch Media Type” on page 113 for more information.
66 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Either the Cartridge Entry Installation Exit or DFSMSrmm may be used to control
which cartridges are accepted. Other considerations include:
v If the volumes already contain useful data, they should be assigned the private
volume use attribute.
v If the volumes do not contain useful data and they are to be written on the
non-MVS platform, they should be assigned the private volume use attribute to
prevent their use as scratch volumes by SMS.
v If the volumes do not contain useful data and they are to be written on the SMS
system, they may be assigned the scratch volume use attribute.
v All references to the volumes from a non-MVS platform should be specific
volume serial number references.
v Private volumes should be returned to scratch only on an SMS system.
v An attempt to mount a volume on one platform will fail if the volume is already
in use on another platform.
v Cartridges should be ejected only from an SMS system.
To simplify the installation process, a library of sample jobs and other useful data
sets (SAMPLIB) is shipped with the product. This chapter includes instructions for
using SAMPLIB (Appendix A, “SAMPLIB Members,” on page 255 contains listings
of the SAMPLIB members), and an installation checklist to assist you with the
software installation of your tape library. Before running any SAMPLIB member,
remember to change the JCL to reflect your installation’s requirements (for
example, accounting information and data set names).
Verifying Prerequisites
Before proceeding with the installation checklist, verify that the hardware and
media requirements “Analyzing Your Hardware Environment” on page 43 have
been met. Ensure that all the prerequisites have been installed and thoroughly
tested to verify that they operate correctly in your processing environment before
proceeding with any other installation steps. For more information on prerequisites
for DFSMS and z/OS, see z/OS Migration.
The following results occur when the coexistence support is installed on systems
that share an outboard policy management-enabled library:
v Volumes that are returned to scratch from the coexistence and full-support level
systems are assigned default policy names of "blanks" at the library.
v A volume's existing policies and actions remain in effect for mount requests on
the systems that have the coexistence support installed. This includes a private
volume that is mounted and rewritten from the load point.
Likewise, when a scratch volume is mounted on a system that has the
coexistence support installed, the volume when it is returned to scratch has
default policy names of "blanks" and actions that are assigned at the library.
These default policy names and actions remain set for the volume.
v Also at the coexistence level, multivolume data sets that are extended to another
volume are processed the same way as at the full-support level. The policies that
are assigned to the previous volser are assigned to the subsequent volume so
that the volumes that are associated with the multivolume data set have the
same policies in effect.
v To prevent volumes with policy names from being left in the insert category,
cartridge entry processing at the coexistence and full-support level are the same.
Import List 01 and Import List 02 are supported by libraries with outboard policy
management support; however, only Import List 01 is supported by libraries with
no outboard policy management support. For more information regarding Import
List 02, see “SAMPLIB Member CBRSPPIP” on page 313.
70 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
3590 Model H Coexistence Considerations
The 3590 Model H is supported in the base release at z/OS V1R5 with full support
PTFs available at earlier release levels. However, device services coexistence
support is needed to prevent the 3590 Model H from coming online on a system
that does not have the full support installed. This coexistence support is built into
their full support PTF. Without the coexistence support installed, the 3590 Model H
appears to lower-level systems as a 3590 Model B, which results in an incorrect
recording technology being recorded in the tape configuration database (TDSI) and
in potential job failures.
Related Reading:
v For more information on existing tape library support, see “TDSI Coexistence
Considerations” on page 70.
v For additional coexistence considerations for the 3590 Model H, see z/OS
DFSMS Software Support for IBM TotalStorage Enterprise Tape System 3590 Models
E1x/H1x.
In support of the additional 3592 media types, MEDIA6, MEDIA7, and MEDIA8,
coexistence support is also provided at OS/390 V2R10 and above. However, since
full support for these media types is only available at z/OS V1R3 and above,
coexistence support is provided at OS/390 V2R10 through the installation of
separate coexistence specific PTFs. At the full support release levels, coexistence
support is provided by installing the needed full-support PTFs without the Device
Services enabling PTF. As with the base 3592 support, installation of this support's
enabling PTF will bring in all of the needed support PTFs for MEDIA6, MEDIA7,
and MEDIA8. If the system is enabled for the base 3592 support and is not enabled
for the additional media support, only MEDIA5 volumes are supported on 3592
drives. Before using the additional 3592 media types, ensure that all of the support
code is installed as appropriate (full or coexistence).
72 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
__ 1.
Installation Procedures
This section provides details to assist in the installation of tape library support in
your storage environment.
To initially load the library manager inventory in an ATLDS, insert tape cartridges
into the library storage slots and start the teach operation at the library manager
console. In a virtual tape server (VTS) library, the logical volumes are identified at
the library manager console through volume serial number ranges. All cartridges
are placed in the insert category by the library manager for later cartridge entry
processing by the host. It is later during OAM address space initialization and the
host going through vary online processing that the cartridges in the insert category
are processed and the records in the TCDB are created. As the host processes each
cartridge in the insert category, the cartridge entry installation exit (CBRUXENT) is
invoked to approve or deny the entry of the cartridge.
If the volumes in the library are shared between an MVS and a non-MVS platform,
see “Sharing Tape Volumes between an SMSplex and a Non-MVS Platform” on
page 66. If the volumes are already owned by a non-MVS platform and are no
longer in the insert category, the TCDB volume records must be manually created
in order for MVS to have use of the volumes. Because this bypasses the Cartridge
Entry Installation Exit, the volumes may also need to be added to your tape
management system.
74 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
To initially load the MTL inventory, the general use programming interface,
CBRXLCS FUNC=MCE, or the LIBRARY ENTER command may be used. Also
check with your tape management system to determine what support they may
provide for building the MTL inventory.
2Update PARMLIB.
These optional parameters are used when you want the OAM address space to
start automatically as part of SMS initialization. “OAM” can be used as the
procedure name, the task identifier, or both.
Note: For examples of the OAM START command and more information
concerning the identifier parameter, see “Starting OAM” on page 100. For
more information on the START command, see z/OS MVS System Commands.
Also, for more details concerning these optional parameters and other
keywords associated with the IGDSMSxx PARMLIB member, see z/OS
DFSMSdfp Storage Administration.
where:
TIME=GMT
Specifies that OAM uses Greenwich Mean Time. If this option is omitted,
or if any value other than GMT is specified, local time is used. For tape
library volumes, this time specification affects the date set in the tape
configuration data base (TCDB) volume record when a volume is
entered/imported into or ejected/exported from a tape library.
OAM1 is the name of the subsystem, and CBRINIT is the name of the initialization
module executed at IPL time.
To define a library console to MVS that allows console name message routing,
perform the following steps:
v Update PARMLIB member PARMLIB(CONSOLxx).
– Add console definitions for each library in your SCDS; an example follows:
CONSOLE DEVNUM(device number)
NAME(library console name)
UNIT(terminal type)
AUTH(SYS,IO)
(...)
– The library console name matches the console name defined in your SCDS
using the ISMF library definition panel.
The authorities (SYS and IO) are suggested in order to perform the modify
commands for OAM and the VARY commands for MVS.
See z/OS MVS System Commands and z/OS MVS Planning: Operations for further
information regarding multiple console support (MCS) definitions.
For the capability to share MTL devices as stand-alone, see “Manual Tape Library
Considerations” on page 70 for potential usage of the MTLSHARE keyword.
Sample jobs are provided in SAMPLIB to assist you in making the needed
additions to PROCLIB. Before running each SAMPLIB member:
v Update the JOB statement.
76 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
v Ensure that the high-level qualifier on the //OUT DD JCL statement matches the
naming standard at your installation.
Note: The default can be used because most of the parameters are only applicable
if OAM is used to store objects. For more information concerning the
RESTART parameter, see “Restarting OAM” on page 102. For information
concerning the other parameters associated with this procedure statement,
refer to z/OS DFSMS OAM Planning, Installation, and Storage Administration
Guide for Object Support.
If you are going to share a tape library among two or more systems in an SMS
complex, the global resource serialization environment may be created to include
all sharing systems. This allows OAM to serialize the cartridge entry process for
more efficient operation. For general information about global resource
serialization, see z/OS MVS Planning: Global Resource Serialization.
For manual tape library processing, the following resource names are used:
QNAME-SYSZCBR
RNAME-MTL_VOLSER_volsername
For a further discussion of the resource names used by OAM during cartridge
entry processing, see “Using Global Resource Serialization with Cartridge Entry
Processing” on page 33. For further information regarding resource names used by
OAM during VTS export processing, see “Using Global Resource Serialization with
Export Processing” on page 41. For further information regarding resource names
used with manual tape library processing, see “Using Global Resource Serialization
in a Manual Tape Library” on page 33.
Note: OAM already performs a SYSTEMS level enqueue for global resource
serialization; therefore, there is no need to include the QNAME or RNAME
in the system inclusion RNL. The QNAME and RNAME are provided for
documentation purposes.
Use the AMS DEFINE command to define the general volume catalog
hlq.VOLCAT.VGENERAL. The general VOLCAT is the default volume catalog and
contains all of the library records as well as any volume records that do not reside
in a specific volume catalog. This volume catalog must exist before any tape library
can be defined.
If a large number of tape volumes have the same first character in the volume
serial number, it may be advisable to define specific volume catalogs
(hlq.VOLCAT.Vx), where x is the first character of the volume serial number.
See z/OS DFSMS Access Method Services for Catalogs manual for more information
on the DEFINE command and the z/OS DFSMS Managing Catalogs for more
information on estimating the size of the catalogs. Keep in mind that each virtual
tape server can contain thousands of volumes.
The following example shows how to define the general volume catalog,
hlq.VOLCAT.VGENERAL.
//DEFVCAT JOB ...
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
DEFINE USERCATALOG -
(NAME(hlq.VOLCAT.VGENERAL) -
VOLCATALOG -
VOLUME(338001) -
CYLINDERS(1 1))
/*
Note: The system uses “SYS1” as the default high-level qualifier (hlq). You may
choose any other high-level qualifier in its place. For more information on
changing the high-level qualifiers for VOLCATs, see z/OS DFSMS Managing
Catalogs.
78 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
5bDefine specific volume catalogs.
Note: The system uses “SYS1” as the default high-level qualifier (hlq). You may
choose any other high-level qualifier in its place. For more information on
changing the high-level qualifiers for VOLCATs, see z/OS DFSMS Managing
Catalogs.
Connect the volume catalogs to all other systems in the SMS complex that use the
tape library.
Use the AMS IMPORT command to connect the general volume catalog,
hlq.VOLCAT.VGENERAL and any specific volume catalog, hlq.VOLCAT.Vx.
The following function must be performed on each system in the SMS complex
except the one where the catalogs have been defined.
IMPORT CONNECT VOLCATALOG OBJECTS((hlq.VOLCAT.VGENERAL) operands)
IMPORT CONNECT VOLCATALOG OBJECTS((hlq.VOLCAT.Vx) operands)
Define the RACF facility class profile for access to the tape configuration database.
If you use RACF to protect your system resources, enter the following command
from an authorized TSO session:
RDEFINE FACILITY STGADMIN.IGG.LIBRARY options
See z/OS Security Server RACF Command Language Reference for more information.
Use the MVS hardware configuration definition (HCD) to define the tape drives
that belong to the tape library. For an automated tape library device, specify the
LIBRARY parameter as YES. For a manual tape library device, specify the MTL
parameter as YES. The LIBRARY and MTL parameters are mutually exclusive.
Note: When defining the drives using HCD, device number 0000 is not supported
in an automated (which includes virtual) or manual tape library
environment.
The devices in an ATLDS are recognized as tape library devices as they are
initialized during IPL and during IODF activation. The devices in an MTL are
recognized as MTL devices only through the IODF definition.
When you define the tape drives in an ATLDS, you can optionally specify the
LIBRARY-ID and LIBPORT-ID parameters. If a tape drive is then busy or
unavailable at system IPL, the drive is configured based on the information
provided in the optional parameters and a subsequent IODF activate should not be
required. Without specification of the optional parameters, tape drives that are
busy or unavailable at system IPL are not included in the library control blocks
built by the system and are not eligible for allocation until the tape drives become
available and an IODF ACTIVATE is issued. When you define the tape drives in an
MTL, since the devices are not self-defining during IPL or IODF activation, the
LIBRARY-ID and LIBPORT-ID parameters must be specified. As with an ATLDS,
the LIBRARY-ID specified must match the LIBRARY-ID specified on the ISMF
define panel and can be any unique five-digit hexadecimal number. The
LIBPORT-ID identifies all devices attached to a specified control unit and should
start with subsystem “01”. Also, note that in the MTL environment, the maximum
number of subsystems supported is 32. For further information, see “IPLing the
System.” See z/OS HCD User's Guide for additional information about using the
HCD.
Note: For a Peer-to-Peer VTS Subsystem, the LIBRARY-ID specified should be the
composite library ID.
80 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Use the new I/O configuration definition that contains the library tape drive
definitions to IPL the system. This also activates the OAM1 subsystem. The system
issues the following messages and you can use them to verify a successful IPL of
the system.
Note: If your installation is not using OAM to store objects, and is strictly using
OAM for tape library management, ignore the following messages when
they are displayed during IPL:
CBR8007I No DB2 SSID or the DB2 SSID value of “NONE” has been specified.
OTIS subsystem cannot successfully initialize.
If your installation is using OAM for object support (DASD, optical, or tape), See
z/OS DFSMS OAM Planning, Installation, and Storage Administration Guide for Object
Support for more information.
Before proceeding with the following topics, study the relevant information
concerning creating the SMS definitions in Appendix B, “Using ISMF Panels to
Define and Monitor Your Configuration,” on page 327, and the z/OS DFSMSdfp
Storage Administration. This book, along with the online ISMF functional and help
panels, explains the items you specify using ISMF.
The procedure for defining a source control data set is provided in z/OS DFSMSdfp
Storage Administration. It is possible to define several source control data sets
describing different configurations; however, only one SCDS can be activated at
any time.
Use ISMF to define your tape storage groups and the library names associated
with the storage groups. For more information on how to define tape storage
groups, see z/OS DFSMSdfp Storage Administration and z/OS DFSMS Implementing
System-Managed Storage. To direct allocation to a Peer-to-Peer VTS Subsystem, the
composite library should be used and not the associated distributed libraries.
Use ISMF to define storage classes that cause the installation storage group filter
routine to select tape storage groups. The storage class determines whether or not
a request is SMS-managed. If a storage class is not assigned, the request is not
SMS-managed.
Define data classes to direct your nonspecific requests to a specific media type and
recording technology, and to specify whether compaction is required. You may also
specify performance scaling, performance segmentation and encryption key label
information in your data class definitions. Choose option 4 on the ISMF Primary
Option Menu panel to display the ISMF Data Class Define panel to define your
data classes.
Create or modify the installation’s storage class, data class, and storage group ACS
routines to select tape constructs for certain types of new data requests. There can
be only one set of ACS routines in an active configuration. See z/OS DFSMSdfp
Storage Administration for information on using ISMF to define ACS routines.
If all cartridges entered into the library have the same use attribute and the same
tape device selection information (TDSI), these values can be assigned using the
entry default use attribute and the entry default data class on the library definition.
If cartridges are to have different use attributes, TDSI, or both, you need to write a
cartridge entry installation exit routine. You may use SYS1.SAMPLIB member
CBRSPUXE as a model. Otherwise, the system uses the installation exit provided
with DFSMSrmm. For detailed information on the installation exit, see “Cartridge
Entry Installation Exit (CBRUXENT)” on page 221.
If you need to influence the process of changing a volume’s use attribute (for
example, by preventing the return of a private volume to scratch), you need to
82 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
create an installation exit routine of your own. You may use SYS1.SAMPLIB
member CBRSPLCS as a model. Otherwise, the system uses the installation exit
provided with DFSMSrmm. For detailed information on the installation exit, see
“Change Use Attribute Installation Exit (CBRUXCUA)” on page 211.
If you want to be able to prevent the ejection of a cartridge from the library or to
change the tape volume record for an ejected cartridge, you need to create an
installation exit of your own. You may use SYS1.SAMPLIB member CBRSPUXJ as a
model. Otherwise, the system uses the installation exit provided with DFSMSrmm.
For detailed information on the installation exit, see “Cartridge Eject Installation
Exit (CBRUXEJC)” on page 232.
If you want to be able to insert a volume into a tape library during job set up,
device allocation, or library mount processing to prevent job failures, you need to
create an installation exit routine of your own. You may use SYS1.SAMPLIB
member CBRSPUXV as a working model. Otherwise, the system uses the
installation exit provided with DFSMSrmm. For detailed information on the
installation exit, see “Volume Not in Library Installation Exit (CBRUXVNL)” on
page 240.
You cannot use tape libraries until a configuration containing all the elements
described in this chapter are defined and validated. See z/OS DFSMSdfp Storage
Administration for information about validating the configuration that you have just
defined.
Activate the SMS configuration that contains the library definitions. Only one
SCDS can be activated at any time. Activating another SCDS or reactivating the
current SCDS while OAM is running causes OAM to restart by default, unless
RESTART=NO is specified on the OAM PROCLIB member. During this
reinitialization, all libraries are set either online or offline according to the
attributes defined in the activated SCDS.
Note: How soon OAM is notified of the SCDS activation depends on the time
interval specified with the INTERVAL keyword in the IGDSMSxx PARMLIB
member.
Start the OAM address space using the MVS START command. See “Starting
OAM” on page 100 for the syntax of the START command. Or the system
programmer can update the IGDSMSxx member of PARMLIB to start OAM
Note: The OAM address space must have been started on at least one of the
systems connected to each library to complete the definition of the library or
libraries in the TCDB. This completed information in the TCDB is needed to
properly run subsequent job streams.
Vary the library online using the SMS VARY command. See “Varying a Tape
Library Online or Offline” on page 101 for the syntax of the VARY command.
If the library was defined as online to the system, it is brought online as part of
OAM address space initialization.
Use the MVS LIBRARY DISPCL or the LIBRARY DISPDRV command to display
the scratch volume media type assigned to the cartridge loader of each
library-resident tape drive. See “Displaying the Cartridge Loader Scratch Media
Type” on page 112 and “Displaying Tape Drive Status” on page 126 for the
command syntax.
Use the MVS LIBRARY SETCL command to set the media type of scratch volumes
to be loaded into the cartridge loader of each library-resident tape drive. See
“Setting the Cartridge Loader Scratch Media Type” on page 113 for the command
syntax.
You can now run a job stream that uses library-resident volumes.
1 Define the SMS constructs to be used for outboard policy management and
their associated ACS routines. Activate the SCDS that contains the appropriate
changes. For example, to take advantage of physical volume pooling, you can
define additional storage groups to group logical volumes with common
characteristics on the same set of physical stacked volumes.
84 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
2 Install the full support PTFs (see OW54054) and coexistence support (see
OW54056), as appropriate, across all systems that will be sharing an outboard
policy management-enabled library.
Note: If all the systems have not installed the appropriate outboard policy
management support yet share both a common TCDB and an outboard
policy management-enabled library, the systems with full outboard policy
management support begin assigning the construct names as policy names
to the volumes in the outboard policy management-enabled libraries. This
assignment of construct names is normally a result of mount processing (or
another method such as entry processing or manual assignment).
The following examples illustrate the assignment of a storage group policy based
on three separate scenarios:
System A with full outboard policy management support assigns, through the ACS
routine, storage group SGBACKUP to volume VOL123 during mount processing
for file sequence 1. At the tape library, SGBACKUP is defined and associated with
physical stacked volumes belonging to POOL03. Logical volumes belonging to
SGBACKUP can then be segregated from logical volumes belonging to other
storage groups.
If System A changes the use attribute of VOL123 to scratch, the storage group
policy assignment at the library is changed to blanks, which is the default policy.
The next time VOL123 is used, a new storage group might be assigned through the
storage group ACS routine, and the actions that are defined to the new storage
group policy are performed. Also, if System A extends the data set on VOL123 to
another volume, the subsequent volume inherits the policies of VOL123.
Also, if System B extends the data set on VOL123 to another volume, the
subsequent volume inherits the policies of VOL123.
To prevent the systems from improperly using the policies, install the software
across all sharing systems before installing the outboard policy management
support in the library. Coexistence support is available for DFSMS/MVS V1R5
systems.
If policy name corrections are needed due to a mix of support on the systems, you
can change a volume's policy names by using the LCS External Services general
programming interface FUNC=CUA or by using the LIBRARY LMPOLICY
operator command. However, policy actions based on the policy name changes
might not take effect until after the volume is subsequently mounted. Manually
changing the policy names does not mean that the actions of the policy are acted
upon immediately.
3 As appropriate for your tape management system, update the change use
attribute installation exit (CBRUXCUA) and the cartridge entry installation exit
(CBRUXENT) with the outboard policy management support capabilities. Link-edit
the new version of these exits on the applicable outboard policy management
coexistence or full support systems.
4 Install the outboard policy management microcode enhancement and then
define policy actions at the library:
v Vary the VTS library offline at the host before installing the outboard policy
management support. Otherwise, job processing or entry processing might start
to assign policies before implementation setup is complete. A stand-alone VTS
must be varied offline to install the new level of microcode. However, a PtP VTS
can remain online to the host with the microcode installed while the libraries are
in service preparation mode.
v After the outboard policy management support has been installed at the library,
define the SMS constructs “policy names” that will be assigned through the ACS
routines and their associated actions. If a policy name is not created at the
library, the policy names are automatically created, but given default actions at
the library.
86 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
5 Allow normal job processing to assign policies to volumes, gradually
implementing the outboard policy management functions. All existing volumes are
initially assigned default policy names (blanks) when the outboard policy
management is first installed. Default policies have actions that are equivalent to a
library without outboard policy management support. Therefore, a library with all
default policies functions like a library with no outboard policy management
support installed.
Storage Group Policy: If the storage group construct is not predefined at the
library and the policy is automatically created with default actions, the logical
volume that is written is stored on a physical stacked volume from the common
scratch pool. If the construct definition is altered to specify a physical pool, the
data is not moved to the pool that is specified until after the volume is next
mounted.
Storage Class Policy: If you are currently using the storage class Initial Access
Response Time (IART) to set cache residency in the VTS, the volume's assigned
storage class construct action overrides the value set by the storage class IART.
However, if the storage class construct has not been predefined to the library but
was created automatically when the host sent the construct to the library, the
policy's cache residency action by default allows the IART value to take
precedence. You can explicitly define the storage class policy at the library to allow
the host's IART specification to take precedence or to allow the outboard policy
action to take precedence. If there is no IART value being passed to the library and
the policy construct does not have a cache preference set, the default preference
level of 1 is used.
If the management class policy name is not predefined at the PtP VTS library and
the policy is automatically created with default actions, the Selective PtP Copy
Mode action uses the current library mode control settings as a default. If the
For an existing library, before modifying the subsystem configuration, use the
VARY SMS command to VARY the library offline to each attached host. After the
necessary IODF ACTIVATEs or optional IPL, use the LIBRARY DISPDRV
command to verify that the correct number of devices appear in the library
configuration and that no device appears multiple times in the display for that
library.
88 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
1. Use the MVS hardware configuration definition (HCD) to add the new tape
devices to the existing or a new IODF.
2. Activate the IODF containing the new tape devices by activating from the ISPF
HCD panels, or by entering the MVS ACTIVATE command on the z/OS
console.
3. Vary the devices online to MVS using the MVS VARY command.
4. Once again, activate the IODF containing the new tape devices to complete the
configuration activity by activating from the ISPF HCD panels, or by entering
the MVS ACTIVATE command on the z/OS console..
Note: Steps 1–4 can be replaced with a system IPL using the IODF that was
created in step 1.
If one or more of the subsystems being added to the physical end of the library
(library A) had previously existed in another library (library B), perform the
following steps:
1. Use the MVS hardware configuration definition (HCD) to delete all devices
from library B.
2. Activate the IODF that has the devices from library B removed by activating
from the ISPF HCD panels, or by entering the MVS ACTIVATE command on
the z/OS console.
3. Use HCD to add all of the devices that are now in library A and in library B.
4. Activate the IODF that has all the devices defined by activating from the ISPF
HCD panels, or by entering the MVS ACTIVATE command on the z/OS
console.
5. Vary the devices online to MVS using the MVS VARY command.
6. Once again, activate the IODF containing all of the tape devices to complete the
configuration activity by activating from the ISPF HCD panels, or by entering
the MVS ACTIVATE command on the z/OS console.
Note: Steps 1–6 can be replaced with a system IPL using an IODF containing
all of the moved or new devices, or both.
If the subsystems being added are not added to the physical end of the library, see
“Moving Subsystems within a Library.”
Note: Steps 1–6 can be replaced with a system IPL using the IODF containing
all of the library devices.
Note: Steps 1–6 can be replaced with a system IPL using an IODF that has the
deleted devices removed.
If the deleted subsystems are then added to another library, follow the
steps documented in “Adding Subsystems to a Library” on page 88.
The sections above assume that as subsystems are added, moved, or deleted,
previously existing subsystems may now be associated with different subsystem
IDs. The sections above also document the steps necessary regardless of whether
the subsystem IDs at the library manager have changed.
If the steps documented in the sections above are not followed, you may have the
same device being configured in multiple device pools or the appearance of more
drives then are actually in the library, or both, resulting in subsequent failures
during library processing.
90 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Chapter 4. Defining and Monitoring Your Configuration
Thischapter discusses typical administration tasks for defining and monitoring the
SMS configuration associated with your tape library:
v Monitoring and maintaining the tape configuration
v Monitoring and maintaining SMS constructs and definitions
v Establishing recovery procedures
v Retrieving data from a disabled IBM automated tape library
This section discusses the effects of some typical configuration maintenance tasks.
See Appendix B, “Using ISMF Panels to Define and Monitor Your Configuration,”
on page 327 for information concerning the use of ISMF with tape libraries, and
see z/OS DFSMS Using the Interactive Storage Management Facility for detailed
information about using ISMF.
When you attempt changes to the attribute definitions of an existing tape library,
the information residing in the TCDB associated with the tape library is displayed
through a Redefine panel. Changing any of the attributes previously defined
results in an update to the TCDB and to the specified SCDS. For more information
on redefining tape libraries, see “Redefining a Tape Library” on page 340.
Note: Only one SCDS can be activated at any time. Activating another SCDS or
reactivating the current SCDS while OAM is running causes OAM to restart
by default, unless RESTART=NO is specified in the OAM PROCLIB
member. During this restart, all libraries are set to either online or offline
according to the attributes defined in the SCDS. After the restart completes,
display all libraries to verify that they are set to the desired operational
state.
Note: The altered library definition takes effect when the SCDS is activated and
OAM is restarted.
Note: If the TCDB is being shared across multiple system levels, volume records
containing TDSI information that are not understood by the level of
software on the system are not displayed when a volume list is requested
from ISMF. This prevents the system from processing volume records
containing TDSI information that is not understood by the system.
Using the Mountable Tape Volume Application, storage administrators can use line
operators or ISMF commands to perform inventory tasks against tape libraries and
tape volumes. The following functions can be performed using the Mountable Tape
Volume Application:
v AUDIT a volume, a list of volumes, or a tape library
For more detail on the use of the Mountable Tape Volume Application, see “ISMF
Mountable Tape Volume Application” on page 348.
92 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
the ALTER line operator or the ISMF ALTER command. These commands are used
from the Mountable Tape Volume List panel (see Figure 60 on page 351). For more
detail regarding the ISMF alter commands, see “Altering the Volume Record” on
page 362.
These updates must be done with caution because volumes that do not require
processing after the definitions are changed are not affected by the change, even
though they are assigned to the group to which the new definition applies. The
updated definitions are used only for volumes entering the system or processed by
the system after the change.
It is important to consider when you are designing these changes that existing
volumes do not change their storage group assignments until they are changed to
scratch and then back to private, or until they are manually changed either
through ISMF volume ALTER, the CBRXLCS FUNC=CUA interface, or the
LIBRARY LMPOLICY command. If a private volume is assigned to a new storage
group through the storage group ACS routine, the storage group remains as it was
set in the tape configuration database.
ACS routines can be changed to provide initial class defaults for new volumes.
Defining new classes does not always mean new values for parameters; a new
class can have the same parameters as an existing class. A new class may be
created to make the relationship between a class and an application more
understandable. This action makes it possible to modify parameters later to fit the
needs of one application without affecting other applications.
Note: For further information on the use of IDCAMS with catalog entries, see z/OS
DFSMS Access Method Services for Catalogs.
If library entries are modified after the image copy is made, use IDCAMS ALTER
to update the library entry to its current state.
Note: Attempt this level of recovery only if the transaction log recovery cannot be
used. For further information on the use of IDCAMS with library entries,
see z/OS DFSMS Access Method Services for Catalogs.
94 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
If volume entries are modified after the image copy is made, use IDCAMS ALTER
to update the volume entry to its current state.
Note: Attempt this level of recovery only if the transaction log recovery cannot be
used. For further information on the use of IDCAMS with volume entries,
see z/OS DFSMS Access Method Services for Catalogs.
Typically this processing does not require the OAM address space to be started;
however, if you are also using OAM object support and need to start the OAM
address space, considerations must be given to any tape library definitions that are
in the SCDS. Before starting the OAM address space, any tape library definitions
associated with the remote system that have an "Initial Online Status" of "YES" or
"NO", need to have the initial online status set to blank to indicate that the library
is not connected to that system. This enables the OAM address space to bypass
those tape library definitions during OAM initialization. However, for that update
to be successful, the TCDB needs to be connected. Once the updates have been
made, the TCDB can be disconnected and the updated SCDS can be activated.
Note: For further information on the use of IDCAMS EXPORT of VOLCAT, see
z/OS DFSMS Access Method Services for Catalogs.
Note: If storage groups selected from the ACS routine span multiple libraries,
scratch allocations are automatically directed to the other libraries.
Either of these procedures must be done before any scratch requests are submitted.
If one of them is not performed, then previously written data may be overwritten
on the next scratch request to that library since the scratch volumes used still exist
in a scratch category in the library manager inventory.
96 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
If you are using scratch volumes outside the disabled library, then after the
disabled library is back online, enter those newly written volumes into the library
and assign a use attribute of P and a storage group to preserve the data written on
the volumes.
JCL jobs and applications that are referencing existing data on the altered private
volumes with DISP=OLD or DISP=MOD may not require any changes. In this case,
the ACS routines are not invoked and a device gets allocated based solely on the
specified UNIT parameter indicated in the JCL or associated with the application
program.
Note: If you have OAM Object Tape support and have altered the SETOAM
parameters in the CBROAMxx PARMLIB member, you must restart the
OAM address space in order for these changes to take effect.
Note: You may have an environment with multiple systems at different levels
sharing a common TCDB. In this event, if a system attempts to perform an
operator command against a volume that has a media type or recording
technology that is not recognized, the request fails.
where:
CBR Standard OAM message prefix
nnnn Four-digit message number
X Type code:
A Action required
D Decision needed
E Eventual operator action required
I Information only
Message_text
Text of the message.
see z/OS MVS System Messages, Vol 4 (CBD-DMO) for explanations and appropriate
actions for CBRxxxxx messages.
Note: In message text, italicized words indicate a value supplied by the system.
Starting OAM
Use the MVS START command to start the OAM address space manually or to
restart the OAM address space after it has terminated. The syntax of the MVS
START command that is used to start OAM follows:
START OAM
S procname .identifier
Related Reading: For further information on the MVS START command and
additional parameters that can be specified, see z/OS MVS System Commands.
100 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
CBR0001I OAM initialization starting.
If other CBRxxxxx messages are issued, see z/OS MVS System Messages, Vol 4
(CBD-DMO) for the appropriate action to take.
ONLINE
ON
OFFLINE
OFF
Notes:
1 You can specify up to eight system_ids (each must be separated by a
comma).
OAM does not set the library offline until all the tape drives in the library are set
offline. Such drives are considered offline for library reasons. When an individual
drive is marked offline as a result of the VARY ddd,OFFLINE command, it is
considered offline for operator reasons. Each offline state must be separately reset
before the drive is again online. A VARY SMS,LIB command does not bring a
drive online if the drive is currently offline for operator reasons. A VARY
ddd,ONLINE command does not bring a drive online if the drive is currently
offline for library reasons.
Note: A composite and distributed VTS library can be varied online and offline
like any VTS library, though varying a distributed library offline from the
host really has no meaning (does not prevent outboard usage of the library).
Message CBR3016I warns the user when a distributed library is initialized or
varied offline.
LIBRARY | LIB(library_name)
Specifies the name of the library to be varied online or offline. If
the name is not specified or the specified library is not defined in
the SMS configuration, an error message is displayed.
ALL Varies the state of the tape library on all systems in the SMS
complex to which the library is connected.
* Varies the state of the tape library only on the system or system
group from which the VARY command is issued. If the system or
VARY SMS,LIBRARY(ATL01),ONLINE
VARY SMS,LIBRARY(ATL01),OFFLINE
Restarting OAM
OAM provides the ability for you to specify a RESTART option on the OAM
started procedure statement (see the example in 77 under Run SAMPLIB member
CBRAPROC). This option indicates that OAM should or should not be restarted
upon notification that a new SCDS has been activated. A new or changed SCDS
does not always affect the configuration information that OAM uses; therefore, a
restart of the OAM address space may not always be necessary each time a new or
changed SCDS is activated. This option provides a choice to the customer to decide
on the most efficient use of their OAM resources.
Note: How soon OAM is notified of the SCDS activation depends on the time
interval that you specify with the INTERVAL keyword in the IGDSMSxx
PARMLIB member.
102 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Message CBR0092I acknowledges that a new SCDS has been activated.
CBR0092I New SMS Source Control Data Set activated. OAM address space
restart may be required.
The OAM RESTART command causes OAM to restart the OAM address space.
During restart processing, OAM matches the constructs and definitions to those
that are found in the active SMS configuration.
By using this command, you can avoid having to perform STOP and START
commands of the OAM address space. This command allows the OAM address
space to retain its current ASID.
To restart the OAM address space without first stopping OAM, enter the following
RESTART command:
104 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
LOCATION | L
Specifies that you want to update the shelf location
associated with the tape volume. When
LOCATION is specified, a write-to-operator-with-
replay (WTOR) message is issued to the MVS
operator prompting for 32 characters of shelf
location information. The entered information is
recorded in the shelf location field in the volume
record in the TCDB. Specifying the LOCATION
keyword implies that the volume record be
retained upon completion of the EJECT operation.
{BULK | B} Specifies that the tape volume be placed in the high-capacity or
“bulk” output station of the tape library. If neither BULK nor B is
specified, the tape volume is placed in the convenience output
station. If the high-capacity output station is not configured, the
cartridge is ejected to the convenience station. If a convenience
station is not installed in a 3494, the cartridge is placed in the
single cell output area. (This parameter is ignored for volumes
ejected from a MTL.)
To eject a tape cartridge from a tape library, enter the following command:
LIBRARY EJECT,TAP003
The following message displays when OAM accepts the EJECT command:
One of the following messages displays upon successful completion of the eject
request:
or
If the ejected volume is reentered into a library before the eject completion message
is processed, the following message is issued in place of CBR3010I or CBR3011I:
You can provide the shelf location by any of the following means:
v LIBRARY EJECT command
v Cartridge Entry Installation Exit (CBRUXENT)
v Cartridge Eject Installation Exit (CBRUXEJC)
v ISMF volume ALTER function
Note: ?????? is displayed in the eject completion messages if you have not
provided a shelf location.
Auditing a Volume
OAM provides an AUDIT command that enables you to audit an automated tape
library-resident tape volume.
Note: The audit function is not supported for volumes that reside in a manual
tape library.
The syntax of the command to enter a tape volume into an MTL follows:
106 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
ENTER | ENT
Specifies a request to enter a volume into an MTL.
volser Specifies the volume serial number of the volume to be entered
into the MTL.
library_name Specifies the name of the library in which the volume is to be
entered.
media_type Specifies the media type for the enter request:
MEDIA1 Specifies IBM Cartridge System Tape.
MEDIA2 Specifies IBM Enhanced Capacity Cartridge System
Tape.
MEDIA3 Specifies IBM High Performance Cartridge Tape.
MEDIA4 Specifies IBM Expanded High Performance
Cartridge Tape.
MEDIA5 Specifies IBM TotalStorage Enterprise Tape
Cartridge.
MEDIA6 Specifies IBM TotalStorage Enterprise WORM Tape
Cartridge.
MEDIA7 Specifies IBM TotalStorage Enterprise Economy
Tape Cartridge.
MEDIA8 Specifies IBM TotalStorage Enterprise Economy
WORM Tape Cartridge.
MEDIA9 Specifies IBM TotalStorage Enterprise Extended
Tape Cartridge
MEDIA10 Specifies IBM TotalStorage Enterprise Extended
WORM Tape Cartridge
You do not have to specify a media type; it is optional. If the media type is not
specified and a volume record does not already exist, the media type can be
derived from the entry default data class or the cartridge entry installation exit
(CBRUXENT), or both.
If no media type is determined by any of the above options, the entry will fail.
The LIBRARY ENTER command uses the LCS external services FUNC=MCE
programming interface to enter the volume into the MTL.
IMPORT | IMP
Specifies a request to initiate (or cancel) the import of logical
volumes into a VTS.
volser Specifies the volume serial number of the import list volume to be
used for this import operation.
CANCEL | C Requests that the currently executing import operation for the
specified volume serial number be canceled. This is an optional
parameter.
EXPORT | EXP
Specifies a request to initiate (or cancel) the export of logical
volumes from a VTS.
volser Specifies the volume serial number of the export list volume to be
used for this export operation.
CANCEL | C Requests that the currently executing export operation for the
specified volume serial number be canceled. This is an optional
parameter.
108 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Virtualization Engine TS7700: Tape Virtualization for System z Servers, and IBM
Whitepaper, IBM Virtualization Engine TS7700 Series z/OS Host Command Line Request
User's Guide.
Required Parameters
REQUEST | REQ
Specifies a request to obtain information from the library or to
perform an outboard operation at the library. This command is
supported only by the TS7700 Virtualization Engine (3957-V06 or
3957-VEA).
library_name Specifies the library in which the request should be directed. The
library specified may be a composite or a distributed library and
which library is applicable depends on the keywords specified.
keyword1 Specifies which operation is to be performed at the library.
Optional Parameters
The optional parameters are dependent on the first keyword specified. Based on
the first keyword specified, zero or more of the additional keywords may be
appropriate.
keyword2
Specifies additional information in support of the operation specified with the
first keyword.
keyword3
Specifies additional information in support of the operation specified with the
first keyword.
keyword4
Specifies additional information in support of the operation specified with the
first keyword.
,L={a | name | name-a}
Specifies where to display the results of the inquiry: the display area (L=a), the
console name (L=name), or both the console name and the display area
(L=name-a). The name parameter can be an alphanumeric character string.
Rules: The keywords specified must be from one to eight characters in length and
can consist of alphanumeric (A-Z and 0-9), the national character set ($@#), and
mask and wildcard-type characters (*%). The only checking done by the host is to
verify that the specified keywords conform to the supported character set. The
validity of the keywords themselves and the keywords in combination with each
If you issue the following command (for a volume that does not reside in the
library):
LIBRARY REQUEST,ATLCOMP1,LVOL,Y03469
The following syntax is of the command to disable the installation exit processing:
110 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
LIBRARY DISABLE , CBRUXENT
LI DA CBRUXVNL
DISABLE | DA
Specifies a request to disable the installation exit.
CBRUXENT Specifies a request to disable cartridge entry installation exit
processing. Cartridge entry processing does not occur on this
system while the exit is disabled.
Note: This does not disable job processing but does result in the
volume not in library installation exit being bypassed or not
called. In the absence of the CBRUXVNL installation exit's
intervention, Job Step Setup processing attempts to allocate
an applicable stand-alone tape drive for a volume that has
been inadvertently ejected from a tape library. If there is no
stand-alone drive capable of handling the tape volume
request, the job or dynamic allocation fails. During Device
Allocation or during Library Mount Processing, normal job
processing for a volume not in the library with no
CBRUXVNL installation exit intervention causes the failure
of the job step or dynamic allocation.
The following message displays upon successful completion of the disable request:
The installation exit processing on this system is disabled until a LIBRARY RESET
command is issued or the system is IPLed. Restarting the OAM address space does
not re-enable installation exit processing if it has been disabled by an operator
command. You can use command DISPLAY SMS,OAM to display the current status of
the installation exits.
Note: Resetting the CBRUXENT installation exit invokes cartridge entry processing
for volumes in the insert category.
112 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
device_number Specifies the MVS device number of a library-resident tape drive.
Note: The display output for the DISPCL command is the same as the output for
the DISPDRV command for a single drive. See “Displaying Tape Drive
Status” on page 126 for an example.
Note: Use this command only for devices in a tape library that have installed
cartridge loaders.
Use the LIBRARY SETCL command to assign a media type to the tape library data
server cartridge loaders. Once the LIBRARY SETCL command is used, the media
type that is assigned to the cartridge loader is preserved. Subsequent IPLs will not
modify the assignment. Use the LIBRARY DISPCL command to display the media
type.
If a data set spans multiple volumes, the subsequent volumes are written using the
media type of the last volume written. If the scratch category for the media type is
empty, rather than fail the job, an appropriate alternate media type is selected.
114 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
type, all of the cartridge loaders could be set to ANY. This then enables you to
load any appropriate media type for the device. After an IPL, the cartridge loaders,
by default, are set to NONE.
The processing for the LIBRARY LMPOLICY command invokes the LCS external
services FUNC=CUA interface. Any errors that the CUA interface returns can also
be returned for the LIBRARY LMPOLICY command. See “Return and Reason
Codes for CBRXLCS Change Use Attribute” on page 156 for more information on
these return codes. If the change use attribute installation exit (CBRUXCUA) is
enabled, the CUA function calls the installation exit. This can override the policy
names that you set using the LIBRARY LMPOLICY command. The results of this
command are specified in the text section of message CBR1086I. To verify the
policy name settings and to see whether the CBRUXCUA installation exit changed
the policy names you set, display the status of the volume. See “Displaying Tape
Volume Status” on page 133.
,SG= storage_group_name
*RESET*
,SC= storage_class_name
*RESET*
,MC= management_class_name
*RESET*
,DC= data_class_name
*RESET*
Required Parameters
LMPOLICY | LP
Specifies a request to set one or more of a private volume's policy names
outboard in the library in which the volume resides. The library must
support outboard policy management.
volser Specifies the volume serial number of a private volume which resides in a
library with outboard policy management support.
You must specify at least one of the following optional parameters. These
parameters can be specified in any order:
Optional Parameters
Rule: The values you specify for the SG, SC, MC, and DC policy names must meet
the Storage Management Subsystem (SMS) naming convention standards:
v Alphanumeric and national characters only
v Name must begin with an alphabetic or national character ($*@#%)
v No leading or embedded blanks
v Eight characters or less
116 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Displaying OAM Status
Use the DISPLAY SMS,OAM command to display OAM address space status. The
syntax of the DISPLAY SMS,OAM command follows:
DISPLAY SMS,OAM
D ,L= a
name
name-a
DISPLAY SMS,OAM
A display of the OAM address space status is generated. If you have defined both
optical and tape libraries in the SMS configuration, both optical and tape
information are generated in this display. For a sample of the CBR1100I message
that includes optical information, see z/OS DFSMS OAM Planning, Installation, and
Storage Administration Guide for Object Support.
The fields in the data line specify the number of each tape library resource as
follows:
nnn Total number of tape libraries defined in the active SMS
configuration (excluding the Peer-to-Peer Virtual Tape Server
distributed libraries) that are connected to the current system
(referred to in the following explanations as a connected tape
library). The current system is the system on which the DISPLAY
SMS,OAM command is entered. For the number of distributed
libraries that are defined to the system, refer to the status line
towards the bottom of the display.
ooo Number of connected tape libraries that are online (excluding the
Peer-to-Peer Virtual Tape Server distributed libraries).
ppp Total number of connected automated tape library dataservers.
If there are Peer-to-Peer VTS subsystems defined to the system, the following
status line is displayed reflecting the number of distributed libraries that are
associated with the composite libraries above:
There are also numvdl-lib VTS distributed libraries defined.
For OAM tape library installation exits, the following fields are displayed in the
status messages:
exit-name The name of the exit for which status is being displayed. This can
be CBRUXENT, CBRUXEJC, CBRUXCUA, or CBRUXVNL. This
line is repeated for each installation exit.
ENABLED The exit is enabled and executes when the requested function is
required.
DISABLED The exit is disabled due to an error or an abend in the installation
exit. For CBRUXCUA, the exit is disabled for CUA PRIVATE to
SCRATCH requests only.
BYPASSED The exit returned a return code 16 indicating that the request
function is to continue without calling the exit for all other exits.
For CBRUXVNL, either the exit returned a return code 16
indicating that it was not to be called again, or an error (or abend)
occurred in the exit and the exit will not invoke.
OPERATOR DISABLED
For CBRUXENT, you have requested to disable the cartridge entry
processing by issuing the LIBRARY DISABLE,CBRUXENT
command.
For CBRUXVNL, you have requested to disable the volume not in
library installation exit by issuing the LIBRARY DISABLE,
CBRUXVNL command. The CBRUXVNL installation exit is not
invoked during job processing.
You can enable an installation exit that has been OPERATOR
DISABLED, using the LIBRARY RESET command or a system IPL.
118 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
The following is a sample of DISPLAY SMS,OAM status:
Note: If both optical libraries and tape libraries are defined in the SMS
configuration, the optical library information is displayed first, followed by
the tape library information.
STATUS
DISPLAY SMS, LIBRARY ( library_name ) , DETAIL
D LIB ALL STATUS
,L= a
name
name-a
Note: A status of ONLINE does not necessarily mean that the library is
operational. To determine whether a library is operational, specify the
DETAIL keyword. See “Displaying Library Detail Status” on page 121
for information on how to obtain detailed library status.
,L={a | name | name-a}
Specifies where to display the results of the inquiry: the display area (L=a), the
console name (L=name), or both the console name and the display area
(L=name-a). The name parameter can be an alphanumeric character string.
DISPLAY SMS,LIBRARY(library_name),STATUS
1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3
LIBRARY CLASS SYSTEM = 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2
name type s s s s s s s s s s s s s s s s
If you specify ALL and STATUS with the LIBRARY keyword and and you define
both optical libraries and tape libraries in the SMS configuration, the status is
combined in one display similar to the following.
120 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
D SMS,LIBRARY(ALL),STATUS
IGD002I 15:09:21 DISPLAY SMS 409
1 1 1 1 1 1 1
LIBRARY CLASS SYSTEM= 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6
OPTLIB1 OPTICAL + . . . . . . . . . . . . . . .
OPTLIB2 OPTICAL + . . . . . . . . . . . . . . .
OPTLIB3 OPTICAL + . . . . . . . . . . . . . . .
ATLLIB1 TAPE + + + . . . . . . . . . . . . .
MTLA0001 TAPE + - P . . . . . . . . . . . . .
MTLA0002 TAPE + - P . . . . . . . . . . . . .
PCTREUSE OPTICAL LIBRARY IS NOT A REAL LIBRARY
STDALONE OPTICAL LIBRARY IS NOT A REAL LIBRARY
1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3
LIBRARY CLASS SYSTEM= 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2
OPTLIB1 OPTICAL . . . . . . . . . . . . . . . .
OPTLIB2 OPTICAL . . . . . . . . . . . . . . . .
OPTLIB3 OPTICAL . . . . . . . . . . . . . . . .
ATLLIB1 TAPE . + + . . . . . . . . . . . . .
MTLA0001 TAPE + - P . . . . . . . . . . . . .
MTLA0002 TAPE + - P . . . . . . . . . . . . .
PCTREUSE OPTICAL LIBRARY IS NOT A REAL LIBRARY
STDALONE OPTICAL LIBRARY IS NOT A REAL LIBRARY
*************************LEGEND**********************************
. THE LIBRARY IS NOT DEFINED TO THE SYSTEM
+ THE LIBRARY IS ONLINE
- THE LIBRARY IS OFFLINE
P THE LIBRARY IS PENDING OFFLINE
P THE LIBRARY IS PENDING OFFLINE
SYSTEM 1 = SYSTEM1 SYSTEM 2 = SYSTEM2 SYSTEM 3 = SYSTEM3
SYSTEM 4 = SYSTEM4 SYSTEM 5 = SYSTEM5 SYSTEM 6 = SYSTEM6
SYSTEM 7 = SYSTEM7 SYSTEM 8 = SYSTEM8 SYSTEM 9 = SYSTEM9
SYSTEM 10 = SYSTEM10 SYSTEM 11 = SYSTEM11 SYSTEM 12 = SYSTEM12
SYSTEM 13 = SYSTEM13 SYSTEM 14 = SYSTEM14 SYSTEM 15 = SYSTEM15
SYSTEM 16 = SYSTEM16 SYSTEM 17 = SYSTEM17 SYSTEM 18 = SYSTEM18
SYSTEM 19 = SYSTEM19 SYSTEM 20 = SYSTEM20 SYSTEM 21 = SYSTEM21
SYSTEM 22 = SYSTEM22 SYSTEM 23 = SYSTEM23 SYSTEM 24 = SYSTEM24
SYSTEM 25 = SYSTEM25 SYSTEM 26 = SYSTEM26 SYSTEM 27 = SYSTEM27
SYSTEM 28 = SYSTEM28 SYSTEM 29 = SYSTEM29 SYSTEM 30 = SYSTEM30
SYSTEM 31 = SYSTEM31 SYSTEM 32 = SYSTEM32
If ALL and DETAIL are specified with the LIBRARY keyword and both optical
libraries and tape libraries are defined in the SMS configuration, two messages are
displayed. The first display contains optical library information. The second
display contains the tape library information similar to that shown below.
122 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
CBR1110I OAM library status:
TAPE LIB DEVICE TOT ONL AVL TOTAL EMPTY SCRTCH ON OP
LIBRARY TYP TYPE DRV DRV DRV SLOTS SLOTS VOLS
ATL1000L AL 3494-L10 6 6 6 621 12 234 Y Y
ATL1001L AL 3495-L50 64 52 12 13580 6459 5266 P Y
MTL1002L ML MANUAL 16 10 6 0 0 243 Y Y
ATL20003 VCL 3494-L10 64 60 48 0 0 19 Y Y
ATL20004 VDL 3494-L10 0 0 0 416 223 0 Y Y
ATL20005 VDL 3494-L10 0 0 0 416 253 0 Y Y
VTSBA008 VL 3494-L10 4 4 4 1443 31 146 Y Y
To display detailed status for a particular tape library, enter the following
command:
DISPLAY SMS,LIBRARY(library_name),DETAIL
| The media type, scratch count, scratch threshold, and scratch category lines are
| displayed only for media that have a threshold value or a scratch count greater
| than zero. The scratch category counts displayed are returned from the library and
| reflect the number of usable scratch volumes. The counts displayed do not include
| volumes assigned to the software error category or volumes in the VTS that are in
| a delete-expire-hold state. Therefore, the scratch category counts displayed may be
| less than the scratch counts that appear elsewhere (for example, through ISMF).
In an MTL, the scratch counts that are displayed reflect the current counts that are
maintained in the TCDB library record. This is meant to be an approximation.
Without having an external source to derive the count, the scratch count from that
point forward may be inaccurate if an update of this count in the catalog fails.
Periodically check the scratch counts against your tape management system or the
TCDB volume records. Also, for an MTL, the scratch category is not applicable and
is displayed as zeros for all media types.
For an ATLDS, the error category displays the total number of scratch volumes
that have a software error associated with them. Scratch volumes in this category
will still have a use attribute of scratch; however, they are not eligible to be
mounted.
The scratch stacked volume count is only displayed for a virtual tape server (VTS)
library and indicates the number of available physical scratch volumes. For a
Peer-to-Peer VTS subsystem, this information can be obtained by displaying the
distributed libraries associated with the composite library. This count is suppressed
when the library being displayed is a TS7720 (3957-VEA).
The private stacked volume count will only be displayed for a VTS library. This
count indicates the number of physical stacked private volumes. For a Peer-to-Peer
VTS subsystem, this information can be obtained by displaying the distributed
libraries associated with the composite library. This count is suppressed when the
library being displayed is a TS7720 (3957-VEA).
For a VTS library with outboard policy management support, the scratch stacked
volume count and the private stacked volume count will reflect the cumulative
count from all physical volume storage pools. See “Physical Volume Pooling” on
page 20 for more information on physical volume pooling.
The corrupted token volume count will only be displayed for a Peer-to-Peer VTS
library and indicates the number of volumes in the corrupted token category. For a
Peer-to-Peer VTS subsystem, this information can be obtained by displaying the
composite library. For corrective action, contact your hardware service
representative.
For a VTS composite library, the operational state that is returned to the host is
determined by examining the states of the underlying distributed libraries with
much of the other status (for instance, I/O station-related status), being provided
from the designated user interface (U/I) library. Also, since all of the drives and
volumes are defined to and associated with the composite library, the display of a
distributed library will show that, from a host perspective, there are no volumes
and drives associated with that library. The distributed libraries should be
displayed for an accurate picture of the total and empty slot counts (the slot counts
associated with the composite library are zero).
The high capacity input and output station lines are only displayed for an ATLDS
and only if the station has been configured.
124 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
v Library manager switchover in progress
v Copy operations disabled
v VTS operations degraded
v Immediate Mode Copy operations deferred
v Service preparation occurring in distributed library library_name
v All convenience input stations empty
v All convenience output stations empty
v All convenience output stations full
v Bulk output configured
v Bulk output not configured
v Bulk input/output configured
v Bulk input/output not configured
v High capacity output station full
v Input door open
v Output door open
v Convenience I/O station installed
v Convenience I/O station Input | Output | Import mode
v Convenience I/O station empty
v Convenience I/O station full
v Single cell output facility in use for eject
v Host initiated import in process
v Host initiated export in process
v Library initiated single volume import in process
v Library is out of empty stacked volumes
v Library has insufficient resources to continue mount processing
v Library supports import/export
v Library supports outboard policy management
v Forced Pause Occurred
v Grid Links Degraded
v Limited Cache Free Space - Warning State
v Out of Cache Resources - Critical State
| v Library supports logical WORM
| v Copy operations disabled by operator command
Note: The “Library supports outboard policy management” status line is displayed
if both the library and the host are enabled for outboard policy
management.
You can also use the MVS DISPLAY UNIT command, the MVS DEVSERV
command or the JES3 *I,D command to display the status of tape drives within a
tape library. See z/OS MVS System Commands for additional information on the
specific MVS command.
The syntax of the LIBRARY DISPDRV command to display tape drive status is as
follows:
,L= a
name
name-a
DISPDRV | DD
Specifies a request to display tape drive status.
library_name
Specifies the name of the tape library whose tape drives are to be
displayed. However, the maximum number of tape drives that is displayed
does not exceed 1024.
device_number
Specifies the MVS tape device number to be displayed.
number_of_devices
Specifies the number of devices to be displayed. However, the maximum
number of tape drives that is displayed does not exceed 1024.
device_number1
Specifies the first MVS tape device number to be displayed.
device_number2
Specifies the last MVS tape device number to be displayed. However, the
maximum number of tape drives that is displayed does not exceed 1024.
,L={a | name | name-a}
Specifies where to display the results of the inquiry: the display area (L=a),
the console name (L=name), or both the console name and the display area
(L=name-a). The name parameter can be an alphanumeric character string.
126 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
LIBRARY DISPDRV,(library_name)
128 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
subsequently varied online, the library name displayed may reflect
the LIBRARY-ID. As long as the correct library name or library ID
is displayed, having the LIBRARY-ID appear in the display should
not pose a problem. See “Creating the Hardware Configuration” on
page 80 for more information.
b Tape drive status.
Y Online.
N Offline.
P Pending Offline.
130 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
CBR1220I Tape drive status:
DRIVE DEVICE LIBRARY ON OFFREASN LM ICL ICL MOUNT
NUM TYPE NAME LI OP PT AV CATEGRY LOAD VOLUME
0FC0 3490 ATLF4017 Y N N N A NONE N TST211
0FC1 3490 ATLF4017 N N Y N A NONE N
0FD0 3590-E ATLF4017 Y N N N A NONE N TST256
0FD1 3590-E ATLF4017 Y N N N A NONE N
0FD2 3590-E ATLF4017 Y N N N A NONE N
0FD3 3590-E ATLF4017 Y N N N A NONE N
0FF0 3590-H ATLF4017 Y N N N A NONE N TST384
0FF1 3590-H ATLF4017 Y N N N A NONE N
0FF2 3590-H ATLF4017 Y N N N A NONE N
0FF3 3590-H ATLF4017 Y N N N A NONE N
0FE0 3590-1 ATLF4017 Y N N N A NONE N TST500
0FE1 3590-1 ATLF4017 Y N N N A NONE N
0FE2 3590-1 ATLF4017 Y N N N A NONE N
0FE3 3590-1 ATLF4017 Y N N N A NONE N
ALL
DISPLAY SMS, STORGRP ( storgrp_name )
D SG ALL ,DETAIL
,L= a
name
name-a
To display status for an individual storage group, enter the following command:
DISPLAY SMS,STORGRP(storgrp_name),DETAIL
If ALL and DETAIL are specified with the STORGRP keyword and both object
storage groups and tape storage groups are defined in the SMS configuration,
object storage group information is displayed first followed by the tape storage
group information similar to that shown in the sample above.
If ALL is specified but DETAIL is not specified with the STORGRP keyword and
both object storage groups and tape storage groups are defined in the SMS
configuration, then the status is combined in one display similar to that shown
below.
132 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
IGD002I 11.19.56 DISPLAY SMS
1 1 1 1 1 1 1
STORGRP TYPE SYSTEM= 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6
BACKUP01 OBJECTB + . . . . . . . . . . . . . . .
OBJSG01 OBJECT + . . . . . . . . . . . . . . .
OBJSG02 OBJECT + . . . . . . . . . . . . . . .
OBJSG03 OBJECT + . . . . . . . . . . . . . . .
TAPESG1 TAPE + + + . . . . . . . . . . . . .
TAPESG2 TAPE . + + . . . . . . . . . . . . .
TAPESG3 TAPE . - D . . . . . . . . . . . . .
TSODASD POOL + + + + + - - + . . . . . . . .
1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3
STORGRP TYPE SYSTEM= 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2
BACKUP01 OBJECTB . . . . . . . . . . . . . . . .
OBJSG01 OBJECT . . . . . . . . . . . . . . . .
OBJSG02 OBJECT . . . . . . . . . . . . . . . .
OBJSG03 OBJECT . . . . . . . . . . . . . . . .
TAPESG1 TAPE + + + . . . . . . . . . . . . .
TAPESG2 TAPE . + + . . . . . . . . . . . . .
TAPESG3 TAPE . - D . . . . . . . . . . . . .
TSODASD POOL + + + + + - - + . . . . . . . .
*****************************LEGEND*********************************
. THE STORAGE GROUP OR VOLUME IS NOT DEFINED TO THE SYSTEM
+ THE STORAGE GROUP OR VOLUME IS ENABLED
- THE STORAGE GROUP OR VOLUME IS DISABLED
* THE STORAGE GROUP OR VOLUME IS QUIESCED
D THE STORAGE GROUP OR VOLUME IS DISABLED FOR NEW ALLOCATIONS ONLY
Q THE STORAGE GROUP OR VOLUME IS QUIESCED FOR NEW ALLOCATIONS ONLY
SYSTEM 1 = SYSTEM1 SYSTEM 2 = SYSTEM2 SYSTEM 3 = SYSTEM3
SYSTEM 4 = SYSTEM4 SYSTEM 5 = SYSTEM5 SYSTEM 6 = SYSTEM6
SYSTEM 7 = SYSTEM7 SYSTEM 8 = SYSTEM8 SYSTEM 9 = SYSTEM9
SYSTEM 10 = SYSTEM10 SYSTEM 11 = SYSTEM11 SYSTEM 12 = SYSTEM12
SYSTEM 13 = SYSTEM13 SYSTEM 14 = SYSTEM14 SYSTEM 15 = SYSTEM15
SYSTEM 16 = SYSTEM16 SYSTEM 17 = SYSTEM17 SYSTEM 18 = SYSTEM18
SYSTEM 19 = SYSTEM19 SYSTEM 20 = SYSTEM20 SYSTEM 21 = SYSTEM21
SYSTEM 22 = SYSTEM22 SYSTEM 23 = SYSTEM23 SYSTEM 24 = SYSTEM24
SYSTEM 25 = SYSTEM25 SYSTEM 26 = SYSTEM26 SYSTEM 27 = SYSTEM27
SYSTEM 28 = SYSTEM28 SYSTEM 29 = SYSTEM29 SYSTEM 30 = SYSTEM30
SYSTEM 31 = SYSTEM31 SYSTEM 32 = SYSTEM32
VOLUME | VOL(volser)
Displays the status of the requested tape volume. There is no option to display
all tape volumes known to the system; however, you may use ISMF panels to
display a list of tape volumes.
Specifying volser displays the status of the requested tape volume.
,L={a | name | name-a}
Specifies where to display the results of the inquiry: the display area (L=a), the
DISPLAY SMS,VOLUME(volser)
134 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
P Private use attribute
S Scratch use attribute
x Tape volume write protection status, as follows:
Y Write protected
N Not write protected
blank Write protection status unknown
y Tape volume checkpoint status, as follows:
Y Secure checkpoint volume
N Not a secure checkpoint volume
blank Checkpoint status unknown
errstat The software recorded volume error status, as follows:
ANSILAB ANSI label not supported.
CHECKPT Attempt to access secure checkpoint volume.
DAMAGED Cartridge is physically damaged and leader block
may be missing.
DUPMOUNT Volume with same volser already mounted.
EXTLABEL External label missing or unreadable.
INACCESS Volume inaccessible in library.
INTLABEL Volume label cannot be read.
LABTYPE Invalid volume label type, neither standard nor
ANSI.
LNGTHERR Cartridge length exceeds IBM supported
maximum.
MEDIAMNT Mounted media does not match the type specified
for a scratch volume mount request.
MED2MNT MEDIA2 cartridge mounted on a nonMEDIA2
capable device.
MISSING Volume not in assigned location in library.
NOERROR No errors detected.
NOMATCH Internal and external labels do not match.
NOTINLIB Volume not in library manager inventory.
PASSPROT Attempt to access password-protected volume.
RACFPROT Attempt to access SAF/RACF-protected volume.
REJTMS Volume rejected by the tape management system.
REJUSER Volume rejected by the user’s DCB exit or label
editing routine.
TRKCMPAT Media was mounted whose recording technology is
incompatible with the device.
UNEXPIR Attempt to write over unexpired data.
136 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
SCRMED5 Volume contains no useful data and may be
requested only by nonspecific volser reference. The
volume resides in the library manager category for
scratch volumes of media type MEDIA5.
SCRMED6 Volume contains no useful data and may be
requested only by nonspecific volser reference. The
volume resides in the library manager category for
scratch volumes of media type MEDIA6.
SCRMED7 Volume contains no useful data and may be
requested only by nonspecific volser reference. The
volume resides in the library manager category for
scratch volumes of media type MEDIA7.
SCRMED8 Volume contains no useful data and may be
requested only by nonspecific volser reference. The
volume resides in the library manager category for
scratch volumes of media type MEDIA8.
SCRMED9 Volume contains no useful data and may be
requested only by nonspecific volser reference. The
volume resides in the library manager category for
scratch volumes of media type MEDIA9.
SCRMED10 Volume contains no useful data and may be
requested only by nonspecific volser reference. The
volume resides in the library manager category for
scratch volumes of media type MEDIA10.
UNKNOWN Hardware category is not recognized by software.
aaaaaaaaaa Recording technology used to record the tape:
18 TRACK 18-track recording mode
36 TRACK 36-track recording mode
128 TRACK 128-track recording mode
256 TRACK 256-track recording mode
384 TRACK 384-track recording mode
EFMT1 Enterprise Format 1 recording mode
EFMT2 Enterprise Format 2 recording mode
EEFMT2 Enterprise Encrypted Format 2 recording mode
EFMT3 Enterprise Format 3 recording mode
EEFMT3 Enterprise Encrypted Format 3 recording mode
UNKNOWN Recording mode not specified
INVALID Recording technology specified is invalid
bbbbbbbbbb Compaction mode set during recording:
YES Compaction
NO No compaction
UNKNOWN Compaction not specified
INVALID Compaction specified is invalid
OAM displays the following four fields only if the library supports outboard
policy management. These fields display the library manager policy names. If any
of the storage group, storage class, management class, or data class constructs are
set to the default policy names, then blanks appear for the policy names. If an
error occurs and the library manager policy names cannot be obtained for the
volume, NOTAVAIL shows in the library manager policy name fields.
iiiiiiii Library manager storage group name.
jjjjjjjj Library manager storage class name.
kkkkkkkk Library manager management class name.
llllllll Library manager data class name.
status lines Additional tape volume status messages, as follows:
v Audit operation queued in host
v Audit operation queued in library
v Audit operation in progress in library
v Eject operation queued in host
v Eject/Export operation queued in library
v Eject/Export operation in progress in library
v Mount operation queued in library
v Mount operation in progress in library
v Volume mounted on library-resident drive
v Demount operation queued in library
v Demount operation in progress in library
v Volume inaccessible in library
v Volume misplaced in library
v External label missing or unreadable
v Volume used during manual mode
v Logical volume
138 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
v Volume is cache resident
v Valid copy in each distributed library
v Dual copy exists in the library
v Volume is WORM tape
| v Volume is logical WORM
Notes:
1. The “Dual copy exists in the library” status line is only displayed for the
stand-alone VTS. Although a dual copy might exist in each PtP VTS distributed
library, this status line will not be displayed.
| 2. To differentiate between logical and physical WORM, "Volume is WORM tape"
| will be displayed for a physical WORM volume and "Volume is logical WORM"
| will be displayed for a logical WORM volume. In addition to this, since a
| logical volume will retain its WORM state (at the library) until the volume is
| reused and written from load point; this status line can also be displayed for a
| scratch volume, reflecting the past usage of the volume.
DISPLAY R,L,KEY=OAM
STOP OAM
P procname .identifier
F OAM,STOP,OAM
The system displays the following messages indicating OAM termination status.
OAM
MODIFY OAM, DUMP, ALL
F ASID,asid1,asid2,...
JOBN,jobname1,jobname2,...
140 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Note: OAM is the default name of the cataloged procedure in your
SYS1.PROCLIB. If a name other than OAM is used for the cataloged
procedure, use that name in the DUMP statement. For example, MODIFY
procname_name,DUMP,OAM.
OAM
Specifies a request to schedule an SVC dump for the OAM address space. If
the first operand after the DUMP verb is either OAM or blank, OAM
schedules an SVC dump for the OAM address space.
ALL
An SVC dump is scheduled for the OAM address space and any address
spaces which currently have work queued to the OAM address space, up to 14
address spaces in addition to OAM.
If the first operand after the DUMP verb is ALL, OAM scans all queues to
identify address spaces that are not the OAM address space. OAM scans until
all queues are searched or 14 address spaces are found. OAM then schedules
an SVC dump for the OAM address space and up to 14 other address spaces
that currently have work queued in the OAM address space.
ASID (address space identifier),asid1,asid2,asid3...
An SVC dump is scheduled for the OAM address space and any address
spaces specified after the ASID operand separated by commas. A valid ASID is
a 1 to 4 hexadecimal (0–9, A–F) value. From one to 14 ASIDs can be specified
with the ASID operand. If more than 14 ASIDs are specified, the first 14 will be
used.
If the first operand after the DUMP verb is ASID, OAM validates that any
ASIDs specified following the ASID operand are valid hexadecimal characters
(0–9, A–F). If they are valid, OAM, schedules an SVC dump for the OAM
address space and any additional address spaces specified (up to 14 address
spaces in addition to OAM).
JOBN (job name),jobname1,jobname2,jobname3...
An SVC dump is scheduled for the OAM address space and any job spaces
specified after the JOBN operand separated by commas. A valid job name is a
1 to 8 character value of the following character set:
v Alphanumeric characters (A–Z, 0–9)
v National characters (&, $, @)
v Wildcard characters (*, ?) where ‘*’ can stand for 0 or more characters, up to
the maximum length of the job name string (8) and ‘?’ can stand for one
character.
From one to 14 job names can be specified with the JOBN operand. If more
than 14 job names are specified, the first 14 will be used.
If the first operand after the DUMP verb is JOBN, OAM validates that any job
names specified following the JOBN operand contain the valid character set. If
they are valid, OAM schedules an SVC dump for the OAM address space and
any job names specified (up to 14 jobs in addition to OAM).
OAM issues messages for any errors found in the DUMP command at SVC
scheduling time and at SVC DUMP data capture completion. For more information
concerning these messages, see z/OS MVS System Messages, Vol 4 (CBD-DMO).
Related Reading: This publication discusses only information regarding active and
waiting tape library requests. For information about using this command with
optical and object tape requests, see z/OS DFSMS OAM Planning, Installation, and
Storage Administration Guide for Object Support.
SUMMARY,
MODIFY OAM, QUERY, ACTIVE, DETAIL, ALL
F WAITING, SUMMARY, EJECT
ENTRY
AUDIT
142 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
SUMMARY | S
Specifies that only summary information about the requested
category should display. This is the default.
DETAIL | D
Indicates that only detailed information about the requested
category is to be displayed. When the DETAIL keyword is
specified, one of the following keywords is required:
ALL Detail information for all eject, entry, and audit
requests (active or waiting) are displayed.
EJECT Detail information for all tape library EJECT
requests (active or waiting) are displayed.
ENTRY Detail information for all tape library ENTRY
requests (active or waiting) are displayed.
AUDIT Detail information for all tape library AUDIT
requests (active or waiting) are displayed.
To display summary information on active tape library requests, enter one of the
following commands:
F OAM,QUERY,ACTIVE
or
F OAM,QUERY,ACTIVE,SUMMARY
Note: All counts are a snapshot-in-time, so the counts can quickly change.
To display summary information on waiting tape library requests, enter one of the
following commands:
or
F OAM,QUERY,WAITING,SUMMARY
Note: All counts are a snapshot-in-time, so the counts can quickly change.
To display detail information on active tape library requests, enter one of the
following commands:
F OAM,QUERY,ACTIVE,DETAIL,ALL
or
F OAM,QUERY,ACTIVE,DETAIL,AUDIT
or
F OAM,QUERY,ACTIVE,DETAIL,EJECT
or
F OAM,QUERY,ACTIVE,DETAIL,ENTRY
The following message is displayed when either the ALL or AUDIT keyword is
used in the command:
144 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
The following message is displayed when either the ALL or EJECT keyword is
used in the command:
CBR1774I Ejecting tape volume volser, from library lib_name, for user userid.
The following message is displayed when either the ALL or ENTRY keyword is
used in the command:
To display detail information on waiting tape library requests, enter one of the
following commands:
F OAM,QUERY,WAITING,DETAIL,ALL
or
F OAM,QUERY,WAITING,DETAIL,AUDIT
or
F OAM,QUERY,WAITING,DETAIL,EJECT
or
F OAM,QUERY,WAITING,DETAIL,ENTRY
The following message is displayed when either the ALL or AUDIT keyword is
used in the command:
CBR1783I Audit request for tape volume volser in library lib_name, for user
userid, waiting to be processed, request = request.
The following message is displayed when either the ALL or EJECT keyword is
used in the command:
CBR1784I Eject request for tape volume volser in library lib_name, for user
userid, waiting to be processed.
The following message is displayed when either the ALL or ENTRY keyword is
used in the command:
146 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Chapter 6. Library Control System (LCS) External Services
Library Control System (LCS) External Services provides a programming interface
that allows you to access and manipulate information about each tape volume
record in the TCDB.
Note: You might have an environment with multiple systems at different levels
sharing a common TCDB. In this event, if a system attempts to perform a
CBRXLCS function against a volume that has a media type or recording
technology that is not recognized, the request fails.
148 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
PTPMC function fails with Return Code 12, Reason Code 322, 'Command rejected
by the library'. See “Changing Library Operating Modes (Peer-to-Peer VTS Mode
Control)” on page 177.
This section provides the syntax, required and optional parameters, and return and
reason codes for each CBRXLCS function.
CBRXLCS TYPE=TAPE
,FUNC=CUA
,USE={PRIVATE | SCRATCH}
,VOLUME=volume-serial-number
[,DEVTYPE=tape-device-selection-information-address]
[,EXPDATE=volume-expiration-date]
[,GRPNAME=storage-group-name]
[,WRTDATE=YES]
[,WRTPROT=write-protection-status]
[,EXITINFO=installation-exit-information]
[,GETPOLICY=YES]
[,SCNAME=storage-class-name]
[,MCNAME=management-class-name]
[,DCNAME=data-class-name]
When a value or address is requested, the keyword operand may be one of the
following:
v The name of the field that contains the requested value or address
v The number, in parentheses, of a general register in the range of 2 through 12
that contains the address of the field
150 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Required Parameters
TYPE=TAPE
Specifies a request related to the TCDB.
FUNC=CUA
Specifies a request to change the use attribute of a single volume to that of the
change use attribute specified in the USE field.
USE=PRIVATE | SCRATCH
USE=PRIVATE specifies that the volume use attribute be set to PRIVATE for
the volume. If the library supports outboard policy management, the existing
or resulting storage group name in the TCDB is assigned as the private
volume's outboard policy name. USE=SCRATCH specifies that the volume use
attribute be set to SCRATCH for the volume. If the library supports outboard
policy management, the default policy names (blanks) are assigned as the
scratch volume's outboard policy names.
VOLUME=volume-serial-number
Specifies the name of a character variable (six-byte length), which contains the
volume serial number of the volume whose use attribute is to be changed. The
volume serial number must be left justified in the field and padded on the
right with blanks. If the volume resides in a library, the library must be
defined in the active SMS configuration.
Optional Parameters
DEVTYPE=tape-device-selection-information-address
Specifies the name of a variable which contains the address of the tape device
selection information to be associated with the data sets written on this tape
volume. The TDSI is mapped by the structure CBRTDSI (see Figure 18 on page
208), and consists of four 1-byte fields which specify recording technology,
media type, compaction indicator, and special attribute to be associated with
the volume.
The following fields in the TDSI may be specified on a CUA request:
v Recording technology may be specified as unknown, 18TRACK, 36TRACK,
128TRACK, 256TRACK, 384TRACK, EFMT1, EFMT2, EEFMT2, EFMT3, or
EEFMT3.
v Media type may be specified as unknown, MEDIA1, MEDIA2, MEDIA3,
MEDIA4, MEDIA5, MEDIA6, MEDIA7, MEDIA8, MEDIA9, or MEDIA10.
v Compaction may be specified as unknown, none, or compacted.
v Special attribute may be specified as none or read compatible.
Any nonzero TDSI field specified for input is merged with the tape device
selection information recorded on the volume record. If incompatible tape
device selection attributes, such as 36TRACK recording technology and
MEDIA4 media type, result from merging the input, an error is returned and
CUA processing is not performed. If CUA processing is successful, the TDSI in
the volume record in the TCDB is updated with the new, merged values.
DEVTYPE is used only when USE=PRIVATE is specified, and is otherwise
ignored.
EXPDATE=volume-expiration-date
Specifies the name of a variable (four-byte length), which contains the
expiration date assigned to the volume. The expiration date should be
specified in TIME DEC format; for example, packed decimal digits of the form
0CYYDDDF. This field is only used when USE=PRIVATE is specified, and is
152 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
updated in the library. Blanks specified in a policy field indicate that the
default policy is requested. The storage group for the TCDB volume record
and the outboard storage group policy is specified in UXCGROUP. The
UXCLMSG is an input-only variable.
If GETPOLICY=YES is not specified, the library manager policy names are not
retrieved and passed to the exit. The GETPOLICY option is ignored if outboard
policy management is not supported in the library in which the volume
resides. It is also ignored on SCRATCH-to-SCRATCH, PRIVATE-to-SCRATCH,
and SCRATCH-to-PRIVATE CUA invocations and all CUA invocations for
shelf-resident volumes.
GETPOLICY=YES and the GRPNAME, SCNAME, MCNAME, and DCNAME
parameters are mutually exclusive.
SCNAME=storage-class-name
Specifies a request to set a construct name in the library where the specified
volume resides as its outboard storage class policy. The storage-class-name is an
8-byte character variable, left justified, and padded on the right with blanks, if
necessary. If blanks are specified, the request is to set the volume's storage
class library policy to the default policy. If a nonblank storage class name is
specified, it is only validity checked against Storage Management Subsystem
(SMS) naming convention standards and is not checked to see if it is defined in
the active configuration.
The SCNAME option is ignored if outboard policy management is not
supported in the library in which the volume resides, if USE=SCRATCH, or if
the volume is shelf-resident.
MCNAME=management-class-name
Specifies a request to set a construct name in the library where the specified
volume resides as its outboard management class policy. The
management-class-name is an 8-byte character variable, left justified, and padded
on the right with blanks, if necessary. If blanks are specified, the request is to
set the volume's management class library policy to the default policy. If a
nonblank management class name is specified, it is only validity checked
against SMS naming convention standards and is not checked to see if it is
defined in the active configuration.
The MCNAME option is ignored if outboard policy management is not
supported in the library in which the volume resides, if USE=SCRATCH, or if
the volume is shelf-resident.
DCNAME=data-class-name
Specifies a request to set a construct name in the library where the specified
volume resides as its outboard data class policy. The data-class-name is an
8-byte character variable, left justified, and padded on the right with blanks, if
necessary. If blanks are specified, the request is to set the volume's data class
library policy to the default policy. If a nonblank data class name is specified, it
is only validity checked against Storage Management Subsystem (SMS) naming
convention standards and is not checked to see if it is defined in the active
configuration.
The DCNAME option is ignored if outboard policy management is not
supported in the library in which the volume resides, if USE=SCRATCH, or if
the volume is shelf-resident.
Unless the change use attribute installation exit (CBRUXCUA) has been disabled or
the installation has indicated that it should not be called, the change use attribute
installation exit is invoked for every request to change the use attribute of a
volume. See “Change Use Attribute Installation Exit (CBRUXCUA)” on page 211
for further discussion of the exit.
When the volume whose use attribute is to be changed resides in a tape library, a
call is made to the hardware to change the category of the volume. If the hardware
change is not successful, the tape volume record is not updated and CUA
154 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
processing fails. If the category of the volume is successfully changed, the scratch
count for the library is updated with the number of scratch cartridges returned
from the hardware.
If changing the use attribute of the volume causes the number of scratch volumes
of a particular type in a library to fall below the scratch volume threshold
established through the ISMF library management application, operation action
message CBR3660A is issued requesting that the operator add the appropriate type
of scratch cartridges to the library. If CUA processing causes the scratch count to
exceed twice the scratch volume threshold for the scratch type being processed,
operation action message CBR3660A is deleted if it is outstanding.
You can use the SCNAME, MCNAME, and DCNAME keywords to specify values
for policy names for the storage class, management class, and data class constructs.
One or more of these options can be specified. The fourth policy construct is
specified using the existing GRPNAME option. The GETPOLICY keyword cannot
be specified at the same time as the GRPNAME, SCNAME, MCNAME, and
DCNAME options.
For a scratch volume, the CUA function sets the default policy names outboard;
these names consist of blanks. The GRPNAME, SCNAME, MCNAME, and
DCNAME options are ignored on SCRATCH-to-SCRATCH and
PRIVATE-to-SCRATCH CUA invocations, as scratch volumes are always assigned
default policy names.
Table 5 provides the reason codes associated with each of the return codes returned
by change use attribute processing. See “CBRXLCS Return Codes” on page 185 for
more information. Also, for more information concerning other return and reason
codes not specific to change use attribute processing, see z/OS DFSMSdfp Diagnosis.
Table 5. Change Use Attribute Return and Reason Codes
Return Error Type Reason Meaning
Code Code
0 Successful 0 Successful execution.
4 Warning 4 Requested change to SCRATCH but volume was already SCRATCH.
5 Requested change to PRIVATE but volume was already PRIVATE.
8 Scratch volume threshold processing did not successfully complete.
Check the console log for further diagnostic information.
131 Scratch volume threshold processing not performed because library was
not operational.
138 Library scratch count not updated in TCDB.
8 Invalid request 9 Required type parameter not specified.
11 Invalid value specified for type.
12 Required function parameter not specified.
13 Invalid value specified for function.
14 Required use parameter not specified.
15 Invalid value specified for use.
16 Required volume parameter not specified.
17 Invalid volume serial specified.
25 Invalid expiration date specified.
26 Library in which volume resides not defined to specified storage group.
28 Invalid write protect value specified.
29 Invalid parameter address for LCSPL.
30 LCSPL not aligned on fullword boundary.
34 Invalid storage group name specified.
38 Invalid compaction type specified in TDSI.
39 Invalid special attribute specified in TDSI.
40 Invalid combination of TDSI values specified.
41 Ambiguous TDSI combination specified.
43 Invalid pointer to TDSI specified.
54 Storage group not of type tape.
219 Invalid outboard policy management construct. (SC, MC, and DC)
156 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Table 5. Change Use Attribute Return and Reason Codes (continued)
Return Error Type Reason Meaning
Code Code
220 Mutually exclusive optional keywords specified.
Parameter Descriptions
TYPE=TAPE
Specifies a request related to the TCDB.
FUNC=MCE
Specifies a request to enter a list of one or more volumes into a manual tape
library.
LIBNAME=library-name
Specifies the name of a character variable (eight-byte length) that contains the
fully-specified library name. The library name must be left justified in the field
and padded on the right with blanks.
VOLLIST=volume-list-pointer
Specifies a variable that contains the address of the list of volumes to be
entered into the manual tape library.
The volume list mapping, LCSV and LCSMLIST, is declared in mapping macro
CBRLCSPL. LCSV is the header for the volume list, and LCSMLIST maps the
array of volumes and the associated information for each. Volume-list-pointer
contains the address of the list header.
Each member of the volume list array contains the volume serial number,
left-justified in a six-character field and padded on the right with blanks; a
six-byte reserved area; a four-byte field for tape device selection information
(TDSI); and two full words into which LCS External Services stores the return
code and reason code for this volume.
158 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
SCRATCH volume if the default data class is not defined. The installation
exit may set an applicable value (18-track, 36-track).
- If the volume is MEDIA2, 36-track is passed to the exit because this is the
only applicable recording technology.
- If the volume is MEDIA3 or MEDIA4, and the entry default data class is
not defined for the library or is not applicable for the volume's media type,
by default, 128-track is passed to the exit. UNKNOWN may be passed to
the exit for a SCRATCH volume if the default data class is not defined. The
installation exit may specify an applicable recording technology (128-track,
256-track, 384-track).
- If the volume is MEDIA5, MEDIA6, MEDIA7, or MEDIA8 and the entry
default data class is not defined for the library or is not applicable for the
volume's media type, by default, EFMT1 is passed to the exit. UNKNOWN
may be passed to the exit for a SCRATCH volume if the default data class
is not defined. The installation exit may specify an applicable recording
technology (EFMT1, EFMT2, EEFMT2, EFMT3, or EEFMT3).
- If the volume is MEDIA9 or MEDIA10 and the entry default data class is
not defined for the library or not applicable for the volume's media type,
by default, EFMT2 is passed to the exit. UNKNOWN may be passed to the
exit for a SCRATCH volume if the default data class is not defined. The
installation exit may specify an applicable recording technology (EFMT2,
EEFMT2, EFMT3, or EEFMT3).
- PRIVATE volumes must have an applicable recording technology set.
SCRATCH volumes can be entered with an applicable recording technology
or UNKNOWN.
– Media type for the volume must be set before the volume can be entered into
the manual tape library. Media type may be specified by any of the following:
- Input TDSI—specified in field LCSMMED.
- Default entry data class—this value is used only if no TDSI media type was
specified.
- Cartridge entry installation exit (CBRUXENT)—may provide the media
type if it is not specified in TDSI or default entry data class, or may
override the value specified. If the installation exit is invoked and returns
an invalid media type, cartridge entry processing is discontinued.
If media type is not available from any of the sources listed above, the
volume is not entered into the MTL.
– Compaction type specified in TDSI is ignored, and the UNKNOWN value is
passed to the installation exit. The exit may specify a value for compaction
type.
– Special attribute specified in TDSI is ignored and a value of NONE is passed
to the installation exit. The exit may specify a value for special attribute.
EXITINFO=installation-exit-information
Specifies the name of a character variable (16-byte length) that contains a
customer-specified free-form value that is passed to the cartridge entry
installation exit (CBRUXENT).
The permanent OAM control block structure must be available in order for manual
cartridge entry to be performed. This means that the OAM address space must
have been started since the last IPL.
Even though the manual tape library supports national characters (@ $ and #) and
special characters (, . / ' ( ) * & + − and =), for coexistence, the volume serial
number for each of the volumes entered into a manual tape library should meet
the same character set defined for an ATLDS: upper case alphabetics or numerics.
The volume serial may not contain any imbedded blanks.
The volume serial for each volume entered into a manual tape library may not be
a duplicate of a known DASD volume, or a tape volume which resides in another
tape library dataserver (according to the tape volume record in the TCDB).
If a volume record exists for a private volume and it contains a nonblank storage
group name, the storage group name is validated. If the storage group is not
“tape”, is not defined to the active SMS configuration, or does not contain the
library specified for the MCE request, the request fails and the volume is not
entered into the library.
If a volume record exists in the TCDB for an MCE volume and the volume record
indicates that the volume already resides in the specified library the entry for this
volume fails (duplicate assumed).
If an error is encountered while processing one of the volumes, the return and
reason codes for that volume are stored in the fields LCSMRET and LCSMREAS in
the volume list array, and processing continues for the rest of the volumes. If an
error occurs which causes cartridge entry to be disabled or suspended, no more
volumes are processed and error return and reason codes are set for the remaining
volumes in the list.
If a volume record exists for the volume entered into the manual tape library, tape
device selection information is processed as shown in Table 6.
Table 6. TDSI Processing for MCE—Volume Exists
TDSI Attribute TDSI Default Entry Data Installation Exit Volume Record
Input Class
Recording technology Ignored Ignored May override existing Updated only if installation
volume record exit makes change
Media type Ignored Ignored Cannot override existing MCE fails with return code
volume record LCSFAIL(12) and reason
code LCSFMUMT(321) if
media type returned from
installation exit does not
match the media type
defined on the volume
record
Compaction Ignored Not applicable May override existing Updated only if installation
volume record exit makes change
160 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Table 6. TDSI Processing for MCE—Volume Exists (continued)
TDSI Attribute TDSI Default Entry Data Installation Exit Volume Record
Input Class
Special attribute Ignored Not applicable May override existing Updated only if installation
volume record exit makes change
If no volume record exists for the volume entering the manual tape library, the
tape device selection information is processed as shown in Table 7.
Table 7. TDSI Processing for MCE—No Volume Record Exists for Volume
TDSI Default Entry Data Installation Exit Volume Record
TDSI Attribute Input Class
Recording Ignored Can specify value Can specify an Created with value passed to
technology applicable value, installation exit or applicable value
overriding the default specified by installation exit.
value or library
default entry data
class value passed to
the exit.
Media type May be Used if no TDSI Can specify value if Created with value specified in TDSI
specified value specified not provided in TDSI or default entry data class or
or default entry data installation exit.
class, or may override
value from either
source.
Compaction Ignored Not applicable Can specify value. Created with value specified by
installation exit. If no value specified,
set to UNKNOWN.
Special attribute Ignored Not applicable Can specify value. Created with value specified by
installation exit. If no value specified,
set to NONE.
The return code reflecting the most severe error is placed in register 15 and in the
LCSPL in field LCSRCODE. The return code for each volume is returned in the
field LCSMRET in the volume list array.
The reason code associated with the most severe return code is placed in register 0
and in the LCSPL in field LCSREAS. The reason code for each volume is returned
in the field LCSMREAS in the volume list array.
Table 8 provides the reason codes associated with each of the return codes returned
by manual cartridge entry processing. For more information, see “CBRXLCS
Return Codes” on page 185. Also, for more information concerning other return
and reason codes not specific to manual cartridge entry processing, see z/OS
DFSMSdfp Diagnosis.
Table 8. Manual Cartridge Entry Return and Reason Codes
Return Reason
Code Error Type Code Meaning
0 Successful 0 Successful execution.
162 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Ejecting a Tape Cartridge
Figure 7 provides the CBRXLCS Assembler macro syntax that is used to perform
the cartridge eject function.
CBRXLCS TYPE=TAPE
,FUNC=EJECT
,VOLUME=volume-serial-number
[,EJECTOPT={KEEP | PURGE | QUERY}]
[,BULKEJCT={YES | NO}]
[,EXITINFO=installation-exit-information]
[,USERID=userid]
When a value is requested, the keyword operand might be either the name of the
field that contains the requested value, or the number, in parentheses, of a general
register in the range of 2 through 12 that contains the address of the field.
Parameter Descriptions
TYPE=TAPE
Specifies a request related to the TCDB.
FUNC=EJECT
Specifies a request to eject or query the eject status of a tape volume from a
tape library.
VOLUME=volume-serial-number
Specifies the name of a character variable (six-byte length) that contains the
volume serial number of the volume to be ejected. The volume serial number
must be left justified in the field and padded on the right with blanks.
EJECTOPT=KEEP
Specifies that the TCDB record for the tape volume being ejected should not be
deleted after the eject completes successfully.
EJECTOPT=PURGE
Specifies that the TCDB record for the tape volume being ejected should be
deleted after the eject completes successfully.
If the EJECTOPT parameter is specified on the macro invocation, the cartridge
eject installation exit may override it.
If the EJECTOPT parameter value is not specified on the macro invocation, the
eject default is used. (This default is established when the library is defined by
the storage administrator using the ISMF library define panel.) However, the
cartridge eject installation exit (CBRUXEJC) may ultimately override the value.
EJECTOPT=QUERY
Specifies a request to query the OAM internal work queues to determine if an
eject request is pending. CBRXLCS FUNC=QVR should be invoked first to
determine if an eject request is pending at the library or if the eject request has
completed. If the status of the eject request from the QVR function cannot be
determined, you can use this option to determine if the eject request resides on
an OAM internal queue but might not have been sent to the library yet.
BULKEJCT=YES
Specifies that the ejected cartridge be placed in the high-capacity output station
of an ATLDS. If this parameter is not specified or the high-capacity output
To have the cartridge eject installation exit (CBRUXEJC) notified when an eject
request fails, see “Failed Eject Notification Processing” on page 234.
Note: A zero return code and zero reason code from the CBRXLCS EJECT function
do not indicate that the cartridge has been ejected; however, they do indicate
that the CBRXLCS EJECT function was successful in scheduling the request
into the OAM address space for later processing. When the eject request is
later processed, the OAM address space relays the success or failure of the
eject through the issuance of messages.
164 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Table 9 provides the reason codes associated with each of the return codes returned
by cartridge eject processing. For special stipulations concerning the meanings of
return and reason codes that are issued for the eject query function, see “Return
and Reason Codes for CBRXLCS Eject Query” on page 166. For more
comprehensive information on the CBRXLCS return codes, see “CBRXLCS Return
Codes” on page 185.
Also, for more information concerning other return and reason codes not specific
to cartridge eject processing, see z/OS DFSMSdfp Diagnosis.
Table 9. Cartridge Eject Return and Reason Codes
Return Error Type Reason Meaning
Code Code
0 Successful 0 Successfully scheduled.
4 Warning No warnings are returned by EJECT.
8 Invalid request 9 Required type parameter not specified.
11 Invalid value specified for type.
12 Required function parameter not specified.
13 Invalid value specified for function.
16 Required volume parameter not specified.
17 Invalid volume serial specified.
29 Invalid parameter address specified for LCSPL.
30 LCSPL not aligned on fullword boundary.
201 Volume already ejected (not in library).
202 Invalid value specified for eject option.
203 Invalid value specified for bulk eject.
204 The userid specified contains all binary zeroes or blanks.
12 Failure 45 Library name as defined in volume record is unknown in SMS
configuration.
84 Abend occurred during LCS External Services processing.
300 OAM abend during eject request processing.
302 Eject request already pending for volume.
303 Unable to make user address space nonswappable.
304 TCDB access error in OAM.
305 TCDB authorization error in OAM.
306 OAM internal error.
307 Volser not in TCDB.
310 Media type or recording technology not supported at this software level.
16 Environment 2 OAM control block structure not available.1
80 LCS External Services unable to establish an ESTAE.
400 OAM initialized with null configuration (no libraries).
401 Library not accessible: offline, pending offline, or not operational.
402 Vision system inoperative.
403 Eject processing has been disabled because an error in the eject
installation exit has been detected.
404 OAM address space not available.
The conditions shown in Table 10 apply to the return and reasons codes that OAM
issues when you specify the EJECTOPT=QUERY option on the CBRXLCS EJECT
function. Although there are no new return and reason codes for the QUERY
option, they have slightly different meanings than those that are given for an eject
request.
Table 10. Return and Reason Code Meanings for the EJECTOPT=QUERY Keyword
If the Return Code Is... And the Reason Code It Means...
Is...
0 0 The volume is library-resident. For the
library in which the volume resides, an
eject request was not found on the
OAM eject queues.
12 302 The eject request is still pending.
8 201 The pending eject has completed.
12 307 The pending eject has completed.
Figure 8 provides the CBRXLCS Assembler macro syntax that is used to perform
the query volume residence function:
CBRXLCS TYPE=TAPE
,FUNC=QVR
,VOLUME=volume-serial-number
[,LIBNAME={library-name}]
[,TCDBCHK={YES | NO}]
[,VOLINFO={YES | NO}]
[,SUBPOOL={spno}]
[,LOC={ANY | BELOW}]
[,STORADDR={TVI-storage-address}]
166 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Parameter Descriptions
TYPE=TAPE
Specifies a request related to the TCDB.
FUNC=QVR
Specifies a request to return the name and type of library in which the given
volume is resident.
VOLUME=volume-serial-number
Specifies the name of a character variable (six-byte length) that contains the
volume serial number of the volume whose residence is to be determined. The
volume serial number must be left justified in the field and padded on the
right with blanks.
LIBNAME=library-name
Specifies the name of a character variable (eight-byte length), that contains the
name of the library where the volume is expected to reside. The library name
must be left justified in the field and padded on the right with blanks.
If the volume has no volume record in the TCDB, QVR checks for the volume
in the specified library. If the volume has a record in the TCDB, QVR validates
that the specified library and the library indicated on the volume record match.
It also checks to see the whether the volume physically resides in the library
specified by this parameter.
Note: A library name of SHELF is considered invalid. The SHELF library name
is reserved for shelf-resident volumes.
TCDBCHK=YES | NO
If this optional parameter is omitted or YES is specified, the QVR function
attempts to retrieve the specified volume's TCDB record. TCDBCHK=YES is
the default.
If this optional parameter is specified and NO is specified, the QVR function
does not retrieve the specified volume's TCDB record from the catalog and
only makes the call to the library manager of the specified library. With
VOLINFO=YES specified, the TVI will contain only information from the
library manager inventory of the library specified.
If LIBNAME is not specified, this keyword is ignored.
VOLINFO=YES | NO
Specification of VOLINFO=YES requests that QVR return the information that
is available about the volume from both the volume record in the TCDB and
the library manager inventory. The returned information is mapped by the
CBRTVI mapping macro.
SUBPOOL=spno
Specifies the name of a bit variable (1-byte length) that contains the number of
the subpool from which storage for the volume information is obtained. If no
subpool is specified, storage is obtained from subpool 0 in the key of the caller.
This keyword is only used when VOLINFO=YES is specified, and is otherwise
ignored.
LOC=ANY | BELOW
ANY specifies that the storage for the requested information may be obtained
above the 16-megabyte line. BELOW specifies that the storage for the
requested information is to be obtained below the 16-megabyte line. BELOW is
the default if the LOC keyword is omitted. The LOC option is ignored if
STORADDR is specified.
When the query volume residence function is successful and the volume resides in
a library, the following fields in the LCSPL (Figure 15 on page 187) are updated:
v The name of library in which the volume resides is returned in field LCSLIBNM.
This may be the library name found in the volume record or the library name
specified in the QVR invocation. TVILIBNM contains the library name stored in
the TCDB for comparison.
v If the library is an ATLDS, the flag LCSATL is turned on.
v If the library is an MTL, the flag LCSMTL is turned on.
v If a console name has been specified for the library, it is returned in
LCSCONSN. Otherwise, LCSCONSN is set to blanks.
v If VOLINFO=YES was specified, LCSTVI@ contains the address of the requested
volume information. The information is mapped by macro CBRTVI (see
Figure 17 on page 201 for details).
Note: The caller must free the storage obtained for the tape volume information.
To ensure that the correct amount of storage is freed, use the TVILENG
field in the TVI header section to free this storage.
The return code is placed in register 15 and in the LCSPL in field LCSRCODE. The
reason code is placed in register 0 and in the LCSPL in field LCSREAS.
Table 11 on page 169 provides the reason codes associated with each of the return
codes returned by query volume residence function. For more information, see
“CBRXLCS Return Codes” on page 185. Also, for more information concerning
other return and reason codes not specific to the query volume residence function,
see z/OS DFSMSdfp Diagnosis.
168 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Table 11. Query Volume Residence Return and Reason Codes
Return Error Type Reason Meaning
Code Code
0 Successful 0 Successful execution.
v If volume resides in an MTL,
– if VOLINFO=YES was specified, TVI contains the volume TCDB
record information.
– if LIBNAME was specified, the library name specified matches the
volume record library name.
v If the volume resides in an ATL,
– if VOLINFO=YES was specified, TVI contains TCDB and library
manager information.
– if LIBNAME was specified, the specified library name and the
volume record library name match, and the library manager
information indicates that the volume resides in the specified
library.
– if LIBNAME,TCDBCHK=NO and VOLINFO=YES was specified,
the TVI contains library manager information only.
– if neither VOLINFO or LIBNAME was specified, the volume record
is found in the TCDB and the TCDB record indicates that the
volume is library-resident; no library manager validation is
performed.
4 Warning 52 Volume is shelf-resident. If VOLINFO=YES was specified, TVI contains
only TCDB information. LIBNAME was not specified.
61 Unable to access library manager. If VOLINFO=YES, TVI contains only
TCDB information.
If LIBNAME was specified, the library name specified and the volume
record library name matched.
63 Volume record for specified volume not found in TCDB. If
VOLINFO=YES was specified, no volume information is returned.
If LIBNAME was specified, the library name specified and the volume
record library name matched.
134 No volume record was found in the TCDB; however, LIBNAME was
specified and the volume resides in the specified library.
170 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Table 11. Query Volume Residence Return and Reason Codes (continued)
Return Error Type Reason Meaning
Code Code
65 Library logical type not defined.
If LIBNAME is not specified, library logical type is not defined for the
library name found in the volume record. If LIBNAME is specified,
library logical type is not defined for the library name specified.
81 GETMAIN failed for TVI storage.
84 Abend occurred during LCS External Services processing.
310 Media type or recording technology not supported at this software level.
319 No volume record found in the TCDB. LIBNAME was specified. The
volume was not in the library specified.
CBRXLCS TYPE=TAPE
,FUNC=TVE
,VOLUME=volume-serial-number
,UCBPTR=UCB-address
Parameter Descriptions
TYPE=TAPE
Specifies a request related to the TCDB.
FUNC=TVE
Specifies a request to check that a volume can be mounted on a specified
device.
VOLUME=volume-serial-number
Specifies the name of a character variable (six-byte length) that contains the
volume serial number of the volume to be tested for mount eligibility. The
volume serial number must be left justified in the field and padded on the
right with blanks.
The caller of the test volume eligibility function must PIN the UCB before passing
UCBPTR. For a complete description of UCB pinning, see z/OS HCD Planning.
When the TVE function returns return code 0, the volume specified with the
VOLUME keyword is eligible to be mounted on the drive associated with the MVS
Unit Control Block specified with the UCBPTR keyword for one of the following
reasons:
v Both the volume and the device are defined to the same tape library.
v Neither the volume nor the device are defined to a tape library.
When the TVE function returns return code 4, the request has been processed, but
the volume is ineligible to be mounted on the specified drive for one of the
following reasons:
v The use attribute of the volume is SCRATCH.
v The volume is not library resident but the device is defined to a tape library.
v The volume is library resident but the device is not defined to the same tape
library.
The return code is placed in register 15 and in the LCSPL in field LCSRCODE. The
reason code is placed in register 0 and in the LCSPL in field LCSREAS.
Table 12 represents the reason codes associated with each of the return codes
returned by the test volume eligibility function. See “CBRXLCS Return Codes” on
page 185 for more information.
Table 12. Test Volume Eligibility Return and Reason Codes
Return Error Type Reason Meaning
Code Code
0 Successful 0 The volume is eligible to be mounted on the device.
4 51 Volume is ineligible because its use attribute is SCRATCH; for example,
this is a specific request for a scratch volume.
52 Volume is ineligible because it is not library resident but the device is
defined to a tape library.
55 Volume is ineligible because it is library resident but the device is not
defined to the same tape library.
8 Invalid request 9 Required type parameter not specified.
11 Invalid value specified for type.
12 Required function parameter not specified.
13 Invalid value specified for function.
16 Required volume parameter not specified.
17 Invalid volume serial specified.
18 Required UCB address not specified.
19 Invalid address specified for UCB.
29 Invalid parameter address specified for LCSPL.
172 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Table 12. Test Volume Eligibility Return and Reason Codes (continued)
Return Error Type Reason Meaning
Code Code
30 LCSPL not aligned on fullword boundary.
12 Failure 58 Failure accessing the volume record in TCDB.
59 Failure accessing library record in TCDB.
64 Unable to determine in which library the volume resides.
84 Abend occurred during LCS External Services processing.
310 Media type or recording technology not supported at this software level.
16 Environment 80 LCS External Services unable to establish ESTAE.
CBRXLCS TYPE=TAPE
,FUNC=EXPORT
,VOLUME=volume-serial-number
[,CANCEL={YES | NO}]
Required Parameters
TYPE=TAPE
Specifies a request related to the TCDB.
FUNC=EXPORT
Specifies a request to initiate (or cancel) the export of logical volume from a
library.
VOLUME=volume-serial-number
Specifies the name of a character variable (six-byte length) that contains the
logical volume serial number of the export list volume to be used for this
export operation.
Optional Parameters
CANCEL=YES | NO
CANCEL=YES specifies that the export request currently executing in the
library where the specified volume resides be canceled.
CANCEL=NO, or no specification for this optional parameter, indicates that
the export request of the logical volume from a library be processed.
The export function requires that OAM is active, that the library for the export
operation is online and operational, and that the cartridge eject installation exit
(CBRUXEJC) is not disabled. This environment is necessary for the exported logical
volumes to go through completion processing and for the stacked volumes
containing the logical volumes to be ejected. Also, only one export operation can
be active in a library (VTS) at a time, and an export and import operation are not
allowed to execute simultaneously in the same library (VTS).
The return code is placed in register 15 and in the LCSPL in field LCSRCODE. The
reason code is placed in register 0 and in the LCSPL in field LCSREAS.
Table 13 represents the reason codes associated with each of the return codes
returned by the export function. These reason codes reflect the scheduling of the
export function to the library, not the actual results of the export function. See
“CBRXLCS Return Codes” on page 185 for more information.
Table 13. EXPORT Return and Reason Codes
Return Error Type Reason Meaning
Code Code
0 Successful 0 Successfully scheduled.
8 Invalid request 9 Required type parameter not specified.
11 Invalid value specified for type.
12 Required function parameter not specified.
13 Invalid value specified for function.
16 Required volume parameter not specified.
17 Invalid volume serial specified.
29 Invalid address specified for LCSPL.
30 LCSPL not aligned on fullword boundary.
12 Failure 45 Library name as defined in volume record not found in TCDB.
52 Volume is not library resident.
58 Failure accessing volume record in TCDB.
59 Failure accessing library record in TCDB.
61 Device services failure.
63 Volume record not found in TCDB.
70 Volume does not exist in library manager inventory.
84 Abend occurred during LCS External Services processing.
310 Media type or recording technology not supported at this software level.
312 Function not compatible with the library.
313 Volume is currently in use.
314 Import/Export already in progress or host processing not complete.
315 Not enough physical drives available in VTS.
316 Export operation not in progress.
317 No scratch stacked volume available.
322 Command rejected by the library.
| 326 Selective device access control group denied request.
| 327 Selective device access control group is not valid.
16 Environment 2 OAM control block structure not available.1
80 LCS External Services unable to establish ESTAE.
93 Library is offline, pending offline, or not operational.
403 Eject processing has been disabled because an error in the eject
installation exit has been detected.
174 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Table 13. EXPORT Return and Reason Codes (continued)
Return Error Type Reason Meaning
Code Code
404 OAM address space not available.
1
Depending on the CBRXLCS function being performed, one or more OAM initialization-related control blocks
might be required. First, verify whether the OAM1 subsystem entry was specified in the IEFSSNxx PARMLIB
member. Then verify whether the OAM address space has been started.
CBRXLCS TYPE=TAPE
,FUNC=IMPORT
,VOLUME=volume-serial-number
[,CANCEL={YES | NO}]
Required Parameters
TYPE=TAPE
Specifies a request related to the TCDB.
FUNC=IMPORT
Specifies a request to initiate (or cancel) the import of a logical volume into a
VTS.
VOLUME=volume-serial-number
Specifies the name of a character variable (six-byte length) that contains the
logical volume serial number of the import list volume to be used for this
import operation.
Optional Parameters
CANCEL=YES | NO
CANCEL=YES specifies that the import request currently executing in the
library where the specified volume resides be canceled.
CANCEL=NO, or no specification for this optional parameter, indicates that
the import request of the logical volume into a VTS be processed.
The import function requires that OAM is active, that the library for the import
operation is online and operational, and that the cartridge entry installation exit
(CBRUXENT) is not disabled. This environment is necessary for the imported
logical volumes to go through entry processing. An import operation is more
restrictive than an export operation in that only one import operation is allowed
per physical library, while one export operation is allowed per logical library
(VTS). Also, import and export operations are not allowed to execute
simultaneously in the same library (VTS).
The return code is placed in register 15 and in the LCSPL in field LCSRCODE. The
reason code is placed in register 0 and in the LCSPL in field LCSREAS.
176 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Changing Library Operating Modes (Peer-to-Peer VTS Mode
Control)
The Peer-to-Peer VTS mode control (PTPMC) function allows an installation or
application, such as Geographically Dispersed Parallel Sysplex (GDPS), to change
current operating modes of the library. Upon installation of the library, the
customer engineer must determine the default mode settings. (See “Geographically
Dispersed Parallel Sysplex Support for Peer-to-Peer VTS” on page 21 for more
information on GDPS.)
Figure 12 provides the CBRXLCS Assembler macro syntax that is used to perform
the PTPMC function.
CBRXLCS TYPE=TAPE
,FUNC=PTPMC
,LIBNAME=library-name
[,IOLIB={PRIMARY | PREFERRED | BALANCED | DEFAULT}]
[,COPYMODE={IMMEDIATE | DEFERRED | DEFAULT}]
[,DEFVALUE=deferred-priority-threshold]
[,COPYOPER={ENABLE | DISABLE}]
[,ACCESS=RWDISCON]
Figure 12. Peer-to-Peer VTS Mode Control (PTPMC) Assembler Macro Syntax
When a value is requested, the keyword operand may be one of the following:
v The name of the field that contains the requested value
v The number, in parentheses, of a general register in the range of 2–12 that
contains the address of the field
Required Parameters
TYPE=TAPE
Specifies a request related to the TCDB.
FUNC=PTPMC
Specifies a request to change current mode settings of the Peer-to-Peer VTS
library.
LIBNAME=library-name
Specifies the name of a character variable (eight-byte length) that contains the
fully-specified library name. The library name must be left justified in the field
and padded on the right with blanks. Unless explicitly specified with the
parameter, the library name specified can be either a distributed library or a
composite library.
Optional Parameters
At least one of the following optional keywords must be specified with the
function PTPMC:
v ACCESS
v COPYMODE
v COPYOPER
v IOLIB
Note: If you are setting IOLIB=PRIMARY and the specified distributed library
is not currently the master library, the completion of this request can
take up to 20 minutes.
IOLIB=PREFERRED
Specifies a request to set the preferred distributed library for host I/O
operations. The preferencing is honored as long as the VTS library specified is
available and has a valid version of the volume in its cache, and as long as
another available VTS does not have the volume in its cache. The library
specified for LIBNAME must be a distributed library.
IOLIB=BALANCED
Specifies a request to let the library balance the workload across all the VTS
libraries in the Peer-to-Peer VTS configuration. The balance of the workload is
the primary criterion for selection of the VTS to perform host I/O operations.
IOLIB=DEFAULT
Specifies a request to use the customer engineer's default I/O selection setting
on the AX0s for host I/O operations.
COPYMODE=IMMEDIATE
Specifies a request to set the copy mode to IMMEDIATE. With this setting, a
copy of the data is made upon receiving the host rewind/unload (RUN)
command. The completion of the rewind/unload (RUN) command is held
until the copy has been made.
COPYMODE=DEFERRED
Specifies a request to set the copy mode to DEFERRED. With this setting,
upon receiving the host rewind/unload (RUN) command, the copying of the
data is queued.
COPYMODE=DEFAULT
Specifies a request to use the customer engineer's copy mode setting and the
customer engineer's deferred mode priority threshold value on the AX0s.
DEFVALUE=deferred-priority-threshold
Specifies the name of a bit variable (1-byte length) that contains the number of
hours between 0 and 255 for the deferred copy mode priority threshold value.
If a copy operation has been queued longer than the number of hours specified
by the deferred copy mode priority threshold value, when it is selected for
processing, it is given a higher I/O priority than host I/O operations. This
specified parameter value affects copy operations that are initiated after the
successful completion of this command.
178 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
This parameter is only applicable with the COPYMODE=DEFERRED
specification and is ignored with any other FUNC=PTPMC specification. If
COPYMODE=DEFERRED is specified without this parameter, the current
deferred mode priority threshold value is retained.
COPYOPER=ENABLE
Specifies a request to enable copy operations that have been previously
disabled.
COPYOPER=DISABLE
Specifies a request to disable copy operations. Copies currently in progress are
completed. Subsequent copies are queued to be performed later when copy
operations are enabled again.
ACCESS=RWDISCON
Specifies a request to enable the access mode of Read/Write Disconnected, a
special mode that allows controlled access to data when one or more elements
of a PTP VTS become unavailable and prevent normal operations. The
Read/Write Disconnected mode allows logical volumes to be read, modified,
or rewritten, unless the volumes are known to be invalid. This mode forces the
available VTS to become the master; it should only be set for one VTS. This
mode is no longer in effect when communication with both VTSs has been
established and token updates have been completed.
The library specified for LIBNAME must be a distributed library. IOLIB,
COPYMODE, and COPYOPER specifications are ignored at the library when
the ACCESS keyword is specified.
Note: Check with your hardware support center for the availability of the
Read/Write Disconnected option through this interface. If the installed
microcode does not support this option, it will be ignored.
Table 15 represents the reason codes associated with each of the return codes
returned by the function PTPMC.
For field LCSRCODE, the return code is placed in register 15 and in the LCSPL.
For field LCSREAS, the return code is placed in register 0 and in the LCSPL.
Table 15. PTPMC Return and Reason Codes
Return Error Type Reason Meaning
Code Code
0 Successful 0 Successful.
4 Warning No warnings returned by PTPMC.
8 Invalid request 9 Required type parameter not specified.
11 Invalid value specified for type.
12 Required function parameter not specified.
13 Invalid value specified for function.
23 Required library name parameter not specified.
27 Invalid library name.
29 Invalid parameter address specified for LCSPL.
30 LCSPL not aligned on fullword boundary.
217 At least one optional keyword must be specified with function.
For additional information on using the CBRXLCS macro, see “Using the
CBRXLCS Macro in an Assembler Environment” on page 184.
Figure 13 provides the CBRXLCS Assembler macro syntax that is used to perform
the PTPDATA function.
CBRXLCS TYPE=TAPE
,FUNC=PTPDATA
,LIBNAME=library-name
,DATATYPE={MODE | DEVICE}
[,SUBPOOL=subpool-number]
[,LOC={BELOW | ANY}]
When a value is requested, the keyword operand may be one of the following:
v The name of the field that contains the requested value
v The number, in parentheses, of a general register in the range of 2–12 that
contains the address of the field
Required Parameters
TYPE=TAPE
Specifies a request related to the TCDB.
FUNC=PTPDATA
Specifies a request for Peer-to-Peer VTS library information.
LIBNAME=library-name
Specifies the name of a character variable (eight-byte length) that contains the
fully-specified library name. The library name must be left justified in the field
and padded on the right with blanks. The library name specified must be a
composite Peer-to-Peer library.
DATATYPE=MODE
Specifies a request for Peer-to-Peer VTS library operating mode information.
180 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
The information is returned in mapping macro CBRTDI pointed to by
LCSTDI@ in the LCSPL output parameter of the CBRLCSPL mapping macro.
DATATYPE=DEVICE
Specifies a request for Peer-to-Peer VTS library device information. The
information is returned in mapping macro CBRTDI pointed to by LCSTDI@ in
the LCSPL output parameter of the CBRLCSPL mapping macro.
Optional Parameters
SUBPOOL=subpool-number
Specifies the name of a bit variable (1-byte length) that contains the number of
the subpool from which storage for the requested information is obtained. If no
subpool is specified, storage is obtained from subpool 0 in the key of the caller.
LOC=BELOW | ANY
BELOW specifies that the storage for the requested information is to be
obtained below the 16-megabyte line. ANY specifies that the storage for the
requested information may be obtained above the 16-megabyte line. ANY is
the default value if the LOC keyword is omitted.
Notes:
1. The VTS I/O distributed libraries are identified as 1 or 2 in the returned
CBRTDI data; however, the TotalStorage Peer-to-Peer VTS Specialist identifies
the distributed libraries as 0 and 1. Use the library name or sequence number,
or both, that are displayed in the TotalStorage Peer-to-Peer VTS Specialist to
ensure that the correct distributed library is being referenced.
2. The caller must free the storage obtained for the returned data information,
pointed to by LCSTDI@, for the length specified in the TDILENG field in the
CBRTDI mapping macro.
For field LCSRCODE, the return code is placed in register 15 and in the LCSPL.
For field LCSREAS, the return code is placed in register 0 and in the LCSPL.
Table 16. PTPDATA Return and Reason Codes
Return Error Type Reason Meaning
Code Code
0 Successful 0 Successful.
4 Warning No warnings returned by PTPDATA.
8 Invalid request 9 Required type parameter not specified.
11 Invalid value specified for type.
12 Required function parameter not specified.
13 Invalid value specified for function.
23 Required library name parameter not specified.
27 Invalid library name specified.
29 Invalid parameter address specified for LCSPL.
30 LCSPL not aligned on fullword boundary.
218 Required DATATYPE keyword not specified.
12 Failure 59 Failure accessing library record in TCDB.
Figure 14 provides the CBRXLCS Assembler macro syntax that is used to perform
the OLN function.
CBRXLCS TYPE=TAPE
,FUNC=OLN
,LIBNAME=library-name |
,LIBID=library-ID
Figure 14. Obtain Library Name Information (OLN) Assembler Macro Syntax
Required Parameters
TYPE=TAPE
Specifies a request related to the TCDB.
FUNC=OLN
Specifies a request to obtain information for a given library.
LIBNAME=library-name
Specifies the name of a character variable (eight-byte length) that contains the
fully-specified library name. The library name must be left justified in the field
and padded on the right with blanks.
LIBID=library-ID
Specifies the name of a character variable (five-byte length) that contains the
library ID (sequence number) associated with the library on the ISMF library
define panel.
Rule: You must specify either LIBNAME or LIBID, but you cannot specify both.
Table 17 on page 183 shows the fields that contain the information returned by the
OLN function.
182 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Table 17. OLN Function Fields
Field Information
LCSLIBNM Library name
LCSLBID Library ID
LCSCONSN Console name
LCSLOPM Outboard policy management indicator
LCSATL, LCSMTL, LCSVTS, LCSVDL, Library type indicators
LCSVCL, LCSVE
LCSCOMPL Composite library associated with the
specified distributed library
Notes:
1. If you specify the library name when invoking the OLN function, the library ID is
returned. If you specify the library ID when invoking the OLN function, the library
name is returned.
2. A 3494 VTS tape library has both the LCSATL and the LCSVTS library type indicators
set on.
3. A 3494 Peer-to-Peer VTS library has the LCSATL, LCSVTS, and either the LCSVDL or
the LCSVCL library type indicators set on.
4. A TS7700 Virtualization Engine (3957-V06 or 3957-VEA) has the LCSATL, LCSVTS,
LCSVE and either the LCSVDL or the LCSVCL library type indicators set on.
5. If the specified LIBNAME or LIBID is a distributed library (LCSVDL), LCSCOMPL
contains the associated 8-CHAR composite library. If the associated composite library
cannot be determined “UNKNOWN” will be returned in LCSCOMPL.
For field LCSRCODE, the return code is placed in register 15 and in the LCSPL.
For field LCSREAS, the return code is placed in register 0 and in the LCSPL.
__ Step 2. Create copies of the LCSPL in both static and dynamic storage using
the LIST form of CBRXLCS, as follows:
CBRXLCS MF=(L,static-list-name)
CBRXLCS MF=(L,dynamic-list-name)
184 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
__ Step 3. Initialize the LCSPL by copying the static LIST form to the dynamic
LIST form.
Rule: Because the length of the LCSPL exceeds 256 bytes, you must use
the MVCL instruction for the copy.
__ Step 4. Set parameter values in the LCSPL using the MODIFY form of
CBRXLCS, as follows:
CBRXLCS keywords,
MF =(M,dynamic-list-name)
Rule: If you use the MODIFY form of the macro, you must follow it
with the EXECUTE form.
__ Step 5. Set the parameter values in the LCSPL using the EXECUTE form of
CBRXLCS and invoke LCS External Services to perform the requested
function, as follows:
CBRXLCS keywords,
MF=(E,dynamic-list-name)
Note: You can use the EXECUTE form of the macro without having
previously used the MODIFY form.
__ Step 6. To check the completeness and compatibility of the set of parameters
supplied on a single invocation of CBRXLCS, specify one of the
following statements using the MODIFY form of the macro or the
EXECUTE form of the macro, as follows:
CBRXLCS keywords,
MF=(M,dynamic-list-name,COMPLETE)
or
CBRXLCS keywords,
MF=(E,dynamic-list-name,COMPLETE)
Note: See the description of each CBRXLCS function for specific return and reason
code pairs.
Code Meaning
0 Successful execution. The request completed or was scheduled
successfully.
4 Request completed with warning condition. The reason code
identifies the specific cause of the warning.
8 Invalid request. The reason code identifies the specific cause of the
invalid parameter condition.
12 Request failed. The reason code identifies the specific cause of the
error.
16 Invalid environment. The reason code identifies the specific cause of
the error.
The storage for the LCSPL must be aligned to a fullword boundary. If this is not
the case, an error is returned and the requested function is not performed.
Figure 15 on page 187 provides the format of the LCS External Services parameter
list. The boldfaced lines of code are new for this release.
Rule: Fields that are identified as RESERVED FOR IBM FUTURE OR INTERNAL
USE must not be used by the installation.
186 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
*---------------------------------------------------------------------*
* *
* LIBRARY CONTROL SYSTEM (LCS) PARAMETER LIST *
* *
*---------------------------------------------------------------------*
SPACE 1
LCSPL DSECT , LCS PARAMETER LIST
SPACE 1
*---------------------------------------------------------------------*
* *
* CBRXLCS OUTPUT PARAMETERS *
* *
*---------------------------------------------------------------------*
LCSOPARM DS 0F CBRXLCS OUTPUT PARAMETER SECTION
LCSLIBNM DS CL8 LIBRARY NAME
LCSCONSN DS CL8 CONSOLE NAME
LCSLBID DS CL5 LIBRARY ID
DS CL3 RESERVED FOR ALIGNMENT
LCSTVI@ DS A ADDRESS OF TAPE VOLUME INFORMATION,
* MAPPED BY CBRTVI
LCSTDI@ DS A ADDRESS OF PTP VTS DATA
* MAPPED BY CBRTDI
DS A RESERVED FOR IBM FUTURE USE
DS A RESERVED FOR IBM INTERNAL USE
DS A RESERVED FOR IBM INTERNAL USE
LCSFLAGS DS XL1 OUTPUT FLAGS
LCSATL EQU X'80' ON IF THE LIBRARY IS AUTOMATED
LCSMTL EQU X'40' ON IF THE LIBRARY IS MANUAL
LCSVTS EQU X'10' ON IF THE LIBRARY IS A VTS
LCSVCL EQU X'08' ON IF VTS COMPOSITE LIBRARY
Figure 15. The LCS External Services Parameter List—CBRLCSPL Macro (Part 1 of 11)
Figure 15. The LCS External Services Parameter List—CBRLCSPL Macro (Part 2 of 11)
188 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
LCS_BULKEJCT EQU B'01000000' BULK EJECT PARAMETER SPECIFIED
LCS_EJECTOPT EQU B'00100000' EJECTOPT PARAMETER SPECIFIED
LCS_VOLINFO EQU B'00000100' VOLINFO=YES SPECIFIED
LCS_USERID EQU B'00000010' USERID SPECIFIED (FUNC EJECT)
LCS_CANCEL EQU B'00000001' CANCEL SPECIFIED
LCSFLG4 DS BL1 FLAG BYTE 4 (FUNCTION SPECIFIC)
* QVR FUNCTION FLAG
LCS_NOTCDBCK EQU B'10000000' NO RECORD RETRIEVAL FOR QVR
LCS_STORADDR EQU B'01000000' STORADDR SPECIFIED
LCS_QVRSPLOC EQU B'00100000' QVR SUBPOOL LOCATION SPECIFIED
* GDPS PTPMC AND PTPDATA FUNCTION FLAGS
LCS_IOLIB EQU B'10000000' PTPMC IOLIB SPECIFIED
LCS_COPYMODE EQU B'01000000' PTPMC COPYMODE SPECIFIED
LCS_COPYOPER EQU B'00100000' PTPMC COPYOPER SPECIFIED
LCS_ACCESS EQU B'00010000' PTPMC ACCESS SPECIFIED
LCS_DATATYPE EQU B'00001000' PTPDATA DATATYPE SPECIFIED
LCS_SPLOC EQU B'00000100' SUBPOOL LOCATION SPECIFIED
LCS_DEFTHRSH EQU B'00000010' DEFERRED THRESHOLD SPECIFIED
* CUA OUTBOARD POLICY MANAGEMENT FLAGS
LCS_GETPOLICY EQU B'10000000' GETPOLICY SPECIFIED
LCS_SETLMSC EQU B'01000000' SCNAME POLICY SPECIFIED
LCS_SETLMMC EQU B'00100000' MCNAME POLICY SPECIFIED
LCS_SETLMDC EQU B'00010000' DCNAME POLICY SPECIFIED
* LCS_GRPNAME USED FOR SG
*
*---------------------------------------------------------------------*
* *
* CBRXLCS FUNCTION AND FUNCTION TYPES *
* *
*---------------------------------------------------------------------*
LCSTYPE DS XL1 FUNCTION TYPE
LCSTAPE EQU 1 FUNCTION TYPE = TAPE
*
LCSFUNC DS XL1 REQUEST FUNCTION
*
LCSTVE EQU 1 TEST VOLUME ELIGIBILITY
LCSCUA EQU 3 CHANGE USE ATTRIBUTE
LCSOLN EQU 4 OBTAIN LIBRARY NAME INFORMATION
LCSMCE EQU 5 MANUAL CARTRIDGE ENTRY
LCSQVR EQU 6 QUERY VOLUME RESIDENCE
LCSEJECT EQU 7 EJECT VOLUME
LCSIMPRT EQU 8 IMPORT
LCSEXPRT EQU 9 EXPORT
LCSPTPMC EQU 10 PEER-TO-PEER MODE CONTROL
LCSPTPDT EQU 11 PEER-TO-PEER DATA REQUEST
*
*---------------------------------------------------------------------*
* *
* OTHER INPUT PARAMETERS AND CONSTANTS USED TO INITIALIZE THEM *
* (INITIALIZED BY THE CBRXLCS MACRO EXPANSION) *
* *
*---------------------------------------------------------------------*
LCSUSE DS XL1 USE ATTRIBUTE TYPE
* VALUES ASSIGNED TO LCSUSE
LCSPRIV EQU 1 USE ATTRIBUTE OF PRIVATE
LCSSCR EQU 2 USE ATTRIBUTE OF SCRATCH
*
LCSSPNUM DS XL1 SUBPOOL NUMBER IN WHICH TO OBTAIN
* STORAGE FOR TVI/TDI
LCSSTOR@ DS A POINTER TO STORADDR STORAGE
LCSEXPDT DS XL4 EXPIRATION DATE
Figure 15. The LCS External Services Parameter List—CBRLCSPL Macro (Part 3 of 11)
Figure 15. The LCS External Services Parameter List—CBRLCSPL Macro (Part 4 of 11)
190 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
LCSDPTHV DS XL1 DEFERRED PRIORITY THRESHOLD
DS CL3 RESERVED FOR IBM FUTURE USE
LCSPILEN EQU *-LCSIPARM LENGTH EQUATE FOR INPUT PARMS
*--------------------------------------------------------------------*
* *
* DIAGNOSTIC INFORMATION *
* (RETURNED FROM LCS EXTERNAL SERVICES)
* *
*--------------------------------------------------------------------*
LCSDIAG DS 0F DIAGNOSTIC INFORMATION SECTION
LCSSABCD DS F SYSTEM ABEND CODE
LCSSABRC DS F ABEND REASON CODE
LCSLBSRC DS F RETURN CODE FROM DEVICE SVCS
LCSLBSRS DS F REASON CODE FROM DEVICE SVCS
LCSSSIRC DS F RETURN CODE FOR SMS SSI
LCSSMSRC DS F RETURN CODE FROM CONSTRUCT ACCESS
* SERVICES
LCSSMSRS DS F REASON CODE FROM CONSTRUCT ACCESS
* SERVICES
LCSUSRC DS F RETURN CODE FROM UCBSCAN
LCSUSRS DS F REASON CODE FROM UCBSCAN
LCSXLIBR DS F RETURN CODE FROM TCDB LIBRARY
* RECORD INQUIRY
LCSXVOLR DS F RETURN CODE FROM TCDB VOLUME
* RECORD INQUIRY
LCSCATRC DS F RETURN CODE FROM CATALOG
LCSCATRS DS XL2 REASON CODE FROM CATALOG
DS XL2 RESERVED FOR IBM INTERNAL USE
LCSOAMRC DS F RETURN CODE FROM OAM
LCSOAMRS DS F REASON CODE FROM OAM
LCSCATMI DS CL2 CATALOG MODULE ID
LCSLBSNF DS XL1 FORMAT OF SENSE RECORD CREATED BY
* 3490 CONTROL UNIT AFTER I/O ERROR
* BETWEEN HOST AND CONTROL UNIT
LCSLBERA DS XL1 ERROR RECOVERY ACTION (ERA) CODE
* RETURNED AFTER FAILURE TO PERFORM
* REQUESTED LIBRARY FUNCTION
LCSLBERM DS XL1 ERROR MODIFIER CODE ASSOCIATED WITH
* THE ERA CODE
LCSFCCW DS XL1 FAILING COMMAND CODE (CCW)
LCSIOST DS XL2 SUBCHANNEL STATUS INFORMATION,
* INCLUDES DEVICE STATUS FOLLOWED BY
* SUBCHANNEL STATUS
DS CL4 RESERVED FOR IBM FUTURE USE
LCSPDLEN EQU *-LCSDIAG LENGTH EQUATE FOR DIAGNOSTIC
* SECTION
*--------------------------------------------------------------------*
* *
* LCSPL POLICY INPUT AREA *
* *
*--------------------------------------------------------------------*
LCSPOLS DS 0F LM POLICY SPECIFICATIONS
* LM STORAGE GROUP IN LCSTRGRP
LCSLMSC DS CL8 LM STORAGE CLASS SPECIFICATION
LCSLMMC DS CL8 LM MANAGEMENT CLASS SPECIFICATION
LCSLMDC DS CL8 LM DATA CLASS SPECIFICATION
*--------------------------------------------------------------------*
* *
* LCSPL EXPANSION AREA *
* *
*--------------------------------------------------------------------*
LCSEXP DS 0F EXPANSION AREA
DS CL48 RESERVED FOR IBM FUTURE USE
DS CL48 RESERVED FOR IBM FUTURE USE
Figure 15. The LCS External Services Parameter List—CBRLCSPL Macro (Part 5 of 11)
Figure 15. The LCS External Services Parameter List—CBRLCSPL Macro (Part 6 of 11)
192 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
LCSIUSE EQU 15 INVALID USE VALUE
LCSIRVOL EQU 16 REQUIRED VOLUME PARAMETER NOT
* SPECIFIED
LCSIVOL EQU 17 INVALID VOLUME VALUE
LCSIRUCB EQU 18 REQUIRED UCBPTR NOT SPECIFIED
LCSIUCB EQU 19 INVALID UCBPTR VALUE SPECIFIED
LCSIRLST EQU 20 REQUIRED VOLLIST NOT SPECIFIED
LCSIVL EQU 21 INVALID VOLUME LIST VALUE
LCSISGL EQU 22 INVALID VALUE IN STORAGE GROUP LIST
* HEADER
LCSIRLBN EQU 23 REQUIRED LIBRARY NAME NOT SPECIFIED
LCSIVLMM EQU 24 INVALID VOLUME LIST, MIXED MEDIA,
* REWRITABLE AND WORM VOLUMES
LCSIEXPD EQU 25 INVALID EXPIRATION DATE VALUE
LCSILBND EQU 26 LIBRARY NOT DEFINED TO STORAGE
* GROUP
LCSILBNM EQU 27 INVALID LIBRARY NAME SPECIFIED
LCSIWPS EQU 28 INVALID WRITE PROTECT STATUS VALUE
LCSIBADR EQU 29 INVALID ADDRESS SPECIFIED FOR PARAMETER LIST
* OR MAPPING MACRO
LCSIWDBD EQU 30 ADDRESS NOT ON WORD BOUNDARY
* OR LEVEL
LCSIRTDS EQU 31 REQUIRED TAPE DEVICE SELECTION
* INFORMATION (TDSI) NOT SPECIFIED
*
LCSIRLID EQU 32 REQUIRED LIBRARY ID OR LIBRARY
* NAME NOT SPECIFIED
LCSILID EQU 33 INVALID VALUE SPECIFIED FOR LIBRARY
* ID
LCSISGNM EQU 34 INVALID STORAGE GROUP NAME
LCSIRMED EQU 35 REQUIRED MEDIA TYPE NOT SPECIFIED
* FOR MCE VOLUME
*
LCSICOMP EQU 38 INVALID COMPACTION SPECIFIED
* IN TDSI
LCSISPEC EQU 39 INVALID SPECIAL ATTRIBUTE SPECIFIED
* IN TDSI
LCSIDSC EQU 40 INVALID COMBINATION OF TAPE DEVICE
* SELECTION VALUES SPECIFIED
LCSIATDC EQU 41 AMBIGUOUS TDSI COMBINATION
* SPECIFIED
LCSITDNA EQU 42 TAPE DEVICE SELECTION VALUE
* SPECIFIED WHERE NOT ALLOWED OR
* NOT APPLICABLE
LCSITDSP EQU 43 INVALID POINTER TO TDSI SPECIFIED
*
LCSIDISP EQU 44 INVALID VALUE SPECIFIED FOR DISP
* KEYWORD
LCSFLUNK EQU 45 LIBRARY NAME AS DEFINED IN VOLUME
* RECORD NOT FOUND IN TCDB
LCSNENAB EQU 46 NO ENABLED STORAGE GROUPS
LCSFSSTG EQU 47 NOT ALL VOLUMES ASSOCIATED WITH THE
* SAME STORAGE GROUP
LCSSGNDS EQU 48 STORAGE GROUP STATE IS NOTCON,
* DISALL, OR DISNEW
LCSFNDP EQU 49 NO DEVICE POOLS EXIST TO FULFILL
* REQUEST FOR TDSI SPECIFICATION
LCSFVSCR EQU 51 SPECIFIC VOLSER REQUEST FOR SCRATCH
* VOLUME
LCSFNLRS EQU 52 VOLUME(S) RESIDE OUTSIDE LIBRARY
Figure 15. The LCS External Services Parameter List—CBRLCSPL Macro (Part 7 of 11)
Figure 15. The LCS External Services Parameter List—CBRLCSPL Macro (Part 8 of 11)
194 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
LCSEABND EQU 84 ABNORMAL TERMINATION OCCURRED
* DURING EXECUTION
*
LCSENDIS EQU 90 CARTRIDGE ENTRY PROCESSING HAS
* BEEN DISABLED
LCSENSUS EQU 91 CARTRIDGE ENTRY PROCESSING HAS
* BEEN SUSPENDED FOLLOWING ERROR
* INVOKING INSTALLATION EXIT
LCSNOTMT EQU 92 LIBRARY FOR MCE NOT MANUAL TAPE
* LIBRARY
LCSLBOFF EQU 93 LIBRARY OFFLINE, PENDING
* OFFLINE, OR NOT OPERATIONAL
LCSINLIB EQU 94 SPECIFIED VOLUME ALREADY RESIDES
* IN ANOTHER LIBRARY
LCSXVETO EQU 95 INSTALLATION EXIT VETOED ENTRY
* OF VOLUME INTO LIBRARY
LCSXIGNR EQU 96 VOLUME NOT ENTERED INTO MTL BECAUSE
* INSTALLATION EXIT SAID TO IGNORE
* THE VOLUME
LCSDASDV EQU 97 VOLUME OF SAME VOLSER IS KNOWN DASD
* VOLUME
*
*
*
* ADDITIONAL REASON CODES ASSOCIATED WITH RETURN CODE
* LCSWARN(4)
*
LCSNTMNT EQU 120 VOLUME IS INELIGIBLE BECAUSE
* THE TYPE OF MEDIA DEFINED IN
* THE VOLUME RECORD MAY NOT BE
* MOUNTED ON SPECIFIED DEVICE
LCSMMISM EQU 121 VOLUME IS INELIGIBLE BECAUSE
* THE TYPE OF MEDIA DEFINED IN
* THE TDSI DOES NOT MATCH MEDIA
* DEFINED ON THE VOLUME RECORD
LCSVERST EQU 122 VOLUME IS INELIGIBLE BECAUSE
* THE VOLUME RECORD REFLECTS AN
* ERROR STATUS
LCSRTNMT EQU 123 VOLUME IS INELIGIBLE BECAUSE THE
* SPECIFIED RECORDING TECHNOLOGY
* IS INCOMPATIBLE WITH THE VOLUME
* MEDIA TYPE OR THE SPECIFIED
* DRIVE TYPE
LCSSAMEL EQU 130 SPECIFIED VOLUME ALREADY
* RESIDES IN THIS TAPE LIBRARY
LCSWLNOP EQU 131 SCRATCH VOLUME THRESHOLD PROCESS-
* SING NOT PERFORMED BECAUSE
* LIBRARY WAS NOT OPERATIONAL
LCSWNSCT EQU 132 DELETED WITH 3590 SUPPORT
LCSWNULR EQU 133 DELETED WITH 3590 SUPPORT
LCSWLMIO EQU 134 NO TCDB RECORD BUT VOLUME RESIDES
* IN SPECIFIED LIBRARY
LCSWMSLM EQU 135 LIBRARY MISMATCH, VOLUME RESIDES
* IN SPECIFIED LIBRARY
LCSWMSNF EQU 136 LIBRARY MISMATCH, VOLUME NOT FOUND
* IN SPECIFIED LIBRARY
LCSWMSLF EQU 137 LIBRARY MISMATCH, UNABLE TO ACCESS
* SPECIFIED LIBRARY
LCSWSCNU EQU 138 LIBRARY SCRATCH COUNT NOT
* UPDATED IN TCDB
Figure 15. The LCS External Services Parameter List—CBRLCSPL Macro (Part 9 of 11)
Figure 15. The LCS External Services Parameter List—CBRLCSPL Macro (Part 10 of 11)
196 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
LCSFMUMT EQU 321 MANUAL CARTRIDGE ENTRY FAILED,
* MEDIA TYPE RETURNED FROM THE
* INSTALLATION EXIT DOES NOT
* MATCH THE MEDIA TYPE DEFINED
* IN THE VOLUME RECORD.
LCSFCMRJ EQU 322 COMMAND REJECTED BY THE LIBRARY
LCSFOPCN EQU 323 UNABLE TO RETRIEVE POLICY
* NAMES(S)FROM LIBRARY
LCSFNXPD EQU 324 VOLUME EXPIRE TIME HAS NOT ELAPSED
LCSFIOTO EQU 325 I/O TERMINATED DUE TO TIMEOUT
* DETECTION
| LCSFACDE EQU 326 SELECTIVE DEVICE ACCESS CONTROL
| * GROUP DENIED REQUEST
| LCSFACNV EQU 327 SELECTIVE DEVICE ACCESS CONTROL
| * GROUP IS NOT VALID
* ADDITIONAL REASON CODES ASSOCIATED WITH RETURN CODE
* LCSENVIR(16)
*
LCSEJNUL EQU 400 OAM INITIALIZED WITH NULL
* CONFIGURATION
LCSEJLIB EQU 401 LIBRARY NOT ACCESSIBLE,
* OFFLINE, OR NOT OPERATIONAL
LCSEJVIS EQU 402 VISION SYSTEM NOT OPERATIONAL
LCSEJXAB EQU 403 EJECT PROCESSING HAS BEEN
* DISABLED BECAUSE AN ERROR IN
* THE EJECT INSTALLATION EXIT
* (CBRUXEJC) HAS BEEN DETECTED
LCSEJNAV EQU 404 OAM ADDRESS SPACE NOT
* AVAILABLE
LCSNOOAM EQU 404 OAM ADDRESS SPACE NOT
* AVAILABLE
.END MEND */
Figure 15. The LCS External Services Parameter List—CBRLCSPL Macro (Part 11 of 11)
*********************************************************************
* *
* TAPE DATA INFORMATION MAPPING *
* *
*********************************************************************
SPACE 1
TDI DSECT ,
SPACE 1
*********************************************************************
* *
* TDI HEADER *
* *
*********************************************************************
TDIHDR DS 0F TDI HEADER
TDIID DS CL4 TDI IDENTIFIER EBCDIC 'TDI '
TDILENG DS F LENGTH OF TDI
* TDI HEADER + DATA HEADER + DATA
* (LENGTH OF STORAGE TO BE FREED)
TDIVER DS XL1 VERSION OF TDI
TDIREV DS XL1 REVISION LEVEL OF TDI
TDISPNUM DS XL1 SUBPOOL IN WHICH TDI WAS OBTAINED
* IF NOT SPECIFIED, SUBPOOL ZERO USED
DS CL1 RESERVED
TDIDHDR@ DS A ADDRESS OF MODE OR DEVICE DATA
TDILNGTH EQU *-TDIHDR LENGTH OF TDI MACRO HEADER
SPACE 1
********************************************************************
* *
* DATA HEADER FOR MODE CONTROL SETTINGS *
* *
********************************************************************
TDIMODE DSECT MODE SETTING DATA MAPPING
TDIMSLEN DS F DATA MSG LENGTH (LENGTH OF THIS DSECT
* PLUS LENGTH OF MODE CONTROL DATA ENTRIES)
TDIMSNUM DS F NUMBER OF MODE CONTROL DATA ENTRIES
* (IF AN AX0 IS NOT AVAILABLE, AN ENTRY
* IS NOT RETURNED.)
TDIMSDLN DS F LENGTH OF ONE MODE CONTROL DATA ENTRY
TDIMSADR DS A ADDRESS OF 1ST MODE CONTROL DATA ENTRY
TDIMAX0S DS XL1 NUMBER OF AX0'S CONFIGURED
TDIMAX0P DS XL1 AX0 ID THAT PROCESSED THIS REQUEST
DS XL2 RESERVED
TDIMDHDR EQU *-TDIMODE LENGTH OF TDI MODE SETTING DATA HEADER
SPACE 1
Figure 16. The Tape Data Information Assembler Mapping Macro—CBRTDI (Part 1 of 3)
198 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
********************************************************************
* *
* MODE CONTROL DATA ENTRY *
* *
********************************************************************
TDIMODDT DSECT MODE CONTROL DATA ENTRY
TDIMAX0I DS XL1 AX0 IDENTIFIER
TDIIOMOD DS BL1 I/O SELECTION CRITERIA
TDIOBALN EQU B'10000000' BALANCED IO SELECTION CRITERIA
TDIOPREF EQU B'01000000' PREFERRED IO SELECTION CRITERIA
TDIOPRIM EQU B'00100000' PRIMARY IO SELECTION CRITERIA
TDICPYMD DS BL1 COPY MODE AND COPY OPERATIONS
TDIIMMED EQU B'10000000' COPYMODE ON=IMMEDIATE/OFF=DEFERRED
TDIENABL EQU B'00001000' COPYOPER ON=ENABLED/OFF=DISABLED
TDIACCES DS BL1 SPECIAL ACCESS CONTROL
TDIRDMOD EQU B'10000000' READ ONLY ACCESS MODE
TDIRWDIS EQU B'01000000' READ/WRITE DISCONNECTED ACCESS MODE
TDIWTPRT EQU B'00100000' WRITE PROTECT ACCESS MODE
TDIDMPTV DS XL1 DEFERRED MODE PRIORITY THRESHOLD
TDIVDLID DS XL1 PRIMARY/PREFERRED IO DISTRIBUTED LIBRARY
* ID
TDICEDTV DS XL1 CE DEFAULT FOR DEFERRED MODE PRIORITY
* THRESHOLD VALUE
DS CL3 RESERVED
TDIDEVRG DS XL1 DEVICE RANGE
* X'10' 16 VIRTUAL DEVICES CONFIGURED
* X'20' 32 VIRTUAL DEVICES CONFIGURED
TDICESET DS BL1 CE DEFAULT SETTINGS
TDICEBAL EQU B'10000000' BALANCED IO SELECTION CRITERIA
TDICEPRF EQU B'01000000' PREFERRED IO SELECTION CRITERIA
TDICECPY EQU B'00010000' COPYMODE ON=IMMEDIATE/OFF=DEFERRED
* LOWER NIBBLE MAY CONTAIN CE SPECIFIED IO
* DISTRIBUTED LIBRARY ID IF CE ESTABLISHED
* PREFERRED IO SELECTION CRITERIA
TDICPYCT DS F DEFERRED COPY OPERATION COUNT
TDIMELEN EQU *-TDIMODDT LENGTH OF ONE TDI MODE ENTRY
SPACE 1
********************************************************************
* *
* DATA HEADER FOR DEVICE INFORMATION *
* *
********************************************************************
TDIDVICE DSECT DEVICE DATA MAPPING
TDIMDLEN DS F DATA MSG LENGTH (LENGTH OF THIS DSECT
* PLUS LENGTH OF DEVICE DATA ENTRIES)
TDINVTD DS F NUMBER OF DEVICE DATA ENTRIES
TDIDDLEN DS F LENGTH OF ONE DEVICE DATA ENTRY
TDIDDADR DS A ADDRESS OF 1ST DEVICE DATA ENTRY
TDIDVHDR EQU *-TDIDVICE LENGTH OF TDI DEVICE HEADER
SPACE 1
********************************************************************
* *
* DEVICE DATA ENTRY *
* *
********************************************************************
TDIDEVDT DSECT DEVICE DATA ENTRY
TDIVDVID DS XL2 VIRTUAL DEVICE IDENTIFIER
* AX0 IDENTIFIER/DEVICE NUMBER COMBINATION
Figure 16. The Tape Data Information Assembler Mapping Macro—CBRTDI (Part 2 of 3)
Figure 16. The Tape Data Information Assembler Mapping Macro—CBRTDI (Part 3 of 3)
200 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Tape Volume Information (CBRTVI Macro)
Tape volume information (TVI), mapped by macro CBRTVI, is used to pass
information from both the TCDB and the library manager inventory about the
volume specified on a CBRXLCS query volume residence request.
Figure 17 gives the format for the tape volume information. The boldfaced lines of
code are new for this release.
*********************************************************************
* *
* TAPE VOLUME INFORMATION MAPPING *
* *
*********************************************************************
SPACE 1
TVI DSECT ,
SPACE 1
*********************************************************************
* *
* HEADER *
* *
*********************************************************************
TVIHDR DS 0F TVI HEADER
TVIID DS CL4 TVI IDENTIFIER EBCDIC 'TVI '
TVILENG DS F LENGTH OF TVI
* USE THIS VALUE FOR STORAGE LENGTH
* WHEN FREEING TVI STORAGE
TVIVER DS XL1 VERSION OF TVI
TVIREV DS XL1 REVISION LEVEL OF TVI
TVISPNUM DS XL1 SUBPOOL IN WHICH TVI WAS OBTAINED
DS XL1 RESERVED FOR IBM USE
DS F RESERVED FOR IBM USE
********************************************************************
* *
* VOLUME SERIAL *
* *
********************************************************************
TVIVOLSR DS CL6 VOLUME SERIAL NUMBER
********************************************************************
* *
* VOLUME INFORMATION FROM THE TCDB *
* *
* NOTE: LIBRARY NAME AND CONSOLE NAME ARE FOUND IN THE LCSPL *
* - LIBRARY NAME IS STORED IN FIELD LCSLIBNM *
* - CONSOLE NAME IS STORED IN FIELD LCSCONSN *
* *
* IF THE LIBRARY NAME IS SPECIFIED ON THE QVR INVOCATION, LCSLIBNM *
* CONTAINS THE SPECIFIED LIBRARY AND LCSCONSN CONTAINS THE CONSOLE *
* NAME OF THE SPECIFIED LIBRARY. THE SPECIFIED LIBRARY NAME MAY *
* OR MAY NOT MATCH THE LIBRARY NAME IN THE VOLUME RECORD, TVILIBNM.*
* *
* IF THE LIBRARY NAME IS NOT SPECIFIED ON THE QVR INVOCATION, *
* AND THE VOLUME RECORD EXISTS IN THE TCDB, BOTH LCSLBNM AND *
* TVILIBNM FIELDS CONTAIN THE LIBRARY NAME FOUND IN THE VOLUME *
* RECORD. LCSCONSN CONTAINS THE CONSOLE NAME OF TVILIBNM. *
* *
* INCLUDE MAPPING MACRO CBRVERR TO DEFINE CONSTANTS *
* FOR THE VALUES ASSIGNED TO TVIERROR. *
* *
********************************************************************
Figure 17. The Tape Volume Information Assembler Mapping Macro—CBRTVI (Part 1 of 5)
Figure 17. The Tape Volume Information Assembler Mapping Macro—CBRTVI (Part 2 of 5)
202 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
* (FOR VALID VALUES, SEE MEDIA TYPE
* CONSTANTS UNDER TCDB TAPE DEVICE
* SELECTION INFORMATION)
TVIATTR DS XL1 VOLUME ATTRIBUTE
* 0 PHYSICAL NON-VTS VOLUME
* 1 LOGICAL VTS VOLUME
* 2 VTS LOGICAL VOLUME BEING
* IMPORTED
* 3 PHYSICAL VTS VOLUME
TVISTAT DS 0BL2 VOLUME STATUS
TVISTAT1 DS BL1 VOLUME STATUS - BYTE 1
TVIINACC EQU B'10000000' VOLUME IS IN LIBRARY BUT INACCESSIBLE
TVIMNT EQU B'01000000' VOLUME IS MOUNTED
TVIMNTQ EQU B'00100000' VOLUME IS QUEUED FOR MOUNT
TVIMNTIP EQU B'00010000' VOLUME IN PROCESS OF BEING MOUNTED
TVIDMNTQ EQU B'00001000' VOLUME QUEUED FOR DEMOUNT
TVIDMNTP EQU B'00000100' VOLUME IN PROCESS OF BEING DEMOUNTED
TVIEJCQ EQU B'00000010' VOLUME IS QUEUED FOR EJECT/EXPORT
TVIEJCIP EQU B'00000001' VOLUME IN PROCESS OF BEING
* EJECTED/EXPORTED
TVISTAT2 DS BL1 VOLUME STATUS - BYTE 2
TVIAUDQ EQU B'10000000' VOLUME QUEUED FOR AUDIT
TVIAUDIP EQU B'01000000' VOLUME IN PROCESS OF BEING AUDITED
TVIMISS EQU B'00100000' VOLUME IS MISPLACED
TVIBLAB EQU B'00010000' VOLUME HAS UNREADABLE OR NO LABEL
TVIUMAN EQU B'00001000' VOLUME WAS USED DURING MANUAL MODE
TVIMANEJ EQU B'00000100' VOLUME WAS MANUALLY EJECTED
| TVIFASTR EQU B’00000010’ VOLUME IS ASSIGNED TO A CATEGORY
| * WITH FAST READY ATTRIBUTE SET
TVISTATA DS BL1 ADDITIONAL VOLUME STATUS
TVICACHE EQU B'10000000' VOLUME IS CACHE RESIDENT
TVIVCOPY EQU B'01000000' VALID COPY IN EACH DISTRIBUTED
* LIBRARY
TVIDCOPY EQU B'00100000' DUPLICATE COPY IN THE STAND ALONE
* VTS LIBRARY
TVIVOPM EQU B'00010000' NON DEFAULT TVIOPM PROVIDED
TVILOPM EQU B'00001000' VOLUME RESIDES IN A LIBRARY WITH
* OUTBOARD POLICY MANAGEMENT SUPPORT
| TVILWORM EQU B'00000100’ LOGICAL WORM VOLUME1
DS BL1 RESERVED FOR IBM USE
DS CL24 RESERVED FOR IBM USE
DS 0D END OF VTI
TVILNGTH EQU *-TVI
SPACE 1
********************************************************************
* *
* TCDB USE ATTRIBUTE CONSTANTS *
* *
********************************************************************
TVIPRIV EQU C'P' PRIVATE USE ATTRIBUTE
TVISCRT EQU C'S' SCRATCH USE ATTRIBUTE
SPACE 1
Figure 17. The Tape Volume Information Assembler Mapping Macro—CBRTVI (Part 3 of 5)
1. Because a logical volume will retain its WORM state (at the library) until the volume is reused and written from load point, the
TVILWORM indicator can also be returned for a scratch volume, reflecting the past usage of the volume.
Figure 17. The Tape Volume Information Assembler Mapping Macro—CBRTVI (Part 4 of 5)
204 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
********************************************************************
* *
* VOLUME ATTRIBUTE CONSTANTS *
* *
********************************************************************
TVIPHYCL EQU 0 PHYSICAL NON-VTS VOLUME
TVILOGCL EQU 1 LOGICAL VTS VOLUME
TVIMPORT EQU 2 VTS LOGICAL VOLUME BEING IMPORTED
TVISTKED EQU 3 PHYSICAL VTS VOLUME
*
********************************************************************
* *
* MISCELLANEOUS SOFTWARE CONSTANTS *
* *
********************************************************************
TVIYES EQU C'Y' YES
TVINO EQU C'N' NO
TVIBLANK EQU C' ' BLANK
*
********************************************************************
* *
* LIBRARY MANAGER CATEGORY CONSTANTS FOR TVILCAT *
* *
********************************************************************
TVISCRM1 EQU C'S1' VOLUME IS MEDIA1 SCRATCH
TVISCRM2 EQU C'S2' VOLUME IS MEDIA2 SCRATCH
TVISCRM3 EQU C'S3' VOLUME IS MEDIA3 SCRATCH
TVISCRM4 EQU C'S4' VOLUME IS MEDIA4 SCRATCH
TVISCRM5 EQU C'S5' VOLUME IS MEDIA5 SCRATCH
TVISCRM6 EQU C'S6' VOLUME IS MEDIA6 SCRATCH
TVISCRM7 EQU C'S7' VOLUME IS MEDIA7 SCRATCH
TVISCRM8 EQU C'S8' VOLUME IS MEDIA8 SCRATCH
TVISCRM9 EQU C'S9' VOLUME IS MEDIA9 SCRATCH
TVISCRMA EQU C'SA' VOLUME IS MEDIA10 SCRATCH
TVIERRC EQU C'ER' VOLUME IS IN ERROR CATEGORY
TVIPRIVC EQU C'PR' VOLUME IS IN PRIVATE CATEGORY
TVIINSRT EQU C'IN' VOLUME IS IN INSERT CATEGORY
TVICNVEJ EQU C'CE' VOLUME IS IN CONVENIENCE EJECT CATEGORY
TVIBLKEJ EQU C'BE' VOLUME IS IN BULK EJECT CATEGORY
TVIPURGE EQU C'PG' VOLUME IS IN PURGE CATEGORY
TVIMEJCT EQU C'ME' VOLUME IS IN MANUAL EJECT CATEGORY
TVIIMPRT EQU C'IM' VOLUME IS IN IMPORT CATEGORY
* (PHYSICAL VOLUMES CONTAINING LOGICAL
* VOLUMES TO IMPORT)
TVIIMPND EQU C'IP' VOLUME IS IN IMPORT PENDING CATEGORY
TVIEXPND EQU C'XP' VOLUME IS IN EXPORT PENDING CATEGORY
TVIEXPTD EQU C'XD' VOLUME IS IN EXPORTED CATEGORY
TVISTAKD EQU C'ST' VOLUME IS IN STACKED VOLUME CATEGORY
* (PHYSICAL VOLUMES THAT VTS MANAGES)
TVIUNASN EQU C'UA' VOLUME IS IN UNASSIGNED CATEGORY
TVIEXPHD EQU C'EH' VOLUME IS IN EXPORT HOLD CATEGORY
TVIBADTK EQU C'BT' VOLUME IS IN CORRUPTED TOKEN CATEGORY
TVIBDLBL EQU C'BL' VOLUME IS IN UNREADABLE OR INVALID
* INTERNAL LABEL CATEGORY
TVIUNK EQU C'UN' VOLUME CATEGORY IS NOT KNOWN
********************************************************************
* *
* HEADER CONSTANTS *
* *
********************************************************************
TVIIDC EQU C'TVI ' TVI IDENTIFIER
TVIVERV EQU 1 VERSION
TVIREVV EQU 12 REVISION LEVEL
.END MEND */
Figure 17. The Tape Volume Information Assembler Mapping Macro—CBRTVI (Part 5 of 5)
*--------------------------------------------------------------------*
* CONSTANTS TO DEFINE MEDIA TYPE *
*--------------------------------------------------------------------*
TDSNOMED EQU 0 MEDIA TYPE UNKNOWN OR UNSPECIFIED
TDSMED1 EQU 1 MEDIA1 - CARTRIDGE SYSTEM TAPE
TDSMED2 EQU 2 MEDIA2 - ENHANCED CAPACITY
* CARTRIDGE SYSTEM TAPE
TDSMED3 EQU 3 MEDIA3 - HIGH PERFORMANCE CARTRIDGE
* TAPE
TDSMED4 EQU 4 MEDIA4 - EXTENDED HIGH PERFORMANCE
* CARTRIDGE TAPE
TDSMED5 EQU 5 MEDIA5 - ENTERPRISE TAPE CARTRIDGE
TDSMED6 EQU 6 MEDIA6 - ENTERPRISE WORM TAPE
* CARTRIDGE
TDSMED7 EQU 7 MEDIA7 - ENTERPRISE ECONOMY TAPE
* CARTRIDGE
TDSMED8 EQU 8 MEDIA8 - ENTERPRISE ECONOMY WORM
* TAPE CARTRIDGE
TDSMED9 EQU 9 MEDIA9 - ENTERPRISE EXTENDED TAPE
* CARTRIDGE
TDSMED10 EQU 10 MEDIA10 - ENTERPRISE EXTENDED WORM
* TAPE CARTRIDGE
Figure 18. The Tape Device Selection Information Assembler Mapping—CBRTDSI (Part 1 of
2)
208 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
*--------------------------------------------------------------------*
* *
* CONSTANTS TO DEFINE COMPACTION TYPE *
* (THE MEANING OF THE COMPACTION FIELD HAS CHANGED *
* FROM TYPE OF COMPACTION TO COMPACTION YES/NO. *
* TDSIDRC AND TDSCOMPT CAN BE USED INTERCHANGEABLY.) *
*--------------------------------------------------------------------*
TDSCMPNS EQU 0 COMPACTION TYPE UNKNOWN OR NOT SET
TDSNOCMP EQU 1 NO COMPACTION
TDSIDRC EQU 2 COMPACTION
TDSCOMPT EQU 2 COMPACTION
*--------------------------------------------------------------------*
* CONSTANTS TO DEFINE SPECIAL ATTRIBUTE *
*--------------------------------------------------------------------*
TDSNOSPC EQU 0 VOLUME HAS NO SPECIAL ATTRIBUTE
TDSRDCOM EQU 1 VOLUME WILL BE MOUNTED FOR READ
* ONLY - ALL READ-COMPATIBLE
* DEVICES MAY BE SELECTED
*--------------------------------------------------------------------*
Figure 18. The Tape Device Selection Information Assembler Mapping—CBRTDSI (Part 2 of
2)
If your installation is not using DFSMSrmm and your tape management vendor
has not supplied an exit, OAM provides a sample change use attribute exit
(CBRSPUXC) in SAMPLIB that can be customized to fit your needs. The discussion
that follows will assist in determining whether the exit is needed on your system.
For more information on this SAMPLIB member, see “SAMPLIB Member
CBRSPUXC” on page 271.
If the caller of the CBRXLCS macro specified EXITINFO on the macro invocation,
the 16 bytes of free-form information provided on the invocation are passed to the
exit. If the CBRXLCS invocation is called during job processing for a scratch
volume, SMS TVRU S->P is passed to the exit. If EXITINFO is not specified on the
CBRXLCS invocation, the field in the exit parameter list contains binary zeros.
The following library-related information is passed to the exit but may not be
updated by the installation:
v Library name
v Library device type
If the volume is not library-resident, the exit parameter list indicates a library
name of SHELF and all the other library fields in the exit parameter list are blank.
Both the current use attribute as it is recorded in the tape volume record and the
new use attribute are passed to the exit as input variables.
On a change to SCRATCH, the fields that are passed to the exit represent the
values in the tape volume record as it currently exists in the TCDB before any
changes are made. If a volume is being changed from PRIVATE to SCRATCH, and
if the installation exit supplies new values for any of the following fields, they are
ignored. The following default scratch values are set before committing the
changes to the TCDB:
v Volume use attribute = S
v Storage group name = *SCRTCH*
v Write protection status = N
v Checkpoint volume indicator = N
v Volume expiration date = blank
v Tape device selection values:
– Recording technology is unchanged
– Media type is unchanged
– Compaction indicator is unchanged
– Special attribute is set to none
v If the library supports outboard policy management, default construct names
(blanks) are passed to the library.
On a change to PRIVATE, the fields that are passed to the exit represent the values
in the volume record as updated with the parameters specified on the CBRXLCS
macro invocation. The installation may override some of those parameters as
described in the table below. If the installation makes no changes, the values are
committed to the TCDB as presented in CBRUXCPL. If the exit changes some
fields, they are processed as described below.
If a field is described as ‘input only’ in the table below, it may not be updated by
the installation. If it is described as ‘output’, it may be updated by the installation.
If it is further described as ‘verified’, the contents or format of the field is validated
before updating the TCDB volume record with information from the installation.
| For a change to PRIVATE or SCRATCH for a physical WORM tape volume, the
| UXCVWORM indicator is set on. For a logical WORM tape volume, this indicator
| is not turned on. Since a logical WORM volume is not distinguishable by a unique
| media type, the UXCVWORM indicator is not turned on for a logical WORM
| volume. If this information is needed, the CBRUXCUA installation exit can invoke
| the CBRXLCS FUNC=QVR interface to obtain this information from the library.
If the installation exit returns with an invalid value in a parameter field, returns
with an invalid return code, or abnormally terminates, the current request fails. In
addition, change use attribute processing for subsequent PRIVATE to SCRATCH
requests is disabled and the change use attribute exit is not called again until
either OAM is stopped and started, or the LIBRARY RESET,CBRUXCUA operator
command is issued.
212 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Note: When an error occurs in the installation exit, PRIVATE to SCRATCH
requests are disabled in order to prevent the inadvertent assignment of a
private volume to scratch status. Processing continues for
SCRATCH-to-PRIVATE, SCRATCH-to-SCRATCH, and PRIVATE-to-PRIVATE
requests without invocation of the change use attribute installation exit.
Table 19 on page 214 lists the parameters that are passed to the exit. The fields may
or may not be updated by the installation, depending on the function being
performed (for example, changed to SCRATCH or PRIVATE).
If a field is described as verified, the following values are checked for validity upon
return from the exit:
Storage Group Name
When a volume is changed from scratch to private or private to private, the
storage group name that is supplied may be blanks. If a nonblank value is
supplied, the name must be defined in the active SMS configuration as a
tape storage group. In addition, if the volume is library-resident, the
library must be defined to that storage group.
Storage Class Name
When a volume is changed from scratch to private or private to private, the
storage class name that is supplied may be blank. If a nonblank value is
supplied, the name must only conform to Storage Management Subsystem
(SMS) naming conventions standards. See “Syntax Rules” on page 215 for
the syntax checking that is performed.
Data Class Name
When a volume is changed from scratch to private or private to private, the
data class name that is supplied may be blank. If a nonblank value is
supplied, the name must only conform to Storage Management Subsystem
(SMS) naming conventions standards. See “Syntax Rules” on page 215 for
the syntax checking that is performed.
214 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Management Class Name
When a volume is changed from scratch to private or private to private, the
management class name that is supplied may be blank. If a nonblank value
is supplied, the name must only conform to Storage Management
Subsystem (SMS) naming conventions standards. See “Syntax Rules” for
the syntax checking that is performed.
Syntax Rules: The values that you specify for the storage group, storage class, data
class, and management class construct (policy) names must meet the following
SMS naming convention standards:
v Alphanumeric and national characters only
v Name must begin with an alphabetic or national character ($*@#%)
v No leading or embedded blanks
v Eight characters or less
Write protection status
Y, N, or blank can be specified.
Checkpoint volume indicator
Y, N, or blank can be specified.
Last mounted date
The date specified must be in ISO format (YYYY-MM-DD) or blanks.
Last written date
The date specified must be in ISO format (YYYY-MM-DD) or blanks.
Volume expiration date
The date specified must be in ISO format (YYYY-MM-DD) or blanks.
The CUA GETPOLICY option requests that the volume’s policy names be retrieved
from the library and passed to the CBRUXCUA installation exit in the
UXCLMOPM fields of the CBRUXCPL parameter list. The UXCVLOPM indicator
indicates that UXCLMOPM fields contain the constructs that are retrieved from the
library. The exit can change the UXCLMOPM values for the storage class
(UXCLMSC), management class (UXCLMMC), and data class (UXCLMDC) fields.
These values then set the volume outboard policy names in the library in which
the volume resides. If you set the storage group policy value in the UXCGROUP
field, this value is updated in the TCDB and at the library.
If the GETPOLICY option is specified on the CUA invocation for a scratch volume,
it is ignored. The GETPOLICY option is only honored for PRIVATE-to-PRIVATE
CUA requests for a volume that resides in a library that supports outboard policy
management.
THE CBRUXCUA installation exit can invoke the QVR function to retrieve the
existing library policy names for a volume for comparison of existing policy names
to the requested policy names. For more information about the QVR function, see
“Query Volume Residence (QVR)” on page 148.
If CUA is invoked with a policy change request and the policy field value is all
blanks, the request is to set the policy name to the default policy. If a policy is not
being changed, the UXCPL policy field is initialized to binary zeros indicating the
current policy name, whether the default or a specific policy name is being
retained.
If you do not specify a policy keyword, the UXCLMOPM fields contain binary
zeros. The CBRUXCUA installation exit can assign construct values in the
input/output fields (UXCLMMC, UXCLMSC, and UXCLMDC). The storage group
name can only be specified in the UXCGROUP field.
If the volume resides in a library that does not support outboard policy
management, the storage group can be changed even if the UXCEXITI field
contains SMS TVRU S->P. In this case, the UXCLOPM and UXCJOBP indicators are
off.
216 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
UXCPL DSECT , CBRUXCUA PARAMETER LIST
SPACE 1
********************************************************************
* *
* CHANGE USE ATTRIBUTE INSTALLATION EXIT PARAMETERS *
* *
********************************************************************
UXCPARM DS 0D CBRUXCUA PARAMETER SECTION
UXCLIB DS CL8 LIBRARY NAME
* (INPUT VARIABLE)
UXCLDEV DS CL8 LIBRARY DEVICE TYPE
* (INPUT VARIABLE)
UXCLCON DS CL8 LIBRARY CONSOLE NAME
* (INPUT VARIABLE)
UXCLTYP DS CL1 LIBRARY LOGICAL TYPE
* 'R' FOR AUTOMATED LIBRARY
* 'M' FOR MANUAL LIBRARY
* (INPUT VARIABLE)
UXCSUPPT DS XL1 SUPPORTED FUNCTION
UXCLOPM EQU X'80' ON IF OUTBOARD POLICY MANAGEMENT
* SUPPORTED IN LIBRARY
* (INPUT VARIABLE)
UXCJOBP EQU X'40' ON IF CALLING EXIT FOR JOB
* PROCESSING AND POLICY NAME
* CHANGES IGNORED
* (INPUT VARIABLE)
DS CL6 RESERVED
UXCLDESC DS CL120 LIBRARY DESCRIPTION
* (INPUT VARIABLE)
DS CL8 RESERVED
UXCVOLSR DS CL6 VOLUME SERIAL NUMBER
* (INPUT VARIABLE)
UXCVINFO DS XL1 ADDITIONAL VOLUME INFORMATION
Figure 19. Change Use Attribute Installation Exit Parameter List—CBRUXCPL (Part 1 of 4)
Figure 19. Change Use Attribute Installation Exit Parameter List—CBRUXCPL (Part 2 of 4)
218 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
UXCNOCHG EQU 0 CHANGE THE VOLUME USE ATTRIBUTE AS
* REQUESTED USING PARAMETER VALUES
* PASSED IN ON INPUT
UXCCHG EQU 4 CHANGE THE USE ATTRIBUTE AS
* REQUESTED BUT NOTE THAT PARAMETER
* VALUES HAVE BEEN RETURNED BY EXIT
UXCFAIL EQU 8 DO NOT CHANGE THE VOLUME USE
* ATTRIBUTE
* EQU 12 RESERVED
UXCDONT EQU 16 DO NOT CALL THE VOLUME USE
* ATTRIBUTE INSTALLATION EXIT
* AGAIN, BUT CHANGE THE USE
* ATTRIBUTE AS REQUESTED USING
* PARAMETER VALUES PASSED IN
* ON INPUT
SPACE 1
***********************************************************************
* *
* LIBRARY LOGICAL TYPE CONSTANTS *
* *
***********************************************************************
UXCREAL EQU C'R' AUTOMATED LIBRARY
UXCMAN EQU C'M' MANUAL LIBRARY
SPACE 1
***********************************************************************
* *
* USE ATTRIBUTE CONSTANTS *
* *
***********************************************************************
UXCPRIV EQU C'P' PRIVATE USE ATTRIBUTE
UXCSCRT EQU C'S' SCRATCH USE ATTRIBUTE
SPACE 1
***********************************************************************
* *
* TAPE DEVICE SELECTION INFORMATION CONSTANTS *
* *
***********************************************************************
UXNOCAR EQU 0 ZERO IS AN ACCEPTABLE TDSI VALUE
***********************************************************************
* CONSTANTS TO DEFINE RECORDING TECHNOLOGY *
***********************************************************************
UXCNOREC EQU 0 RECORDING TECHNOLOGY UNKNOWN OR
* UNSPECIFIED
UXC18TRK EQU 1 READ/WRITE ON 18-TRACK DEVICE
UXC36TRK EQU 2 READ/WRITE ON 36-TRACK DEVICE
UXC128TRK EQU 3 READ/WRITE ON 128-TRACK DEVICE
UXC256TRK EQU 4 READ/WRITE ON 256-TRACK DEVICE
UXC384TRK EQU 5 READ/WRITE ON 384-TRACK DEVICE
UXCEFMT1 EQU 6 READ/WRITE ON ENTERPRISE FORMAT 1
* (EFMT1) DEVICE
UXCEFMT2 EQU 7 READ/WRITE ON ENTERPRISE FORMAT 2
* (EFMT2) DEVICE
UXCEEFMT2 EQU 8 READ/WRITE ON ENTERPRISE ENCRYPTED FORMAT 2
* (EEFMT2) DEVICE
UXCEFMT3 EQU 9 READ/WRITE ON ENTERPRISE
* FORMAT 3 (EFMT3) DEVICE
UXCEEFMT3 EQU 10 READ/WRITE ON ENTERPRISE
* ENCRYPTED FORMAT 3 (EEFMT3) DEVICE
Figure 19. Change Use Attribute Installation Exit Parameter List—CBRUXCPL (Part 3 of 4)
Figure 19. Change Use Attribute Installation Exit Parameter List—CBRUXCPL (Part 4 of 4)
Storage is obtained below the line, from subpool 230, user key, for the installation
exit parameter list.
220 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
0 Change the use attribute of the volume specified as requested. No changes
have been made to the parameter list (CBRUXCPL). Use what existed at
the time the installation exit was called.
4 Change the use attribute of the volume specified and note that one or
more fields in the parameter list (CBRUXCPL) have changed.
8 Do not change the use attribute of the volume specified.
Note: If the installation does not allow the use attribute of a volume to be
changed from SCRATCH to PRIVATE, the job may fail for the
volume required.
12 Reserved.
16 Do not call the change use attribute installation exit again. Change the use
attribute of the volume as requested using the existing volume record
information.
Note: If the installation has returned return code 16 indicating that the exit should
not be called again, the exit can be reactivated either by stopping and
restarting OAM or issuing the LIBRARY RESET,CBRUXCUA command. If
the exit abnormally terminates, passes back an invalid return code, or passes
back invalid data, PRIVATE to SCRATCH change use attribute processing is
discontinued until one of the above actions has been taken. This is intended
to protect user data from being inadvertently scratched.
Under some circumstances, CBRUXCUA may be invoked in a key other than the
job key. Therefore, all storage dynamically acquired by CBRUXCUA should be
obtained from subpool 227, 228, 229, 230, 231, or 241, in order to ensure that it is
accessible in the program status word (PSW) key.
If your installation is not using DFSMSrmm and your tape management vendor
has not supplied an exit, OAM provides a sample cartridge entry installation exit
(CBRSPUXE) in SAMPLIB that can be customized to fit your needs. The discussion
that follows will assist in determining whether the exit is needed on your system.
For more information on this SAMPLIB member, see “SAMPLIB Member
CBRSPUXE” on page 278.
Table 20 lists the volume-related parameters that are passed to the exit.
Table 20. Fields Passed to the Installation Exit—CBRUXENT
Parameter Parameter Description Input/Output
UXEVOLSR Volume serial number Input only
UXEVATTR Volume attribute Input only
UXEVINFO Additional volume information Input only
UXEUSEA Volume use attribute Output/Verified
UXEWPROT Write protection status Output/Verified
UXECHKPT Checkpoint volume indicator Output/Verified
UXETDSI Tape device selection information Output/Verified
UXELOC Volume location code Input only
UXEGROUP Storage group name Output/Verified
UXESHLOC Shelf location Output
UXEOWNER Volume owner information Output
UXECREAT Volume record creation date Input only
UXEENTEJ Last entry or eject date Input only
UXEMOUNT Last mounted date Output/Verified
UXEWRITE Last written date Output/Verified
UXEEXPIR Volume expiration date Output/Verified
UXEEXITI Installation exit information Input only
UXELMSG Library manager storage group Input only
UXELMSC Library manager storage class Output/Verified
UXELMMC Library manager management class Output/Verified
UXELMDC Library manager data class Output/Verified
222 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
The fields that are not marked as input only may be modified by the exit. If it is
described as output, it may be updated by the installation. If it is further described
as verified, the contents or format of the field is checked for validity before
updating the TCDB volume record with information from the installation and, if
applicable, updating the library with the changed outboard policy names. Date
fields are in ISO format (YYYY-MM-DD).
For a previously unknown volume (no volume record exists), the volume serial
number, the default volume use attribute, and the default tape device selection
information are passed to the exit. The default volume use attribute is set by the
storage administrator using the ISMF library define panel. The default tape device
selection information (TDSI) is derived from the default entry data class, which is
also set by the storage administrator using the ISMF library define panel. The
default TDSI information is set as follows:
1. The library vision system determines the media type when the cartridge is
entered. OAM uses this information to set the TDSI media type.
2. If a default entry data class is supplied in the library definition, the TDSI
recording technology is set from the data class.
3. For media type MEDIA1, OAM sets 36-track recording technology if the default
volume use attribute is PRIVATE and no recording technology is specified.
4. For media type MEDIA2, OAM always sets 36-track recording technology.
5. For media types MEDIA3 and MEDIA4, OAM sets 128-track recording
technology if the default volume use attribute is PRIVATE and no recording
technology is specified.
6. For MEDIA5, MEDIA6, MEDIA7, and MEDIA8, OAM sets EFMT1 recording
technology if the default volume use attribute is PRIVATE and no recording
technology is specified.
7. For MEDIA9 and MEDIA10, OAM always sets EFMT2 recording technology if
the default volume use attribute is PRIVATE and no recording technology is
specified.
The remaining volume-related values are set to blanks. A volume record creation
date of blanks indicates that the TCDB volume record does not exist.
For a known volume, whatever information existed in the volume record at the
time the cartridge was entered is passed to the exit.
The UXEVATTR field can be used to determine if the volume being entered is a
physical (non-VTS) volume, a logical volume, or a logical volume being imported.
If the shelf location field for a logical volume being imported indicates
STACKED=volser at the beginning of the field, this information is passed to the
entry exit and is cleared upon successful entry of the volume. This should be the
exported stacked volume that was recorded in the volume record in the TCDB
when the logical volume was exported.
If the cartridge entry processing in the manual tape library, was initiated with the
manual cartridge entry programming interface, the 16-byte pass through value
specified with the EXITINFO keyword on the CBRXLCS FUNC(MCE) macro
invocation in passed to the installation exit as an input-only value. Otherwise,
UXEEXITI contains binary zeros.
Since cartridge entry processing in a manual tape library can be initiated by the
MCE programming interface, or the LIBRARY ENTER command, the tape device
The following values are validity checked upon return from the exit:
v Volume use attribute
S(SCRATCH) or P(PRIVATE) can be specified.
v Storage group name
For a volume use attribute of SCRATCH, the storage group name that is
supplied by the exit is ignored. OAM sets the storage group name to
*SCRTCH*. If the library supports outboard policy management, the default
policy (blanks) is set at the library.
For a volume use attribute of PRIVATE, the storage group name may be set to
blanks. A nonblank storage group name is always validity checked, even if the
installation exit has not changed the value. The storage group name must be
defined in the active SMS configuration as a tape storage group, and the library
into which the volume is entered must be one of those in which the storage
group resides. If the storage group name does not pass validation, and it is not
provided by the installation exit, the cartridge is ejected, but cartridge entry
processing continues.
v Storage class name
For a volume use attribute of SCRATCH, the storage class name that is supplied
by the exit is ignored. If the library supports outboard policy management, the
default policy (blanks) is set at the library.
For a volume use attribute of PRIVATE, the storage class name that is supplied
may be blank. If a nonblank volume is supplied, the name must only conform to
SMS naming convention standards. See “Syntax Rules” on page 225 for the
syntax checking that is performed.
v Management class name
For a volume use attribute of SCRATCH, the management class name that is
supplied by the exit is ignored. If the library supports outboard policy
management, the default policy (blanks) is set at the library.
For a volume use attribute of PRIVATE, the management class name that is
supplied may be blank. If a nonblank volume is supplied, the name must only
conform to SMS naming convention standards. See “Syntax Rules” on page 225
for the syntax checking that is performed.
v Data class name
For a volume use attribute of SCRATCH, the data class name that is supplied by
the exit is ignored. If the library supports outboard policy management, the
default policy (blanks) is set at the library.
For a volume use attribute of PRIVATE, the data class name that is supplied
may be blank. If a nonblank volume is supplied, the name must only conform to
SMS naming convention standards. See “Syntax Rules” on page 225 for the
syntax checking that is performed.
v Write protection status
Y, N, or blank can be specified.
v Checkpoint volume indicator
224 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Y, N, or blank can be specified.
v Last mounted date
The date specified must be in ISO format (YYYY-MM-DD) or blanks.
v Last written date
The date specified must be in ISO format (YYYY-MM-DD) or blanks.
v Volume expiration date
The date specified must be in ISO format (YYYY-MM-DD) or blanks.
v Tape device selection information:
– Tape recording technology may be specified as unknown, 18-track, 36-track,
128-track, 256-track, 384-track, EFMT1, EFMT2, EEFMT2, EFMT3, or EEFMT3.
The recording technology must be applicable for the media type. If it is
returned as unknown and there is only one applicable recording technology
for the media type, the applicable recording technology is set by default. If
the volume is PRIVATE and the media type has more than one applicable
recording technology, it is invalid for the installation exit to return unknown
for the recording technology. The following are valid recording technology
and media type combinations:
- MEDIA1 and 18-track or 36-track (or unknown if volume is SCRATCH)
- MEDIA2 and 36-track or unknown
- MEDIA3, MEDIA4 and 128-track, 256-track, or 384-track (or unknown if
volume is SCRATCH)
- MEDIA5, MEDIA6, MEDIA7, MEDIA8 and EFMT1, EFMT2, EEFMT2,
EFMT3, or EEFMT3 (or unknown if volume is SCRATCH)
- MEDIA9, MEDIA10 and EFMT2, EEFMT2, EFMT3, or EEFMT3 (or
unknown if volume is SCRATCH)
– For automated cartridge entry, the media type returned by the hardware is
always used.
– Compaction may be specified as unknown, none, or compacted.
– Special attribute may be specified as none or read-compatible.
Syntax Rules: The values that you specify for the storage group, storage class, data
class, and management class construct (policy) names must meet the following
SMS naming convention standards:
v Alphanumeric and national characters only
v Name must begin with an alphabetic or national character ($*@#%)
v No leading or embedded blanks
v Eight characters or less
If the installation exit returns with an invalid value in a parameter field, returns
with an invalid return code, or abnormally terminates, cartridge entry processing is
discontinued until OAM has been stopped and restarted, or the LIBRARY
RESET,CBRUXENT command has been issued to reenable the cartridge entry
installation exit. This is intended to prevent the inadvertent assignment of a private
volume to scratch status. For an automated tape library dataserver, the volume
remains in the insert category.
If a volume has nondefault policy names assigned to it, as may be the case with an
imported logical volume, the library policy names are passed to the entry exit in
the UXELMOPM fields. The UXEVOPM indicator is set on to indicate that at least
one of these fields has a nondefault policy name. Otherwise, by default, blanks are
passed in these fields. See “Cartridge Entry Installation Exit Parameter List
(CBRUXEPL)” on page 228 for more information on these new fields in the
parameter list.
The following indicators are set if the import list explicitly sets a policy name:
UXEVSGSP The storage group name is explicitly set by the import list.
UXEVMCSP The management class name is explicitly set by the import list.
UXEVSCSP The storage class name is explicitly set by the import list.
UXEVDCSP The data class name is explicitly set by the import list.
If a volume being entered has a TCDB record, the UXEGROUP field will contain
the TCDB storage group, unless explicitly specified through the import list
(indicated by bit flag UXEVSGSP). If the UXEVSGSP indicator is set, and the use
attribute is PRIVATE, the UXEGROUP field contains the value specified in
UXELMSG. This ensures that any changes through the import list are reflected in
the TCDB record. UXELMSG will contain the storage group policy name that exists
in the library if a nondefault policy name exists or blanks, by default. For a private
volume, if the TCDB storage storage group is blanks and the library has a
nondefault policy name, the UXELMSG value is also assigned to UXEGROUP.
If a volume being entered does not have a TCDB record, and the library has a
nondefault policy name, the UXEGROUP field contains the value specified in
UXELMSG. This ensures if the entry exit makes no changes, or changes the use
attribute to PRIVATE, that the TCDB storage group field and the library manager
policy names are the same.
226 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Outboard Policy Management Processing When Returning
from the Entry Exit
If the use attribute is SCRATCH when returning from the exit and the library
supports outboard policy management, the construct names at the library are set to
the default policy names, which contain blanks.
If the use attribute is PRIVATE when returning from the exit and the library does
not support outboard policy management, the storage group policy name set by
the cartridge entry installation exit (CBRUXENT) is stored in the TCDB, but the
policy names for storage class, management class and data class in the new policy
fields are ignored.
For a private volume, if the library supports outboard policy management, the
cartridge entry installation exit (CBRUXENT) can assign or change policy names in
the new fields. To change the storage group, use UXEGROUP, as UXELMSG is an
input-only field.
To change the policy names or assign new names for storage class, management
class, or data class policies, the exit can update the respective fields: UXELMSC,
UXELMMC, UXELMDC. Upon return, these fields are checked for valid syntax
(starts with an alphabetic or a national character [$*@#%], contains no embedded
blanks, contains alphanumeric and national characters only); otherwise, the fields
must contain all blanks in order to set the default policy names. These constructs
are not validated to ensure that they are valid SMS constructs in the current SCDS
as is done for the storage group. If the construct names are syntactically correct,
the library is updated with these policy names. This approach provides greater
flexibility, especially on import.
Figure 20. The Cartridge Entry Installation Exit Parameter List—CBRUXEPL (Part 1 of 4)
228 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
UXECHKPT DS CL1 CHECKPOINT VOLUME INDICATOR
* 'Y' FOR CHECKPOINT VOLUME
* 'N' FOR NOT CHECKPOINT VOLUME
* (INPUT/OUTPUT VARIABLE)
UXELOC DS CL1 VOLUME LOCATION CODE
* 'L' FOR LIBRARY-RESIDENT
* 'S' FOR SHELF-RESIDENT
* (INPUT VARIABLE)
UXETDSI DS 0F TAPE DEVICE SELECTION INFORMATION
UXEREC DS XL1 TAPE RECORDING TECHNOLOGY
* (INPUT/OUTPUT VARIABLE)
UXEMEDIA DS XL1 MEDIA TYPE
* (INPUT/OUTPUT VARIABLE FOR MTL)
* (INPUT VARIABLE FOR ATLDS)
UXECOMP DS XL1 COMPACTION
* (INPUT/OUTPUT VARIABLE)
UXESPEC DS XL1 SPECIAL ATTRIBUTE
* (INPUT/OUTPUT VARIABLE)
UXEGROUP DS CL8 STORAGE GROUP NAME
* (INPUT/OUTPUT VARIABLE)
UXESHLOC DS CL32 SHELF LOCATION
* (INPUT/OUTPUT VARIABLE)
UXEOWNER DS CL64 VOLUME OWNER INFORMATION
* (INPUT/OUTPUT VARIABLE)
DS CL8 RESERVED
UXECREAT DS CL10 VOLUME RECORD CREATION DATE
* (INPUT VARIABLE)
UXEENTEJ DS CL10 LAST ENTRY OR EJECTION DATE
* (INPUT VARIABLE)
UXEMOUNT DS CL10 LAST MOUNTED DATE
* (INPUT/OUTPUT VARIABLE)
UXEWRITE DS CL10 LAST WRITTEN DATE
* (INPUT/OUTPUT VARIABLE)
UXEEXPIR DS CL10 VOLUME EXPIRATION DATE
* (INPUT/OUTPUT VARIABLE)
DS CL10 RESERVED
DS CL4 RESERVED
UXEEXITI DS CL16 INSTALLATION EXIT INFORMATION
* (INPUT VARIABLE)
UXELMOPM DS 0CL32 OUTBOARD POLICY MANAGEMENT
UXELMSG DS CL8 LIBRARY MANAGER STORAGE GROUP
* TO CHANGE VALUE, USE UXEGROUP
* (INPUT ONLY)
UXELMSC DS CL8 LIBRARY MANAGER STORAGE CLASS
* (INPUT/OUTPUT VARIABLE)
UXELMMC DS CL8 LIBRARY MANAGER MANAGEMENT CLASS
* (INPUT/OUTPUT VARIABLE)
UXELMDC DS CL8 LIBRARY MANAGER DATA CLASS
* (INPUT/OUTPUT VARIABLE)
DS 0D END OF UXEPL
UXEPLLEN EQU *-UXEPL
SPACE 1
*********************************************************************
*
* RETURN CODES
*
*********************************************************************
UXENOCHG EQU 0 PERFORM ENTER AS REQUESTED
* USING PARAMETER VALUES PASSED
* IN ON INPUT
UXECHG EQU 4 PERFORM ENTER REQUEST BUT NOTE
* THAT PARAMETER VALUES HAVE
* CHANGED ON EXIT
Figure 20. The Cartridge Entry Installation Exit Parameter List—CBRUXEPL (Part 2 of 4)
Figure 20. The Cartridge Entry Installation Exit Parameter List—CBRUXEPL (Part 3 of 4)
230 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
*********************************************************************
* CONSTANTS TO DEFINE MEDIA TYPE
*********************************************************************
UXENOMED EQU 0 MEDIA TYPE UNKNOWN OR UNSPECIFIED
UXEMED1 EQU 1 MEDIA1 - CARTRIDGE SYSTEM TAPE
UXEMED2 EQU 2 MEDIA2 - ENHANCED CAPACITY CARTRIDGE
* SYSTEM TAPE
UXEMED3 EQU 3 MEDIA3 - HIGH PERFORMANCE CARTRIDGE
* TAPE
UXEMED4 EQU 4 MEDIA4 - EXTENDED HIGH PERFORMANCE
* CARTRIDGE TAPE
UXEMED5 EQU 5 MEDIA5 - ENTERPRISE TAPE CARTRIDGE
UXEMED6 EQU 6 MEDIA6 - ENTERPRISE WORM TAPE CARTRIDGE
UXEMED7 EQU 7 MEDIA7 - ENTERPRISE ECONOMY TAPE CARTRIDGE
UXEMED8 EQU 8 MEDIA8 - ENTERPRISE ECONOMY WORM TAPE
* CARTRIDGE
UXEMED9 EQU 9 MEDIA9 - ENTERPRISE EXTENDED TAPE
* CARTRIDGE
UXEMED10 EQU 10 MEDIA10 - ENTERPRISE EXTENDED WORM TAPE
* CARTRIDGE
*********************************************************************
* CONSTANTS TO DEFINE COMPACTION
* (THE MEANING OF THE COMPACTION FIELD HAS CHANGED FROM TYPE OF
* COMPACTION TO COMPACTION YES/NO - UXEIDRC AND UXECOMPT CAN BE
* USED INTERCHANGEABLY)
*********************************************************************
UXECMPNS EQU 0 COMPACTION UNKNOWN OR NOT SET
UXENOCMP EQU 1 NO COMPACTION
UXEIDRC EQU 2 COMPACTION
UXECOMPT EQU 2 COMPACTION
*********************************************************************
* CONSTANTS TO DEFINE SPECIAL ATTRIBUTE
*********************************************************************
UXENOSPC EQU 0 VOLUME HAS NO SPECIAL ATTRIBUTE
UXERDCOM EQU 1 VOLUME WILL BE MOUNTED FOR READ ONLY -
* ALL READ-COMPATIBLE DEVICES MAY BE
* SELECTED
SPACE 1
*********************************************************************
*
* MISCELLANEOUS CONSTANTS
*
*********************************************************************
UXEPLSP EQU 0 UXEPL SUBPOOL NUMBER
UXEYES EQU C'Y' YES
UXENO EQU C'N' NO
UXEBLANK EQU C' ' BLANK
Figure 20. The Cartridge Entry Installation Exit Parameter List—CBRUXEPL (Part 4 of 4)
OAM obtains storage below the line, from subpool 0, key 5, or subpool 0, user key,
for the installation exit parameter list.
Note: Once OAM is told not to invoke the installation exit again (return code 16)
or cartridge entry processing is discontinued, the only way to reactivate the
exit is to stop and restart OAM, or to issue the LIBRARY RESET,CBRUXENT
command.
If your installation is not using DFSMSrmm and your tape management vendor
has not supplied an exit, OAM provides a sample cartridge eject installation exit
232 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
(CBRSPUXJ) in SAMPLIB that can be customized to fit your needs. The discussion
that follows will assist in determining whether the exit is needed on your system.
For more information on this SAMPLIB member, see “SAMPLIB Member
CBRSPUXJ” on page 286.
The exit is also informed of the disposition of the volume record (KEEP or
PURGE), and of the volume eject status.
Table 21 lists the volume-related parameters that are passed to the exit.
Table 21. Fields Passed to the Installation Exit—CBRUXEJC
Parameter Parameter Description Input/Output
UXJVDISP Volume record disposition Output/Verified
UXJNCALL Notification call indicator Input only
UXJSTKVS Stacked “container” volume Input only/with export
call
UXJVOLSR Volume serial number Input only
UXJFLAGS/UXJCBACK Failed eject notification call indicator Output
UXJUSEA Volume use attribute Output/Verified
UXJWPROT Write protection status Output/Verified
UXJCHKPT Checkpoint volume indicator Output/Verified
UXJLOC Volume location code Input only
UXJTDSI Tape device selection information Input only
UXJGROUP Storage group name Output/Verified
UXJSHLOC Shelf location Output
UXJOWNER Volume owner information Output
UXJCREAT Volume record creation date Input only
UXJENTEJ Last entry or eject date Input only
UXJMOUNT Last mounted date Output/Verified
UXJWRITE Last written date Output/Verified
UXJEXPIR Volume expiration date Output/Verified
The fields that are not marked as input only may be modified by the exit. If it is
described as output, it may be updated by the installation exit. If it is further
described as verified, the contents or format of the field is validity checked before
updating the TCDB volume record with information from the installation exit. Date
fields are in ISO format (YYYY-MM-DD).
If a volume record disposition of purge (P) is returned by the installation exit, the
only value retained from the parameter list is the shelf location. This enables the
proper shelf location to be displayed upon eject completion.
If a volume record disposition of keep (K) is returned by the installation exit, the
following values are checked for validity:
v Volume use attribute
S (SCRATCH) or P (PRIVATE) can be specified.
v Storage group name
For a volume use attribute of SCRATCH, OAM sets the storage group name to
*SCRTCH*. Any name supplied by the exit is ignored. For a volume use
attribute of PRIVATE, the storage group name may be set to blanks. If a
nonblank value is provided, the storage group must be part of the active
configuration, and it must be a tape storage group.
v Write protection status
Y, N, or blank can be specified.
v Checkpoint volume indicator
Y, N, or blank can be specified.
v Last mounted date
The date specified must be in ISO format (YYYY-MM-DD) or blanks.
v Last written date
The date specified must be in ISO format (YYYY-MM-DD) or blanks.
v Volume expiration date
The date specified must be in ISO format (YYYY-MM-DD) or blanks.
If the installation exit returns with an invalid value in a volume record field,
returns with an invalid return code, or abnormally terminates, cartridge eject
processing is discontinued until OAM has been stopped and restarted, or the
LIBRARY RESET,CBRUXEJC command has been issued to re-enable the cartridge
eject installation exit.
Note: Failed eject notification support is not performed for manual tape library
volumes.
234 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Export Completion Processing
Unlike a physical volume, to remove a logical volume with data from a VTS, it
cannot be ejected from the library.
To remove a logical volume with data from a library, the volume must be
physically exported from the library. For more information on the export process,
see “Exporting Logical Volumes from a 3494 VTS System” on page 37.
When a logical volume is successfully exported from the library, the cartridge eject
installation exit is notified and a notification call indicator (UXJEXPRT) is set in
field UXJNCALL. The volume serial number of the stacked container volume on
which the logical volume resides can be found in the stacked volume container
field, UXJSTKVS. The installation or its tape management system then stores the
container information for later use when the logical volume is imported back into
a library. If the TCDB is shared across multiple systems but each system has its
own tape management system database, the exit can return with RC=12 (IGNORE)
if the exported volume is not known to this tape management system. This leaves
the volume in the exported category to be processed by a system that “owns” that
volume. If appropriate for the installation, the 32-character free form shelf location
field in the TCDB volume record (located in the UXJSHLOC field of the cartridge
eject installation exit parameter list) can also be used to store the container volume
serial number. This would require that the volume record be kept after a logical
volume is exported from the library.
If the volume record disposition returned from the exit indicates that the volume
record should be kept and the shelf location returned from the exit is blank, LCS
automatically stores the container volume serial number in the shelf location field
of the volume record as STACKED=volser. This information can later be used in the
volume-not-in-library installation exit (CBRUXVNL) to assist the installation and
operator in importing a logical volume. LCS also stores this information if the exit
is not to be invoked, the volume record disposition is KEEP, and the shelf location
is blank.
This call to the installation exit is a notification call only because the export
operation for the logical volume is near completion. This means that the logical
volume has already been written to a stacked volume, which will soon be ready
for removal. All cartridge eject parameter list fields that can be updated today
when a physical volume is ejected from a library can be updated when a logical
volume is exported from a library and are subject to the same validity checks. If
the export then fails during completion processing, the library recovers by putting
the exported volume back into the insert category. There is no failed eject
notification call.
Figure 21. The Cartridge Eject Installation Exit Parameter List—CBRUXJPL (Part 1 of 4)
236 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
UXJWPROT DS CL1 WRITE PROTECTION STATUS
* 'Y' FOR WRITE-PROTECTED
* 'N' FOR NOT WRITE-PROTECTED
* (INPUT/OUTPUT VARIABLE)
UXJCHKPT DS CL1 CHECKPOINT VOLUME INDICATOR
* 'Y' FOR CHECKPOINT VOLUME
* 'N' FOR NOT CHECKPOINT VOLUME
* (INPUT/OUTPUT VARIABLE)
UXJLOC DS CL1 VOLUME LOCATION CODE
* 'L' FOR LIBRARY-RESIDENT
* 'S' FOR SHELF-RESIDENT
* (INPUT VARIABLE)
UXJTDSI DS 0F TAPE DEVICE SELECTION INFO
UXJREC DS XL1 TAPE RECORDING TECHNOLOGY
* (INPUT VARIABLE)
UXJMEDIA DS XL1 MEDIA TYPE
* (INPUT VARIABLE)
UXJCOMP DS XL1 COMPACTION TYPE
* (INPUT VARIABLE)
UXJSPEC DS XL1 SPECIAL ATTRIBUTE
* (INPUT VARIABLE)
UXJGROUP DS CL8 STORAGE GROUP NAME
* (INPUT/OUTPUT VARIABLE)
UXJSHLOC DS CL32 SHELF LOCATION
* (INPUT/OUTPUT VARIABLE)
UXJOWNER DS CL64 VOLUME OWNER INFORMATION
* (INPUT/OUTPUT VARIABLE)
DS CL8 RESERVED
UXJCREAT DS CL10 VOLUME RECORD CREATION DATE
* (INPUT VARIABLE)
UXJENTEJ DS CL10 LAST ENTRY OR EJECTION DATE
* (INPUT VARIABLE)
UXJMOUNT DS CL10 LAST MOUNTED DATE
* (INPUT/OUTPUT VARIABLE)
UXJWRITE DS CL10 LAST WRITTEN DATE
* (INPUT/OUTPUT VARIABLE)
UXJEXPIR DS CL10 VOLUME EXPIRATION DATE
* (INPUT/OUTPUT VARIABLE)
DS CL10 RESERVED
DS CL4 RESERVED
UXJEXITI DS CL16 INSTALLATION EXIT INFORMATION
* (INPUT VARIABLE)
DS 0D END OF UXJPL
UXJPLLEN EQU *-UXJPL
SPACE 1
***********************************************************************
* *
* RETURN CODES *
* *
***********************************************************************
UXJNOCHG EQU 0 PERFORM EJECT/EXPORT AS NOTIFIED
* USING PARAMETER VALUES
* PASSED IN ON INPUT
UXJCHG EQU 4 PERFORM EJECT/EXPORT AS NOTIFIED
* BUT NOTE THAT PARAMETER VALUES
* HAVE CHANGED ON EXIT
Figure 21. The Cartridge Eject Installation Exit Parameter List—CBRUXJPL (Part 2 of 4)
Figure 21. The Cartridge Eject Installation Exit Parameter List—CBRUXJPL (Part 3 of 4)
238 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
UXJ128TRK EQU 3 READ/WRITE ON A 128 TRACK
* DEVICE
UXJ256TRK EQU 4 READ/WRITE ON A 256 TRACK
* DEVICE
UXJ384TRK EQU 5 READ/WRITE ON A 384 TRACK
* DEVICE
UXJEFMT1 EQU 6 READ/WRITE ON ENTERPRISE FORMAT 1
* (EFMT1) DEVICE
UXJEFMT2 EQU 7 READ/WRITE ON ENTERPRISE FORMAT 2
* (EFMT2) DEVICE
UXJEEFMT2 EQU 8 READ/WRITE ON ENTERPRISE ENCRYPTED FORMAT 2
* (EEFMT2) DEVICE
UXJEFMT3 EQU 9 READ/WRITE ON ENTERPRISE
* FORMAT 3 (EFMT3) DEVICE
UXJEEFMT3 EQU 10 READ/WRITE ON ENTERPRISE
* ENCRYPTED FORMAT 3 (EEFMT3) DEVICE
***********************************************************************
* CONSTANTS TO DEFINE MEDIA TYPE *
***********************************************************************
UXJNOMED EQU 0 MEDIA TYPE UNKNOWN OR
* UNSPECIFIED
UXJMED1 EQU 1 MEDIA1 - CARTRIDGE SYSTEM TAPE
UXJMED2 EQU 2 MEDIA2 - ENHANCED CAPACITY
* CARTRIDGE SYSTEM TAPE
UXJMED3 EQU 3 MEDIA3 - HIGH PERFORMANCE
* CARTRIDGE TAPE
UXJMED4 EQU 4 MEDIA4 - EXTENDED HIGH PERFORMANCE
* CARTRIDGE TAPE
UXJMED5 EQU 5 MEDIA5 - ENTERPRISE TAPE CARTRIDGE
UXJMED6 EQU 6 MEDIA6 - ENTERPRISE WORM TAPE CARTRIDGE
UXJMED7 EQU 7 MEDIA7 - ENTERPRISE ECONOMY TAPE CARTRIDGE
UXJMED8 EQU 8 MEDIA8 - ENTERPRISE ECONOMY WORM TAPE
* CARTRIDGE
UXJMED9 EQU 9 MEDIA9 - ENTERPRISE EXTENDED TAPE
* CARTRIDGE
UXJMED10 EQU 10 MEDIA10 - ENTERPRISE EXTENDED WORM TAPE
* CARTRIDGE
***********************************************************************
* CONSTANTS TO DEFINE COMPACTION (THE MEANING OF THE *
* COMPACTION FIELD HAS CHANGED FROM TYPE OF COMPACTION *
* TO COMPACTION YES/NO - UXJIDRC AND UXJCOMPT *
* CAN BE USED INTERCHANGEABLY) *
***********************************************************************
UXJCMPNS EQU 0 COMPACTION UNKNOWN OR NOT SET
UXJNOCMP EQU 1 NO COMPACTION
UXJCOMPT EQU 2 COMPACTION
UXJIDRC EQU 2 COMPACTION
***********************************************************************
* CONSTANTS TO DEFINE SPECIAL ATTRIBUTE *
***********************************************************************
UXJNOSPC EQU 0 VOLUME HAS NO SPECIAL
* ATTRIBUTE
UXJRDCOM EQU 1 VOLUME WILL BE MOUNTED FOR READ
* ONLY - ALL READ-COMPATIBLE
* DEVICES MAY BE SELECTED
SPACE 1
***********************************************************************
* *
* MISCELLANEOUS CONSTANTS *
* *
***********************************************************************
UXJPLSP EQU 0 UXJPL SUBPOOL NUMBER
UXJYES EQU C'Y' YES
UXJNO EQU C'N' NO
UXJBLANK EQU C' ' BLANK
SPACE 2
MEND ,
Chapter 7. Installation Exits 239
Figure 21. The Cartridge Eject Installation Exit Parameter List—CBRUXJPL (Part 4 of 4)
OAM obtains storage below the line, from subpool 0, key 5, for the installation exit
parameter list.
Note: If an invalid return code is passed back, OAM discontinues cartridge eject
processing.
Note: Once OAM is told not to invoke the installation exit again (return code 16)
or cartridge ejection processing is discontinued, the only way to reactivate
the exit is to stop and restart OAM, or issue the LIBRARY
RESET,CBRUXEJC command.
240 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
The volume not in library installation exit is supplied by DFSMSrmm. If your
installation is not using DFSMSrmm, the supplied exit returns a return code of 16,
indicating that the installation exit not be invoked again. For more information, see
z/OS DFSMSrmm Managing and Using Removable Media, z/OS DFSMSrmm
Implementation and Customization Guide, and z/OS DFSMSrmm Diagnosis Guide.
If your installation is not using DFSMSrmm and your tape management vendor
has not supplied an exit, OAM provides a sample volume not in library
installation exit (CBRSPUXV) in SAMPLIB that can be customized to fit your
needs. The discussion that follows will assist in determining whether the exit is
needed on your system. For more information on this SAMPLIB member, see
“SAMPLIB Member CBRSPUXV” on page 293.
Note: For an MTL, the LIBRARY ENTER command can be used to allow an
operator to enter the desired volume into the MTL.
Note: In a multivolume data set request, during job step setup and device
allocation processing, the exit is only invoked when the first volume of
the data set does not reside in a tape library. However, later during
library mount processing, the exit is invoked each time a multivolume
data set volume is needed but does not reside in the tape library. The exit
can wait until library mount processing to get the additional volumes
entered on an “as needed” basis, or if it is known that specific
applications always use the entire multivolume data set, the exit, during
job step setup, can instruct the operator to enter all volumes of the
multivolume data set. The choice is determined by the exit. However,
keep in mind that the exit is only passed one volume serial number at a
time, and is not passed all the volumes in the multivolume data set, nor is
it passed any data set information.
v If none of the tape volumes reside in a tape library, or the tape volumes were
previously resident in a tape library but are currently shelf-resident, they are
considered non-SMS managed tape volumes and are allocated to a tape drive of
the appropriate device type outside a tape library. The exit can be used to enter
the tape volumes into a tape library.
For example, if the only 3490E tape drives that an installation has are inside a
tape library, then whenever a shelf-resident enhanced capacity cartridge system
tape is requested, it must be entered into a tape library containing a 3490E tape
drive. The exit can be used to direct the enhanced capacity cartridge system tape
into a library that is capable of handling the request.
Note: Before invoking the exit during job step setup, OAM does not know if
there are any stand-alone drives capable of handling the volume. The exit
is invoked to report that the tape volume is not in a tape library, and it
Note: The input to the exit at device allocation does not identify the library to
which the tape volume must return, because the information was erased
when the volume was ejected from the library. Therefore, the exit must
rely upon other sources to determine which library should receive the
missing volume.
v If tape volumes are not library-resident in a tape library and are physically
located in a remote area, requests for these volumes are allocated to stand-alone
tape drives and are delayed until the volumes are retrieved and mounted on the
stand-alone tape drives. While jobs are waiting for these tape volumes to be
mounted, the system resources allocated to these tape volumes are unavailable
for use by other jobs. CBRUXVNL can identify this condition and interact with
the installation’s tape management system to determine the best course of action
to alleviate this waste of time and resource.
v Since the ATLDS has a finite tape cartridge capacity, infrequently used tape
volumes may be ejected until their next scheduled use. These tape cartridges
should be reentered in advance of reuse to avoid job processing delays, but since
this is not always possible, this exit can be used to identify and correct this
condition, preventing job failures.
Note: With JES3, the job step notification occurs before the job being scheduled
for execution. Therefore, missing tapes can be located and entered into the
tape library well in advance of usage.
242 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
v OAM must have been started since the most recent IPL on the system running
the requested job.
When entering a volume into a tape library under the direction of CBRUXVNL,
you must set the volume use attribute to PRIVATE; otherwise, the request fails.
This is because only specific volume requests are handled by the exit and a specific
volume request for a scratch tape is not permitted. Volume use attributes are set by
default from the ISMF Library Definition or by the cartridge entry installation exit.
Perform the following steps when you enter a volume into a tape library:
v Locate the requested volume using the tape management system inventory.
v Enter the volume into a tape library (or if indicated, the specific tape library).
For a logical volume, enter the required exported stacked volume and initiate a
single volume import at the library manager console.
v Reply to the outstanding WTOR at the MVS console.
Note: If the exit is waiting for an extended period for human intervention to finish
processing, this causes delays for other jobs that may be processing at the
same time or that may need the same resources as the job for which the exit
is active. If the volume is not entered into the library within 15 minutes,
CBR3646D is issued indicating that the operator should retry or cancel the
job request.
Note: If the operator enters the volume into the wrong library, or OAM is not
aware of the entry of the volume within 15 minutes, OAM issues the
CBR3646D message. This allows the operator the opportunity to correct the
situation and retry or cancel the operation.
The best way to avoid these errors is to not eject the volumes in the first place. If
this is not practical, then the tape volume record should be kept by using the
KEEP option of the LIBRARY EJECT operator command or through the ISMF
Mountable Tape Volume line operator when the volume is ejected. This preserves
the information about the tape volume so that the Cartridge Entry Installation Exit
does not have to rebuild the tape volume record.
Note: Refer to APAR OA11079, available at z/OS V1R4 and above, for changes to
the processing related to offline DASD volumes. With this APAR installed,
or starting with z/OS V1R8, during DISP=OLD processing, the CBRUXVNL
exit is no longer called for offline DASD volumes.
Table 22 lists the contents of the exit input when a volume record does not exist in
the TCDB.
Table 22. CBRUXVNL Input During Job Step Setup—No TCDB Volume Record
Variable Meaning
UXNVOLSR Volume serial number
UXNWHERE 1 indicates job step setup processing
UXNERROR 1 indicates no TCDB record
Table 23 lists the contents of the exit input when a shelf-resident tape volume
record exists in the TCDB.
Table 23. CBRUXVNL Input During Job Step Setup—Existing TCDB Volume Record
Parameter Meaning
UXNVOLSR Volume serial number
UXNWHERE 1 indicates job step setup processing
UXNERROR 2 indicates volume is shelf-resident
UXNGROUP Storage group name
UXNUSEA Volume use attribute
UXNWPROT Write protection status
UXNCHKPT Checkpoint volume indicator
UXNLOC Volume location code
UXNSHLOC Shelf location
UXNOWNER Volume owner information
UXNCREAT Volume record creation date
UXNENTEJ Last entry or ejection date
UXNMOUNT Last mounted date
UXNWRITE Last written date
244 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Table 23. CBRUXVNL Input During Job Step Setup—Existing TCDB Volume
Record (continued)
Parameter Meaning
UXNEXPIR Volume expiration date
UXNTDSI Tape device selection information
Table 24 lists the job information fields and possible content when invoked for job
step setup. Job information is only passed to the exit during the job step setup
CBRUXVNL invocation as this is the critical time for the exit to determine if the
volume should be entered into a library. At device allocation and library mount
processing, it has already been determined that the volume should reside in a tape
library; therefore, job information is not passed to the CBRUXVNL installation exit
for these invocations.
Table 24. CBRUXVNL Input During Job Step Setup—Job Information Fields
Parameter Meaning
UXNJINFO If on, indicates job information is provided on the job
step setup invocation. Indicator is off for device
allocation and library mount processing. If off, job
information fields contain zeros.
UXNJOBNM Job Name - contains zeros if not available
UXNSTPNM Step Name - contains zeros if not available
UXNPRGNM Program Name - contains zeros if not available
UXNDDNM DD Name - contains zeros if not available. May
contain blanks if not the first data set in a
concatenated data set DD statement
UXNDSN Data Set Name - contains zeros if not available
UXNUNIT Unit Name - contains zeros if not available
UXNDISP Disposition fields (UXNDISP1, UXNDISP2,
UXNDISP3) - contain standard JCL disposition
parameters (status, normal, abnormal). May contain
zeros if not available or, in some cases, may contain
default disposition settings
UXNCATLG and UXNDEVTP If the UXNCATLG is on, UXNDEVTP contains the
4-byte device type from the catalog. For old
allocations, if a volser was not specified and the
dataset is cataloged, then the UXNCATLG indicator is
set on and the UXNDEVTP field contains the 4-byte
device type from the catalog. Otherwise, the
UXNCATLG indicator is off and the UXNDEVTP
field contains zeros. When unit information is
available (UNIT=), the UXNUNIT field contains the
passed value; otherwise, the UXNUNIT field contains
zeros.
Device Allocation
If a tape volume is inadvertently ejected from a tape library between job step setup
processing and device allocation, the exit is invoked during device allocation to let
the installation reenter the volume. This invocation occurs for the first or only
volume of the request when there is no TCDB record or the volume is
Note: Although there are circumstances in which the job may run successfully if
the volume is entered into any tape library, it is recommended that the
volume be entered into the library in which it was resident during job step
setup.
Table 25 lists the contents of the exit input when a volume record does not exist in
the TCDB.
Table 25. CBRUXVNL Input During Device Allocation—No TCDB Volume Record
Parameter Meaning
UXNVOLSR Volume serial number
UXNWHERE 2 indicates device allocation processing
UXNERROR 1 indicates no TCDB record
Table 26 lists the contents of the exit input when a shelf-resident tape volume
record exists in the TCDB.
Table 26. CBRUXVNL Input During Device Allocation—Existing TCDB Volume Record
Parameter Meaning
UXNVOLSR Volume serial number
UXNWHERE 2 indicates device allocation processing
UXNERROR 2 indicates volume is shelf-resident
UXNGROUP Storage group name
UXNUSEA Volume use attribute
UXNWPROT Write protection status
UXNCHKPT Checkpoint volume indicator
UXNLOC Volume location code
UXNSHLOC Shelf location
UXNOWNER Volume owner information
UXNCREAT Volume record creation date
UXNENTEJ Last entry or ejection date
UXNMOUNT Last mounted date
UXNWRITE Last written date
UXNEXPIR Volume expiration date
UXNTDSI Tape device selection information
246 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Table 27 lists the contents of the exit input when the volume record does not exist
in the TCDB.
Table 27. CBRUXVNL Input Library Mount Processing—No TCDB Volume Record
Parameter Meaning
UXNVOLSR Volume serial number
UXNWHERE 3 indicates library mount processing
UXNERROR 1 indicates no volume record in the TCDB
UXNLIB Library name to which the volume must be
re-entered (target)
UXNLDEV Library device type of the target library
UXNLCON Library console name of the target library
UXNLTYP Library logical type of the target library
UXNLDESC Library description of the target library
Table 28 lists the contents of the exit input when the volume record still exists in
the TCDB.
Table 28. CBRUXVNL Input Library Mount Processing—Existing TCDB Volume Record
Parameter Meaning
UXNVOLSR Volume serial number
UXNWHERE 3 indicates library mount processing
UXNERROR 4 indicates volume is being ejected
3 indicates volume is in a different library
2 indicates volume is shelf-resident
UXNLIB Library in which the volume must be re-entered (target)
UXNLDEV Library device type of the target library
UXNLCON Library console name of the target library
UXNLTYP Library logical type of the target library
UXNLDESC Library description of the target library
UXNLIBRS Library in which the volume currently resides (might not be
the same library as the target resident library)
UXNGROUP Storage group name
UXNUSEA Volume use attribute
UXNWPROT Write protection status
UXNCHKPT Checkpoint volume indicator
UXNLOC Volume location code
UXNSHLOC Shelf location
UXNOWNER Volume owner information
UXNCREAT Volume record creation date
UXNENTEJ Last entry or ejection date
UXNMOUNT Last mounted date
UXNWRITE Last written date
UXNEXPIR Volume expiration date
UXNTDSI Tape device selection information
The installation exit, CBRUXVNL, cannot update the tape volume record. All fields
in the volume not in library installation exit parameter list (CBRUXNPL) are input
only. Figure 22 provides the format of CBRUXNPL.
Figure 22. Volume Not in Library Installation Exit Parameter List—CBRUXNPL (Part 1 of 5)
248 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
UXNTDSI DS 0F TAPE DEVICE SELECTION INFORMATION
UXNREC DS XL1 TAPE RECORDING TECHNOLOGY OR ZERO
UXNMEDIA DS XL1 MEDIA TYPE OR ZERO
UXNCOMP DS XL1 COMPACTION OR ZERO
UXNSPEC DS XL1 SPECIAL ATTRIBUTE OR ZERO
UXNGROUP DS CL8 STORAGE GROUP NAME OR BLANKS
UXNSHLOC DS CL32 SHELF LOCATION OR BLANKS
UXNOWNER DS CL64 VOLUME OWNER INFORMATION OR BLANKS
DS CL8 RESERVED
UXNCREAT DS CL10 VOLUME RECORD CREATION DATE YYYY-MM-DD
* OR BLANKS
UXNENTEJ DS CL10 LAST ENTRY OR EJECTION DATE YYYY-MM-DD
* OR BLANKS
UXNMOUNT DS CL10 LAST MOUNTED DATE YYYY-MM-DD
* OR BLANKS
UXNWRITE DS CL10 LAST WRITTEN DATE YYYY-MM-DD
* OR BLANKS
UXNEXPIR DS CL10 VOLUME EXPIRATION DATE YYYY-MM-DD
* OR BLANKS
DS CL10 RESERVED
DS CL4 RESERVED
**********************************************************************
* *
* JOB INFORMATION AVAILABLE WHEN INVOKED FOR *
* JOB STEP SETUP PROCESSING (UXNWHERE=UXNSETUP) *
* *
**********************************************************************
* *
* JOB INFORMATION FIELDS ARE INPUT ONLY FIELDS *
* *
**********************************************************************
UXNJOB DS 0CL120 JOB INFORMATION
UXNJOBNM DS CL8 JOB NAME
UXNSTPNM DS CL8 STEP NAME
UXNPRGNM DS CL8 PROGRAM NAME
UXNDDNM DS CL8 DD NAME
UXNDSN DS CL44 DATASET NAME
UXNUNIT DS CL8 UNIT NAME
**********************************************************************
* UXNDISP FIELDS CONTAIN STANDARD JCL DISPOSITION PARAMETERS *
* (DISPOSITION SUBPARAMETERS WILL REFLECT THE JOB *
* SPECIFICATIONS, ZEROES, IF NOT SPECIFIED, OR IN SOME CASES, *
* DEFAULT SETTINGS RATHER THAN ZEROES) *
**********************************************************************
UXNDISP DS 0CL17 DISPOSITION (DISP=...)
UXNDISP1 DS CL3 1ST SUBPARAMETER, STATUS
UXNDISP2 DS CL7 2ND SUBPARAMETER, NORMAL
UXNDISP3 DS CL7 3RD SUBPARAMETER, ABNORMAL
*
UXNFLAGS DS XL1 JOB INFORMATION FLAGS
UXNCATLG EQU X'80' ON IF VOLSER OBTAINED FROM CATALOG
DS CL2 RESERVED
UXNDEVTP DS CL4 DEVICE TYPE FROM CATALOG
* (PROVIDED IF UXNCATLG IS ON)
DS CL12 RESERVED
UXNEND DS 0D END OF CBRUXVNL PARAMETER SECTION
SPACE 1
UXNPLLEN EQU * - UXNPL LENGTH OF THE PARAMETER LIST
Figure 22. Volume Not in Library Installation Exit Parameter List—CBRUXNPL (Part 2 of 5)
Figure 22. Volume Not in Library Installation Exit Parameter List—CBRUXNPL (Part 3 of 5)
250 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
**********************************************************************
* CONSTANTS TO DEFINE TAPE RECORDING TECHNOLOGY *
**********************************************************************
UXNNOREC EQU 0 RECORDING TECHNOLOGY UNKNOWN OR
* UNSPECIFIED
UXN18TRK EQU 1 READ/WRITE ON AN 18 TRACK DEVICE
UXN36TRK EQU 2 READ/WRITE ON A 36 TRACK DEVICE
UXN128TRK EQU 3 READ/WRITE ON A 128 TRACK DEVICE
UXN256TRK EQU 4 READ/WRITE ON A 256 TRACK DEVICE
UXN384TRK EQU 5 READ/WRITE ON A 384 TRACK DEVICE
UXNEFMT1 EQU 6 READ/WRITE ON ENTERPRISE FORMAT 1
* (EFMT1) DEVICE
UXNEFMT2 EQU 7 READ/WRITE ON ENTERPRISE FORMAT 2
* (EFMT2) DEVICE
UXNEEFMT2 EQU 8 READ/WRITE ON ENTERPRISE ENCRYPTED FORMAT 2
* (EEFMT2) DEVICE
UXNEFMT3 EQU 9 READ/WRITE ON ENTERPRISE
* FORMAT 3 (EFMT3) DEVICE
UXNEEFMT3 EQU 10 READ/WRITE ON ENTERPRISE
* ENCRYPTED FORMAT 3 (EEFMT3) DEVICE
**********************************************************************
* CONSTANTS TO DEFINE MEDIA TYPE *
**********************************************************************
UXNNOMED EQU 0 MEDIA TYPE UNKNOWN OR UNSPECIFIED
UXNMED1 EQU 1 MEDIA1 - CARTRIDGE SYSTEM TAPE
UXNMED2 EQU 2 MEDIA2 - ENHANCED CAPACITY CARTRIDGE
* SYSTEM TAPE
UXNMED3 EQU 3 MEDIA3 - HIGH PERFORMANCE CARTRIDGE
* TAPE
UXNMED4 EQU 4 MEDIA4 - EXTENDED HIGH PERFORMANCE
* CARTRIDGE TAPE
UXNMED5 EQU 5 MEDIA5 - ENTERPRISE TAPE CARTRIDGE
UXNMED6 EQU 6 MEDIA6 - ENTERPRISE WORM TAPE
* CARTRIDGE
UXNMED7 EQU 7 MEDIA7 - ENTERPRISE ECONOMY TAPE
* CARTRIDGE
UXNMED8 EQU 8 MEDIA8 - ENTERPRISE ECONOMY WORM TAPE
* CARTRIDGE
UXNMED9 EQU 9 MEDIA9 - ENTERPRISE EXTENDED TAPE
* CARTRIDGE
UXNMED10 EQU 10 MEDIA10 - ENTERPRISE EXTENDED WORM TAPE
* CARTRIDGE
**********************************************************************
* CONSTANTS TO DEFINE COMPACTION *
* (THE MEANING OF THE COMPACTION FIELD HAS CHANGED FROM TYPE OF *
* COMPACTION TO COMPACTION YES/NO - UXNIDRC AND UXNCOMPT CAN BE *
* USED INTERCHANGEABLY) *
**********************************************************************
UXNCMPNS EQU 0 COMPACTION UNKNOWN OR NOT SET
UXNNOCMP EQU 1 NO COMPACTION
UXNIDRC EQU 2 COMPACTION
UXNCOMPT EQU 2 COMPACTION
**********************************************************************
* CONSTANTS TO DEFINE SPECIAL ATTRIBUTE *
**********************************************************************
UXNNOSPC EQU 0 VOLUME HAS NO SPECIAL ATTRIBUTE
UXNRDCOM EQU 1 VOLUME WILL BE MOUNTED FOR READ ONLY -
* ALL READ-COMPATIBLE DEVICES MAY BE
* SELECTED
SPACE 1
Figure 22. Volume Not in Library Installation Exit Parameter List—CBRUXNPL (Part 4 of 5)
Figure 22. Volume Not in Library Installation Exit Parameter List—CBRUXNPL (Part 5 of 5)
Storage is obtained below the line, from subpool 230, user key, for the installation
exit parameter list.
Note: CBRUXVNL is mostly used for old data sets, but new data sets can
specify a specific volume serial number. When this occurs and the
volume is entered into a tape library at the direction of CBRUXVNL,
the library name is subsequently made available to the ACS
routines. The ACS routines must assign a storage class and a tape
storage group to the request; otherwise, the request fails.
8 Cancel.
The job step or dynamic allocation is canceled.
16 Do not call the exit again.
CBRUXVNL is not invoked again until reactivated. The system allocates a
stand-alone tape drive. If there is no stand-alone tape drive capable of
handling the tape volume request, the job or dynamic allocation fails.
252 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Volume Not in Library Installation Exit Return Codes for
Device Allocation
The following return codes can be passed back to OAM from CBRUXVNL for
device allocation processing:
Code Meaning
0 Perform normal processing.
The job step or dynamic allocation fails.
4 Retry the failing operation.
Locate the requested tape volume, using the tape management system
inventory or other sources, and enter it into the specific tape library in
which it was previously resident when the job step was set up.
The system rereads the tape volume record for the specified tape volume.
If the tape volume record exists in the TCDB and the record indicates that
the volume is library-resident, the system proceeds with normal
library-resident tape volume processing. If the tape volume record does not
exist or the tape volume record exists but indicates that the tape volume is
still shelf-resident, the CBR3646D message is issued allowing the operator
to retry or cancel the job request.
8 Cancel.
The system cancels the job step or dynamic allocation.
16 Do not call the exit again.
The job step or dynamic allocation fails. The installation exit is not called
again until it is reactivated.
Since the volume not in library installation exit (CBRUXVNL) receives control
through an MVS LINK macro, the addressing mode on entry to the exit may be
either 24-bit or 31-bit addressing mode. Also, the installation exit can be executed
above or below the 16-megabyte line. The addressing mode and the residency
mode are determined by whatever AMODE (for addressing mode) or RMODE (for
residency mode) characteristics are assigned to the load module when it is created
by the MVS Linkage Editor and Loader or the MVS Program Binder.
Because the exit may be invoked in a key other than the job key:
v All storage dynamically acquired by the exit must be obtained from subpool 227,
228, 229, 230, 231, or 241.
v The exit must be written as a reentrant program and the resulting load module
must be link-edited on the system as REENTRANT.
Note: Because of the environment in which this exit can be given control, invoking
dynamic allocation from within this exit is not supported and can lead to an
abend.
254 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Appendix A. SAMPLIB Members
This appendix contains sample library members that you can modify to suit your
own business requirements.
Note: These SAMPLIB members are available to you as part of z/OS. Refer to
them as examples for exits you may write to suit your own storage
administration plan objectives.
Additionally, there are five sample JCL examples that are provided to illustrate the
format and required files for both the import and export list volume. The JCL is
commented with the expected format of each of the required files followed by
some sample data, if applicable. The following JCL samples are shipped in
SYS1.SAMPLIB:
v CBRSPSIM for import list volume (scratch request). See “SAMPLIB Member
CBRSPSIM” on page 307
v CBRSPPIM for import list volume (private request). See “SAMPLIB Member
CBRSPPIM” on page 310
v CBRSPPIP for import list volume (private request). Illustrates IMPORT LIST 02
format for outboard policy management specifications. See “SAMPLIB Member
CBRSPPIP” on page 313.
v CBRSPSXP for export list volume (scratch request). See “SAMPLIB Member
CBRSPSXP” on page 317
v CBRSPPXP for export list volume (private request). See “SAMPLIB Member
CBRSPPXP” on page 320
Both scratch and private examples are provided; however, in order to allocate a
scratch volume in a target library in an installation with multiple libraries, the ACS
To initiate the import or export operation from within the JCL, the specific volser
examples invoke the CBRXLCS FUNC=EXPORT or FUNC=IMPORT functions
using the CBRSPLCS sample program.
256 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
SAMPLIB Member CBRSPLCS
This SAMPLIB member is an example of a program that uses the CBRXLCS macro
interface.
258 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
* INPUT: *
* INPUT TRANSACTIONS ARE CONTAINED IN DATASET INDD. EACH *
* TRANSACTION CONTAINS THE FOLLOWING INFORMATION: *
* 1. A TRANSACTION CODE, WHICH INDICATES THE REQUESTED *
* FUNCTION: EJECT, CHANGE THE USE ATTRIBUTE TO SCRATCH, *
* CHANGE THE USE ATTRIBUTE TO PRIVATE, IMPORT, *
* EXPORT, OR MCE *
* 2. A TRANSACTION MODIFIER, WHICH INDICATES WHETHER TO *
* VERIFY THAT THE VOLUME RESIDES IN A LIBRARY BEFORE *
* ATTEMPTING THE FUNCTION IN THE TRANSACTION CODE. NOTE *
* THAT CUA MAY BE PERFORMED ON A SHELF-RESIDENT VOLUME, *
* PROVIDED THAT THERE IS A TAPE VOLUME RECORD IN THE *
* TAPE CONFIGURATION DATA BASE, AND THEREFORE THAT THE *
* MODIFIER MAY BE USED TO PREVENT THIS. THE TRANSACTION *
* MODIFIER IS IGNORED FOR MCE PROCESSING. *
* 3. THE VOLUME SERIAL NUMBER. *
* 4. FOR A REQUEST TO CHANGE THE USE ATTRIBUTE TO PRIVATE, *
* THE STORAGE GROUP NAME. THIS MAY BE SUPPLIED AS *
* BLANKS. THE CUA INSTALLATION EXIT MAY THEN SUPPLY A *
* NON-BLANK VALUE OR LEAVE THE BLANK STORAGE GROUP NAME *
* UNCHANGED. *
* 5. FOR AN EJECT REQUEST, A CODE TO SELECT EITHER THE *
* CONVENIENCE OUTPUT STATION OR THE HIGH CAPACITY OUTPUT *
* STATION. *
* 6. FOR AN IMPORT REQUEST, A CODE TO INITIATE A CANCEL *
* TO TERMINATE THE IMPORT FUNCTION. *
* 7. FOR AN EXPORT REQUEST, A CODE TO INITIATE A CANCEL *
* TO TERMINATE THE EXPORT FUNCTION. *
* 8. FOR A MANUAL CARTRIDGE ENTRY REQUEST: *
* A. THE REQUIRED EIGHT CHARACTER LIBRARY NAME INTO *
* WHICH THE VOLUME IS TO BE ENTERED, LEFT-JUSTIFIED *
* IN THE FIELD AND PADDED ON THE RIGHT WITH *
* BLANKS. *
* B. A REQUIRED ONE CHARACTER SEPARATOR (BLANK) *
* C. AN OPTIONAL 1 CHARACTER MEDIA TYPE, SPECIFIED AS *
* 1 - F. *
* *
* OUTPUT: *
* A MESSAGE DESCRIBING THE RESULTS OF PROCESSING IS BUILT *
* FOLLOWING THE INPUT TRANSACTION. THE COMBINED TRANSACTION *
* AND MESSAGE ARE THEN WRITTEN TO DATASET OUTDD AND TO THE *
* TAPE POOL AND TAPE LIBRARY CONSOLE DESTINATIONS. *
* *
* EXIT NORMAL: *
* RETURN TO THE CALLER WITH RETURN CODE ZERO. *
* *
* EXIT ERROR: NONE *
* *
* EXTERNAL REFERENCES: *
* *
* ROUTINES: NONE *
* *
* CONTROL BLOCKS: NONE *
* *
* EXECUTABLE MACROS: *
* CBRXLCS *
* CLOSE *
* GET *
* OPEN *
* PUT *
* RETURN *
* SAVE *
260 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
*---------------------------------------------------------------------*
CUA1000 DS 0H
GET INDCB,TRANSACT READ FIRST/NEXT TRANSACTION
EJECT ,
*---------------------------------------------------------------------*
* *
* VERIFY THAT THE VOLUME RESIDES IN A LIBRARY, IF REQUESTED *
* *
*---------------------------------------------------------------------*
CLI TRANCODE,TRANMCE MANUAL CARTRIDGE ENTRY?
BE CUA6000 YES, SKIP VERIFY
CLI TRANMOD,TRANVER VERIFY VOLUME IN LIBRARY?
BNE CUA2000 NO. GO CHECK REQUEST TYPE
BAL R9,CUACOPY COPY MODEL TO LCS PARAMETER LIST
CBRXLCS TYPE=TAPE, QUERY VOLUME RESIDENCE CALL +
FUNC=QVR, +
VOLUME=TRANVOL, +
MF=(E,LCSLIST)
LTR R15,R15 VOLUME IN LIBRARY?
BZ CUA2000 YES. GO CHECK REQUEST TYPE
C R15,=A(LCSWARN) WARNING RETURN CODE?
BNE CUA1100 NO. FORMAT ERROR MESSAGE
C R0,=A(LCSFNLRS) VOLUME NOT LIBRARY RESIDENT?
BNE CUA1100 NO. FORMAT ERROR MESSAGE
MVC TRANMSG,=CL45'NOT IN LIBRARY' SET TRANS RESPONSE
BAL R9,CUARESP WRITE TRANSACTION RESPONSE
B CUA1000 GET NEXT TRANSACTION
CUA1100 DS 0H
MVC ERRFUNC,=CL5'QVR' SET ERROR FUNCTION
BAL R9,CUACODES FORMAT RETURN AND REASON CODES
BAL R9,CUARESP WRITE TRANSACTION RESPONSE
B CUA1000 GET NEXT TRANSACTION
EJECT ,
*---------------------------------------------------------------------*
* *
* EJECT A VOLUME FROM ITS LIBRARY, IF REQUESTED *
* *
*---------------------------------------------------------------------*
CUA2000 DS 0H
CLI TRANCODE,TRANEJCT EJECT VOLUME FROM LIBRARY?
BNE CUA3000 NO. CHECK CHANGE USE ATTRIBUTE
BAL R9,CUACOPY COPY MODEL TO LCS PARAMETER LIST
CLI TRANDEST,TRANBULK BULK EJECT REQUEST?
BNE CUA2100 NO. ISSUE EJECT REQUEST
CBRXLCS BULKEJCT=YES, EJECT TO BULK OUTPUT STATION +
MF=(M,LCSLIST)
CUA2100 DS 0H
CBRXLCS TYPE=TAPE, EJECT VOLUME FROM LIBRARY +
FUNC=EJECT, +
VOLUME=TRANVOL, +
EXITINFO=PASSTHRU, +
MF=(E,LCSLIST)
LTR R15,R15 EJECT SUCCESSFULLY SCHEDULED?
BNZ CUA2200 NO. FORMAT ERROR MESSAGE
MVC TRANMSG,=CL45'EJECT SCHEDULED' SET TRANS RESPONSE
BAL R9,CUARESP WRITE TRANSACTION RESPONSE
B CUA1000 GET NEXT TRANSACTION
CUA2200 DS 0H
MVC ERRFUNC,=CL5'EJECT' SET ERROR FUNCTION
BAL R9,CUACODES FORMAT RETURN AND REASON CODES
BAL R9,CUARESP WRITE TRANSACTION RESPONSE
B CUA1000 GET NEXT TRANSACTION
EJECT ,
262 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
*---------------------------------------------------------------------*
* *
* IMPORT FUNCTION *
* *
*---------------------------------------------------------------------*
CUA4000 DS 0H
CLI TRANCODE,TRANIMP IMPORT VOL INTO A VTS LIBRARY
BNE CUA5000 NO. CHECK FOR EXPORT
BAL R9,CUACOPY COPY MODEL TO LCS PARM LIST
CLI TRANCOPT,TRANCAN CANCEL IMPORT REQUEST?
BNE CUA4100 IMPORT VOL INTO A VTS LIBRARY
CBRXLCS TYPE=TAPE, CANCEL IMPORT REQUEST +
FUNC=IMPORT, +
VOLUME=TRANVOL, +
CANCEL=YES, +
MF=(E,LCSLIST)
LTR R15,R15 IMPORT CANCEL SUCCESSFULLY?
BNZ CUA4200 NO. FORMAT ERROR MESSAGE
MVC TRANMSG,=CL45'IMPORT CANCELED' SET TRANS RESPONSE
BAL R9,CUARESP WRITE TRANSACTION RESPONSE
B CUA1000 GET NEXT TRANSACTION
CUA4100 DS 0H
CBRXLCS TYPE=TAPE, IMPORT VOLUME INTO A VTS LIBRARY +
FUNC=IMPORT, +
VOLUME=TRANVOL, +
MF=(E,LCSLIST)
LTR R15,R15 IMPORT SUCCESSFULLY?
BNZ CUA4200 NO. FORMAT ERROR MESSAGE
MVC TRANMSG,=CL45'IMPORT SCHEDULED' SET TRANS RESPONSE
BAL R9,CUARESP WRITE TRANSACTION RESPONSE
B CUA1000 GET NEXT TRANSACTION
CUA4200 DS 0H
MVC ERRFUNC,=CL5'IMP' SET ERROR FUNCTION
BAL R9,CUACODES FORMAT RETURN AND REASON CODES
BAL R9,CUARESP WRITE TRANSACTION RESPONSE
B CUA1000 GET NEXT TRANSACTION
EJECT ,
*---------------------------------------------------------------------*
* *
* EXPORT FUNCTION *
* *
*---------------------------------------------------------------------*
CUA5000 DS 0H
CLI TRANCODE,TRANEXP EXPORT VOLUME FROM LIBRARY?
BNE CUA6000 NO. CHECK FOR MCE
BAL R9,CUACOPY COPY MODEL TO LCS PARM LIST
CLI TRANCOPT,TRANCAN CANCEL EXPORT REQUEST
BNE CUA5100 EXPORT VOL FROM A VTS LIBRARY
CBRXLCS TYPE=TAPE, CANCEL EXPORT REQUEST +
FUNC=EXPORT, +
VOLUME=TRANVOL, +
CANCEL=YES, +
MF=(E,LCSLIST)
LTR R15,R15 EXPORT CANCEL SUCCESSFULLY?
BNZ CUA5200 NO. FORMAT ERROR MESSAGE
MVC TRANMSG,=CL45'EXPORT CANCELED' SET TRANS RESPONSE
BAL R9,CUARESP WRITE TRANSACTION RESPONSE
264 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
*
* *---------------------------------------------------*
* * PROCESS THE MEDIA TYPE *
* *---------------------------------------------------*
CLI TRANMEDT,X'40' MEDIA TYPE NOT SPECIFIED?
BE CUA6100 BR IF NOT SPEC'D, WILL DEFAULT
*
TM TRANMEDT,X'F0' IS HIGH NIBBLE ALL ONES?
BNO CUA6800 BR IF NO, CANT BE NUMERIC
*
MVC LCSMMED(1),TRANMEDT MOVE MEDIATYPE CHAR INTO VLIST
NI LCSMMED,X'0F' ZERO HIGH NIBBLE
*
CUA6100 EQU *
BAL R9,CUACOPY COPY MODEL TO LCS PARM LIST
*
CBRXLCS TYPE=TAPE, MCE REQUEST +
FUNC=MCE, MANUAL CARTRIDGE ENTRY +
LIBNAME=TRANLIBN, LIBRARY NAME PASSED TO US +
VOLLIST=(R2), PTR TO VOLUME HEADER & LIST +
MF=(E,LCSLIST)
*
DROP R2
DROP R3
*
LTR R15,R15 SUCCESSFUL ENTRY?
BNZ CUA6200 NO. FORMAT ERROR MESSAGE
*
MVC TRANMSG,=CL45'VOLUME SUCCESSFULLY ENTERED'
B CUA6900 COMPLETE PROCESSING
*
CUA6200 EQU *
C R15,=A(LCSWARN) WARNING RETURN CODE?
BNE CUA6500 NO. FORMAT ERROR MESSAGE
C R0,=A(LCSWSTMP) SCRATCH THRESHOLD MSG FAILURE?
BE CUA6300 YES, FORMAT MESSAGE
C R0,=A(LCSWSCNU) LIB SCRATCH COUNT NOT UPDATED
BNE CUA6500 NO. FORMAT ERROR MESSAGE
*
MVC TRANMSG,=CL45'LIBRARY SCRATCH COUNT NOT UPDATED'
B CUA6900 COMPLETE PROCESSING
*
CUA6300 EQU *
MVC TRANMSG,=CL45'SCRATCH THRESHOLD PROCESSING FAILURE'
B CUA6900 COMPLETE PROCESSING
Figure 23. Sample Installation Management Package—CBRSPLCS (Part 9 of 14)
266 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
BR R9 RETURN TO CALLER
EJECT ,
*---------------------------------------------------------------------*
* *
* FORMAT THE RETURN AND REASON CODES FOR PRINTING *
* *
*---------------------------------------------------------------------*
CUACODES DS 0H
CVD R15,PRETCODE CONVERT TO PACKED DECIMAL
UNPK ZRETCODE,PRETCODE CONVERT TO ZONED DECIMAL
OI ZRETCODE+3,X'F0' CORRECT FINAL ZONE
CVD R0,PRSNCODE CONVERT TO PACKED DECIMAL
UNPK ZRSNCODE,PRSNCODE CONVERT TO ZONED DECIMAL
OI ZRSNCODE+3,X'F0' CORRECT FINAL ZONE
MVC TRANMSG,RETREAS MOVE TEXT TO RESPONSE AREA
BR R9 RETURN TO CALLER
EJECT ,
*---------------------------------------------------------------------*
* *
* GET AND ZERO OUT THE VOLUME LIST FOR THE MCE CALL *
* *
*---------------------------------------------------------------------*
GETVOLST EQU *
LA R8,LCSVEND+LCSMLEND CALC AMOUNT OF STORAGE TO GET
*
STORAGE OBTAIN, INVOKE STORAGE MACRO +
LENGTH=(R8), AMOUNT TO GET +
ADDR=MCEADDR, VARIABLE FOR RETURNED ADDRESS +
COND=YES, CONDITIONAL SO DON'T ABEND +
RTCD=STGRTCD RETURN CODE VARIABLE
*
LTR R15,R15 VIRTUAL STORAGE ACQUIRED?
BNZ GETFAILD BR, IF STORAGE NOT ACQUIRED
*
LA R2,1(,R1) POINT 1 PAST BEGIN OF STORAGE
LR R3,R8 LENGTH TO CLEAR
BCTR R8,0 LENGTH - 1
LR R4,R1 POINT TO BEGINNING OF STORAGE
SR R5,R5 ZERO OUT
*
MVCL R2,R4 CLEAR THE AUTODATA AREA
*
BR R9 RETURN TO CALLER OF GETVOLST
*
GETFAILD EQU *
MVC TRANMSG,=CL45'OBTAIN FAILURE' SET TRANS RESPONSE
RELFAILD EQU *
BAL R9,STGCODES FORMAT RETURN AND REASON CODES
BAL R9,CUARESP WRITE TRANSACTION RESPONSE
B CUA1000 GET NEXT TRANSACTION
EJECT ,
*---------------------------------------------------------------------*
* *
* RELEASE THE VOLUME LIST FOR THE MCE CALL *
* *
*---------------------------------------------------------------------*
268 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
EJECT ,
OUTDCB DCB DDNAME=OUTDD, OUTPUT: RESULT NOTIFICATION +
MACRF=PM, +
DSORG=PS, +
RECFM=FB, +
LRECL=80, +
BLKSIZE=400
EJECT ,
*---------------------------------------------------------------------*
* *
* CBRSPLCS TRANSACTION RECORD AND RESPONSE AREA *
* *
*---------------------------------------------------------------------*
TRANLEN DC AL2(L'TRANSACT) LENGTH FOR WTO TEXT
TRANSACT DS 0CL80 TRANSACTION RECORD
TRANCODE DS CL1 TRANSACTION CODE
TRANEJCT EQU C'E' EJECT VOLUME FROM LIBRARY
TRANCHGP EQU C'P' CHANGE VOLUME USE ATTRIBUTE TO
* PRIVATE
TRANCHGS EQU C'S' CHANGE VOLUME USE ATTRIBUTE TO
* SCRATCH
TRANIMP EQU C'I' IMPORT FUNCTION
TRANEXP EQU C'X' EXPORT FUNCTION
TRANMCE EQU C'M' MANUAL CARTRIDGE ENTRY
TRANMOD DS CL1 TRANSACTION CODE MODIFIER
TRANVER EQU C'V' VERIFY VOLUME RESIDES IN LIBRARY
* BEFORE EXECUTING REQUEST
DS CL1 SEPARATOR
TRANVOL DS CL6 VOLUME SERIAL NUMBER
DS CL1 SEPARATOR
TRANSPEC DS CL25 REQUEST-SPECIFIC AREA
ORG TRANSPEC VOLUME EJECT SECTION
TRANDEST DS CL1 EJECT DESTINATION
TRANCONV EQU C'C' CONVENIENCE OUTPUT STATION
TRANBULK EQU C'B' HIGH CAPACITY OUTPUT STATION
ORG TRANSPEC IMPORT/EXPORT SECTION
TRANCOPT DS CL1 CANCEL AREA
TRANCAN EQU C'C' CANCEL REQUEST
ORG TRANSPEC CHANGE USE ATTRIBUTE SECTION
TRANSGRP DS CL8 STORAGE GROUP NAME FOR CHANGE TO
* PRIVATE
ORG TRANSPEC MCE SECTION
TRANLIBN DS CL8 LIBRARY NAME INTO WHICH VOLUME
* IS TO BE ENTERED
DS CL1 SEPARATOR
TRANMEDT DS CL1 OPTIONAL MEDIA TYPE OF VOLUME
ORG , RESTORE LOCATION COUNTER
TRANMSG DS CL45 TRANSACTION COMPLETION MESSAGE
EJECT ,
*---------------------------------------------------------------------*
* *
* CBRXLCS PARAMETER LISTS *
* *
*---------------------------------------------------------------------*
Figure 23. Sample Installation Management Package—CBRSPLCS (Part 13 of 14)
*---------------------------------------------------------------------*
* *
* MISCELLANEOUS WORK AREAS *
* *
*---------------------------------------------------------------------*
SAVE DC 18F'0' STANDARD SAVE AREA
SPACE 2
PRETCODE DC D'0' CBRXLCS RETURN CODE - PACKED DEC
PRSNCODE DC D'0' CBRXLCS REASON CODE - PACKED DEC
SPACE 2
RETREAS DS 0CL45
ERRFUNC DC CL5' ' QVR, CUA, EJECT, IMP, EXP, OR MCE
DC CL15' RETURN CODE = '
ZRETCODE DC CL4' ' CBRXLCS RETURN CODE - ZONED DEC
DC CL16', REASON CODE = '
ZRSNCODE DC CL4' ' CBRXLCS REASON CODE - ZONED DEC
DC CL1'.'
SPACE 2
PASSTHRU DC CL16'SIMP' PASSTHRU VALUE FOR EJECT, CUA
SPACE 2
MCEADDR DC A(0) ADDR OF GOTTEN MCE STORAGE
STGRTCD DC F'0' RETURN CODE FOR STORAGE CALL
STGRCDEC DC D'0' PACKED DECIMAL STORAGE RC
SPACE 2
END CBRSPLCS
270 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
SAMPLIB Member CBRSPUXC
This SAMPLIB member is a sample change use attribute installation exit.
272 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
* 12 NOT USED. *
* 16 DO NOT INVOKE THE CHANGE USE ATTRIBUTE INSTALLATION *
* EXIT AGAIN. ALLOW ALL REQUESTS TO CHANGE THE *
* VOLUME USE ATTRIBUTE. *
* *
* EXIT NORMAL: *
* RETURN TO THE CALLER WITH ONE OF THE RETURN CODES DESCRIBED *
* ABOVE. *
* *
* EXIT ERROR: NONE *
* *
* EXTERNAL REFERENCES: *
* *
* ROUTINES: NONE *
* *
* CONTROL BLOCKS: *
* CBRUXCPL - CHANGE USE ATTRIBUTE INSTALLATION *
* EXIT PARAMETER LIST - R/W *
* *
* EXECUTABLE MACROS: *
* FREEMAIN *
* GETMAIN *
* RETURN *
* SAVE *
* *
* MESSAGES: NONE *
* *
* ABEND CODES: NONE *
* *
*** END OF SPECIFICATIONS ********************************************
TITLE 'CBRUXCPL - CHANGE USE ATTRIBUTE INST EXIT PARAM LIST'
CBRUXCPL , CHANGE USE ATTR INST EXIT PLIST
TITLE 'STANDARD REGISTER DEFINITIONS'
*--------------------------------------------------------------------*
* *
* STANDARD REGISTER DEFINITIONS *
* *
*--------------------------------------------------------------------*
R0 EQU 0 GENERAL REGISTER 0
R1 EQU 1 GENERAL REGISTER 1
R2 EQU 2 GENERAL REGISTER 2
R3 EQU 3 GENERAL REGISTER 3
R4 EQU 4 GENERAL REGISTER 4
R5 EQU 5 GENERAL REGISTER 5
R6 EQU 6 GENERAL REGISTER 6
R7 EQU 7 GENERAL REGISTER 7
274 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
TITLE 'CBRUXCUA - SAMPLE CHANGE USE ATTRIBUTE INST EXIT'
*--------------------------------------------------------------------*
* *
* CBRUXCUA ENTRY POINT *
* *
*--------------------------------------------------------------------*
CBRUXCUA CSECT , SAMPLE CHANGE USE ATTR INST EXIT
CBRUXCUA AMODE 31
CBRUXCUA RMODE ANY
SAVE (14,12),, SAVE CALLER'S REGISTERS AND
'CBRUXCUA&SYSDATE' MARK ENTRY POINT
LR R12,R15 COPY ENTRY POINT ADDRESS
USING CBRUXCUA,R12 CBRUXCUA BASE REGISTER
LR R11,R1 COPY PARAMETER ADDRESS
USING UXCPL,R11 CHANGE USE ATTR INST EXIT PARM LIST
GETMAIN RU, GETMAIN WORKING STORAGE FROM
LV=WORKLEN, SUBPOOL 230 TO GET PSW KEY
SP=230 STORAGE
LR R8,R1 SAVE WORKING STORAGE ADDRESS
USING CUAWORK,R8 CBRUXCUA WORKING STORAGE
LR R14,R1 START ADDRESS OF TARGET AREA
LA R15,WORKLEN TARGET LENGTH
LR R0,R1 START ADDRESS OF SOURCE AREA
SR R1,R1 ZERO SOURCE LENGTH AND PAD BYTE
MVCL R14,R0 CLEAR WORKING STORAGE
ST R13,SAVE+4 BACKWARD CHAIN SAVE AREAS
LA R0,SAVE CBRUXCUA SAVE AREA ADDRESS
ST R0,8(,R13) FORWARD CHAIN SAVE AREAS
LR R13,R0 SET CBRUXCUA SAVE AREA ADDRESS
LA R10,UXCLDESC ADDRESS OF LIBRARY DESCRIPTION
USING LIBDESC,R10 LIBRARY DESCRIPTION FIELD
EJECT ,
*--------------------------------------------------------------------*
* *
* PRESET RETURN CODE ZERO *
* *
*--------------------------------------------------------------------*
LA R9,UXCNOCHG CHANGE USE ATTRIBUTE WITHOUT
* CHANGING TAPE VOLUME RECORD
SPACE 2
*--------------------------------------------------------------------*
* *
* IF THE VOLUME USE ATTRIBUTE WILL NOT CHANGE, ALLOW THE *
* FUNCTION TO CONTINUE. THE INVOKER OF CUA IS PROBABLY ISMF *
* VOLUME ALTER, AND THE PURPOSE IS TO ENSURE THAT THE USE *
* ATTRIBUTE AND THE LIBRARY MANAGER CATEGORY MATCH. *
* *
*--------------------------------------------------------------------*
CLC UXCCUSEA,UXCUSEA OLD ATTRIBUTE = NEW ATTRIBUTE?
BE EXIT YES. RETURN TO CALLER
SPACE 2
*--------------------------------------------------------------------*
276 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
CUA3000 DS 0H
CLC UXCGROUP,=CL8' ' BLANK STORAGE GROUP NAME?
BNE EXIT NO. RETURN TO CALLER
LA R9,UXCCHG ALLOW CHANGE USE ATTRIBUTE WITH
* TAPE VOLUME RECORD CHANGED
MVC UXCGROUP,LIBDDSGN SET DEFAULT STORAGE GROUP NAME
EJECT ,
*--------------------------------------------------------------------*
* *
* RETURN TO THE CALLER *
* *
*--------------------------------------------------------------------*
EXIT DS 0H
L R13,SAVE+4 RESTORE CALLER'S SAVE AREA ADDRESS
FREEMAIN RU, RELEASE WORKING STORAGE
LV=WORKLEN,
A=(R8),
SP=230
LR R15,R9 SET RETURN CODE
RETURN (14,12), RESTORE CALLER'S REGISTERS, THEN
RC=(15) RETURN TO CALLER
TITLE 'CBRUXCUA CONSTANTS'
*--------------------------------------------------------------------*
* *
* CBRUXCUA CONSTANTS *
* *
*--------------------------------------------------------------------*
LTORG , LITERAL CONSTANTS
SPACE 2
PASSTHRU DC CL16'SIMP' PASSTHRU VALUE TO AUTHORIZE CUA
SPACE 2
END CBRUXCUA
278 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
* *
* REGISTER CONVENTIONS: *
* R0 - WORK REGISTER *
* R1 - STANDARD LINKAGE REGISTER *
* - PARAMETER LIST ADDRESS *
* - WORK REGISTER *
* R2 - NOT USED *
* R3 - NOT USED *
* R4 - NOT USED *
* R5 - NOT USED *
* R6 - NOT USED *
* R7 - NOT USED *
* R8 - BASE REGISTER FOR WORKING STORAGE *
* R9 - RETURN CODE WORK REGISTER *
* R10 - LIBRARY DESCRIPTION BASE REGISTER *
* R11 - UXEPL BASE REGISTER *
* R12 - CBRUXENT BASE REGISTER *
* R13 - STANDARD LINKAGE REGISTER *
* - SAVE AREA ADDRESS *
* R14 - STANDARD LINKAGE REGISTER *
* - RETURN POINT ADDRESS *
* R15 - STANDARD LINKAGE REGISTER *
* - ENTRY POINT ADDRESS *
* - RETURN CODE *
* *
* MODULE TYPE: CONTROL SECTION *
* *
* PROCESSOR: ASSEMBLER H *
* *
* ATTRIBUTES: *
* *
* LOCATION: JOB PACK AREA *
* STATE: PROBLEM *
* AMODE: 31 - MAY BE 24 IF NECESSARY *
* RMODE: ANY - MAY BE 24 IF NECESSARY *
* KEY: 5 (DATA MANAGEMENT) *
* MODE: TASK *
* SERIALIZATION: UNLOCKED *
* TYPE: REUSABLE *
* REENTRANT *
* REFRESHABLE *
* AUTHORIZATION: APF AUTHORIZED *
* *
* LINKAGE: STANDARD LINKAGE CONVENTIONS *
* *
* CALLING SEQUENCE: *
* CBRUXENT IS INVOKED IN THE OAM ADDRESS SPACE USING THE MVS *
* LINK MACRO. *
280 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
TITLE 'CBRUXEPL - CARTRIDGE ENTRY INST EXIT PARAMETER LIST'
CBRUXEPL , CART ENTRY INST EXIT PARM LIST
TITLE 'STANDARD REGISTER DEFINITIONS'
*--------------------------------------------------------------------*
* *
* STANDARD REGISTER DEFINITIONS *
* *
*--------------------------------------------------------------------*
R0 EQU 0 GENERAL REGISTER 0
R1 EQU 1 GENERAL REGISTER 1
R2 EQU 2 GENERAL REGISTER 2
R3 EQU 3 GENERAL REGISTER 3
R4 EQU 4 GENERAL REGISTER 4
R5 EQU 5 GENERAL REGISTER 5
R6 EQU 6 GENERAL REGISTER 6
R7 EQU 7 GENERAL REGISTER 7
R8 EQU 8 GENERAL REGISTER 8
R9 EQU 9 GENERAL REGISTER 9
R10 EQU 10 GENERAL REGISTER 10
R11 EQU 11 GENERAL REGISTER 11
R12 EQU 12 GENERAL REGISTER 12
R13 EQU 13 GENERAL REGISTER 13
R14 EQU 14 GENERAL REGISTER 14
R15 EQU 15 GENERAL REGISTER 15
TITLE 'CBRUXENT WORKING STORAGE'
*--------------------------------------------------------------------*
* *
* CBRUXENT WORKING STORAGE *
* *
*--------------------------------------------------------------------*
ENTWORK DSECT , XXA
SAVE DS 18F CBRUXENT SAVE AREA
WORKEND DS 0D XXA
WORKLEN EQU *-ENTWORK XXA
SPACE 2
TITLE 'LIBRARY DESCRIPTION FIELD FORMAT'
*--------------------------------------------------------------------*
* *
* LIBRARY DESCRIPTION FIELD FORMAT *
* *
* NOTE: THIS IS INTENDED AS AN EXAMPLE OF THE KIND OF *
* INFORMATION THE INSTALLATION CAN PASS TO THE EXIT *
* VIA THE LIBRARY DESCRIPTION FIELD, WHICH IS SET *
* USING THE ISMF LIBRARY MANAGEMENT APPLICATION. *
*--------------------------------------------------------------------*
LIBDESC DSECT , LIBRARY DESCRIPTION FIELD
LIBDDSGN DS CL8 DEFAULT STORAGE GROUP NAME
DS CL1 SEPARATOR
282 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
*--------------------------------------------------------------------*
* *
* PRESET RETURN CODE ZERO *
* *
*--------------------------------------------------------------------*
LA R9,UXENOCHG ENTER CARTRIDGE WITHOUT CHANGING
* TAPE VOLUME RECORD
EJECT ,
*--------------------------------------------------------------------*
* *
* CHECK FOR A VOLUME WHICH BELONGS TO ANOTHER SYSPLEX *
* *
*--------------------------------------------------------------------*
CLI UXEVOLSR,C'0' FIRST VOLSER CHARACTER NUMERIC?
BL ENT1000 NO. CHECK VOLSER PREV UNKNOWN
LA R9,UXEIGNOR IGNORE CARTRIDGE ENTRY - LEAVE
* VOLUME FOR ANOTHER SYSPLEX
B EXIT RETURN TO CALLER
EJECT ,
*--------------------------------------------------------------------*
* *
* CHECK FOR A PREVIOUSLY UNKNOWN VOLUME. *
* *
* IF THE VOLUME USE ATTRIBUTE IS PRIVATE, ALLOW THE CARTRIDGE *
* TO BE ENTERED ONLY IF SPECIFICALLY AUTHORIZED IN THE *
* LIBRARY DESCRIPTION. *
* *
*--------------------------------------------------------------------*
ENT1000 DS 0H
CLC UXECREAT,=CL10' ' BLANK RECORD CREATION DATE?
BNE ENT2000 NO. RECORD ALREADY EXISTED
LA R9,UXECHG ALLOW CARTRIDGE ENTRY WITH TAPE
* VOLUME RECORD CHANGED
MVC UXEOWNER,=CL64'TUCSON PROGRAMMING CENTER' SET LOCALLY
* OWNED VOLUME
CLI UXEUSEA,UXESCRT SCRATCH USE ATTRIBUTE?
BE EXIT YES. RETURN TO CALLER
CLI LIBDPRIV,UXEYES ALLOW PRIVATE VOLUME ENTRY?
BE ENT1100 YES. SET STORAGE GROUP NAME
LA R9,UXEFAIL SET CARTRIDGE ENTRY REQUEST DENIED
* RETURN CODE
B EXIT RETURN TO CALLER
SPACE 2
*--------------------------------------------------------------------*
* *
* A PREVIOUSLY UNKNOWN PRIVATE VOLUME IS BEING ENTERED. *
* *
* SET THE STORAGE GROUP NAME AND THE READ-COMPATIBLE *
* ATTRIBUTE USING INFORMATION FROM THE LIBRARY DESCRIPTION. *
* *
*--------------------------------------------------------------------*
284 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
*--------------------------------------------------------------------*
* *
* RETURN TO THE CALLER *
* *
*--------------------------------------------------------------------*
EXIT DS 0H
L R13,SAVE+4 RESTORE CALLER'S SAVE AREA ADDRESS
FREEMAIN RU, +
LV=WORKLEN, +
A=(R8), +
SP=0
LR R15,R9 SET RETURN CODE
RETURN (14,12), RESTORE CALLER'S REGISTERS, THEN
RC=(15) RETURN TO CALLER
SPACE 2
END CBRUXENT
286 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
* R12 - CBRUXEJC BASE REGISTER *
* R13 - STANDARD LINKAGE REGISTER *
* - SAVE AREA ADDRESS *
* R14 - STANDARD LINKAGE REGISTER *
* - RETURN POINT ADDRESS *
* R15 - STANDARD LINKAGE REGISTER *
* - ENTRY POINT ADDRESS *
* - RETURN CODE *
* *
* MODULE TYPE: CONTROL SECTION *
* *
* PROCESSOR: ASSEMBLER H *
* *
* ATTRIBUTES: *
* *
* LOCATION: JOB PACK AREA *
* STATE: PROBLEM *
* AMODE: 31 - MAY BE 24 IF NECESSARY *
* RMODE: ANY - MAY BE 24 IF NECESSARY *
* KEY: 5 (DATA MANAGEMENT) *
* MODE: TASK *
* SERIALIZATION: UNLOCKED *
* TYPE: REUSABLE *
* REENTRANT *
* REFRESHABLE *
* AUTHORIZATION: APF AUTHORIZED *
* *
* LINKAGE: STANDARD LINKAGE CONVENTIONS *
* *
* CALLING SEQUENCE: *
* CBRUXEJC IS INVOKED IN THE OAM ADDRESS SPACE USING THE MVS *
* LINK MACRO. *
* *
* INPUT: *
* AT ENTRY TO CBRUXEJC, REGISTER 1 CONTAINS THE ADDRESS OF *
* THE CARTRIDGE EJECT INSTALLATION EXIT PARAMETER LIST. *
* *
* OUTPUT: *
* A RETURN CODE IS PLACED IN REGISTER 15: *
* CODE MEANING *
* 0 EJECT/EXPORT THE VOLUME FROM THE LIBRARY. THE *
* TAPE VOLUME RECORD IS UNCHANGED. *
* 4 EJECT/EXPORT THE VOLUME FROM THE LIBRARY. ONE OR *
* MORE FIELDS IN THE TAPE VOLUME RECORD HAVE BEEN *
* CHANGED. *
* 8 DO NOT ALLOW THE CARTRIDGE TO BE EJECTED FROM THE *
* LIBRARY. *
* 12 IGNORE EXPORT COMPLETION. *
* 16 DO NOT INVOKE THE CARTRIDGE EJECT INSTALLATION EXIT *
* AGAIN. ALLOW ALL VOLUMES TO BE EJECTED/EXPORTED *
* WITHOUT CHANGES TO THEIR TAPE VOLUME RECORDS. *
* *
288 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
*---------------------------------------------------------------------*
* *
* LIBRARY DESCRIPTION FIELD FORMAT *
* *
* NOTE: THIS IS INTENDED AS AN EXAMPLE OF THE KIND OF *
* INFORMATION THE INSTALLATION CAN PASS TO THE EXIT *
* VIA THE LIBRARY DESCRIPTION FIELD, WHICH IS SET *
* USING THE ISMF LIBRARY MANAGEMENT APPLICATION. *
* *
*---------------------------------------------------------------------*
LIBDESC DSECT , LIBRARY DESCRIPTION FIELD
LIBDDSGN DS CL8 DEFAULT STORAGE GROUP NAME
DS CL1 SEPARATOR
LIBDPRIV DS CL1 ALLOW PREVIOUSLY UNKNOWN PRIVATE
* VOLUME TO BE ENTERED
* 'Y' - ALLOW BOTH PRIVATE AND
* SCRATCH VOLUMES TO BE
* ENTERED
* 'N' - ALLOW ONLY SCRATCH
* VOLUMES TO BE ENTERED
DS CL1 SEPARATOR
LIBDRDCM DS CL1 SET READ-COMPATIBLE ATTRIBUTE
* FOR PREVIOUSLY UNKNOWN MEDIA1
* PRIVATE VOLUME
* 'Y' - SET ATTRIBUTE
* 'N' - DO NOT SET ATTRIBUTE
DS CL1 SEPARATOR
LIBDAUTH DS CL1 AUTHORIZATION REQUIRED FOR
* CARTRIDGE EJECT
* 'Y' - AUTHORIZATION REQUIRED
* 'N' - AUTH NOT REQUIRED
DS CL106 AVAILABLE
TITLE 'CBRUXEJC - SAMPLE CARTRIDGE EJECT INSTALLATION EXIT'
290 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
*---------------------------------------------------------------------*
* *
* CHECK FOR EJECT AUTHORIZATION REQUIRED. *
* *
* USING INFORMATION FROM THE LIBRARY DESCRIPTION, DETERMINE *
* WHETHER THE EJECT REQUEST REQUIRES AUTHORIZATION VIA THE *
* PROGRAMMED INTERFACE PASS-THROUGH VALUE. *
* *
*---------------------------------------------------------------------*
EJC2000 DS 0H
CLI LIBDAUTH,UXJYES AUTHORIZATION REQUIRED?
BNE EJC3000 NO. CHECK VOLUME USE ATTRIBUTE
CLC UXJEXITI,PASSTHRU EJECT AUTHORIZED BY PROGRAMMED
* INTERFACE?
BE EJC3000 YES. CHECK VOLUME USE ATTRIBUTE
LA R9,UXJFAIL SET CARTRIDGE EJECT REQUEST DENIED
* RETURN CODE
B EXIT RETURN TO CALLER
EJECT ,
*---------------------------------------------------------------------*
* *
* EJECT IS ALLOWED. *
* *
* FOR A PRIVATE VOLUME, MAKE SURE THE VOLUME RECORD *
* IS KEPT. *
* *
* THIS SAMPLE EXIT NO LONGER COMPARES THE VOLUME'S *
* EXPIRATION DATE TO TODAY'S DATE TO DETERMINE IF THE *
* RECORD SHOULD BE KEPT. INSTEAD, ALL PRIVATE VOLUME *
* RECORDS ARE ASSIGNED THE "KEEP" RECORD DISPOSITION. *
* *
*---------------------------------------------------------------------*
EJC3000 DS 0H
CLI UXJUSEA,UXJPRIV PRIVATE USE ATTRIBUTE?
BNE EJC4000 NO. PURGE TAPE VOLUME RECORD
CLI UXJVDISP,UXJKEEP RECORD DISPOSITION KEEP?
BE EJC5000 YES. CHECK SHELF LOCATION SUPPLIED
LA R9,UXJCHG ALLOW CARTRIDGE EJECT WITH TAPE
* VOLUME RECORD CHANGED
MVI UXJVDISP,UXJKEEP MAKE SURE VOLUME RECORD IS KEPT
B EJC5000 CHECK SHELF LOCATION SUPPLIED
SPACE 2
*---------------------------------------------------------------------*
* *
* A SCRATCH VOLUME IS TO BE EJECTED. *
* *
* MAKE SURE THAT THE TAPE VOLUME RECORD IS PURGED AFTER THE *
* VOLUME HAS BEEN EJECTED. NOTE THAT THE "TAPE VOLUME *
* RECORD CHANGED" RETURN CODE MUST BE SET IF THE CURRENT *
* DISPOSITION IS KEEP. *
* *
*---------------------------------------------------------------------*
EJC4000 DS 0H
CLI UXJVDISP,UXJPURGE RECORD DISPOSITION PURGE?
BE EJC5000 YES. CHECK SHELF LOCATION SUPPLIED
LA R9,UXJCHG ALLOW CARTRIDGE EJECT WITH TAPE
* VOLUME RECORD CHANGED
MVI UXJVDISP,UXJPURGE MAKE SURE VOLUME RECORD IS PURGED
EJECT ,
292 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
SAMPLIB Member CBRSPUXV
This SAMPLIB member is a sample volume not in library installation exit.
Figure 27. Sample Volume Not in Library Installation Exit—CBRSPUXV (Part 1 of 13)
Figure 27. Sample Volume Not in Library Installation Exit—CBRSPUXV (Part 2 of 13)
294 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
* *
* IF THE EXIT TAKES NO ACTION: *
* A. FOR AN EXISTING DATASET, THE REQUEST WILL BE *
* NON-SMS-MANAGED, AND A NON-LIBRARY-RESIDENT TAPE *
* DRIVE WILL ULTIMATELY BE ALLOCATED. *
* B. FOR A NEW DATASET, A NULL LIBRARY NAME IS PASSED TO *
* THE ACS FILTER ROUTINES: *
* 1. IF THE FILTER ROUTINES MAKE THE REQUEST SMS- *
* MANAGED MOUNTABLE, SMS FAILS THE JOB. *
* 2. IF THE FILTER ROUTINES DO NOT MAKE THE REQUEST *
* SMS-MANAGED MOUNTABLE, A NON-LIBRARY-RESIDENT *
* TAPE DRIVE IS ALLOCATED. *
* *
* 2. DEVICE ALLOCATION PROCESSING *
* *
* JOB STEP SETUP PROCESSING HAS DESIGNATED THE REQUEST AS *
* SMS-MANAGED MOUNTABLE, BUT THE VOLUME HAS BEEN EJECTED *
* FROM ITS LIBRARY. *
* *
* THE VOLUME STATES ARE THE SAME AS FOR JOB STEP SETUP *
* PROCESSING. *
* *
* IN A JES2 ENVIRONMENT, IF THE EXIT CAUSES THE VOLUME TO *
* BE ENTERED INTO ANY TAPE LIBRARY, THEN A LIBRARY- *
* RESIDENT TAPE DRIVE WILL BE ALLOCATED. *
* *
* IN A JES3 ENVIRONMENT, THE EXIT MUST CAUSE THE VOLUME TO *
* BE ENTERED INTO THE SAME LIBRARY IN WHICH IT RESIDED *
* DURING JOB STEP SETUP PROCESSING. IN THIS CASE, A *
* LIBRARY-RESIDENT TAPE DRIVE WILL BE SUCCESSFULLY *
* ALLOCATED. IF THE EXIT CAUSES THE VOLUME TO BE ENTERED *
* INTO A DIFFERENT LIBRARY, THEN THE JOB STEP WILL FAIL. *
* *
* IF THE EXIT TAKES NO ACTION, THEN THE JOB STEP WILL *
* FAIL. *
* *
* 3. LIBRARY MOUNT PROCESSING *
* *
* THE SYSTEM IS ATTEMPTING TO MOUNT THE VOLUME ON A *
* LIBRARY-RESIDENT TAPE DRIVE. *
* *
* THE VOLUME MAY HAVE ONE OF FIVE STATES: *
* A. THE VOLUME IS KNOWN TO BE SHELF-RESIDENT. THERE IS *
* A TAPE VOLUME RECORD FOR THE VOLUME IN THE TCDB. *
* B. THE VOLUME IS KNOWN TO RESIDE IN A DIFFERENT *
* LIBRARY. THERE IS A TAPE VOLUME RECORD FOR THE *
* VOLUME IN THE TCDB. *
Figure 27. Sample Volume Not in Library Installation Exit—CBRSPUXV (Part 3 of 13)
Figure 27. Sample Volume Not in Library Installation Exit—CBRSPUXV (Part 4 of 13)
296 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
* R14 - STANDARD LINKAGE REGISTER *
* - RETURN POINT ADDRESS *
* - WORK REGISTER *
* R15 - STANDARD LINKAGE REGISTER *
* - ENTRY POINT ADDRESS *
* - RETURN CODE *
* - WORK REGISTER *
* *
* MODULE TYPE: CONTROL SECTION *
* *
* PROCESSOR: ASSEMBLER H *
* *
* ATTRIBUTES: *
* *
* LOCATION: JOB PACK AREA SUBPOOL 252 *
* STATE: CALLER'S *
* AMODE: 31 *
* RMODE: ANY *
* KEY: CALLER'S *
* MAY BE DIFFERENT FROM JOB KEY *
* MODE: TASK *
* SERIALIZATION: UNLOCKED *
* TYPE: REUSABLE *
* REENTRANT *
* REFRESHABLE *
* AUTHORIZATION: APF AUTHORIZED *
* *
* LINKAGE: STANDARD LINKAGE CONVENTIONS *
* *
* CALLING SEQUENCE: *
* CBRUXVNL IS INVOKED USING THE MVS LINK MACRO. *
* *
* INPUT: *
* AT ENTRY TO CBRUXVNL, REGISTER 1 CONTAINS THE ADDRESS OF *
* THE VOLUME NOT IN LIBRARY INSTALLATION EXIT PARAMETER LIST. *
* THE PARAMETER LIST FORMAT IS GIVEN BY MAPPING MACRO *
* CBRUXNPL. *
* *
* OUTPUT: *
* A RETURN CODE IS PLACED IN REGISTER 15: *
* CODE MEANING *
* 0 CONTINUE NORMAL PROCESSING OF THIS REQUEST. NO *
* CHANGE HAS BEEN MADE TO TAPE VOLUME RESIDENCE. *
* 4 RETRY THE CURRENT OPERATION. THE TAPE VOLUME HAS *
* BEEN ENTERED INTO THE APPROPRIATE LIBRARY. *
* 8 CANCEL THE JOB IMMEDIATELY. *
* 12 NOT USED. *
* 16 DO NOT INVOKE THE VOLUME NOT IN LIBRARY *
* INSTALLATION EXIT AGAIN. CONTINUE NORMAL *
* PROCESSING OF THE CURRENT REQUEST. NO CHANGE HAS *
* BEEN MADE TO TAPE VOLUME RESIDENCE. *
* *
Figure 27. Sample Volume Not in Library Installation Exit—CBRSPUXV (Part 5 of 13)
Figure 27. Sample Volume Not in Library Installation Exit—CBRSPUXV (Part 6 of 13)
298 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
*---------------------------------------------------------------------*
* *
* STANDARD REGISTER DEFINITIONS *
* *
*---------------------------------------------------------------------*
R0 EQU 0 GENERAL REGISTER 0
R1 EQU 1 GENERAL REGISTER 1
R2 EQU 2 GENERAL REGISTER 2
R3 EQU 3 GENERAL REGISTER 3
R4 EQU 4 GENERAL REGISTER 4
R5 EQU 5 GENERAL REGISTER 5
R6 EQU 6 GENERAL REGISTER 6
R7 EQU 7 GENERAL REGISTER 7
R8 EQU 8 GENERAL REGISTER 8
R9 EQU 9 GENERAL REGISTER 9
R10 EQU 10 GENERAL REGISTER 10
R11 EQU 11 GENERAL REGISTER 11
R12 EQU 12 GENERAL REGISTER 12
R13 EQU 13 GENERAL REGISTER 13
R14 EQU 14 GENERAL REGISTER 14
R15 EQU 15 GENERAL REGISTER 15
Figure 27. Sample Volume Not in Library Installation Exit—CBRSPUXV (Part 7 of 13)
Figure 27. Sample Volume Not in Library Installation Exit—CBRSPUXV (Part 8 of 13)
300 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
*---------------------------------------------------------------------*
* *
* WTOR PARAMETER LIST AND RELATED FIELDS *
* *
*---------------------------------------------------------------------*
WTORLIST WTOR TEXT=(,,,), +
ROUTCDE=(3,5), +
CONSNAME=, +
MF=L
WTORLSTL EQU *-WTORLIST
SPACE 2
WTORECB DS F WTOR EVENT CONTROL BLOCK
WTORREP DS CL7 WTOR REPLY AREA
SPACE 2
WORKEND DS 0D END OF CBRUXVNL WORKING STORAGE
WORKLEN EQU *-VNLWORK CBRUXVNL WORKING STORAGE LENGTH
TITLE 'CBRUXVNL - VOLUME NOT IN LIBRARY INSTALLATION EXIT'
*---------------------------------------------------------------------*
* *
* CBRUXVNL ENTRY POINT *
* *
*---------------------------------------------------------------------*
CBRUXVNL CSECT , VOLUME NOT IN LIBRARY INST EXIT
CBRUXVNL AMODE 31
CBRUXVNL RMODE ANY
SAVE (14,12),, SAVE CALLER'S REGISTERS AND +
'CBRUXVNL&SYSDATE' MARK ENTRY POINT
LR R12,R15 COPY ENTRY POINT ADDRESS
USING CBRUXVNL,R12 CBRUXVNL BASE REGISTER
LR R11,R1 COPY PARAMETER ADDRESS
USING UXNPL,R11 VOLUME NOT IN LIBRARY PARAMETERS
LA R8,UXNSHLOC ADDRESS OF THE TCDB SHELF LOC
USING SHFLOCFD,R8 SHELF LOCATION FIELD
GETMAIN RU, GETMAIN WORKING STORAGE FROM +
LV=WORKLEN, SUBPOOL 230 TO GET PSW KEY +
SP=230 STORAGE
LR R10,R1 SAVE WORKING STORAGE ADDRESS
USING VNLWORK,R10 CBRUXVNL WORKING STORAGE
LR R14,R1 START ADDRESS OF TARGET AREA
LA R15,WORKLEN TARGET LENGTH
LR R0,R1 START ADDRESS OF SOURCE AREA
SR R1,R1 ZERO SOURCE LENGTH AND PAD BYTE
MVCL R14,R0 CLEAR WORKING STORAGE
ST R13,SAVE+4 BACKWARD CHAIN SAVE AREAS
LA R0,SAVE CBRUXVNL SAVE AREA ADDRESS
ST R0,8(,R13) FORWARD CHAIN SAVE AREAS
LR R13,R0 SET CBRUXVNL SAVE AREA ADDRESS
EJECT ,
***********************************************************************
Figure 27. Sample Volume Not in Library Installation Exit—CBRSPUXV (Part 9 of 13)
Figure 27. Sample Volume Not in Library Installation Exit—CBRSPUXV (Part 10 of 13)
302 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
VNL1600 DS 0H
CLI UXNWHERE,UXNSETUP JOB STEP SETUP PROCESSING?
BE VNL2000 YES. GO SET ACTION
CLI UXNWHERE,UXNALLOC DEVICE ALLOCATION PROCESSING?
BE VNL1800 YES. GO SET INSERT
MVC STAGE,=CL17'LIBRARY MOUNT' SET LIBRARY MOUNT INSERT
B VNL2000 GO SET ACTION
VNL1800 DS 0H
MVC STAGE,=CL17'DEVICE ALLOCATION' SET ALLOCATION INSERT
VNL2000 DS 0H
CLC UXNLIB,=CL8' ' TARGET LIBRARY UNKNOWN?
BE VNL3000 YES. GO ISSUE MLWTO
MVC ACTSPLIB,=CL16'LIBRARY LIB-NAME' TARGET LIBRARY TEXT
MVC ACTTLIB,UXNLIB LIBRARY WHERE VOLUME NEEDED
MVC ACTLIB,ACTSPLIB SET TARGET LIBRARY INSERT
EJECT ,
*---------------------------------------------------------------------*
* *
* ISSUE THE MULTI-LINE WTO *
* *
*---------------------------------------------------------------------*
VNL3000 DS 0H
SR R0,R0 CLEAR R0 BEFORE MULTI-LINE WTO
WTO TEXT=(CTRLLINE,VOLLINE,STAGLINE,ACTLINE), +
CONSNAME=UXNLCON, +
MF=(E,WTOLIST)
EJECT ,
*---------------------------------------------------------------------*
* *
* ISSUE THE WTOR *
* *
*---------------------------------------------------------------------*
MVC WTORLIST(WTORLSTL),WTORMODL COPY WTOR PARAMETER LIST
SR R15,R15 GET CONSTANT ZERO
ST R15,WTORECB CLEAR WTOR ECB
MVC WTORREP,=CL7' ' SET WTOR REPLY AREA TO BLANKS
SR R0,R0 CLEAR R0 BEFORE WTOR
WTOR TEXT=(WTORLINE,WTORREP,L'WTORREP,WTORECB), +
CONSNAME=UXNLCON, +
MF=(E,WTORLIST,EXTENDED)
WAIT 1, WAIT FOR OPERATOR REPLY +
ECB=WTORECB
SPACE 2
*---------------------------------------------------------------------*
* *
* CHECK THE OPERATOR REPLY *
* *
Figure 27. Sample Volume Not in Library Installation Exit—CBRSPUXV (Part 11 of 13)
Figure 27. Sample Volume Not in Library Installation Exit—CBRSPUXV (Part 12 of 13)
304 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
*---------------------------------------------------------------------*
* *
* MODEL MULTI-LINE WTO TEXT LINES *
* *
*---------------------------------------------------------------------*
CTRLMODL DC 0F'0' MLWTO CONTROL LINE MODEL
DC AL2(CTRLMLEN-2)
DC C'VNL001 VOLUME NOT IN LIBRARY EXIT'
CTRLMLEN EQU *-CTRLMODL
SPACE 2
VOLMODL DC 0F'0' VOLUME INFORMATION LINE MODEL
DC AL2(VOLMLEN-2)
DC C'VOLUME '
DC C'VOLSER'
DC C' '
DC CL19'UNKNOWN TO SYSTEM '
VOLMLEN EQU *-VOLMODL
SPACE 2
STAGMODL DC 0F'0' PROCESSING STAGE LINE MODEL
DC AL2(STAGMLEN-2)
DC C'DURING '
DC CL17'JOB STEP SETUP '
STAGMLEN EQU *-STAGMODL
SPACE 2
ACTMODL DC 0F'0' ACTION REQUIRED LINE MODEL
DC AL2(ACTMLEN-2)
DC C'ENTER INTO '
DC CL16'ANY LIBRARY '
ACTMLEN EQU *-ACTMODL
SPACE 2
*---------------------------------------------------------------------*
* *
* MODEL WTOR PARAMETER LIST *
* *
*---------------------------------------------------------------------*
WTORMODL WTOR TEXT=(,,,), +
ROUTCDE=(3,5), +
CONSNAME=, +
MF=L
SPACE 2
*---------------------------------------------------------------------*
* *
* MODEL WTOR TEXT LINE *
* *
*---------------------------------------------------------------------*
WTORLINE DC 0F'0' WTOR MESSAGE TEXT
DC AL2(WTORLEN-2)
DC C'VNL002 REPLY ''CONT'', ''RETRY'', ''CANCEL'', OR ''DIS+
ABLE'''
WTORLEN EQU *-WTORLINE
SPACE 2
END CBRUXVNL
Figure 27. Sample Volume Not in Library Installation Exit—CBRSPUXV (Part 13 of 13)
Figure 28. Sample CBRAPROC Program That Creates the OAM Member in PROCLIB
306 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
SAMPLIB Member CBRSPSIM
This SAMPLIB JCL writes the two required files on the import list volume using a
scratch volume and import list format 01.
Figure 29. CBRSPSIM SAMPLIB Job for Writing an Import List Volume to a Scratch Volume (Part 1 of 3)
Figure 29. CBRSPSIM SAMPLIB Job for Writing an Import List Volume to a Scratch Volume (Part 2 of 3)
308 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
//*-------------------------------------------------------------------
//* CHECK THIS FILE AFTER THE IMPORT OPERATION IS COMPLETED FOR
//* INDIVIDUAL VOLUME IMPORT RESULTS.
//*-------------------------------------------------------------------
//* FOR DETAILED INFORMATION ON THE STATUS FILE
//* REFER TO THE IBM TOTALSTORAGE ENTERPRISE AUTOMATED TAPE
//* LIBRARY (3494) OPERATOR GUIDE.
//********************************************************************
//STEP2 EXEC PGM=IEBGENER,COND=(4,LT)
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD *
IMPORT STATUS 01
/*
//SYSUT2 DD DSN=HILEVELQ.IMPSTATS,
// VOL=(,,REF=*.STEP1.SYSUT2),
// UNIT=3490,LABEL=(2,SL),
// DISP=(NEW,CATLG),
// DCB=*.STEP1.SYSUT2
//SYSIN DD DUMMY
//*
//
Figure 29. CBRSPSIM SAMPLIB Job for Writing an Import List Volume to a Scratch Volume (Part 3 of 3)
Figure 30. CBRSPPIM SAMPLIB Job for Writing an Import List to a Private Volume and Initiating Import Operations
(Part 1 of 3)
310 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
//* FILE SEQUENCE 1: LIST OF VOLUMES TO IMPORT
//*-------------------------------------------------------------------
//* THE FILE IDENTIFIER AND VERSION NUMBER IS DEFINED IN THE FIRST
//* RECORD AND MUST BE EXACTLY AS ILLUSTRATED BELOW, STARTING IN
//* THE FIRST COLUMN:
//* IMPORT LIST 01
//*-------------------------------------------------------------------
//* AN OPTIONAL 16 CHARACTER USER FIELD CAN FOLLOW THE VERSION NUMBER
//* WITH A BLANK SPACE SEPARATING THE FIELDS.
//*-------------------------------------------------------------------
//* FOLLOWING THE IMPORT LIST FILE IDENTIFYING RECORD, THE LIST OF
//* FILE RECORDS CONTAIN A MAXIMUM OF THREE FIELDS SEPARATED BY
//* DELIMITERS. THE THREE FIELDS CONSIST OF THE STACKED VOLSER, THE
//* LOGICAL VOLSER AND THE IMPORT OPTION. THEY MUST APPEAR IN THAT
//* ORDER SEPARATED BY FIELD DELIMITERS. BOTH THE LOGICAL VOLSER
//* AND THE IMPORT OPTION ARE OPTIONAL.
//*-------------------------------------------------------------------
//* THE STACKED VOLSER FIELD IS 1-6 CHARACTERS LONG.
//* THIS IS THE STACKED VOLUME CONTAINING LOGICAL VOLUMES
//* TO BE IMPORTED.
//*-------------------------------------------------------------------
//* THE FIELD DELIMITER MUST BE A COMMA.
//*-------------------------------------------------------------------
//* THE LOGICAL VOLSER FIELD IS 6 CHARACTERS LONG. IF THE
//* FIELD IS ALL BLANKS, ALL LOGICAL VOLUMES ON THE SPECIFIED
//* STACKED VOLUME WILL BE IMPORTED.
//*-------------------------------------------------------------------
//* THE FIELD DELIMITER MUST BE A COMMA.
//*-------------------------------------------------------------------
//* THE IMPORT OPTION CAN BE OMITTED (BLANK) WHICH INDICATES THAT
//* THE DATA CONTENTS OF THE LOGICAL VOLUME IS COPIED INTO THE VTS
//* SUBSYSTEM AND A DATA FRAGMENT FILE ENTRY AND LIBRARY MANAGER
//* RECORD ARE ALSO CREATED. THE OPTION SPECIFIED CAN BE "SCRATCH"
//* WHICH INDICATES THAT ONLY A DATA FRAGMENT FILE ENTRY AND LIBRARY
//* MANAGER RECORD ARE CREATED (DATA CONTENTS NOT COPIED), OR THE
//* OPTION SPECIFIED CAN BE "INITIALIZE" WHICH INDICATES THAT ONLY
//* THE LIBRARY MANAGER RECORD FOR THE VOLUME IS CREATED. IF A
//* LOGICAL VOLSER IS NOT INCLUDED WITH THE STACKED VOLSER, THE
//* IMPORT OPTION SPECIFIED APPLIES TO ALL LOGICAL VOLUMES ON THE
//* THE STACKED VOLUME.
//*-------------------------------------------------------------------
//* FOR MORE DETAILED INFORMATION ON THE REQUIRED FORMAT
//* REFER TO THE IBM TOTALSTORAGE ENTERPRISE AUTOMATED TAPE
//* LIBRARY (3494) OPERATOR GUIDE.
//********************************************************************
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD *
IMPORT LIST 01
STKD01,LOGCL1
STKD02,LOGCL2
STKD03
/*
Figure 30. CBRSPPIM SAMPLIB Job for Writing an Import List to a Private Volume and Initiating Import Operations
(Part 2 of 3)
Figure 30. CBRSPPIM SAMPLIB Job for Writing an Import List to a Private Volume and Initiating Import Operations
(Part 3 of 3)
312 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
SAMPLIB Member CBRSPPIP
This SAMPLIB JCL writes the two required files on the import list volume using a
private volume and import list format 02.
Figure 31. CBRSPPIP SAMPLIB Job for Writing an Import List using Outboard Policy Management Options and
Specifications (Part 1 of 4)
Figure 31. CBRSPPIP SAMPLIB Job for Writing an Import List using Outboard Policy Management Options and
Specifications (Part 2 of 4)
314 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
//*-------------------------------------------------------------------
//* THE IMPORT OPTION CAN BE OMITTED (BLANK) WHICH INDICATES THAT
//* THE DATA CONTENTS OF THE LOGICAL VOLUME IS COPIED INTO THE VTS
//* SUBSYSTEM AND A DATA FRAGMENT FILE ENTRY AND LIBRARY MANAGER
//* RECORD ARE ALSO CREATED. THE OPTION SPECIFIED CAN BE "SCRATCH"
//* WHICH INDICATES THAT ONLY A DATA FRAGMENT FILE ENTRY AND LIBRARY
//* MANAGER RECORD ARE CREATED (DATA CONTENTS NOT COPIED), OR THE
//* OPTION SPECIFIED CAN BE "INITIALIZE" WHICH INDICATES THAT ONLY
//* THE LIBRARY MANAGER RECORD FOR THE VOLUME IS CREATED. IF A
//* LOGICAL VOLSER IS NOT INCLUDED WITH THE STACKED VOLSER, THE
//* IMPORT OPTION SPECIFIED APPLIES TO ALL LOGICAL VOLUMES ON
//* THE STACKED VOLUME.
//*-------------------------------------------------------------------
//* THE SG= FIELD IS 8 CHARACTERS LONG OR LESS.
//*-------------------------------------------------------------------
//* THE SC= FIELD IS 8 CHARACTERS LONG OR LESS.
//*-------------------------------------------------------------------
//* THE MC= FIELD IS 8 CHARACTERS LONG OR LESS.
//*-------------------------------------------------------------------
//* THE DC= FIELD IS 8 CHARACTERS LONG OR LESS.
//*-------------------------------------------------------------------
//* FOR MORE DETAILED INFORMATION ON THE REQUIRED FORMAT
//* REFER TO THE TOTALSTORAGE ENTERPRISE AUTOMATED TAPE LIBRARY
//* 3494 OPERATOR GUIDE.
//********************************************************************
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD *
IMPORT LIST 02
OPTIONS1,CREATENAME,SG=TAPESG1,SC=SCLASS1,DC=*RESET*
STKD01,LOGCL1,,SG=TAPESG2,DC=DCMED1
STKD02,LOGCL2,SCRATCH,SG=TAPESGX
STKD03,,,MC=COPY2
/*
//SYSUT2 DD DSN=HILEVELQ.IMPLIST,
// UNIT=3490,LABEL=(,SL),
// DISP=(NEW,KEEP),VOL=(,RETAIN,,,SER=IMP001),
// DCB=(RECFM=FB,BLKSIZE=80,LRECL=80,TRTCH=NOCOMP)
//SYSIN DD DUMMY
//*
//********************************************************************
//* FILE SEQUENCE 2: IMPORT STATUS FILE
//*-------------------------------------------------------------------
//* THE FILE IDENTIFIER AND VERSION NUMBER IS DEFINED IN THE FIRST
//* RECORD AND MUST BE EXACTLY AS ILLUSTRATED BELOW, STARTING IN
//* THE FIRST COLUMN:
//* IMPORT STATUS 01
//*-------------------------------------------------------------------
//* AN OPTIONAL 16 CHARACTER USER FIELD CAN FOLLOW THE VERSION NUMBER
//* WITH A BLANK SPACE SEPARATING THE FIELDS.
//*-------------------------------------------------------------------
//* CHECK THIS FILE AFTER THE IMPORT OPERATION IS COMPLETED FOR
//* INDIVIDUAL VOLUME IMPORT RESULTS.
//*-------------------------------------------------------------------
//* FOR DETAILED INFORMATION ON THE STATUS FILE, REFER TO
//* THE TOTALSTORAGE ENTERPRISE AUTOMATED TAPE LIBRARY 3494
//* OPERATOR GUIDE.
Figure 31. CBRSPPIP SAMPLIB Job for Writing an Import List using Outboard Policy Management Options and
Specifications (Part 3 of 4)
Figure 31. CBRSPPIP SAMPLIB Job for Writing an Import List using Outboard Policy Management Options and
Specifications (Part 4 of 4)
316 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
SAMPLIB Member CBRSPSXP
This SAMPLIB JCL writes the three required files on the export list volume using a
scratch volume.
Figure 32. Sample JCL for an Export List Volume Using a Scratch Volume (Part 1 of 3)
Figure 32. Sample JCL for an Export List Volume Using a Scratch Volume (Part 2 of 3)
318 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
//SYSUT2 DD DSN=HILEVELQ.RESERVED,
// VOL=(,RETAIN,REF=*.STEP1.SYSUT2),
// UNIT=3490,LABEL=(2,SL),
// DISP=(NEW,KEEP),
// DCB=*.STEP1.SYSUT2
//SYSIN DD DUMMY
//*
//********************************************************************
//* FILE SEQUENCE 3: EXPORT STATUS FILE
//*-------------------------------------------------------------------
//* THE FILE IDENTIFIER AND VERSION NUMBER IS DEFINED IN THE FIRST
//* RECORD AND MUST BE EXACTLY AS ILLUSTRATED BELOW, STARTING IN
//* THE FIRST COLUMN:
//* EXPORT STATUS 01
//*-------------------------------------------------------------------
//* AN OPTIONAL 16 CHARACTER USER FIELD CAN FOLLOW THE VERSION NUMBER
//* WITH A BLANK SPACE SEPARATING THE FIELDS.
//*-------------------------------------------------------------------
//* CHECK THIS FILE AFTER THE EXPORT OPERATION IS COMPLETED FOR
//* INDIVIDUAL VOLUME EXPORT RESULTS.
//*-------------------------------------------------------------------
//* FOR DETAILED INFORMATION ON THE STATUS FILE
//* REFER TO THE IBM TOTALSTORAGE ENTERPRISE AUTOMATED TAPE
//* LIBRARY (3494) OPERATOR GUIDE.
//********************************************************************
//STEP3 EXEC PGM=IEBGENER,COND=(4,LT)
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD *
EXPORT STATUS 01
/*
//SYSUT2 DD DSN=HILEVELQ.EXPSTATS,
// VOLUME=(,,REF=*.STEP1.SYSUT2),
// UNIT=3490,LABEL=(3,SL),
// DISP=(NEW,CATLG),
// DCB=*.STEP1.SYSUT2
//SYSIN DD DUMMY
//*
//
Figure 32. Sample JCL for an Export List Volume Using a Scratch Volume (Part 3 of 3)
Figure 33. Sample JCL for an Export List Volume Using a Private Volume (Part 1 of 3)
320 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
//*-------------------------------------------------------------------
//* THE DESTINATION FIELD FOR THE LOGICAL VOLUME IS 1-16 CHARACTERS
//* LONG. A BLANK DESTINATION IS ALSO VALID.
//*-------------------------------------------------------------------
//* FOR MORE DETAILED INFORMATION ON THE REQUIRED FORMAT
//* REFER TO THE IBM TOTALSTORAGE ENTERPRISE AUTOMATED TAPE
//* LIBRARY (3494) OPERATOR GUIDE.
//********************************************************************
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD *
EXPORT LIST 01
VOLSR1,DISASTER
VOLSR2,DISASTER
VOLSR3,BACKUP
VOLSR4,BACKUP
VOLSR5
/*
//SYSUT2 DD DSN=HILEVELQ.EXPLIST,
// UNIT=3490,LABEL=(,SL),
// DISP=(NEW,KEEP),VOL=(,RETAIN,,,SER=EXP001),
// DCB=(RECFM=FB,BLKSIZE=80,LRECL=80,TRTCH=NOCOMP)
//SYSIN DD DUMMY
//*
//********************************************************************
//* FILE SEQUENCE 2: RESERVED FILE (FOR FUTURE USE).
//*-------------------------------------------------------------------
//* THE RESERVED FILE MUST BE PRESENT, HOWEVER ITS LENGTH OR
//* CONTENTS IS NOT CHECKED OR USED.
//********************************************************************
//STEP2 EXEC PGM=IEBGENER,COND=(4,LT)
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD *
RESERVED FILE
/*
//SYSUT2 DD DSN=HILEVELQ.RESERVED,
// VOL=(,RETAIN,REF=*.STEP1.SYSUT2),
// UNIT=3490,LABEL=(2,SL),
// DISP=(NEW,KEEP),
// DCB=*.STEP1.SYSUT2
//SYSIN DD DUMMY
//*
//********************************************************************
//* FILE SEQUENCE 3: EXPORT STATUS FILE
//*-------------------------------------------------------------------
//* THE FILE IDENTIFIER AND VERSION NUMBER IS DEFINED IN THE FIRST
//* RECORD AND MUST BE EXACTLY AS ILLUSTRATED BELOW, STARTING IN
//* THE FIRST COLUMN:
//* EXPORT STATUS 01
Figure 33. Sample JCL for an Export List Volume Using a Private Volume (Part 2 of 3)
Figure 33. Sample JCL for an Export List Volume Using a Private Volume (Part 3 of 3)
322 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
SAMPLIB Member CBRSPX03
This SAMPLIB JCL writes the three required files on the export list volume using a
private volume and export list format 03. Export list format 03 is only valid with
the TS7700 Virtualization Engine and is used for copy export.
Figure 34. Sample JCL for an Export List Volume Using a Private Volume and Export List Format 03 (Part 1 of 3)
Figure 34. Sample JCL for an Export List Volume Using a Private Volume and Export List Format 03 (Part 2 of 3)
324 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
//*-------------------------------------------------------------------
//* CHECK THIS FILE AFTER THE EXPORT OPERATION IS COMPLETED FOR
//* COPY EXPORT RESULTS.
//*-------------------------------------------------------------------
//* FOR DETAILED INFORMATION ON THE STATUS FILE, REFER TO THE
//* TAPE LIBRARY OPERATOR GUIDE.
//********************************************************************
//STEP3 EXEC PGM=IEBGENER,COND=(4,LT)
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD *
EXPORT STATUS 01
/*
//SYSUT2 DD DSN=HILEVELQ.EXPSTATS,
// VOLUME=(,,REF=*.STEP1.SYSUT2),
// UNIT=3490,LABEL=(3,SL),
// DISP=(NEW,KEEP),
// DCB=*.STEP1.SYSUT2
//SYSIN DD DUMMY
//*
//*****************************************************************
//* THE FOLLOWING STEP CAN BE USED TO INITIATE THE EXPORT
//* OPERATION AT THE LIBRARY. USING THE CBRSPLCS SAMPLE PROGRAM
//* FROM SAMPLIB, CODE THE VOLSER NAME THAT WAS USED TO CREATE THE
//* EXPORT LIST VOLUME IN THE INPUT TRANSACTION RECORD. REFER TO
//* THE CBRSPLCS SAMPLE PROGRAM FOR THE CORRECT SYNTAX FOR
//* INITIATING AN EXPORT OPERATION. ONCE THE TRANSACTION RECORD
//* HAS BEEN CREATED, THE FOLLOWING STEP CAN BE UNCOMMENTED TO
//* INITIATE THE EXPORT OPERATION.
//*
//* NOTE: THE FOLLOWING STEP COULD ALSO BE MODIFIED TO EXECUTE
//* AN INSTALLATION'S UTILITY CAPABLE OF ISSUING THE
//* LIBRARY EXPORT,VOLSER OPERATOR COMMAND.
//*
//****************************************************************
//*STEP4 EXEC PGM=CBRSPLCS,COND=(4,LT)
//*SYSPRINT DD SYSOUT=*
//*INDD DD DSN=HILEVELQ.TRANSIN.EXPORT,DISP=OLD
//*OUTDD DD DSN=HILEVELQ.TRANSOUT.EXPORT,UNIT=SYSDA,
//* SPACE=(TRK,(1,1)),DISP=(NEW,CATLG)
//*SYSIN DD DUMMY
//*
Figure 34. Sample JCL for an Export List Volume Using a Private Volume and Export List Format 03 (Part 3 of 3)
The following series of panels illustrate examples of using ISMF to list, define,
display, and alter information concerning the automated and manual tape library
through the use of ISMF panels and line operators.
To define a tape library, select option 10, LIBRARY MANAGEMENT, from the
ISMF Primary Option Menu (as shown in Figure 35 on page 328) to start the
library management dialog.
Note: When defining the libraries associated with the Peer-to-Peer VTS Subsystem,
remember to define the composite library along with the associated
distributed libraries. From an ISMF define perspective, each library is
defined as a separate tape library. Their association is established once
communication is made to the library.
When you select option 10, Library Management, the Library Management
Selection Menu is displayed, as shown in Figure 36.
Note: Since this manual deals with OAM’s relationship with tape libraries, only
the tape option is discussed. For more information on OAM’s role with
optical libraries, see z/OS DFSMS OAM Planning, Installation, and Storage
Administration Guide for Object Support.
Panel Help
------------------------------------------------------------------------------
LIBRARY MANAGEMENT SELECTION MENU
Enter Selection or Command ===> __
Selecting option 3, Tape Library, and hitting ENTER displays the Tape Library
Application Selection panel (see Figure 37 on page 329).
328 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Note: For example purposes, a CDS name of SCDS.TEMP.PRIMARY, and library
names of LIB1 and LIB2 are used in the panels in this appendix.
Choosing option 3, DEFINE, displays the TAPE LIBRARY DEFINE panel with all
the input fields set to blank. You can enter a definition for LIB1, as shown in the
sample Figure 38 on page 330 and Figure 39 on page 330.
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 329
Panel Utilities Scroll Help
------------------------------------------------------------------------------
TAPE LIBRARY DEFINE Page 1 of 4
Command ===>
Use ENTER to Perform Verification; Use DOWN Command to View next Panel;
Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
Use ENTER to Perform Verification; Use DOWN Command to View next Panel;
Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
SCDS NAME and LIBRARY NAME are output fields that contain the SCDS and
library name you specified in the Tape Library Management Application Selection
panel.
Specify the following information for the tape library definition in the tape
configuration database and in the current source control data set.
DESCRIPTION
A 120-byte field used for entering a description of the library
definition. There are no restrictions on its content.
LIBRARY ID Establishes the connection between the software-assigned library
name and the tape drives that belong to the library. A valid value
330 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
is entered as five hexadecimal digits. For an ATLDS, it is defined at
the library by the customer engineer and must also match what is
optionally specified in the HCD LIBRARY-ID parameter. This value
is returned by the control unit in response to a read device
characteristics command. For an MTL, it must match what was
specified in the HCD LIBRARY-ID parameter. Valid values are
00001 – FFFFF; a default value of 00000 is not allowed.
CONSOLE NAME
Specifies the name of the MVS console associated with the tape
library being defined. The console name provides precise routing
of console messages pertaining to a specific library. When the
console name is not specified on the Tape Library Define panel,
console name routing support is not provided. The console name is
passed to the installation exits for their use. To use console name
message routing, the console name defined on this panel must also
be defined in the CONSOLxx member of the PARMLIB (see the
discussion on page 76 for more information on this PARMLIB
member). A valid value is entered as two to eight characters. Valid
characters are alphanumeric, #, @, or $; the first character must be
nonnumeric.
ENTRY DEFAULT DATA CLASS
Specifies the data class to be used to determine the interchange
attributes for private volumes entered into the tape library. No
other attributes of the data class are used. You can use the
cartridge entry installation exit (CBRUXENT) to assign appropriate
interchange values that override the default data class
specifications.
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 331
When the first define panel is complete, use the DOWN command to display the
second part of the Tape Library Define panel (Figure 39 on page 330). Continue
with the definition for library LIB1 by completing part two of the Tape Library
Define panel.
SCRATCH THRESHOLD
Specify the minimum acceptable number of scratch volumes for each media
type in the library being defined. The following are recognized media
types:
MEDIA1 IBM Cartridge System Tape. The number must be in the
range of 0 to 999999. The default value of this parameter is
0.
MEDIA2 IBM Enhanced Capacity Cartridge System Tape. The
number must be in the range of 0 to 999999. The default
value of this parameter is 0.
MEDIA3 IBM High Performance Cartridge Tape. The number must
be in the range of 0 to 999999. The default value of this
parameter is 0.
MEDIA4 IBM Extended High Performance Cartridge Tape. The
number must be in the range of 0 to 999999. The default
value of this parameter is 0.
MEDIA5 IBM TotalStorage Enterprise Tape Cartridge. The number
must be in the range of 0 to 999999. The default value of
this parameter is 0.
MEDIA6 IBM TotalStorage Enterprise WORM Tape Cartridge. The
number must be in the range of 0 to 999999. The default
value of this parameter is 0.
MEDIA7 IBM TotalStorage Enterprise Economy Tape Cartridge. The
number must be in the range of 0 to 999999. The default
value of this parameter is 0.
MEDIA8 IBM TotalStorage Enterprise Economy WORM Tape
Cartridge. The number must be in the range of 0 to 999999.
The default value of this parameter is 0.
MEDIA9 IBM TotalStorage Enterprise Extended Tape Cartridge. The
number must be in the range of 0 to 999999. The default
value of this parameter is 0.
MEDIA10 IBM TotalStorage Enterprise Extended WORM Tape
Cartridge. The number must be in the range of 0 to 999999.
The default value of this parameter is 0.
When the number of scratch volumes in the library falls below the scratch volume
threshold for that media type, operator action message CBR3660A is issued
requesting that scratch volumes of the required media type be entered into the
library. When the number of scratch volumes exceeds twice the scratch volume
threshold for that media type, the message is deleted.
Attention: It is recommended that a scratch threshold be set for all media types
used within a tape library. If a media type is not being used, the default threshold
value of zero (threshold=0) should be used.
332 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Related reading: For more information about setting the scratch threshold, see
“Scratch Threshold Setting and Scratch Allocation Implications” on page 56.
When the second define panel is complete, use the DOWN command to display
the third part of the Tape Library Define panel (Figure 40). Continue with the
definition for library LIB1 by completing part three of the Tape Library Define
panel. You may also need to use part four of the Tape Library Define panel
(Figure 41).
Use ENTER to Perform Verification; Use DOWN Command to View next Panel;
Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
Warning:
When you connect a tape library to a system group rather than a system,
you lose the ability to vary that library online or offline to the
individual systems in the system group. It is strongly recommended that
the tape library be connected to individual systems only.
Note: You can exit the Tape Library Define panel at any time without saving tape
library attributes by issuing the CANCEL command.
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 333
INITIAL ONLINE STATUS
Specifies how the library being defined will be associated to each system or
system group in the SMS complex each time this SCDS is activated. The
following are valid values:
v Online (YES)
v Offline (NO)
v Not connected (blank)
A tape library can be connected to any combination of one or more of the systems
or system groups defined in the CDS base, but it is strongly recommended that the
tape libraries be connected to systems rather than system groups. When a tape
library is connected to a system group, the user loses the ability to vary the tape
library online or offline to the individual systems in the system group. The ISMF
Tape Library panels support both system names and system group names.
The system administrator defining the libraries does not need to be logged on to
one of the systems in the SMS complex to define the libraries in that
complex—both the TCDB and the SCDS can be moved after being created.
However, both the SCDS and the TCDB for the SMS complex being defined must
be available to the system administrator during the library definition process.
The definition for the tape library does not take affect until the SCDS to which it is
defined is activated. Once the library is defined within the SCDS and the record
for the library is updated in the TCDB, the attributes assigned to the last defined
library for the SCDS are displayed on the Tape Library Application Selection menu
and the Tape Library Define panel as defaults. These values can be modified to
define other libraries as needed.
After you complete the definition of LIB1, the Tape Library Application Selection
menu (Figure 37 on page 329) is displayed again, and you can define your second
tape library as follows:
1. Enter a LIBRARY NAME (LIB2)
2. Press ENTER
Note: Since LIB1 was the last library defined, the SCDS to which it belongs is
primed to display in the SCDS NAME field on this panel (assuming the
SCDS was reactivated since the definition of LIB1). If you wish to change
the SCDS NAME, you may do so here; otherwise, the library (LIB2) that is
currently being defined will reside in the same SCDS as LIB1.
The Tape Library Define panels (Figure 42 on page 335, Figure 43 on page 335,
Figure 44 on page 336, and Figure 45 on page 336) are again displayed, and you
enter the appropriate information for LIB2.
334 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Panel Utilities Scroll Help
------------------------------------------------------------------------------
TAPE LIBRARY DEFINE Page 1 of 4
Command ===>
Use ENTER to Perform Verification; Use DOWN Command to View next Panel;
Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
Use ENTER to Perform Verification; Use DOWN Command to View next Panel;
Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 335
Panel Utilities Scroll Help
------------------------------------------------------------------------------
TAPE LIBRARY DEFINE Page 3 of 4
Command ===>
Use ENTER to Perform Verification; Use DOWN Command to View next Panel;
Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
Warning:
When you connect a tape library to a system group rather than a system,
you lose the ability to vary that library online or offline to the
individual systems in the system group. It is strongly recommended that
the tape library be connected to individual systems only.
After completing these library definitions, you have two libraries—one ATLDS
library, LIB1, along with an MTL library, LIB2—defined in the SMS configuration.
Defining a tape library using the Tape Library Define panels adds a library record
to the TCDB along with the library definition into the specified SCDS.
Figure 46 on page 337 shows the first of the two TAPE LIBRARY DISPLAY panels
that are displayed.
336 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Panel Utilities Scroll Help
------------------------------------------------------------------------------
TAPE LIBRARY DISPLAY Page 1 of 2
Command ===>_
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 337
CONSOLE NAME
The name of the MVS console associated with the tape library
being defined. The console name provides for precise routing of
console messages pertaining to a specific library. When the console
name is not specified, console name routing support is not
provided. The console name is passed to the installation exits for
their use.
ENTRY DEFAULT DATA CLASS
Specifies the data class to be used to determine the interchange
attributes for private volumes entered into the tape library. No
other attributes of the data class are used. You can use the
cartridge entry installation exit (CBRUXENT) to assign appropriate
interchange values that override the default data class
specifications.
338 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
MEDIA9 IBM TotalStorage Enterprise Extended Tape
Cartridge.
MEDIA10 IBM TotalStorage Enterprise Extended WORM Tape
Cartridge.
SCRATCH THRESHOLD
The minimum acceptable number of scratch volumes for each
media type in the library.
SCRATCH NUMBER
The number of tape cartridges available to satisfy nonspecific
volume requests.
Figure 47 shows the second part of the Tape Library Display panel.
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 339
The system and system group names shown are the actual names taken
from the base configuration record of the CDS. The number of system and
system group names shown can vary between one and thirty-two. The
display shows the difference between system names and system group
names by preceding each system group name by an asterisk.
Use ENTER to Perform Verification; Use DOWN Command to View Next Panel;
Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
340 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Panel Utilities Scroll Help
------------------------------------------------------------------------------
TAPE LIBRARY REDEFINE ATTRIBUTES PRIMED
Command ===>_
Use ENTER to Perform Verification; Use DOWN Command to View Next Panel;
Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
WARNING:
When you connect a tape library to a system group rather than a system,
you lose the ability to vary that library online or offline to the
individual systems in the system group. It is strongly recommended that
the tape library be connected to individual systems only.
Use ENTER to Perform Verification; Use UP/DOWN Command to View Other Panels;
Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 341
Panel Utilities Scroll Help
------------------------------------------------------------------------------
TAPE LIBRARY REDEFINE ATTRIBUTES PRIMED
Command ===>
WARNING:
When you connect a tape library to a system group rather than a system,
you lose the ability to vary that library online or offline to the
individual systems in the system group. It is strongly recommended that
the tape library be connected to individual systems only.
Use ENTER to Perform Verification; Use UP Command to View Previous Panel;
Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
The following fields are primed from the TCDB when the Tape Library Redefine
panels are displayed:
v DESCRIPTION
v LIBRARY ID
v CONSOLE NAME
v SCRATCH THRESHOLD
The following fields are maintained in the SCDS and not in the TCDB. Since there
is no SCDS definition to supply these values for redefine, the redefine panel
displays the following primed values:
v ENTRY DEFAULT DATA CLASS (blanks)
v ENTRY DEFAULT USE ATTRIBUTE (PRIVATE)
v EJECT DEFAULT (KEEP)
v INITIAL ONLINE STATUS
– NO for the system the user is logged on to (if that system is included in this
SCDS)
– blanks for all other systems
Note: If identical values in different CDSs are needed, the COPY line operator
on the TAPE LIBRARY LIST panel should be used.
You can use the Tape Library Alter option to alter the attributes of an existing tape
library. Altering a library results in updating the library definition within the
specified SCDS and the attributes stored in the TCDB.
342 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
You can alter the tape library, LIB1, to change its definition in the tape
configuration database by using the Tape Library Alter panel. To alter the tape
library, start from the Tape Library Application Selection panel, shown in Figure 37
on page 329:
1. Specify the name of the SCDS containing the tape library you want to change
(SCDS.TEMP.PRIMARY).
2. Specify the tape library name (LIB1).
3. Select option 4, ALTER.
ISMF displays the Tape Library Alter panels shown in Figure 52, Figure 53 on page
344, Figure 54 on page 344, and Figure 55 on page 345.
Use ENTER to Perform Verification; Use DOWN Command to View Next Panel;
Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 343
Panel Utilities Scroll Help
------------------------------------------------------------------------------
TAPE LIBRARY ALTER Page 2 of 4
Command ===>_
Use ENTER to Perform Verification; Use DOWN Command to View Next Panel;
Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
344 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Panel Utilities Scroll Help
------------------------------------------------------------------------------
TAPE LIBRARY ALTER Page 4 of 4
Command ===>
WARNING:
When you connect a tape library to a system group rather than a system,
you lose the ability to vary that library online or offline to the
individual systems in the system group. It is strongly recommended that
the tape library be connected to individual systems only.
One method is to use the attributes assigned to the last tape library defined. These
fields are primed by ISMF from the last library definition. You can modify the
attributes to define a new tape library and the new tape library is added to the
SCDS and the tape configuration database.
Another method of copying existing tape library definitions to create new tape
library definitions is to use the COPY line operator from the Tape Library List
panel (see Figure 65 on page 355 through Figure 69 on page 357). You enter the
COPY line operator in the LINE OPERATOR column next to the tape library you
wish to copy. Press ENTER to copy the existing tape library attributes and the
COPY ENTRY panel is displayed (see Figure 56 on page 346).
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 345
Panel Utilities Help
------------------------------------------------------------------------------
COPY ENTRY PANEL
Command ===>
The to DATA SET NAME field identifies the target SCDS of the copy. It must be a
name of an SCDS. It is primed with the value of the from DATA SET NAME if the
from DATA SET NAME contains an SCDS name. It is primed with blanks if the
from DATA SET NAME is ‘ACTIVE’. The to DEFINITION NAME field identifies
the name of the tape library you wish to define. It is primed with blanks.
In the PERFORM ALTER field, you indicate if you want to change some of the
attributes of the copy you are creating. If you specify Y for YES, you go to the
pertinent Alter panel. If you specify N for NO, you remain on the COPY ENTRY
PANEL, where you can perform another copy or return to the original library list
panel.
When copying a tape library definition from one SCDS into another SCDS, you do
not need to select the PERFORM ALTER option. In the case where a tape library
definition is copied within the same SCDS, you must choose the PERFORM ALTER
option because tape libraries in the same SCDS must differ from one definition to
another.
When you have specified the values, press ENTER to perform the copy.
346 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
TCDB because there may be other SCDSs that still contain the tape library data
server. In order to delete a tape library from the TCDB, IDCAMS with the DELETE
LIBENTRY parameters must be used.
As part of the tape library definition deletion, all storage group constructs in the
SCDS that are defined as including the library undergoing deletion are updated to
remove that library from the storage group definition. When the last library is
deleted from a tape storage group, the invalid tape storage group definition
remains in the SCDS. The SCDS will not validate until all invalid tape storage
group definitions are either deleted or altered so that they contain at least one tape
library.
From the Tape Library List panel (see Figure 65 on page 355 through Figure 69 on
page 357):
1. Enter DELETE in the LINE OPERATOR column next to the tape library you
wish to delete.
2. Press ENTER.
The Confirm Delete Request panel, Figure 57, is displayed.
3. Confirm that the displayed library is the one that you want to delete. If it is,
enter Y for YES, or N for NO.
4. Press ENTER.
The Tape Library List appears with ‘*DELETE’ in the LINE OPERATOR column
next to the deleted library.
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 347
Using the Mountable Tape Volume Application, storage administrators can use line
operators or ISMF commands to perform inventory tasks against tape libraries and
the library-resident volumes residing in them. These functions can be performed
using the Mountable Tape Volume Application:
v AUDIT a volume, a list of volumes, or a tape library.
v ALTER the use attribute, storage group, shelf location, or owner information of
a volume or list of volumes.
v EJECT a single tape volume (for information on using the EJECT line operator,
see “Ejecting a Volume from a Tape Library” on page 367).
Note: If the library in which the volume resides supports outboard policy
management, the assigned storage class name, management class name, and
data class name are not maintained in the tape configuration database, nor
are they displayed through the mountable tape volume application. Use the
DISPLAY SMS, VOLUME command or the LCS external services QVR
function to obtain this information.
You can use the View, Sort, and Hide functions to further customize your volume
lists.
Note: If the TCDB is being shared across multiple z/OS system levels, volume
levels containing TDSI information that is not understood by the level of the
software on the system will not be displayed when a volume list is
requested from ISMF. This prevents the z/OS system from processing
volume records containing TDSI information that is not understood by the
system.
Follow these steps to display the Mountable Tape Volume Selection Entry panel
using the Library Management option of the ISMF Primary Option Menu.
1. Select option 10, Library Management, from the ISMF Primary Option Menu
(see Figure 35 on page 328). ISMF displays the Library Management Selection
menu (see Figure 36 on page 328).
2. Select option 3, TAPE LIBRARY. This in turn, displays the Tape Library
Application Selection panel (Figure 37 on page 329).
348 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Follow these steps to bring up the Mountable Tape Volume Selection Entry panel
from the VOLUME option of the ISMF Primary Option Menu.
1. Select option 2, VOLUME, from the ISMF Primary Option Menu (see Figure 35
on page 328). ISMF displays the Volume List Selection Menu (see Figure 58).
Panel Help
------------------------------------------------------------------------------
VOLUME LIST SELECTION MENU
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 349
When option 1, SAVED LIST, is selected, you enter the name of the saved list in
the LIST NAME field under option 1 GENERATE FROM A SAVED LIST. A
previously saved list is displayed.
When option 2, NEW LIST, is chosen, a new list is built using the selection criteria
you described in the GENERATE A NEW LIST FROM CRITERIA BELOW data
columns. z/OS DFSMS Using the Interactive Storage Management Facility describes all
the columns in the Mountable Tape Volume Selection Entry Panel. Complete the
following fields for option 2 (default):
VOLUME SERIAL NUMBER
Enter a full or partial serial number of the volume or volumes to include in the
list. The default value is an asterisk. The volume serial number must consist
entirely of upper case alphabetics A–Z and numerics 0–9.
To include a single volume, enter a fully qualified volume serial number of 1
to 6 characters: VOLUME SERIAL NUMBER ===> SYS001
For a partially qualified volume serial number, use asterisks as global volume
serial number characters or percent signs as place holders. For example, to
include a range of volumes, enter a partially qualified volume serial number
by using one or two asterisks as global volume serial number characters:
VOLUME SERIAL NUMBER ===> T*9*
Use a single asterisk to specify all mounted volumes that fit your other
selection criteria: VOLUME SERIAL NUMBER ===> * This field is primed
with the last value used. The default value is an asterisk.
LIBRARY NAME
Enter the 1 to 8 character name of a tape library, or a partially qualified name.
This field is primed with the last value used. The default value is an asterisk.
STORAGE GROUP NAME
Enter the 1 to 8 character name of an SMS storage group, in the same way as
you would for a volume serial number. This field is primed with the last value
used. The default value is an asterisk.
RESPECIFY VIEW CRITERIA
This field is used to specify whether or not to invoke the Mountable Tape
Volume View Entry panel before displaying the sort or list panel. Values are Y
or N.
RESPECIFY SORT CRITERIA
This field is used to specify whether or not to invoke the Mountable Tape
Volume View Sort panel before displaying the list. Values are Y or N.
350 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Panel List Utilities Scroll Help
------------------------------------------------------------------------------
MOUNTABLE TAPE VOLUME LIST
Command ===> SCROLL ===> PAGE
Entries 1-11 of 11
Enter Line Operators Below: Data Columns 3-7 of 20
LINE OPERATOR
This is the input column used to specify the line operator that is invoked
against the volumes listed in column 2 of the same row.
VOLUME SERIAL NUMBER
Specifies the mountable tape volume serial number.
USE ATTR
Use characteristics of the volume:
PRIVATE A tape cartridge that can only be used by referencing its
serial number and usually contains data.
SCRATCH A tape cartridge that can be used to satisfy a nonspecific
mount request.
??????? The values cannot be displayed due to an error.
VOLUME ERROR STATUS
Shows the error status of individual tape volumes.
CHECKPT VOLUME
Checkpoint volume indicator. Values are YES, NO, or --- (when blank).
LIBRARY NAME
The name of the library in which the tape volume resides. SHELF is used
for volumes outside the library.
STORAGE GRP NAME
The storage group to which the volume is assigned, *SCRTCH*, or --------
(when blank).
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 351
Panel List Utilities Scroll Help
------------------------------------------------------------------------------
MOUNTABLE TAPE VOLUME LIST
Command ===> SCROLL ===> PAGE
Entries 1-14 of 14
Enter Line Operators Below: Data Columns 8-12 of 20
MEDIA TYPE
This data column indicates the type of media of the volume. The valid
values are:
MEDIA1 IBM Cartridge System Tape
MEDIA2 IBM Enhanced Capacity Cartridge System Tape
MEDIA3 IBM High Performance Cartridge Tape
MEDIA4 IBM Extended High Performance Cartridge Tape
MEDIA5 IBM TotalStorage Enterprise Tape Cartridge.
MEDIA6 IBM TotalStorage Enterprise WORM Tape Cartridge.
MEDIA7 IBM TotalStorage Enterprise Economy Tape Cartridge.
MEDIA8 IBM TotalStorage Enterprise Economy WORM Tape
Cartridge.
MEDIA9 IBM TotalStorage Enterprise Extended Tape Cartridge.
MEDIA10 IBM TotalStorage Enterprise Extended WORM Tape
Cartridge.
RECORDING TECHNOLOGY
This data column indicates the number of recording tracks on the tape.
Valid values are as follows:
18TRACK 18-track recording technology
36TRACK 36-track recording technology
128TRACK 128-track recording technology
256TRACK 256-track recording technology
384TRACK 384-track recording technology
352 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
EFMT1 Enterprise Format 1 recording technology
EFMT2 Enterprise Format 2 recording technology
EEFMT2 Enterprise Encrypted Format 2 recording technology
EFMT3 Enterprise Format 3 recording technology
EEFMT3 Enterprise Encrypted Format 3 recording technology
-------- Recording technology not specified
???????? Recording technology unknown
COMPACTION
This field indicates whether or not the tape data sets are compacted on this
volume. Valid values are:
YES Data sets on the tape volume are compacted.
NO Data sets on the tape volume are not compacted.
--- The value is not specified.
??? The values cannot be displayed due to an error.
SPECIAL ATTRIBUTE
This data column indicates special attributes defined for the volume. Valid
values are:
RDCOMPAT Read compatible, which means on subsequent allocations
the system should attempt to use read compatible devices.
-------- The value is not specified.
LAST WRITTEN DATE
The date when a data set was last opened for output on the volume in the
form of YYYY/MM/DD, where YYYY is the year, MM is the month of the
year, and DD is the day of the month.
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 353
the form of YYYY/MM/DD, where YYYY is the year, MM is the month of
the year, and DD is the day of the month.
LAST ENTER/EJECT DATE
The date when the tape volume was last entered into, or ejected from, a
library. If the volume location is SHELF, then the date specified is the date
the volume was ejected from the library. If the volume location is
LIBRARY, then the date specified is the date the volume was entered into
the library. The form for this date is YYYY/MM/DD, where YYYY is the
year, MM is the month of the year, and DD is the day of the month.
VOLUME EXPIRE DATE
The latest expiration date among the data sets on the volume. The form for
this date is YYYY/MM/DD, where YYYY is the year, MM is the month of
the year, and DD is the day of the month.
VOLUME CREATE DATE
The date when the volume record was created. The form for this date is
YYYY/MM/DD, where YYYY is the year, MM is the month of the year,
and DD is the day of the month.
WRITE PROTECT
The tape volume write protection status. Valid values are YES, NO, or ---
(when blank).
VOLUME LOCATION
Information concerning whether the tape volume is library- or
shelf-resident.
SHELF LOCATION
Information about tape cartridge residence outside a library.
354 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Panel List Utilities Scroll Help
--------------------------------------------------------------------------------
MOUNTABLE TAPE VOLUME LIST
Command ===> SCROLL ===> PAGE
Entries 1-11 of 11
Enter Line Operators Below: Data Columns 20-20 of 20
LINE VOLUME
OPERATOR SERIAL OWNER INFORMATION
---(1)---- -(2)-- --------------------------(20)--------------------------
VOL01 THIS IS FREEFORM INFORMATION ABOUT THE OWNER OF THIS CAR
VOL02 THE FORMAT OF THIS COLUMN IS DETERMINED BY INSTALLATION
VOL101 --------------------------------------------------------
VOL102 --------------------------------------------------------
VOL103 COLUMN1...............COLUMN2......................COLUM
VOL104 OWNER INFORMATION #1
VOL105 OWNER INFORMATION #2
VOL106 OWNER INFORMATION #3
VOL107 OWNER INFORMATION #4
VOL108 OWNER INFORMATION #5
VOL109 OWNER INFORMATION #6
---------- ------ ----------- BOTTOM OF DATA -------------------------
OWNER INFORMATION
Identifies the volume owner. This field only displays a maximum of 56 out
of 64 characters per line on the panel.
Once you have generated the library list, the tape library list panels are displayed
(Figure 65 through Figure 69 on page 357). See “Displaying Tape Library
Attributes” on page 336 for descriptions of the attributes on these panels.
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 355
Panel List Utilities Scroll Help
------------------------------------------------------------------------------
TAPE LIBRARY LIST
Command ===> SCROLL ===> PAGE
Entries 1-11 of 24
Data Columns 8-13 of 34
CDS Name . :SCDS.TEMP.PRIMARY
356 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Panel List Utilities Scroll Help
------------------------------------------------------------------------------
TAPE LIBRARY LIST
Command ===> SCROLL ===> PAGE
Entries 1-11 of 24
Data Columns 20-25 of 34
CDS Name . :SCDS.TEMP.PRIMARY
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 357
Panel List Utilities Scroll Help
------------------------------------------------------------------------------
TAPE LIBRARY LIST
Command ===> SCROLL ===> PAGE
Entries 1-11 of 24
Data Columns 32-34 of 34
CDS Name . :SCDS.TEMP.PRIMARY
358 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Auditing Volumes in an Automated Tape Library
From the ISMF panels, you can use the AUDIT line operator or the ISMF AUDIT
command to verify the location of the tape volumes in your tape libraries.
AUDIT can be invoked as an ISMF line operator on the Mountable Tape Volume
List panel (single volume audit) or from the Tape Library List panel (library audit).
AUDIT can also be invoked as an ISMF command to audit all eligible volumes on
the Mountable Tape Volume List (volume list audit). ISMF is an important part of
the audit scheme because it allows you to start with an entire tape volume list, and
then by using sorting and filtering capabilities, you can reduce that list to a subset
of volumes; for example, all the volumes in a single storage group. You can then
use the AUDIT command to request an audit of all volumes in that subset list.
You may want to use the following criteria when filtering a volume list:
v Fully or partially qualified volume serial number
v Fully or partially qualified storage group name
v Fully or partially qualified library name
v Other criteria using ISMF VIEW, SORT, and HIDE
Before scheduling an audit request for an automated tape library, ensure that the
following criteria is met:
v The library must be defined in the SMS configuration.
v The library must be online, operational, and not pending offline.
v For an automated tape library dataserver, the library must not be in manual
mode and the vision system must be operative.
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 359
Verifying VTS Logical Volume Entries in the Library Manager
Because a logical volume may or may not yet exist on a physical piece of media (a
stacked volume), the following actions are performed when an audit is requested
against logical volumes in the virtual tape server.
v The system verifies that the logical volume has an entry in the library manager.
v If the logical volume resides on a physical piece of media, the vision system
verifies that the physical volume is in its assigned location in the automated tape
library dataserver.
v The vision system verifies that the external cartridge label of the physical
volume is present and readable.
To perform a library audit from the TAPE LIBRARY LIST panel use the AUDIT
line operator next to the tape library name. When you specify a library audit, all
volume serial numbers known to that library by the host are audited.
Because a library audit and a volume list audit might take a long time to complete,
a confirmation panel is displayed whenever these audits are requested. This panel
gives you the opportunity to confirm or cancel the audit request. To confirm, type
in Y, then press ENTER. See Figure 71 for the Confirm Audit Request panel.
Command ===>
Note: The audit operation can be a lengthy process. During AUDIT execution,
other activity in the library is not quiesced and AUDIT requests are
prioritized lower than other requested functions. It may take several hours
360 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
for you to receive notification that a full library audit or an extensive
volume list audit has completed. Therefore, when scheduling an audit, take
work load and time factors into consideration.
When you receive an audit completion message, you can use the REFRESH
command to update the MOUNTABLE TAPE VOLUME LIST or the TAPE
LIBRARY LIST with the same selection criteria. The results of the audit are shown
in the VOLUME ERROR STATUS column and you also receive a message with the
error results.
Note: The volume error status field contains only the last error found; no
history is kept.
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 361
No attempts are made to fix the problems at the time of detection because, based
on the error found, the software is unable to determine exactly what the corrective
action should be.
If you end the TSO session before the audit completes, messages are stored in the
broadcast data set and are displayed the next time you initiate your TSO session.
ISMF is an important part of the alter scheme when used in conjunction with the
ALTER command because it allows you to start with an entire tape volume list,
and then by using sorting and filtering capabilities, you can reduce that list to a
subset of volumes; for example, all the volumes in a single storage group. You can
then use the ALTER command against the subset list to change information for all
the volumes on the list at once. In an ATLDS, you can also use the ALTER
command to take the volume out of the error category in the library manager
inventory.
The Mountable Tape Volume Alter Entry Panel (Figure 72) is displayed.
Specify New Values for the Following Fields (Blank means no change):
Storage Group . .
Shelf Location . .
Owner Information
===>
Figure 72. Alter from the Mountable Tape Volume Alter Entry Panel
When the ALTER line operator is entered from the Mountable Tape Volume List
panel, the Mountable Tape Volume Alter Entry Panel (see Figure 73 on page 363) is
displayed to allow the storage administrator to enter the new values for the
specific volume requested. The following four screen examples provide more
362 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
information regarding the ALTER function for a specific tape volume.
Specify New Values for the Following Fields: (leave as-is if no change)
Owner Information:
Old Value:
New Value . .
Figure 73. Mountable Tape Volume Alter Entry Panel Displayed (ALTER Request)
Tape Volume:EMB001
Specify New Values for the Following fields: (leave as-is if no change)
Owner Information:
Old Value:EILEEN
New Value . . EILEEN
Figure 74. Both OLD VALUE and NEW VALUE Reflect the Values Assigned to the Volume
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 363
Changing Values Associated with a Tape Volume
If the storage administrator types blanks over the NEW VALUE for storage group,
shelf location, or owner information, the corresponding field in the tape volume
record is set to blank and the NEW VALUE field shows as blank the next time the
record in displayed. See Figure 75.
Tape Volume:EMB001
Specify New Values for the Following Fields: (leave as-is if no change)
Owner Information:
Old Value:EILEEN
New Value . . EILEEN
Note that both the OLD VALUE and the NEW VALUE for storage group are now
blank. To add a storage group again, the storage administrator indicates the new
value for storage group in the NEW VALUE field and hits ENTER (see Figure 76).
Tape Volume:EMB001
Specify New Values for the Following Fields: (leave as-is if no change)
Owner Information:
Old Value:EILEEN
New Value . . EILEEN
Figure 76. New Storage Group Assigned After Storage Group was Altered to Blank
364 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Validating New Values through ISMF
ISMF validates the NEW VALUE input for the use attribute to allow only ‘P’ or ‘S’.
The NEW VALUE input for storage group is validated on the same selection entry
panel; however, blanks are acceptable in this field.
ISMF does not validate the existence of the storage group in the active
configuration; however, if the tape volume is library-resident, OAM provides the
validation to ensure the following:
v The volume’s storage group is defined in the current ACDS as a tape storage
group.
v The volume’s library is defined in the specified storage group.
v The volume’s library is defined in the current ACDS as a valid tape library.
Note: If the tape volume is shelf-resident, only the first check is made.
When an error occurs during the ALTER function, a message is stored in the
message history for the entry. The storage administrator can issue the message line
operator to obtain the error information.
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 365
Changing the Use Attribute from Private to Scratch
If the storage administrator uses the ALTER command to specify a NEW VALUE
of scratch for the use attribute and any of the volumes on the list are private with
an expiration date that has not yet passed, the Private to Scratch Confirmation
Panel (Figure 78) is displayed for each volume whose expiration date has not yet
passed.
Note: When DFSMSrmm is installed, any attempt to alter the use attribute from
private to scratch will be rejected.
If the response is “/” on either confirmation panel, OAM changes the following
items:
v The use attribute is changed to S in the TCDB.
v The storage group name is set to *SCRTCH* in the TCDB.
v The expiration date in the TCDB is blanked out.
v The volume error status is reset to NO ERROR in the TCDB.
v The library manager category of the cartridge is changed from private to scratch
(ATLDS only).
Note: The change use attribute installation exit (CBRUXCUA) is invoked whenever
there is an attempt to change the use attribute for a tape volume. It may
override the request or change the values. See “Change Use Attribute
Installation Exit (CBRUXCUA)” on page 211 for more information on this
installation exit.
366 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
The changes to the TCDB volume record are performed immediately. When the
line operator or command is complete, the user is returned to the Mountable Tape
Volume List panel with the appropriate success or failure message. If the volume
or volumes were successfully changed, the ISMF REFRESH command may be used
to display the new values in the tape volume record.
Note: For logical volumes in the fast ready category at the VTS, ejecting the
volume deletes the logical volume from the VTS. If a logical volume is not
in the fast category, the volume must be exported from the library.
The second optional parameter B specifies that the tape cartridge is to be placed in
the high-capacity output station instead of the convenience output station. If this
parameter is not specified or the high-capacity output station is not configured, the
cartridge is placed in the convenience output station.
This keyword is only valid for automated tape library dataservers. The keyword is
ignored for tape volumes ejected from a manual tape library.
Note: The EJECT line operator is only valid for tape volumes that are
library-resident.
Appendix B. Using ISMF Panels to Define and Monitor Your Configuration 367
368 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Appendix C. Accessibility
Accessibility features help a user who has a physical disability, such as restricted
mobility or limited vision, to use software products successfully. The major
accessibility features in z/OS enable users to:
v Use assistive technologies such as screen readers and screen magnifier software
v Operate specific or equivalent features using only the keyboard
v Customize display attributes such as color, contrast, and font size
z/OS information
z/OS information is accessible using screen readers with the BookServer/Library
Server versions of z/OS books in the Internet library at:
http://www.ibm.com/systems/z/os/zos/bkserv/
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not give you
any license to these patents. You can send license inquiries, in writing, to:
IBM Director of Licensing
IBM Corporation
North Castle Drive
Armonk, NY 10504-1785
U.S.A.
For license inquiries regarding double-byte (DBCS) information, contact the IBM
Intellectual Property Department in your country or send inquiries, in writing, to:
IBM World Trade Asia Corporation Licensing
2-31 Roppongi 3-chome, Minato-ku
Tokyo 106, Japan
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law:
INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS
PUBLICATION “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS
FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or
implied warranties in certain transactions, therefore, this statement may not apply
to you.
IBM may use or distribute any of the information you supply in any way it
believes appropriate without incurring any obligation to you.
Licensees of this program who wish to have information about it for the purpose
of enabling: (i) the exchange of information between independently created
programs and other programs (including this one) and (ii) the mutual use of the
information which has been exchanged, should contact:
The licensed program described in this information and all licensed material
available for it are provided by IBM under terms of the IBM Customer Agreement,
IBM International Program License Agreement, or any equivalent agreement
between us.
Trademarks
IBM, the IBM logo, and ibm.com® are trademarks or registered trademarks of
International Business Machines Corporation in the United States, other countries,
or both. If these and other IBM trademarked terms are marked on their first
occurrence in this information with a trademark symbol (® or ™), these symbols
indicate U.S. registered or common law trademarks owned by IBM at the time this
information was published. Such trademarks may also be registered or common
law trademarks in other countries. A current list of IBM trademarks is available on
the Web at http://www.ibm.com/legal/copytrade.shtml.
372 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Glossary
The terms in this glossary are defined as they B
pertain to the Object Access Method.
base configuration information. Part of an SMS
This glossary may include terms and definitions configuration, it contains the default management class,
from: default unit, and default device geometry. It also
v The American National Standard Dictionary for identifies the systems, system groups, or both that an
SMS configuration is to manage.
Information Systems, ANSI X3.172-1990,
copyright 1990 by the American National bulk input. The process of adding a large number of
Standards Institute (ANSI). Copies may be tape cartridges to the ATLDS.
purchased from the American National
Standards Institute, 11 West 42nd Street, New bulk output. The process of removing a large number
York 10036. of tape cartridges from the ATLDS.
v The Information Technology Vocabulary,
developed by Subcommittee 1, Joint Technical C
Committee 1, of the International
Electrotechnical Commission (ISO/IEC CAF. Call attachment facility.
JTC2/SC1). cartridge. See tape cartridge.
v IBM Dictionary of Computing, New York:
McGraw-Hill, 1994. cartridge eject. For an IBM 3494 Tape Library
Dataserver, IBM 3495 Tape Library Dataserver, IBM
3584 Tape Library Dataserver, or a manual tape library,
A the act of physically removing a tape cartridge usually
under robot control, by placing it in an output station.
ACS. Automatic class selection. The software logically removes the cartridge by
deleting or updating the tape volume record in the tape
access method services. The facility used to define configuration database. For a manual tape library, the
and reproduce VSAM key-sequenced data sets (KSDS), act of logically removing a tape cartridge from the
and to manage ICF and VSAM catalogs. manual tape library by deleting or updating the tape
volume record in the tape configuration database.
ACDS. Active control data set.
cartridge entry. For an IBM 3494 Tape Library
active control data set (ACDS). A VSAM linear data
Dataserver, IBM 3495 Tape Library Dataserver, IBM
set that contains a copy of an active configuration and
3584 Tape Library Dataserver, or a manual tape library,
subsequent updates. All systems in an SMS complex
the process of logically adding a tape cartridge to the
use the ACDS identified in the IGDSMSxx member of
library by creating or updating the tape volume record
the PARMLIB to manage storage.
in the tape configuration database. The cartridge entry
ATLDS. Automated tape library dataserver. process includes the assignment of the cartridge to
scratch or private category in the library.
attribute. A named property of an entity.
cartridge loader. An optional feature for the 3480 tape
automated mode. The mode of operation of an ATLDS drive. It allows the automatic loading of tape cartridges
in which host requests for mounts and demounts are which have been placed into a loading rack. Manual
performed with no operator action. loading of single tape cartridges is also possible.
automated tape library dataserver. A hardware device category. A logical subset of volumes in a tape library.
that automates the retrieval, storage, and control of A category may be assigned by the library manager (for
tape cartridges. example, the insert category), or by the software (for
example, the private or scratch categories).
automatic class selection (ACS). Routines that
determine the data class, management class, storage CDS. Control data set.
class, and storage group for a JCL DD statement. The
storage administrator is responsible for establishing cluster. The physical elements of a TS7740/TS7720
ACS routines appropriate to an installation’s storage Virtualization Engine (3957) that consists of the
requirements. virtualization component, the cache controller and the
374 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
dataserver, the volume is removed from its cell location
and moved to the output station. For a manual tape
H
library, the volume is not moved, but the tape
Hardware configuration dialog (HCD). A
configuration database is updated to show the volume
user-friendly dialog for interacting with MVS for device
no longer resides in the manual tape library.
configuration.
ESTAE. Extended specify task abnormal exit.
HCD. Hardware configuration dialog.
export. The operation to remove one or more logical
| hybrid configuration. A multi-cluster grid
volumes from a virtual tape server library. First, the list
| configuration consisting of a TS7720 Virtualization
of logical volumes to export must be written on an
| Engine (disk-only) and a TS7740 Virtualization Engine
export list volume and then, the export operation itself
| (with back store tape).
must be initiated.
GRS. Global resource serialization. integrated catalog facility (ICF). In the Data Facility
Product (DFP), a facility that provides for integrated
catalog facility catalogs.
Glossary 375
integrated catalog facility catalog. In the Data Facility modules by resolving cross references among the
Product (DFP), a catalog that consists of a basic catalog modules and, if necessary, adjusting addresses.
structure, which contains information about VSAM and
non-VSAM data sets, and at least one VSAM volume link-edit. To create a loadable computer program by
data set, which contains information about VSAM data means of a linkage editor.
sets only.
logical volume. Logical volumes have a many-to-one
Interactive Storage Management Facility (ISMF). An association with physical tape media and are used
ISPF application that provides an interactive set of indirectly by MVS applications. They reside in a virtual
space management functions. tape server or on exported stacked volumes.
Applications can access the data on these volumes only
Interactive System Productivity Facility (ISPF). An when they reside in a virtual tape server which makes
IBM licensed program that serves as a full-screen editor the data available via its tape volume cache or after the
and dialogue manager. Used for writing application data has been copied to a physical volume through the
programs, it provides a means of generating standard use of special utilities.
screen panels and interactive dialogues between the
application programmer and terminal user. | logical worm. Write-once, read-many (WORM)
| function provided in the TS7700 Virtualization Engine.
IODF. An input/output definition file (IODF) is a | A logical volume (MEDIA1 or MEDIA2) is designated
VSAM linear data set that contains I/O definition | as WORM, not by the usage of a special WORM media
information. This information includes processor I/O | type, but when it is first mounted and written from
definitions and operating system I/O definitions. A | load point. WORM functionality is enabled at the
single IODF can contain several processor and several | TS7700 through data class policy definitions.
operating system I/O definitions.
library manager. The software application that MEDIA3. High Performance Cartridge Tape.
controls all operations in an ATLDS.
MEDIA4. Extended High Performance Cartridge Tape.
library manager database. A database which contains
MEDIA5. Enterprise Tape Cartridge.
entries for all cartridges in an ATLDS. Each entry
contains volume serial number, category, physical MEDIA6. Enterprise WORM Tape Cartridge.
location, and volume status information.
MEDIA7. Enterprise Economy Tape Cartridge.
library record. The library record contains information
related to the library such as library name and logical MEDIA8. Enterprise Economy WORM Tape Cartridge.
type. The library record resides within the tape
configuration database. MEDIA9. Enterprise Extended Tape Cartridge
linkage editor. A computer program for creating load MEDIA10. Enterprise Extended WORM Tape
modules from one or more object modules or load Cartridge
376 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Megabyte (MB). A unit of measure for storage automated mode. The robot is not operating. This
capacity. One megabyte equals 1 048 576 bytes. mode allows the operator to enter the enclosure area
briefly to correct a problem, add cartridges to the bulk
mount. A host-linked operation which results in a input station, or remove cartridges from the bulk
tape cartridge being physically inserted into a tape output station.
drive.
Peer-to-Peer Virtual Tape Server (PtP VTS). A 3494
MTL. Manual Tape Library. VTS configuration where copies of data in newly
created or updated tape volumes are automatically
multi-cluster grid. One or more interconnected created or updated in each of two interconnected VTSs.
clusters (distributed libraries) that together form a grid. This dual-volume copy functionality improves data
The clusters in a grid can be at the production site and availability and data recovery, while being transparent
also at a remote site for two and three site protection. to user applications and host processor resources. See
also Virtualization Engine.
O Peer-to-Peer VTS data. The 3494 Peer-to-Peer VTS
OAM. Object Access Method. data (PTPDATA) function allows an installation or
application to obtain operational mode settings and
Object Access Method (OAM). A DFSMSdfp device-related information from the PTP VTS library.
component used in the support of tape libraries.
Peer-to-Peer VTS library. Multiple 3494 VTS
offline. To make a tape library or a tape drive subsystems and their associated tape libraries coupled
logically unavailable to a system. together to form one subsystem and library image to
the host. See also Virtualization Engine.
online. To make a tape library or a tape drive
logically available to a system. Peer-to-Peer VTS mode control. The 3494 Peer-to-Peer
VTS mode control (PTPMC) function allows an
OAM Storage Management Component (OSMC). installation or application to change current operating
Where objects should be stored, manages object modes of the library.
movement within the object storage hierarchy and
manages expiration attributes based on the installation performance scaling. Formatting a tape so that less
storage management policy. than its full capacity is used. Formatting a tape to its
optimal performance capacity decreases the amount of
Object Storage and Retrieval (OSR). Component of time required to access the data on the tape. A tape that
OAM that stores, retrieves, and deletes objects. OSR is formatted to its optimal performance capacity can
stores objects in the storage hierarchy and maintains later be reused and formatted to its full capacity.
the information about these objects in DB2 databases. Performance scaling only applies to MEDIA5 and
MEDIA9 tape cartridge media.
OSMC. OAM Storage Management Component.
performance segmentation. Formatting a tape into
OSR. Object Storage and Retrieval. two segments. The fast segment is written to first,
providing a performance benefit. Once the fast segment
outboard. Indicates that a function or action is is filled, the other segment is used, which has slower
performed by the tape library, not by the host system access. Performance segmentation applies to MEDIA5
software. and MEDIA9 tape cartridge media.
outboard policy management. A method of managing physical library. In relationship to a virtual tape
tape volumes that defines actions for volume policies at server, a physical library is a hardware enclosure
the library instead of at the host. consisting of one or more virtual tape server libraries
with each virtual tape server being identified to the
P host as a separate library. Restrictions by the library
manager may be set on an individual library basis or
partitioning. Dividing the resources in a tape library on a physical library basis as is the case with import.
(tape drives and tape volumes) among multiple
systems or sysplexes, or both for their exclusive use. physical volume. A volume that has a one-to-one
Each partition may be viewed as a logical library with association with physical tape media and which is used
each logical library (TCDBplex) represented by one directly by MVS applications. It may reside in an
TCDB. automated tape library dataserver or be kept on shelf
storage either at vault sites or within the data center
paused mode. The mode of operation of an ATLDS where it can be mounted on stand-alone tape drives.
where all host commands that require movement of
cartridges are queued until the library is returned to
Glossary 377
physical volume pool. A set of stacked volumes in the Storage Management Subsystem. See DFSMS.
VTS that may be grouped together because of common
characteristics. System Modification Program/Extended. Basic tool
for installing software changes in programming
policy action. Actions defined outboard at the tape systems. It controls these changes at the element
library for policies that are assigned to tape library (module or macro) level, which helps protect system
volumes as volume attributes. Specific types of actions integrity.
are defined to policy types (storage group, storage
class, management class, or data class). SMSplex. A group of one or more systems that share
a common set of SMS control data sets: the active
policy construct. Name of an SMS construct that is control data set (ACDS) and the communications data
used outboard as a policy name and is assigned to a set (COMMDS).
library-resident tape volume. Policy actions are defined
at the library and are not known to the host.
T
private tape volume. A volume assigned to specific
individuals or functions. tape cartridge. A case containing a reel of magnetic
tape that can be put into a tape unit without stringing
PTPDATA. Peer-to-Peer VTS data. the tape between reels.
PTPMC. Peer-to-Peer VTS mode control. tape configuration database (TCDB). An ICF user
catalog marked as a volume catalog (VOLCAT)
PtP VTS. Peer-to-Peer Virtual Tape Server. containing tape volume and tape library records.
378 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
vary online. To change the status of a tape library or a
tape drive from offline to online.
Glossary 379
380 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Index
A Automated Tape Library Dataserver
(continued)
cartridge loader (continued)
setting the scratch media type 113
accessibility 369 subsystem attachment, 3494 catalog
ACS routines, pre-ACS routines 6 (continued) defining 78
address space identifier (ASID) convenience input output general catalog description 6
description 141 station 13 recovering volume catalogs 94
aggregate group description 11 recreating library entries 94
description 4 high-capacity output facility 14 recreating volume entries 94
alter IBM TotalStorage Enterprise High specific catalog description 7
altering volume records 92 Performance Tape System 12 volume catalog description 6
mountable tape volume alter entry library manager 14 categories
panel 362 virtual tape server displaying volume categories 121
private to scratch confirmation description 12 CBRTVI macro 201
panel 366 logical library partitioning 19 scratch, library display 119
the use attribute of scratch outboard policy management 9 volume display 133
volumes 96 stacked volumes 16, 19 error 59
updating the library record in the tape volume cache 19 library manager 64
SCDS/TCDB 92 utilization of the 3590 storage volume 58
altering capacity 19 CBRSPPIM JCL sample 310
volume record 362 virtual device characteristics 15 CBRSPPIP JCL sample 313
assigning policy names outboard 115 virtual volume characteristics 15 CBRSPPXP JCL sample 320
AUDIT volume requirements 34 CBRSPSIM JCL sample 307
audit command 106 volume restrictions 35 CBRSPSXP JCL sample 317
full library 92, 359, 362 automatic class selection (ACS) CBRSPX03 JCL sample 323
identifying audit discrepancies 361 changing routines 93 CBRTDI macro 198
single volume 92, 359 overview 6 CBRTVI macro 205
tape libraries 359 writing and testing the routines 82 CBRUXCUA
verifying volume location 92, 359 creating the exit 82
verifying VTS logical volume description 211
entries 360
volume list 92, 359 B parameter list (CBRUXCPL) 216, 220
return and reason codes 220
Automated Tape Library Dataserver bulk volume information retrieval 21
syntax rules for outboard policy
3495 description BVIR 40
constructs 215
convenience input and output BYDEVICES
usage requirements 221
facility 11 for load balancing 52
WORM volume use attribute 155
external high-capacity input and CBRUXEJC
output facility 10 creating the exit 83
high-capacity input and output C description 232
facility 10 cache management 17 parameter list (CBRUXJPL) 236, 240
library manager 11 cartridge eject installation exit return codes 240
manual mode terminal 10 creating the exit 83 usage requirements 240
virtual volume characteristics 15 description 232 CBRUXENT
automated tape storage description 1 parameter description 163, 164, 166 creating the exit 82
coexistence support for outboard parameter list (CBRUXJPL) 236, 240 description 221
policy management 69 return codes 240 parameter list (CBRUXEPL) 228
description 2 usage requirements 240 return codes 231, 232
ejecting a tape cartridge 35, 163 used with EJECT function 147 syntax rules for outboard policy
entering a tape cartridge into a tape cartridge entry installation exit constructs 225
library 27 creating the exit 82 usage requirements 232
ISMF’s role 4 description 221 CBRUXVNL
library sharing among multiple entering a cartridge (automated tape creating the exit 83
systems 61 library dataserver) 27 description 240
retrieving data from a disabled parameter list (CBRUXEPL) 228 parameter list (CBRUXNPL) 248, 252
ATLDS 95 return and reason codes 231, 232 return codes
sharing with DFSMSrmm 67 usage requirements 232 device allocation 253
storage configurations 44 used with MCE function 147 job step processing 252, 253
subsystem attachment, 3494 cartridge entry processing library mount 253, 254
3490E magnetic tape without an online device 28 usage requirements 254
subsystem 12 cartridge loader CBRXLCS macro
3590 Model E 12 displaying the scratch media CBRSPLCS SAMPLIB member 257
3590 Model H 12 type 112
cartridge storage cells 12
382 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
demand allocation enter (continued) hardware (continued)
with system-managed tape 51 MCE 157 3584 ATLDS 14
device services tape cartridge entry 27 configuration database
querying 145 entry default use attribute 331 defining the tape drives 80
DEVSUPxx 64 error category 58 library models 43
disability 369 error count 59 tape subsystems 43
DISABLE exits (installation) virtual tape server
MVS LIBRARY DISABLE CBRUXCUA 211 description 12
command 110 CBRUXEJC 37, 232 logical library partitioning 19
disabled ATLDS, retrieving data CBRUXENT 221 stacked volumes 16, 19
altering private TCDB records 95 CBRUXVNL 240 tape volume cache 19
changing from SMS-managed to LIBRARY RESET 112 utilization of the 3590 storage
non-SMS-managed 96 pre-ACS routine 6 capacity 19
changing the use attribute 96 exporting virtual device characteristics 15
library manager database volume canceling an operation 38 virtual volume characteristics 15
list 97 CBRSPPXP JCL sample 320 hardware configuration definition (HCD)
overview 95 CBRSPSXP JCL sample 317 3590 Model H coexistence
return ATLDS operational status 97 CBRSPX03 JCL sample 323 considerations 70
sample JCL 96 completion processing 235 creating 80
volume not in library exit 97 EXPORT return and reason deleting subsystems 90
disaster recovery site considerations 95 codes 174 description 7
DISPCL command 112 FUNC=EXPORT 38, 148, 173 moving subsystems 89
DISPDRV command 126 global resource serialization 41, 77
display LIBRARY EXPORT command 108
cartridge loader scratch media
type 112
logical volumes from a VTS 37
overview 16
I
IART 17
drive status 126 status messages 39
IBM TotalStorage Enterprise Tape System
library connectivity 120
3590
library detail 121
coexistence support 69
library status 97, 119
OAM outstanding messages 139
G description 12
Geographically Dispersed Parallel high performance cartridge tape 12
OAM status 117
Sysplex storage configurations 44
storage group status 131
considerations for running PTP import
tape volume status 133
VTS 22 canceling an operation 31
volume's outboard policies 133
description 22 CBRSPPIM JCL sample 310
distributed library
topology 22 CBRSPPIP JCL sample 313
defining libraries 82
use with disaster recovery 22 CBRSPSIM JCL sample 307
defining tape storage groups 82
global resource serialization (GRS) FUNC=IMPORT 31, 148, 175
online/offline 101
creating the ring 77 IMPORT return and reason
peer-to-peer VTS system 21
using with cartridge entry codes 175
stacked volume 124
processing 33 LIBRARY IMPORT command 107
drive
using with export processing 41, 77 multiple logical volumes at the
displaying status 126
host 29
varying online/offline 103
outboard policy management
duplicate volume management 9
H considerations 70
overview 16
hardware
single logical volume at the library
E 3494 ATLDS
3490E magnetic tape
manager 32
eject status messages 31
subsystem 12
cartridge eject function (EJECT) 147 improved cache management 17
3590H magnetic tape
Cartridge Eject Installation Exit initial access response time 17
subsystem 12, 70
description 232 initial online status
cartridge storage cells 12
CBRXLCS EJECT macro syntax 163 description 334
IBM TotalStorage Enterprise High
failed notification 234 installation
Performance Tape System 12
line operator command 93 activating the configuration 83
library manager 14
MVS LIBRARY EJECT command 103 building the library inventory 74
subsystem attachment 11
overview 35 changing system libraries 75
3495 ATLDS
query 163 checklist 72
convenience input and output
return and reason codes 164 creating the exit routines 82
facility 11
specifying shelf location 105 creating the GRS 77
external high-capacity input and
volume from a tape library 93, 367 creating the hardware
output facility 10
enter configuration 80
high-capacity input and output
CBRSPUXE sample member 278 creating the SMS definitions 81
facility 10
CBRUXENT reference 221 creating the TCDB 78
library manager (ATLDS) 11
disabling entry processing 112 defining tape storage groups 82
manual mode terminal 10
import reference 29 display and set the cartridge loader
subsystem attachment 9
LIBRARY ENTER command 106 media type 84, 112, 113
Index 383
installation (continued) ISMF (Interactive Storage Management LCS (Library Control System) (continued)
IPLing the system 80 Facility) (continued) external services (continued)
outboard policy management panels (continued) macro interface 149
installation recommendations 84 mountable tape volume alter entry manual cartridge entry
planning 43 panel 362 (MCE) 147, 157
running the job stream 84 mountable tape volume obtain library name (OLN) 149
starting the OAM address space 83 application 348, 355 PTPDATA 148
validating the configuration 83 mountable tape volume list 350, PTPMC 149
varying the library online 84, 101 355 query volume residence
installation exits mountable tape volume selection (QVR) 148, 166
creating the exit entry panel 349 testing volume eligibility
cartridge eject 83, 232 primary option menu 327 (TVE) 148, 171
cartridge entry 82, 221 private to scratch confirmation tape data information
change use attribute 82, 211 panel 366 CBRTDI mapping macro 198
sample library members 255 tape library define 329 description 180
volume not in library 83, 240 tape library list 355 tape volume information
description volume list selection menu 349 CBRTVI mapping macro 205
CBRUXCUA 211 role with tape library dataservers 4 description 201
CBRUXEJC 232 typical procedures library
CBRUXENT 221 altering a tape library 3953 library manager 14
CBRUXVNL 240 definition 92 auditing a full library 359
disabling entry processing altering the volume record 92, auditing volumes in a library 359
(DISABLE) 110 362 changing system libraries 75
outboard policy management 215 auditing a full library 362 defining the tape library with
reenabling processing (RESET) 112 auditing volumes in a library 92, ISMF 81
return codes 359 display library status 119
CBRUXCUA 220 confirming audit request 360 displaying OAM status 117
CBRUXEJC 240 creating tape library lists 355, 358 displaying the cartridge loader scratch
CBRUXENT 231 defining a tape library 81, 91, media type 112
CBRUXVNL 252, 254 327, 336 drive status 126
sample program defining SMS constructs 81 ejecting a specific tape volume 103
CBRAPROC, creates OAM member ejecting a volume 93, 367 ejecting a volume from a library 367
in PROCLIB 306 generating a volume list 348 identifying audit discrepancies 361
CBRSPLCS, installation management functions 91 ISMF screens
management package 257 monitoring and maintaining SMS application selection panel 329
CBRSPUXC, Change Use Attribute library definitions 93 confirm audit request 360
Exit 271 verifying volumes in a defining a manual library 334
CBRSPUXE, Tape Cartridge Entry library 359 management selection menu 328
Exit 278 viewing and sorting lists 358 mountable tape volume alter entry
CBRSPUXJ, Tape Cartridge Eject panel 362
Exit 286 tape library define panel 329
CBRSPUXV, Volume Not in
Library Exit 97, 293
J tape library list 355
library manager 11
JCL keyword
installation storage management policy outboard policy management 9
SMSHONOR 51
overview 4 partitioning 63
job processing for outboard policy
planning for 43 recreating library entries 94
management 216
scratch tape management 8 SCDS definition 91
tape library management overview 1 setting the cartridge loader scratch
terminology 1 media type 113
types of tape volumes 8 K tape management overview 1
integrated catalog facility (ICF) keyboard 369 TCDBplex 63
tape configuration database 6 using ISMF to define 91, 327
volume catalogs vary drive online/offline 103
general 6
specific 7
L vary library online/offline 101
verifying volumes in a library 347
LCS (Library Control System)
volume record 7 load balancing considerations
description 3
ISMF (Interactive Storage Management BYDEVICES option 52
external services
Facility) logical volume
cartridge eject (EJECT) 147, 163
AUDIT command 359 building library inventory 74
CBRXLCS description 147
checklist, tape library define 81 canceling an export 38
CBRXLCS return and reason
description 4 considerations 242
codes 185
panels ejecting 36
change use attribute (CUA) 147,
application selection 329 export 148, 173, 242
149
confirm audit request 360 export pending category 136
execution environment 186
defining a manual library 334 exported category 136
EXPORT 148
management selection menu 328 exporting 36
IMPORT 148
exporting from a VTS 8
LCSPL parameter list 186, 197
384 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
logical volume (continued) media (continued) MVS (continued)
import 148, 175 IBM Enhanced Capacity Cartridge commands (continued)
import/export 16 System Tape (MEDIA2) 44, 56, 129, MODIFY OAM 140
importing 29 223, 332 MVS LIBRARY DISPCL 112
single volume 32 IBM Extended High Performance MVS LIBRARY SETCL 113
initiate/cancel export 108 Cartridge Tape (MEDIA4) 34, 44, OAM DUMP 140
initiate/cancel import 108 56, 129, 223, 332 OAM QUERY 142
inventory 19 IBM High Performance Cartridge Tape OAM RESTART 102
outboard policy management 9 (MEDIA3) 34, 44, 56, 129, 223, 332 START OAM 100
remove 235 IBM TotalStorage Enterprise Economy STOP OAM 140
stacked volume 30 Tape Cartridge(MEDIA7) 44, 56, hardware configuration definition 7
129, 223, 332 LIBRARY ENTER 106
IBM TotalStorage Enterprise Economy LIBRARY REQUEST 108
M WORM Tape
Cartridge(MEDIA8) 44, 56, 129,
OAM AUDIT 106
partitioning 63
macros
223, 332
CBRLCSPL 186
IBM TotalStorage Enterprise Extended
CBRTDI 198
CBRTDSI 207
Tape Cartridge(MEDIA9) 44, 56,
130, 223, 332
N
CBRTVI 205 name restrictions, tape library 327, 329
IBM TotalStorage Enterprise Extended
CBRUXCPL 216
WORM Tape
CBRUXEPL 228
Cartridge(MEDIA10) 44, 56, 130,
CBRUXJPL 236
CBRUXNPL 246
223, 332 O
IBM TotalStorage Enterprise Tape OAM (Object Access Method) 107
mainframe
Cartridge(MEDIA5) 44, 56, 129, defining elements 81
education xiii
223, 332 installation checklist 74
management
IBM TotalStorage Enterprise WORM installation procedures
introduction to tape library 1
Tape Cartridge(MEDIA6) 44, 56, activating the configuration 83
ISMF functions 4, 91
129, 223, 332 building the library inventory 74
multiple media formats 48
managing multiple media formats 48 changing system libraries 75
scratch tape 8
media selection, ATLDS 114 creating the exit routines 82
storage policy 4
media selection, MTL 114 creating the GRS 77
management class
scratch volume threshold 332 creating the hardware
description 4
setting cartridge loader scratch media configuration 80
maintaining 91
type 113 creating the SMS definitions 81
selective dual copy 20
messages creating the TCDB 78
selective peer-to-peer copy
format conventions 99 defining tape storage groups 82
mode 148, 177
routing to console 60 display and set the cartridge
manual cartridge entry (MCE)
mode control, Peer-to-Peer VTS (PTPMC) loader media type 84, 112, 113
CBRXLCS Assembler H macro 157
CBRTDI macro 198 IPLing the system 80
overview 147
changing VTS library operating running the job stream 84
parameter description 158
modes 177 starting the OAM address
return and reason codes 161, 163
definition 177 space 83
manual tape library
obtaining VTS using device validating the configuration 83
considerations 70
information 180 varying the library online 84, 101
ejecting a tape cartridge 35
parameters 177 keywords, OAMPROC,
global resource serialization 41
return and reason codes 179 OAMTASK 75
hardware considerations 48
selective peer-to-peer copy mode 23 operating the OAM Address
LIBRARY ENTER 106
syntax 177 Space 99
library sharing among multiple
mountable tape volume application planning for 43
systems 61
generating a volume list 348 role of ISMF 4
manual tape storage 2
list panel, ALTER 92, 362 storage management policy 4, 43
partitioned
list panel, AUDIT 359 support for tape libraries overview 3
handling tape drives 66
list panel, EJECT 367 using ISMF to define the
role of ISMF 4
selection entry panel 348 configuration 327
scratch tape management 8
MVS OAM AUDIT command 106
sharing with DFSMSrmm 67
commands OAM DUMP command
stand-alone 66
DISPLAY SMS,LIBRARY 119 description and syntax 140
storage configurations 44
DISPLAY SMS,OAM 117 OAM QUERY command 142
volume requirements 34
DISPLAY SMS,STORGRP 131 command description 142
volume restrictions 35
DISPLAY SMS,VOLUME 133 keyword descriptions 142
media
LIBRARY DISABLE 110 syntax 142
displaying cartridge loader scratch
LIBRARY DISPDRV 126 obtaining library name information
media type 112
LIBRARY EJECT 36, 103 FUNC=OLN 182
IBM Cartridge System Tape
LIBRARY EXPORT 108 return and reason codes 183
(MEDIA1) 44, 56, 129, 223, 332
LIBRARY IMPORT 107 VTS library device information 180
LIBRARY RESET 112
Index 385
obtaining library name information parameter (continued) private volume (continued)
(continued) IMPORT 175 CUA function 147
VTS library operational mode LCS external services (LCSPL) 186, defining eject default attribute 331
settings 180 197 defining entry default attribute 331
online/offline manual cartridge entry 158 description 8
displaying library status 119 OLN 182 private to scratch confirmation
library connectivity 120 PTPDATA 180 panel 366
varying a tape drive 103 PTPMC 177 restrictions 34
varying a tape library 101 query volume residence 167 PROCLIB
operator tasks tape cartridge eject 163 CBRAPROC, creates OAM
DISPLAY OAM messages 139 test volume eligibility 171, 173, 175 member 306
DISPLAY SMS,LIBRARY 119 partitioning
DISPLAY SMS,OAM 117 tape libraries among multiple
DISPLAY SMS,STORGRP 131
DISPLAY SMS,VOLUME 133
sysplexes 63
Peer-to-Peer VTS data (PTPDATA)
Q
query device services 145
LIBRARY DISABLE 110 definition 180
query eject request 163
LIBRARY DISPCL 112 obtaining VTS library operational
query volume residence (QVR)
LIBRARY DISPDRV 126 mode settings 180
CBRTVI macro 201
LIBRARY EJECT 103 parameters 180
CBRXLCS macro 166
LIBRARY ENTER 106 return and reason codes 181
description 142, 148
LIBRARY EXPORT 108 syntax 180
macro parameter description 167
LIBRARY IMPORT 107 Peer-to-Peer VTS mode control (PTPMC)
return and reason codes 168, 171
LIBRARY LMPOLICY 115 CBRTDI macro 198
LIBRARY RESET 112 changing VTS library operating
LIBRARY SETCL 113 modes 177
MODIFY OAM 140 definition 177 R
OAM AUDIT 106 obtaining VTS using device RACF
OAM DUMP 140 information 180 facility class profile 79
OAM QUERY 142 parameters 177 read compatibility 49
OAM RESTART 102 return and reason codes 179 recording technology 149, 158
START OAM 100 selective peer-to-peer copy mode 23 recovery
STOP OAM 140 syntax 177 disaster recovery site
VARY MVS (tape drive) 103 Peer-to-Peer VTS Subsystem considerations 95
VARY SMS (tape library) 101 defining 82 library entries 94
outboard policy management description 21 volume catalogs 94
assigning policy names 115 directing allocation 82 volume entries 94
cache management 17 library ID 80 requirements
calling the entry exit 226 using with GDPS 22 media 48
coexistence considerations 69 performance scaling 55 tape volume 34
displaying policy names performance segmentation 55 volser uniqueness 32, 34
CBRTVI macro 201 physical volume RESET
QVR function 166 eject 235 MVS LIBRARY RESET command 112
volume display 133 vision system 360 RESTART command 102
for VTS volumes 9 physical volume pooling 19 restrictions
installation recommendations 84 planning tape library name 329
migration and expected actions 87 analyzing the processing volume serial number 35
physical volume pooling 19 environment 43 retrieving data from a disabled ATLDS
returning from the entry exit 227 hardware recommendations 43 altering private TCDB records 95
scenarios, installation 85 managing multiple media formats 48 changing from SMS-managed to
selective dual copy 20 OAM installation 43 non-SMS-managed 96
selective peer-to-peer copy mode 23 tape cartridge capacities 49 changing the use attribute 96
test environments 87 TDSI considerations 48 library manager database volume
outstanding requests, OAM query 142 policy names outboard 115 list 97
pre-ACS routine installation exit 6 overview 95
private volume return ATLDS operational status 97
P altering in the TCDB 95
CBRSPLCS 257
sample JCL 96
volume not in library exit 97
parameter
Change Use Attribute Installation Exit return codes
CBRUXCUA parameter list
(CBRUXCUA) CBRUXCUA 220
(CBRUXCPL) 216, 220
description 211 CBRUXEJC 240
CBRUXEJC parameter list
changing from private to scratch 154 CBRUXENT 231
(CBRUXJPL) 236, 240
changing from scratch to private 96, CBRUXVNL
CBRUXENT parameter list
154 device allocation 253
(CBRUXEPL) 228
changing to the same use job step processing 252, 253
CBRUXVNL parameter list
attribute 155 library mount 253, 254
(CBRUXNPL) 248, 252
changing use attribute with CBRXLCS
changing the use attribute 151
CBRSPUXC 271 CBRXLCS 185
EXPORT 173
386 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
return codes (continued) scratch volume (continued) stacked volume (continued)
CBRXLCS (continued) displaying the cartridge loader scratch export 37
change use attribute 156, 157 media type 112 exported category 136
eject 164 error count 59 identification of 28
export 173 MTL tape management 8 import 30
import 175 private to scratch confirmation importing
Manual Cartridge Entry 161, 163 panel 366 status message 31
OLN 183 restrictions 34 logical volume 30
PTPDATA 181 scratch count 121 reuse 31
PTPMC 179 setting cartridge loader scratch media START OAM command syntax 100
Query Volume Residence 168, 171 type 113 status
Tape Cartridge Eject 164, 166 tape management 8 drive 126
Test Volume Eligibility 172, 173 threshold, defining 332 library 119
routing console messages 60 selective dual copy 20 OAM 117
selective peer-to-peer copy 23 returning the library manager to
selective peer-to-peer dual copy 23 operational status 97
S SETALLOC command
BYDEVICES option 52
storage group 131
volume 133
sample programs
for load balancing 52 storage class
CBRAPROC, creates OAM member in
TAPELIB_PREF parameter 52 description 4
PROCLIB 306
shortcut keys 369 maintaining 91
CBRSPLCS, installation management
SMS (Storage Management Subsystem) storage group
package 257
aggregate group 4 blank storage group 5
CBRSPUXC, Change Use Attribute
automated tape storage 1 defining 5
Exit 271
cartridge entry processing 33 description 4
CBRSPUXE, Tape Cartridge Entry
configuration elements 4 displaying status 131
Exit 278
constructs 4 maintaining 93
CBRSPUXJ, Tape Cartridge Eject
creating definitions with ISMF 81 mountable tape volume selection
Exit 286
creating the SMS definitions 78 panel 82, 91, 350
CBRSPUXV, Volume Not in Library
data class construct 4 storage management policy
Exit 293
DFSMSrmm support for sharing overview 4
SAMPLIB members
TLDS 67 syntax
CBRAPROC 306
display commands for: CBRXLCS macro
CBRSPLCS 257
cartridge loader scratch media FUNC=CUA 149
CBRSPPIM 310
type 112 FUNC=EJECT 163
CBRSPPIP 313
drive status 126 FUNC=EXPORT 173
CBRSPPXP 320
library status 119 FUNC=IMPORT 175
CBRSPSIM 307
OAM status 117 FUNC=MCE 157
CBRSPSXP 317
storage group status 131 FUNC=OLN 182
CBRSPUXC 271
volume status 133 FUNC=PTPDATA 180
CBRSPUXE 278
management class 4 FUNC=PTPMC 177
CBRSPUXJ 286
manual tape storage overview 2 FUNC=QVR 166
CBRSPUXV 293
outboard policy management 149 FUNC=TVE 171
CBRSPX03 323
partitioning 63 DISPLAY SMS,LIBRARY 119
SCDS (source control data set)
setting the cartridge loader scratch DISPLAY SMS,OAM 117
activating 83
media type 113 DISPLAY SMS,STORGRP 131
defining a tape library 91
sharing tape volumes 66 DISPLAY SMS,VOLUME 133
updating the library record 92
sharing, multiple SMS complexes 61 LIBRARY DISABLE 110
validating 83
stopping OAM 140 LIBRARY DISPCL 112
scratch threshold settings and
storage class construct 4 LIBRARY DISPDRV 126
allocation 56
storage group construct 4 LIBRARY EJECT 103
scratch volume
storage management policy LIBRARY ENTER 106
CBRSPLCS 257
overview 4 LIBRARY EXPORT 108
Change Use Attribute Installation Exit
support for libraries 3 LIBRARY IMPORT 107
(CBRUXCUA)
system group description 5 LIBRARY LMPOLICY 115
description 211
SMSHONOR LIBRARY REQUEST 109
changing to private from scratch 96,
JCL keyword 51 LIBRARY RESET 112
154
software volume categories LIBRARY SETCL 113
changing to scratch from private 154
description 56 MODIFY OAM 140
changing to the same use
TCDB volume error status field and OAM AUDIT 106
attribute 155
the MTL 59 OAM DUMP 140
changing use attribute with
updating the TCDB volume error OAM QUERY 142
CBRSPUXC 96, 271
status field in an ATLDS 58 OAM RESTART 102
CUA function 147
stacked volume PTPDATA function 180
defining the default entry use
composite library 124 PTPMC function 177
attribute 331
description 16 START OAM 100
description 8
distributed library 124 STOP OAM 140
Index 387
syntax (continued) tape (continued) Tape Library Dataserver (continued)
VARY SMS 101, 103 setting outboard policy names 115, 3590 tape systems 12
system 151 automated tape storage overview 1
cartridge entry processing 33 setting the cartridge loader scratch defining a tape library 327
connectivity, displaying 126 media type 113 defining a composite library 327
libraries, changing 75 tape library define 329 field parameters 330
library sharing among multiple tape library list panel 355 name restrictions 329
systems 61 terminology 1 ejecting a tape cartridge 35
system group definition 5 volume list selection menu 349 entering a tape cartridge (automated
TCDBplex 63 Volume not in Library Installation tape library dataserver) 27
system group overview 5 Exit 240 installation checklist 72
system-managed tape volume requirements 34 library sharing among multiple
demand allocation with 51 volume restrictions 35 systems 61
volume types 8 manual tape storage overview 2
tape configuration database (TCDB) retrieving data from a disabled
T altering records 95
changing the use attribute 96
ATLDS 95
sharing with DFSMSrmm 67
tape
changing to non-SMS-managed 96 virtual tape server
application selection 329
coexistence support 69 description 12
automated tape storage 1
defining the eject default logical library partitioning 19
bulk entry and eject 10
attribute 331 stacked volumes 16, 19
Cartridge Eject Installation Exit
description 56 tape volume cache 19
(CBRUXEJC) 232
ICF support 6 utilization of the 3590 Storage
Cartridge Entry Installation Exit
library manager volume list 97 Capacity 19
(CBRUXENT) 221
operational status 97 virtual device characteristics 15
CBRSPUXE, Tape Cartridge Entry
partitioning 63 virtual volume characteristics 15
Exit 278
querying volume residency 148 volume requirements 34
CBRSPUXJ, Tape Cartridge Eject
retrieving data from 95 volume restrictions 35
Exit 286
TCDBplex 63 tape volume information (TVI)
CBRSPUXV, Volume Not in Library
using the sample exit description 201
Exit 293
(CBRUXVNL) 97 mapping macro 205
Change Use Attribute Installation Exit
volume expiration date 60 tape volumes, entering 106
(CBRUXCUA) 211
tape device selection information (TDSI) TAPELIB_PREF parameter
defining a manual library 334
as used by CBRXLCS 207 BYDEVICES option 52
defining the scratch volume
attributes 49 for load balancing 52
threshold 332
coexistence support 69 test volume eligibility (TVE)
displaying tape drive status 126
definition 48 CBRXLCS macro syntax 171
displaying the cartridge loader scratch
parameter list 207 description 148
media type 112
processing for volumes 158 return and reason codes 172, 173,
EJECT line operator 367
Tape Encryption Support 53 185
ejecting from an automated tape
Tape Library Dataserver test volume eligibility 171, 173, 175
library dataserver 35
3494 subsystem attachment threshold, scratch 56
entering a cartridge into an automated
3490E magnetic tape TS7700 Virtualization Engine 23
tape library dataserver 27
subsystem 12 grid 23
entering a cartridge into an manual
cartridge storage cells 12
tape library 147
convenience input output
management selection menu 328
media requirements 48
station 13
description 11
U
media types UNIT parameter
high-capacity output facility 14
cartridge system tape SMSHONOR keyword 51
IBM TotalStorage Enterprise High
(MEDIA1) 44, 56, 129, 223 usage requirements
Performance Tape System 12
enhanced capacity cartridge CBRUXCUA 221
library manager 14
system tape (MEDIA2) 44, 56, CBRUXEJC 240
storage configurations 44
129, 223, 332 CBRUXENT 232
3495 ATLDS
extended high performance CBRUXVNL 254
convenience input and output
cartridge tape (MEDIA4) 34, 44,
facility 11
56, 129, 223, 332
description 15
high performance cartridge
tape 34, 44, 56, 129, 223, 332
external high-capacity input and V
output facility 10 validity checking, constructs 116
mountable tape volume
high-capacity input and output VARY SMS command
application 348
facility 10 tape drive 103
mountable tape volume selection
library manager (ATLDS) 11 tape library 101
entry panel 349
manual mode terminal 10 verify
primary option menu 327
storage configurations 44 prerequisites 69
private volume description 8
subsystem attachment 3495 testing volume eligibility (TVE) 148
recording technology 151
ATLDS 15 volume location 92, 359
scratch tape description 8
3584 subsystem attachment 14 VTS logical volume entries 360
388 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
virtual tape server volume (continued)
cache management 19 serial number criteria 350
description 12 setting outboard policy names 149
exporting logical volumes 37 setting the cartridge loader scratch
importing logical volumes 29, 32 media type 113
logical library partitioning 19 sharing 66
outboard policy management 9 software volume categories 56
peer-to-peer data (PTPDATA) 180 specifying volume location 105
peer-to-peer mode control tape types 8
(PTPMC) 177 tape volume information
physical volume pooling 17 description 201
selective dual copy 20 testing volume eligibility (TVE) 148
stacked volumes 16, 19 volume not in library installation
tape volume cache 19 exit 97, 240
using with GDPS 22 volume expiration date 106
utilization of the 3590 storage volume not in library installation exit 97
capacity 19 creating the exit 83
virtual device characteristics 15 description 240
virtual volume characteristics 15 parameter list 248, 252
virtualization engine 39, 108 return codes
volume device allocation 253
altering the volume record 95, 362 job step processing 252, 253
auditing a tape library 359 library mount 253, 254
cartridge entry usage requirements 254
CBRSPPIP 313
CBRUXEPL policy fields 228
changing from private to scratch 154
changing from scratch to private 154
W
WORM
changing to non-SMS-managed 96
changing the use attribute 47, 155
checking volser for uniqueness 32
considerations 47
confirm audit request 360
write once, read many 47
confirming private to scratch
alteration 366
CUA
CBRUXCPL policy fields 216 Z
parameters for policy names 155 z/OS Basic Skills information center xiii
defining scratch threshold limits 331
defining the eject default
attribute 331
displaying the cartridge loader scratch
media type 112
displaying volume status 133
duplicate volume management 9
ejecting a specific volume 103
ejecting from a library 367
entering a tape cartridge (automated
tape library dataserver) 27
error status, audit results 361
importing logical volumes 107, 108,
115
ISMF mountable tape volume
application 348
alter entry panel 362
selection entry panel 349
volume list selection menu 349
LIBRARY LMPOLICY command 115
media type descriptions 332
policy names outboard 115
private volume description 8
query volume residence (QVR) 148
record 7
recovering volume catalogs 94
recovering volume entries 94
requirements 34
restrictions 35
retrieving from a disabled ATLDS 95
scratch tape description 8
Index 389
390 z/OS V1R11.0 DFSMS OAM Planning, Installation, and Storage Administration Guide for Tape Libraries
Readers’ Comments — We'd Like to Hear from You
z/OS
DFSMS Object Access Method Planning,
Installation, and Storage Administration
Guide for Tape Libraries
We appreciate your comments about this publication. Please comment on specific errors or omissions, accuracy,
organization, subject matter, or completeness of this book. The comments you send should pertain to only the
information in this manual or product and the way in which the information is presented.
For technical questions and information about products and prices, please contact your IBM branch office, your
IBM business partner, or your authorized remarketer.
When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute your comments in any
way it believes appropriate without incurring any obligation to you. IBM or any other organizations will only use
the personal information that you supply to contact you about the issues that you state on this form.
Comments:
If you would like a response from IBM, please fill in the following information:
Name Address
Company or Organization
_ _ _ _ _ _ _Fold
_ _ _and
_ _ _Tape
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Please
_ _ _ _ _do
_ _not
_ _ staple
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Fold
_ _ _and
_ _ Tape
______
NO POSTAGE
NECESSARY
IF MAILED IN THE
UNITED STATES
IBM Corporation
MHVRCFS, Mail Station P181
2455 South Road
Poughkeepsie, NY
12601-5400
_________________________________________________________________________________________
Fold and Tape Please do not staple Fold and Tape
Cut or Fold
SC35-0427-09 Along Line
Printed in USA
SC35-0427-09