12.07.2015 Views

z/VM: CP Planning and Administration - z/VM - IBM

z/VM: CP Planning and Administration - z/VM - IBM

z/VM: CP Planning and Administration - z/VM - IBM

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

z/<strong>VM</strong><strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Version 5 Release 1SC24-6083-01


z/<strong>VM</strong><strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Version 5 Release 1SC24-6083-01


Note:Before using this information <strong>and</strong> the product it supports, read the information under “Notices” on page 781.Second Edition (December 2004)This edition applies to version 5, release 1, modification 0 of <strong>IBM</strong> z/<strong>VM</strong> (product number 5741-A05) <strong>and</strong> to allsubsequent releases <strong>and</strong> modifications until otherwise indicated in new editions.This edition replaces SC24-6083-00.© Copyright International Business Machines Corporation 1991, 2004. All rights reserved.US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contractwith <strong>IBM</strong> Corp.


ContentsAbout This Book . . . . . . . . . . . . . . . . . . . . . . . . xvWho Should Read This Book . . . . . . . . . . . . . . . . . . . . xvWhat You Should Know before Reading This Book . . . . . . . . . . . . xvHow to Read Syntax Diagrams . . . . . . . . . . . . . . . . . . . xviWhere to Find More Information . . . . . . . . . . . . . . . . . . xviiiHow to Send Your Comments to <strong>IBM</strong> . . . . . . . . . . . . . . . . xviiiSummary of Changes . . . . . . . . . . . . . . . . . . . . . xixSC24-6083-01, z/<strong>VM</strong> Version 5 Release 1, Updated Edition . . . . . . . . xixFibre Channel Protocol (F<strong>CP</strong>) Logical Unit Number (LUN) Access Control(APAR <strong>VM</strong>63328) . . . . . . . . . . . . . . . . . . . . . . xixSupport for the <strong>IBM</strong> TotalStorage DS8000 (APAR <strong>VM</strong>63534) . . . . . . . xixSC24-6083-00, z/<strong>VM</strong> Version 5 Release 1 . . . . . . . . . . . . . . . xixSCSI F<strong>CP</strong> Disk Support . . . . . . . . . . . . . . . . . . . . xixPCIX Cryptographic Coprocessor (PCIXCC) . . . . . . . . . . . . . xixEnhanced Guest LAN <strong>and</strong> Virtual Switch Authorization Support . . . . . . xixNetworking Enhancements . . . . . . . . . . . . . . . . . . . xixHyperswap Support . . . . . . . . . . . . . . . . . . . . . . xxRemoval of <strong>CP</strong> Functions . . . . . . . . . . . . . . . . . . . . xxConverting to System Configuration Files . . . . . . . . . . . . . . xxRemoval of Obsolete 370 References . . . . . . . . . . . . . . . xxSC24-6043-01, z/<strong>VM</strong> Version 4 Release 4 . . . . . . . . . . . . . . . xxNetworking Enhancements . . . . . . . . . . . . . . . . . . . xxHardware Configuration Definition (HCD) . . . . . . . . . . . . . . xxi<strong>CP</strong> Comm<strong>and</strong> Response Suppression . . . . . . . . . . . . . . . xxiGuest IPL from SCSI Disks . . . . . . . . . . . . . . . . . . . xxiMiscellaneous . . . . . . . . . . . . . . . . . . . . . . . . xxiPart 1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Chapter 1. <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> Overview . . . . . . . . . . . 3Migration <strong>Planning</strong> . . . . . . . . . . . . . . . . . . . . . . . . 3Major z/<strong>VM</strong> Files . . . . . . . . . . . . . . . . . . . . . . . . . 3System <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> . . . . . . . . . . . . . . . . . 4User <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> . . . . . . . . . . . . . . . . . . 5Real <strong>and</strong> Virtual Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> . . . . . . . . . . . 7Auxiliary Storage (Exp<strong>and</strong>ed Storage <strong>and</strong> DASD) <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> 7<strong>CP</strong>-Owned DASDs . . . . . . . . . . . . . . . . . . . . . . . 7Dedicated DASDs . . . . . . . . . . . . . . . . . . . . . . . 8DASDs Used for Minidisks . . . . . . . . . . . . . . . . . . . . 8DASD Space Used for Shared File Pools . . . . . . . . . . . . . . 9Exp<strong>and</strong>ed Storage . . . . . . . . . . . . . . . . . . . . . . . 9Virtual Disks in Storage . . . . . . . . . . . . . . . . . . . . . 9Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . 10Unit Record Devices . . . . . . . . . . . . . . . . . . . . . . . 11Dedicated Unit Record Devices . . . . . . . . . . . . . . . . . . 11Spooled Unit Record Devices . . . . . . . . . . . . . . . . . . 11Performance <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> . . . . . . . . . . . . . . . 12I/O Reconfiguration in z/<strong>VM</strong> . . . . . . . . . . . . . . . . . . . . 12OpenExtensions <strong>Planning</strong> . . . . . . . . . . . . . . . . . . . . . 13Part 2. System <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> . . . . . . . . . . . . . . . . . . 15© Copyright <strong>IBM</strong> Corp. 1991, 2004 iii


Chapter 2. Configuring Your System . . . . . . . . . . . . . . . . 23Specifying System Configuration Information . . . . . . . . . . . . . . 23Using Configuration Files . . . . . . . . . . . . . . . . . . . . . 23What You Can Specify in the System Configuration File . . . . . . . . . . 24Contents of the System Configuration File . . . . . . . . . . . . . . 25What You Can Specify in the Logo Configuration File . . . . . . . . . . . 28Contents of the Logo Configuration File . . . . . . . . . . . . . . . 28Chapter 3. Underst<strong>and</strong>ing the <strong>CP</strong> File System . . . . . . . . . . . . 31Initial State of the <strong>CP</strong> File System . . . . . . . . . . . . . . . . . . 31Changing the List of Disks Accessed by <strong>CP</strong> . . . . . . . . . . . . . . 32Performance Considerations . . . . . . . . . . . . . . . . . . . . 33Displaying the Contents of <strong>CP</strong>-Accessed Minidisks . . . . . . . . . . . 33Changing Information on <strong>CP</strong>-Accessed Minidisks . . . . . . . . . . . . 34Chapter 4. Using the St<strong>and</strong>-Alone Program Loader . . . . . . . . . . 37Creating the St<strong>and</strong>-Alone Program Loader . . . . . . . . . . . . . . . 37Overriding the Console that <strong>CP</strong> Will Use . . . . . . . . . . . . . . 39Overriding St<strong>and</strong>-Alone Program Loader Defaults . . . . . . . . . . . 39To IPL from a SCSI Disk . . . . . . . . . . . . . . . . . . . . 39The St<strong>and</strong>-Alone Program Loader Screen . . . . . . . . . . . . . . 40Passing IPL Parameters . . . . . . . . . . . . . . . . . . . . . 42Chapter 5. Defining I/O Devices . . . . . . . . . . . . . . . . . . 45Device Support . . . . . . . . . . . . . . . . . . . . . . . . . 45Unsupported Devices . . . . . . . . . . . . . . . . . . . . . 46Device Sensing . . . . . . . . . . . . . . . . . . . . . . . . 46DASD . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46Tapes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Unit Record Devices . . . . . . . . . . . . . . . . . . . . . . . 48Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . 49Communication Controllers . . . . . . . . . . . . . . . . . . . . 49ESCON Devices . . . . . . . . . . . . . . . . . . . . . . . . 49Other Devices . . . . . . . . . . . . . . . . . . . . . . . . . 50Chapter 6. The System Configuration File . . . . . . . . . . . . . . 51The Parm Disk . . . . . . . . . . . . . . . . . . . . . . . . . 51Summary of System Configuration File Statements . . . . . . . . . . . 51General Rules for Coding a System Configuration File . . . . . . . . . . 55Format . . . . . . . . . . . . . . . . . . . . . . . . . . . 55Comments . . . . . . . . . . . . . . . . . . . . . . . . . 55Continuations . . . . . . . . . . . . . . . . . . . . . . . . 55Case . . . . . . . . . . . . . . . . . . . . . . . . . . . 56Record Qualifiers . . . . . . . . . . . . . . . . . . . . . . . 56The Order of Statements in the File . . . . . . . . . . . . . . . . 57Checking the Syntax of Statements in the File . . . . . . . . . . . . 57ALTERNATE_OPERATORS Statement . . . . . . . . . . . . . . . . 58ASSOCIATE EXIT Statement . . . . . . . . . . . . . . . . . . . 60ASSOCIATE MESSAGES / MSGS Statement . . . . . . . . . . . . . 64CHARACTER_DEFAULTS Statement . . . . . . . . . . . . . . . . 67<strong>CP</strong>_ACCESS Statement . . . . . . . . . . . . . . . . . . . . . 70<strong>CP</strong>_ADDON_INITIALIZE_ROUTINES Statement . . . . . . . . . . . . 72<strong>CP</strong>_OWNED Statement . . . . . . . . . . . . . . . . . . . . . 73<strong>CP</strong>XLOAD Statement . . . . . . . . . . . . . . . . . . . . . . 76DEFINE ALIAS Statement . . . . . . . . . . . . . . . . . . . . . 81iv z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DEFINE COMMAND / CMD Statement . . . . . . . . . . . . . . . . 84DEFINE DIAGNOSE Statement . . . . . . . . . . . . . . . . . . . 90DEFINE EXIT Statement . . . . . . . . . . . . . . . . . . . . . 94DEFINE LAN Statement . . . . . . . . . . . . . . . . . . . . . 97DEFINE VSWITCH Statement . . . . . . . . . . . . . . . . . . . 100DEVICES Statement . . . . . . . . . . . . . . . . . . . . . . 105DISABLE COMMAND / CMD Statement . . . . . . . . . . . . . . . 110DISABLE DIAGNOSE Statement . . . . . . . . . . . . . . . . . . 112DISABLE EXITS Statement . . . . . . . . . . . . . . . . . . . . 114DISTRIBUTE Statement . . . . . . . . . . . . . . . . . . . . . 116DRAIN (Disk) Statement . . . . . . . . . . . . . . . . . . . . . 118EDEVICE Statement . . . . . . . . . . . . . . . . . . . . . . 121EMERGENCY_MESSAGE_CONSOLES Statement . . . . . . . . . . . 124ENABLE COMMAND / CMD Statement . . . . . . . . . . . . . . . 126ENABLE DIAGNOSE Statement . . . . . . . . . . . . . . . . . . 128ENABLE EXITS Statement . . . . . . . . . . . . . . . . . . . . 130ENFORCE_BY_VOLid Statement . . . . . . . . . . . . . . . . . 132EQUATE Statement . . . . . . . . . . . . . . . . . . . . . . 133EXTERNAL_SYNTAX Statement . . . . . . . . . . . . . . . . . . 135FEATURES Statement . . . . . . . . . . . . . . . . . . . . . 136FORM_DEFAULT Statement . . . . . . . . . . . . . . . . . . . 150HOT_IO_RATE Statement . . . . . . . . . . . . . . . . . . . . 152IMBED Statement . . . . . . . . . . . . . . . . . . . . . . . 155INIT_MITIME Statement . . . . . . . . . . . . . . . . . . . . . 157IODF Statement . . . . . . . . . . . . . . . . . . . . . . . . 158JOURNALING Statement . . . . . . . . . . . . . . . . . . . . 160LOGO_CONFIG Statement . . . . . . . . . . . . . . . . . . . . 164MODIFY COMMAND / CMD Statement . . . . . . . . . . . . . . . 165MODIFY DIAGNOSE Statement . . . . . . . . . . . . . . . . . . 169MODIFY EXIT Statement . . . . . . . . . . . . . . . . . . . . . 172MODIFY LAN Statement . . . . . . . . . . . . . . . . . . . . . 175MODIFY PRIV_CLASSES Statement . . . . . . . . . . . . . . . . 176MODIFY VSWITCH Statement . . . . . . . . . . . . . . . . . . 178OPERATOR_CONSOLES Statement . . . . . . . . . . . . . . . . 180PRINTER_TITLE Statement . . . . . . . . . . . . . . . . . . . 182PRIV_CLASSES Statement . . . . . . . . . . . . . . . . . . . . 184PRODUCT Statement . . . . . . . . . . . . . . . . . . . . . . 186RDEVICE Statement . . . . . . . . . . . . . . . . . . . . . . 188RDEVICE Statement (Advanced Function Printers) . . . . . . . . . . . 189RDEVICE Statement (Card Punches) . . . . . . . . . . . . . . . . 190RDEVICE Statement (Card Readers) . . . . . . . . . . . . . . . . 192RDEVICE Statement (Communication Controllers) . . . . . . . . . . . 193RDEVICE Statement (DASD) . . . . . . . . . . . . . . . . . . . 195RDEVICE Statement (Graphic Display Devices) . . . . . . . . . . . . 197RDEVICE Statement (Impact Printers) . . . . . . . . . . . . . . . . 201RDEVICE Statement (Special Devices) . . . . . . . . . . . . . . . 205RDEVICE Statement (Tape Units) . . . . . . . . . . . . . . . . . 207RDEVICE Statement (Unsupported Devices) . . . . . . . . . . . . . 209RDEVICE Statement (3800 Printers) . . . . . . . . . . . . . . . . 212SAY Statement . . . . . . . . . . . . . . . . . . . . . . . . 217SET Statement . . . . . . . . . . . . . . . . . . . . . . . . 219START (Disk) Statement . . . . . . . . . . . . . . . . . . . . . 220STORAGE Statement . . . . . . . . . . . . . . . . . . . . . . 222SYSTEM_DATEFORMAT Statement . . . . . . . . . . . . . . . . 225SYSTEM_IDENTIFIER Statement . . . . . . . . . . . . . . . . . 226SYSTEM_IDENTIFIER_DEFAULT Statement . . . . . . . . . . . . . 228Contentsv


SYSTEM_RESIDENCE Statement . . . . . . . . . . . . . . . . . 230SYSTEM_USERIDS Statement . . . . . . . . . . . . . . . . . . 232THROTTLE Statement . . . . . . . . . . . . . . . . . . . . . 236TIMEZONE_BOUNDARY Statement . . . . . . . . . . . . . . . . 237TIMEZONE_DEFINITION Statement . . . . . . . . . . . . . . . . 239TOLERATE_CONFIG_ERRORS Statement . . . . . . . . . . . . . . 241TRANSLATE_TABLE Statement . . . . . . . . . . . . . . . . . . 243USERFORM Statement . . . . . . . . . . . . . . . . . . . . . 247USER_DEFAULTS System Configuration File Statement . . . . . . . . . 248USER_VOLUME_EXCLUDE Statement . . . . . . . . . . . . . . . 251USER_VOLUME_INCLUDE Statement . . . . . . . . . . . . . . . 253USER_VOLUME_LIST Statement . . . . . . . . . . . . . . . . . 255<strong>VM</strong>LAN Statement . . . . . . . . . . . . . . . . . . . . . . . 257XLINK_DEVICE_DEFAULTS Statement . . . . . . . . . . . . . . . 259XLINK_SYSTEM_EXCLUDE Statement . . . . . . . . . . . . . . . 263XLINK_SYSTEM_INCLUDE Statement . . . . . . . . . . . . . . . 264XLINK_VOLUME_EXCLUDE Statement . . . . . . . . . . . . . . . 266XLINK_VOLUME_INCLUDE Statement . . . . . . . . . . . . . . . 268XSPOOL_SYSTEM Statement . . . . . . . . . . . . . . . . . . . 271XSPOOL_TRACE Statement . . . . . . . . . . . . . . . . . . . 273XSPOOL_XLIST_INPUT Statement . . . . . . . . . . . . . . . . . 274XSPOOL_XLIST_OUTPUT Statement . . . . . . . . . . . . . . . . 276Chapter 7. The Logo Configuration File . . . . . . . . . . . . . . 279Using a Logo Configuration File . . . . . . . . . . . . . . . . . . 279Summary of Logo Configuration File Statements . . . . . . . . . . . . 279General Rules for Coding a Logo Configuration File . . . . . . . . . . . 279Format . . . . . . . . . . . . . . . . . . . . . . . . . . 279Comments . . . . . . . . . . . . . . . . . . . . . . . . . 279Continuations . . . . . . . . . . . . . . . . . . . . . . . . 280Case . . . . . . . . . . . . . . . . . . . . . . . . . . . 280Categories . . . . . . . . . . . . . . . . . . . . . . . . . 281Precedence . . . . . . . . . . . . . . . . . . . . . . . . 281Selection . . . . . . . . . . . . . . . . . . . . . . . . . 282Creating Logo Screens . . . . . . . . . . . . . . . . . . . . . 282Special Considerations When Creating Logos . . . . . . . . . . . . 283CHOOSE_LOGO Statement . . . . . . . . . . . . . . . . . . . 285INPUT_AREA Statement . . . . . . . . . . . . . . . . . . . . . 291ONLINE_MESSAGE Statement . . . . . . . . . . . . . . . . . . 292STATUS Statement . . . . . . . . . . . . . . . . . . . . . . . 293Chapter 8. Setting Up Service Virtual Machines . . . . . . . . . . . 295Setting Up Virtual Machines for Accounting . . . . . . . . . . . . . . 295Setting Up Virtual Machines to Collect Accounting Records . . . . . . . . 297Specifying a New Accounting Virtual Machine . . . . . . . . . . . . 297Starting Manual Retrieval of Accounting Records . . . . . . . . . . . 297Disassociating a User ID from the Retrieval of Accounting Records . . . . 298Accounting Record Formats . . . . . . . . . . . . . . . . . . . 299Adding Your Own Accounting Records <strong>and</strong> Source Code . . . . . . . . 310Setting Up Virtual Machines for Error Recording . . . . . . . . . . . . 314Setting Up Virtual Machines to Collect EREP Records . . . . . . . . . . 315Specifying a New EREP Virtual Machine . . . . . . . . . . . . . . 316Starting EREP Record Retrieval Manually . . . . . . . . . . . . . 316Disassociating a User ID from the Retrieval of EREP Records . . . . . . 317Setting Up Virtual Machines for Symptom Record Recording . . . . . . . 318Setting Up Virtual Machines to Collect Symptom Records . . . . . . . . . 319vi z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Specifying a New Symptom Record Recording Virtual Machine . . . . . . 319Starting Manual Retrieval of Symptom Records . . . . . . . . . . . 320Disassociating a User ID from the Retrieval of Symptom Records . . . . . 320Setting Up a Virtual Machine for Communication Controller Support forEmulator Program (EP) . . . . . . . . . . . . . . . . . . . . 321P<strong>VM</strong> Example . . . . . . . . . . . . . . . . . . . . . . . . 323Setting Up Service Pool Virtual Machines . . . . . . . . . . . . . . . 325Setting Up Print Services Facility/<strong>VM</strong> Virtual Machines . . . . . . . . . . 326Setting Up Virtual Machines for Data Storage Management . . . . . . . . 327Chapter 9. <strong>Planning</strong> for SNA Console Communication Services(SNA/CCS) . . . . . . . . . . . . . . . . . . . . . . . . . 329Structure of the SNA Environment . . . . . . . . . . . . . . . . . 329Establishing the SNA/CCS Terminal Environment . . . . . . . . . . . . 330Defining the VSM to z/<strong>VM</strong> . . . . . . . . . . . . . . . . . . . 330Defining Logos Used by VSMs . . . . . . . . . . . . . . . . . 330Defining SNA/CCS to VCNA . . . . . . . . . . . . . . . . . . 330Defining SNA/CCS to VSCS . . . . . . . . . . . . . . . . . . 331Enabling SNA Communication . . . . . . . . . . . . . . . . . . 331Starting the VTAM Service Machine . . . . . . . . . . . . . . . . 332Improving SNA/CCS Performance . . . . . . . . . . . . . . . . 332VSM Termination . . . . . . . . . . . . . . . . . . . . . . . 332Chapter 10. Setting Up Cross System Extensions (CSE) . . . . . . . . 333Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 333CSE Capabilities . . . . . . . . . . . . . . . . . . . . . . . 333Users Supported . . . . . . . . . . . . . . . . . . . . . . . 334Setting Up a CSE Complex . . . . . . . . . . . . . . . . . . . 334<strong>Planning</strong> for CSE . . . . . . . . . . . . . . . . . . . . . . . 334Requirements . . . . . . . . . . . . . . . . . . . . . . . . 334Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . 335Supported Features . . . . . . . . . . . . . . . . . . . . . . 335Sharing DASD Volumes . . . . . . . . . . . . . . . . . . . . 336Spool File Directory Statements . . . . . . . . . . . . . . . . . 341Preparing for CSE . . . . . . . . . . . . . . . . . . . . . . 341Enabling CSE . . . . . . . . . . . . . . . . . . . . . . . . . 345Installing the <strong>VM</strong>/Pass-Through Facility <strong>and</strong> Its Modifications . . . . . . 345Defining <strong>CP</strong> for Each System . . . . . . . . . . . . . . . . . . 346Initializing the Volumes for Cross System Link . . . . . . . . . . . . 349Preparing the Communication Virtual Machine (C<strong>VM</strong>) . . . . . . . . . 350Verifying Your CSE Configuration . . . . . . . . . . . . . . . . . 353Verifying Cross System Link . . . . . . . . . . . . . . . . . . 353Enabling Cross System Spool . . . . . . . . . . . . . . . . . . 353Phasing CSE into the Production Environment . . . . . . . . . . . . 356Administering CSE . . . . . . . . . . . . . . . . . . . . . . . 358How Linking Works in z/<strong>VM</strong> . . . . . . . . . . . . . . . . . . . 358How CSE Extends Linking . . . . . . . . . . . . . . . . . . . 359CSE Area . . . . . . . . . . . . . . . . . . . . . . . . . 359<strong>VM</strong> I/O Performance Measurement for Shared DASD . . . . . . . . . 365What Is Cross System Spool? . . . . . . . . . . . . . . . . . . 366How CSE Extends Spooling . . . . . . . . . . . . . . . . . . 367<strong>VM</strong>/Pass-Through Facility Functions for Cross System Spool . . . . . . 371Multiple Concurrent Logon Sessions . . . . . . . . . . . . . . . 371Preparing to Deal with Outages . . . . . . . . . . . . . . . . . . 372Returning to Non-CSE Operation . . . . . . . . . . . . . . . . . 372Contentsvii


Chapter 11. Customizing the <strong>CP</strong> Message Function . . . . . . . . . . 373H<strong>CP</strong>MSU Module . . . . . . . . . . . . . . . . . . . . . . . 373Entry Point H<strong>CP</strong>MSUEX . . . . . . . . . . . . . . . . . . . . 374Changing <strong>and</strong> Adding to the <strong>CP</strong> Message Function . . . . . . . . . . . 377Chapter 12. Security <strong>and</strong> Integrity in z/<strong>VM</strong> . . . . . . . . . . . . . 379Security-Enhancing Products . . . . . . . . . . . . . . . . . . . 379Security Considerations <strong>and</strong> Guidelines . . . . . . . . . . . . . . . 380z/<strong>VM</strong> Security Facilities . . . . . . . . . . . . . . . . . . . . . 383Using an External Security Manager for Auditing <strong>and</strong> Protecting . . . . . 384Verifying Storage Access . . . . . . . . . . . . . . . . . . . . 384Clearing Temporary Disk Space . . . . . . . . . . . . . . . . . 384Permitting Bypassing of Directory Password Authorization . . . . . . . 385Journaling the LOGON, AUTOLOG, XAUTOLOG, <strong>and</strong> LINK Comm<strong>and</strong>s 385Automatic Deactivation of Restricted Passwords . . . . . . . . . . . 386Using Link Access Control Options . . . . . . . . . . . . . . . . 387Suppressing Passwords Entered on the Comm<strong>and</strong> Line . . . . . . . . 387Using an Integrated Cryptographic Facility . . . . . . . . . . . . . 387Maintaining System Integrity . . . . . . . . . . . . . . . . . . . 389z/<strong>VM</strong> System Integrity Requirements . . . . . . . . . . . . . . . 390z/<strong>VM</strong> Integrity <strong>and</strong> <strong>CP</strong> Function . . . . . . . . . . . . . . . . . 392Data Structures That Can Enhance System Integrity . . . . . . . . . 395z/<strong>VM</strong> Options That Can Enhance System Integrity . . . . . . . . . . 397Storage H<strong>and</strong>ling . . . . . . . . . . . . . . . . . . . . . . 397Program Stack, Security, <strong>and</strong> Integrity . . . . . . . . . . . . . . . 398Reporting z/<strong>VM</strong> Integrity Problems . . . . . . . . . . . . . . . . 400Chapter 13. Using the St<strong>and</strong>-Alone Dump Utility . . . . . . . . . . . 403Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 403Creating the St<strong>and</strong>-Alone Dump Utility . . . . . . . . . . . . . . . . 403Before You Begin . . . . . . . . . . . . . . . . . . . . . . 404Devices You Can Use to IPL a St<strong>and</strong>-Alone Dump . . . . . . . . . . 405Devices to Which You Can Send Dump Output . . . . . . . . . . . 406Example for Generating the St<strong>and</strong>-Alone Dump Utility . . . . . . . . . 406Taking a St<strong>and</strong>-Alone Dump . . . . . . . . . . . . . . . . . . . 408Processing the St<strong>and</strong>-Alone Dump Data on Tape . . . . . . . . . . . . 409The H<strong>CP</strong>SADMP EXEC . . . . . . . . . . . . . . . . . . . . . 409Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . 409Chapter 14. Creating <strong>and</strong> Modifying Image Libraries for Printers . . . . . 411Creating Text Decks . . . . . . . . . . . . . . . . . . . . . . 411Creating Text Decks for the 3800 . . . . . . . . . . . . . . . . . 411Creating Text Decks for Impact Printers . . . . . . . . . . . . . . 412Using <strong>VM</strong>FHASM or <strong>VM</strong>FHLASM to Create a Text Deck . . . . . . . . 422Image Libraries . . . . . . . . . . . . . . . . . . . . . . . . 422Default Image Library Names . . . . . . . . . . . . . . . . . . 422Installing the Image Library That <strong>IBM</strong> Provides . . . . . . . . . . . . 423Installing Your Own Image Library . . . . . . . . . . . . . . . . 423Modifying Image Libraries . . . . . . . . . . . . . . . . . . . 424Displaying Information about Image Libraries . . . . . . . . . . . . 424Purging Image Libraries . . . . . . . . . . . . . . . . . . . . 425Keeping Backup Copies of Image Libraries . . . . . . . . . . . . . 425Where to Find More Information about Printers . . . . . . . . . . . . 425Chapter 15. CCW Translation . . . . . . . . . . . . . . . . . . 427Using CCW Translation . . . . . . . . . . . . . . . . . . . . . 427viii z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Coding the Device Class Macroinstruction . . . . . . . . . . . . . . 427Unsupported Devices Tables . . . . . . . . . . . . . . . . . . . 428Device Macroinstruction . . . . . . . . . . . . . . . . . . . . . 429Part 3. User <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> . . . . . . . . . . . . . . . . . . 431Chapter 16. Redefining Comm<strong>and</strong> Privilege Classes . . . . . . . . . 433<strong>IBM</strong>-Defined Privilege Classes . . . . . . . . . . . . . . . . . . . 433<strong>Planning</strong> a New User Class Structure . . . . . . . . . . . . . . . . 434Defining Users’ Needs . . . . . . . . . . . . . . . . . . . . . 434Assigning Comm<strong>and</strong>s to Types of Users . . . . . . . . . . . . . . 435Associating Privilege Classes with Users <strong>and</strong> Comm<strong>and</strong>s . . . . . . . . 436Further Considerations . . . . . . . . . . . . . . . . . . . . 437Preparing <strong>and</strong> Activating the Override File . . . . . . . . . . . . . . 438Creating a Class Override File . . . . . . . . . . . . . . . . . . 438Class Override File Example . . . . . . . . . . . . . . . . . . 439Verifying <strong>and</strong> Activating the Override File . . . . . . . . . . . . . . 441Querying the User Class Restructure File . . . . . . . . . . . . . . 442Changing Back to the <strong>IBM</strong>-Defined User Classes . . . . . . . . . . . 442Another Way of Changing the Privilege Class of Certain <strong>CP</strong> Functions 443Changing the Directory . . . . . . . . . . . . . . . . . . . . . 443Defining Privilege Classes for a Virtual Machine . . . . . . . . . . . 444How Users Can Find Which Comm<strong>and</strong>s They Can Enter . . . . . . . . 446Chapter 17. Creating <strong>and</strong> Updating a User Directory . . . . . . . . . 447Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 447Creating the User Directory . . . . . . . . . . . . . . . . . . . . 451Continued Directory Control Statements . . . . . . . . . . . . . . . 452Quoted String Oper<strong>and</strong>s . . . . . . . . . . . . . . . . . . . . . 452Running the User Directory Program . . . . . . . . . . . . . . . . 453Changing the Directory . . . . . . . . . . . . . . . . . . . . . 454Checking a Directory for Errors . . . . . . . . . . . . . . . . . . 454Specifying a Directory That Contains <strong>VM</strong>/SP Control Statements . . . . . . 455Creating Directory Profiles . . . . . . . . . . . . . . . . . . . . 455Determining How Much Space the Directory Needs . . . . . . . . . . . 455ACCOUNT Directory Control Statement (General) . . . . . . . . . . . 456ACIGROUP Directory Control Statement (General) . . . . . . . . . . . 458APP<strong>CP</strong>ASS Directory Control Statement (General) . . . . . . . . . . . 459AUTOLOG Directory Control Statement (General) . . . . . . . . . . . 461CLASS Directory Control Statement (General) . . . . . . . . . . . . . 462CONSOLE Directory Control Statement (Device) . . . . . . . . . . . . 463<strong>CP</strong>U Directory Control Statement (General) . . . . . . . . . . . . . . 465CRYPTO Directory Control Statement (General) . . . . . . . . . . . . 468DASDOPT Directory Control Statement (Device) . . . . . . . . . . . . 472DATEFORMAT Directory Control Statement (General) . . . . . . . . . . 475DEDICATE Directory Control Statement (Device) . . . . . . . . . . . . 477DIRECTORY Directory Control Statement (Control) . . . . . . . . . . . 480D8ONECMD Directory Control Statement (General) . . . . . . . . . . . 483GLOBALDEFS Directory Control Statement (Control) . . . . . . . . . . 485GLOBALOPTS Directory Control Statement (Control) . . . . . . . . . . 486INCLUDE Directory Control Statement (General) . . . . . . . . . . . . 487IOPRIORITY Directory Control Statement (General) . . . . . . . . . . . 488IPL Directory Control Statement (General) . . . . . . . . . . . . . . 490IUCV Directory Control Statement (General) . . . . . . . . . . . . . 493LINK Directory Control Statement (Device) . . . . . . . . . . . . . . 500LOAD Directory Control Statement (Control) . . . . . . . . . . . . . 504Contentsix


LOADDEV Directory Control Statement (General) . . . . . . . . . . . 507LOGONBY Directory Control Statement (General) . . . . . . . . . . . 509MACHINE Directory Control Statement (General) . . . . . . . . . . . . 510MAXSTORAGE Directory Control Statement (General) . . . . . . . . . . 512MDISK Directory Control Statement (Device) . . . . . . . . . . . . . 513MINIOPT Directory Control Statement (Device) . . . . . . . . . . . . 524NAMESAVE Directory Control Statement (General) . . . . . . . . . . . 527NICDEF Directory Control Statement (Device) . . . . . . . . . . . . . 529NOPDATA Directory Control Statement (General) . . . . . . . . . . . . 532OPTION Directory Control Statement (General) . . . . . . . . . . . . 533POOL Directory Control Statement (General) . . . . . . . . . . . . . 540POSIXGLIST Directory Control Statement (General). . . . . . . . . . . 541POSIXGROUP Directory Control Statement (Control) . . . . . . . . . . 543POSIXINFO Directory Control Statement (General) . . . . . . . . . . . 545POSIXOPT Directory Control Statement (General) . . . . . . . . . . . 548PROFILE Directory Control Statement (Control) . . . . . . . . . . . . 551SCREEN Directory Control Statement (General) . . . . . . . . . . . . 553SHARE Directory Control Statement (General) . . . . . . . . . . . . . 555SPECIAL Directory Control Statement (Device) . . . . . . . . . . . . 557SPOOL Directory Control Statement (Device) . . . . . . . . . . . . . 562SPOOLFILE Directory Control Statement (General) . . . . . . . . . . . 565STDEVOPT Directory Control Statement (General) . . . . . . . . . . . 566STORAGE Directory Control Statement (General) . . . . . . . . . . . 568SYSAFFIN Directory Control Statement (Control) . . . . . . . . . . . . 569USER Directory Control Statement (Control) . . . . . . . . . . . . . 572XAUTOLOG Directory Control Statement (General) . . . . . . . . . . . 578XCONFIG Directory Control Statement (General) . . . . . . . . . . . . 580XCONFIG ACCESSLIST Oper<strong>and</strong> . . . . . . . . . . . . . . . . . 581XCONFIG ADDRSPACE Oper<strong>and</strong> . . . . . . . . . . . . . . . . . 583XSTORE Directory Control Statement (General) . . . . . . . . . . . . 585Part 4. Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> . . . . . . . . . . . . . . . . . 587x z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Chapter 18. Real Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> . . . . . . . . 589<strong>Planning</strong> Real Storage Needs . . . . . . . . . . . . . . . . . . . 589Real <strong>and</strong> Virtual Storage Requirements for Generating a <strong>CP</strong> Module . . . . 589Determining the Size of the Dynamic Paging Area . . . . . . . . . . . 590Virtual Machine Considerations . . . . . . . . . . . . . . . . . . 590Chapter 19. Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> . . . . . . 591Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 591Exp<strong>and</strong>ed Storage Considerations with Shared CMS Minidisks . . . . . . . 592Attaching Exp<strong>and</strong>ed Storage to a Virtual Machine . . . . . . . . . . . 592Mapping Exp<strong>and</strong>ed Storage . . . . . . . . . . . . . . . . . . . 593Fragmentation . . . . . . . . . . . . . . . . . . . . . . . . 593Discontinuous Exp<strong>and</strong>ed Storage . . . . . . . . . . . . . . . . 593Allocating Exp<strong>and</strong>ed Storage to <strong>CP</strong> . . . . . . . . . . . . . . . . . 596Allocating Retained Exp<strong>and</strong>ed Storage . . . . . . . . . . . . . . 596Pending Retained Exp<strong>and</strong>ed Storage . . . . . . . . . . . . . . . 597Using Exp<strong>and</strong>ed Storage as a Minidisk Cache . . . . . . . . . . . . . 597What Devices Can Be Cached . . . . . . . . . . . . . . . . . 600Turning Caching Off . . . . . . . . . . . . . . . . . . . . . 600<strong>Planning</strong> for <strong>and</strong> Using Minidisk Caching . . . . . . . . . . . . . . 600Chapter 20. Allocating DASD Space . . . . . . . . . . . . . . . . 603Direct Access Storage Requirements . . . . . . . . . . . . . . . . 603


CKD Device Geometry . . . . . . . . . . . . . . . . . . . . 603FBA Device Geometry . . . . . . . . . . . . . . . . . . . . . 604Storage Calculations . . . . . . . . . . . . . . . . . . . . . 604<strong>CP</strong> Module . . . . . . . . . . . . . . . . . . . . . . . . . . 605Warm Start Data . . . . . . . . . . . . . . . . . . . . . . . . 606Example . . . . . . . . . . . . . . . . . . . . . . . . . . 607Checkpoint Data . . . . . . . . . . . . . . . . . . . . . . . . 607Directory Space . . . . . . . . . . . . . . . . . . . . . . . . 608Example . . . . . . . . . . . . . . . . . . . . . . . . . . 609Directory Size Constraints . . . . . . . . . . . . . . . . . . . 610Paging Space . . . . . . . . . . . . . . . . . . . . . . . . . 610Example . . . . . . . . . . . . . . . . . . . . . . . . . . 611Spooling Space . . . . . . . . . . . . . . . . . . . . . . . . 613Allocating Space for <strong>CP</strong> Abend Dumps . . . . . . . . . . . . . . 614Named Saved System . . . . . . . . . . . . . . . . . . . . . 615Spool Space Example . . . . . . . . . . . . . . . . . . . . . 615Switching Operating Modes for 3390 Devices . . . . . . . . . . . . . 615Mode Switch Procedure . . . . . . . . . . . . . . . . . . . . 616Migration Considerations for the 3390 Model 9 . . . . . . . . . . . . . 617Chapter 21. DASD Sharing . . . . . . . . . . . . . . . . . . . 619Sharing DASD among Multiple Virtual Machines by Using VirtualReserve/Release . . . . . . . . . . . . . . . . . . . . . . . 619When to Use Virtual Reserve/Release . . . . . . . . . . . . . . . 621Sharing DASD without Using Virtual Reserve/Release . . . . . . . . . . 622Sharing DASD Using the CMS Shared File System . . . . . . . . . . . 622Sharing DASD between One Virtual Machine <strong>and</strong> Other Systems Using RealReserve/Release . . . . . . . . . . . . . . . . . . . . . . . 622When to Use Real Reserve/Release . . . . . . . . . . . . . . . 624Sharing DASD among Multiple Virtual Machines <strong>and</strong> Other Systems UsingConcurrent Virtual <strong>and</strong> Real Reserve/Release . . . . . . . . . . . . 624When to Use Concurrent Virtual <strong>and</strong> Real Reserve/Release . . . . . . . 626Restrictions for Using Reserve/Release . . . . . . . . . . . . . . . 626Reserve/Release Summary . . . . . . . . . . . . . . . . . . . . 626Sharing DASD using the Multi-Path Lock Facility . . . . . . . . . . . . 627Cached DASD . . . . . . . . . . . . . . . . . . . . . . . . 628Cache Control . . . . . . . . . . . . . . . . . . . . . . . . 628Defining a Minidisk on a Cached DASD . . . . . . . . . . . . . . 629Defining a Cached DASD as a Dedicated Device . . . . . . . . . . . 630Using ESS Parallel Access Volumes . . . . . . . . . . . . . . . . 631Using PAV for Workload Balancing . . . . . . . . . . . . . . . . 631Using PAV for DASD Sharing . . . . . . . . . . . . . . . . . . 632z/<strong>VM</strong> Restrictions on Using PAV . . . . . . . . . . . . . . . . . 633Chapter 22. Defining <strong>and</strong> Managing SCSI F<strong>CP</strong> Disks . . . . . . . . . 635Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 635Defining SCSI Devices . . . . . . . . . . . . . . . . . . . . . 637Emulated FBA Disks on SCSI Disks . . . . . . . . . . . . . . . 637Real SCSI Disks . . . . . . . . . . . . . . . . . . . . . . . 638Additional Considerations . . . . . . . . . . . . . . . . . . . . 639Appendix A. Sample Utility Programs . . . . . . . . . . . . . . . 641DRAWLOGO . . . . . . . . . . . . . . . . . . . . . . . . . 642Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) . . . . 643Coding H<strong>CP</strong>SYS ASSEMBLE . . . . . . . . . . . . . . . . . . . 644Contentsxi


CSELDEV (Optional) . . . . . . . . . . . . . . . . . . . . . . 646CSELVOL EXCLUDE (Optional) . . . . . . . . . . . . . . . . . . 649CSELVOL INCLUDE (Optional) . . . . . . . . . . . . . . . . . . 650CSESYS (Optional). . . . . . . . . . . . . . . . . . . . . . . 653CSETRACE (Optional) . . . . . . . . . . . . . . . . . . . . . 658CSEUSER (Optional) . . . . . . . . . . . . . . . . . . . . . . 659SYSACNT (Optional) . . . . . . . . . . . . . . . . . . . . . . 661SYSADDIN (Optional) . . . . . . . . . . . . . . . . . . . . . . 663SYS<strong>CP</strong>VOL (Required) . . . . . . . . . . . . . . . . . . . . . 664SYSDUMP (Optional) . . . . . . . . . . . . . . . . . . . . . . 667SYSEND (Required) . . . . . . . . . . . . . . . . . . . . . . 668SYSEREP (Optional) . . . . . . . . . . . . . . . . . . . . . . 669SYSEXCL (Optional) . . . . . . . . . . . . . . . . . . . . . . 671SYSFCN (Optional). . . . . . . . . . . . . . . . . . . . . . . 673SYSFORM (Optional) . . . . . . . . . . . . . . . . . . . . . . 675SYSID (Optional) . . . . . . . . . . . . . . . . . . . . . . . 677SYSINCL (Optional) . . . . . . . . . . . . . . . . . . . . . . 680SYSJRL (Optional) . . . . . . . . . . . . . . . . . . . . . . . 682SYSMAXU (Optional) . . . . . . . . . . . . . . . . . . . . . . 686SYSOPR (Required) . . . . . . . . . . . . . . . . . . . . . . 687SYSOPTS (Optional) . . . . . . . . . . . . . . . . . . . . . . 689SYSPCLAS (Optional). . . . . . . . . . . . . . . . . . . . . . 691SYSRES (Required) . . . . . . . . . . . . . . . . . . . . . . 693SYSSTORE (Required) . . . . . . . . . . . . . . . . . . . . . 697SYSSYMP (Optional) . . . . . . . . . . . . . . . . . . . . . . 699SYSTIME (Required) . . . . . . . . . . . . . . . . . . . . . . 701SYSUVOL (Optional) . . . . . . . . . . . . . . . . . . . . . . 703Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO . . . . . . . . . . . 705Coding H<strong>CP</strong>RIO ASSEMBLE . . . . . . . . . . . . . . . . . . . 705RDEVICE Macroinstructions . . . . . . . . . . . . . . . . . . . 706RDEVICE—General Usage Notes . . . . . . . . . . . . . . . . 707Dedicated AFP* Printers . . . . . . . . . . . . . . . . . . . . . 707Common Control Unit (CCU) Printers . . . . . . . . . . . . . . . 7083820 Printer . . . . . . . . . . . . . . . . . . . . . . . . 710Printers Attached to a Display Control Unit . . . . . . . . . . . . . . 712Display Printers . . . . . . . . . . . . . . . . . . . . . . . 713<strong>CP</strong> System-Managed Impact Printers . . . . . . . . . . . . . . . . 715Impact Printers . . . . . . . . . . . . . . . . . . . . . . . 716<strong>CP</strong> System-Managed 3800 Printers . . . . . . . . . . . . . . . . . 7203800 Printer . . . . . . . . . . . . . . . . . . . . . . . . 721Unit Record Devices . . . . . . . . . . . . . . . . . . . . . . 7263505 Card Reader . . . . . . . . . . . . . . . . . . . . . . 7273525 Card Punch . . . . . . . . . . . . . . . . . . . . . . 7293890 Document Processor . . . . . . . . . . . . . . . . . . . 731Display Terminals <strong>and</strong> Adapters . . . . . . . . . . . . . . . . . . 7323250 Display . . . . . . . . . . . . . . . . . . . . . . . . 7333270-Family Displays . . . . . . . . . . . . . . . . . . . . . 734Teleprocessing Integrated Adapters . . . . . . . . . . . . . . . . 7385080 <strong>and</strong> 6090 Graphics Display . . . . . . . . . . . . . . . . . 740Tape Units . . . . . . . . . . . . . . . . . . . . . . . . . . 7423422, 3480, 3490 <strong>and</strong> 3590 Tape Drives . . . . . . . . . . . . . . 743DASD . . . . . . . . . . . . . . . . . . . . . . . . . . . . 745DASD Types . . . . . . . . . . . . . . . . . . . . . . . . 746FBA DASD . . . . . . . . . . . . . . . . . . . . . . . . . 749Communication Devices . . . . . . . . . . . . . . . . . . . . . 751xii z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


2701 Data Adapter . . . . . . . . . . . . . . . . . . . . . . 7523705, 3725, <strong>and</strong> 3745 Line Adapters, 2741 Terminal, <strong>and</strong> 3151, 3161, 3162,3163, <strong>and</strong> 3167 Display Terminals . . . . . . . . . . . . . . . 75437xx Communications Controllers <strong>and</strong> 3x74 Controllers . . . . . . . . 757CTCA, 3088 Multisystem Channel Communication Unit, <strong>and</strong> 3737 RemoteChannel-to-Channel Unit . . . . . . . . . . . . . . . . . . . 760Dynamic Switching Devices . . . . . . . . . . . . . . . . . . . . 7619032 <strong>and</strong> 9033 ES Connection Directors (ESCDs) . . . . . . . . . . 762Unsupported Devices . . . . . . . . . . . . . . . . . . . . . 763RIOGEN . . . . . . . . . . . . . . . . . . . . . . . . . . . 766Appendix D. Configuration Guide for Printers . . . . . . . . . . . . 769Appendix E. Device Class <strong>and</strong> Type Codes . . . . . . . . . . . . . 773Device Class Definitions . . . . . . . . . . . . . . . . . . . . . 773Device Type Definitions within Device Classes . . . . . . . . . . . . . 773Device Features by Class <strong>and</strong> Type . . . . . . . . . . . . . . . . . 775Device Model Definitions . . . . . . . . . . . . . . . . . . . . . 775Appendix F. St<strong>and</strong>-Alone Dump Formats . . . . . . . . . . . . . . 777Tape Format . . . . . . . . . . . . . . . . . . . . . . . . . 777DASD Format . . . . . . . . . . . . . . . . . . . . . . . . . 779Printer Format . . . . . . . . . . . . . . . . . . . . . . . . . 780Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . 781Programming Interface Information . . . . . . . . . . . . . . . . . 782Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . 783Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . 785Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . 787Where to Get z/<strong>VM</strong> Books . . . . . . . . . . . . . . . . . . . . 787z/<strong>VM</strong> Base Library . . . . . . . . . . . . . . . . . . . . . . . 787System Overview . . . . . . . . . . . . . . . . . . . . . . 787Installation <strong>and</strong> Service . . . . . . . . . . . . . . . . . . . . 787<strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> . . . . . . . . . . . . . . . . . . . 787Customization . . . . . . . . . . . . . . . . . . . . . . . . 787Operation . . . . . . . . . . . . . . . . . . . . . . . . . 787Application Programming . . . . . . . . . . . . . . . . . . . . 787End Use . . . . . . . . . . . . . . . . . . . . . . . . . . 788Diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . 788Books for z/<strong>VM</strong> Optional Features . . . . . . . . . . . . . . . . . 788Data Facility Storage Management Subsystem for <strong>VM</strong> . . . . . . . . . 788Directory Maintenance Facility . . . . . . . . . . . . . . . . . . 788Performance Toolkit for <strong>VM</strong> . . . . . . . . . . . . . . . . . . . 789Resource Access Control Facility . . . . . . . . . . . . . . . . . 789Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . 791Contentsxiii


xiv z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


About This BookThis book tells you how to plan <strong>and</strong> administer your <strong>IBM</strong> ® z/<strong>VM</strong> ® system. Itdescribes the following tasks:v System planning <strong>and</strong> administrationv Dynamic I/O configuration planningv User planning <strong>and</strong> administrationv Storage planning <strong>and</strong> administrationv Saved Segment planning <strong>and</strong> administrationv CMS planning <strong>and</strong> administration.System planning <strong>and</strong> administration are tasks that overlap. Before installation ofz/<strong>VM</strong>, you need to plan:v What the processor <strong>and</strong> device configuration will bev What z/<strong>VM</strong> functions the system will usev Which guest operating systems will be usedv How much storage will be requiredWho Should Read This Bookv What sort of user environments will be available.During system generation, you will set the proper parameters in the system toimplement your plan for the system. Later, after the system is running, you will wantto change some of these parameters as conditions change; for example, when newusers are allowed access to the system <strong>and</strong> new devices are brought online. Youwill also want to monitor the performance of the system <strong>and</strong> perhaps change tuningparameters to make it run more efficiently.A good example of the overlap between planning <strong>and</strong> administration is the userdirectory. The user directory is a file that identifies each user on the system <strong>and</strong>contains control statements that define the environment each user works under.Initially, you will set up this directory for the known users of the system. Later, asnew users are given access to the system <strong>and</strong> others are removed, you will have toupdate the directory.Some information provided here is based on the experiences of <strong>IBM</strong> customers.The recommendations in this publication are meant to help installations runoperating systems efficiently under z/<strong>VM</strong>.This manual is for anyone responsible for planning, installing, <strong>and</strong> updating a z/<strong>VM</strong>system.What You Should Know before Reading This BookThe reader is expected to have a general underst<strong>and</strong>ing of data processing <strong>and</strong>teleprocessing techniques. This book assumes you have thought about:v What z/<strong>VM</strong> functions your site requiresv What connections you need to other sites <strong>and</strong> the implications for coordinationv What your hardware <strong>and</strong> physical requirements are <strong>and</strong> the implications forcoordinationv Which guest operating systems you will be running© Copyright <strong>IBM</strong> Corp. 1991, 2004 xv


v How many users you are going to have <strong>and</strong> what sort of environment they will berunning their applications under.How to Read Syntax DiagramsThis book uses syntax diagrams to show the oper<strong>and</strong>s <strong>and</strong> options of externalinterfaces <strong>and</strong> statements.Getting Started: To read a syntax diagram, follow the path of the line. Read fromleft to right <strong>and</strong> top to bottom.v The ►►─── symbol indicates the beginning of a syntax diagram.v The ───► symbol, at the end of a line, indicates that the syntax diagramcontinues on the next line.v The ►─── symbol, at the beginning of a line, indicates that a syntax diagramcontinues from the previous line.v The ───►◄ symbol indicates the end of a syntax diagram.Syntax items (for example, a keyword or variable) may be:v Directly on the line (required)v Above the line (default)v Below the line (optional).Syntax Diagram Description ExampleAbbreviations:Uppercase letters denote the shortest acceptableabbreviation. If an item appears entirely in uppercaseletters, it cannot be abbreviated.You can type the item in uppercase letters, lowercaseletters, or any combination.►► KEYWOrd ►◄In this example, you can enter KEYWO, KEYWOR, orKEYWORD in any combination of uppercase <strong>and</strong>lowercase letters.Symbols:You must code these symbols exactly as they appearin the syntax diagram.Variables:Highlighted lowercase items (like this) denotevariables.* Asterisk: Colon, Comma= Equal Sign- Hyphen() Parentheses. Period►► KEYWOrd var_name ►◄In this example, var_name represents a variable youmust specify when you code the KEYWORDinstruction.Repetition:An arrow returning to the left means that the item canbe repeated. ►► ▼ repeat ►◄xvi z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Syntax Diagram Description ExampleA character within the arrow means you mustseparate repeated items with that character.,►►▼repeat►◄A footnote (1) by the arrow references a limit that tellshow many times the item can be repeated.►► ▼ (1) repeat ►◄Notes:1 Specify repeat up to 5 times.Required Choices:When two or more items are in a stack <strong>and</strong> one ofthem is on the line, you must specify one item.►►ABC►◄In this example, you must choose A, B, or C.Optional Choice:When an item is below the line, the item is optional. Inthis example, you can choose A or nothing at all.►►A►◄When two or more items are in a stack below the line,all of them are optional. In this example, you canchoose A, B, C, or nothing at all.►►ABC►◄Defaults:Defaults are above the line. The system uses thedefault unless you override it. You can override thedefault by coding an option from the stack below theline.►►ABC►◄In this example, A is the default. You can override Aby choosing B or C.Repeatable Choices:A stack of items followed by an arrow returning to theleft means that you can select more than one item or,in some cases, repeat a single item.In this example, you can choose any combination ofA, B, or C.Syntax Fragments:Some diagrams, because of their length, mustfragment the syntax. The fragment name appearsbetween vertical bars in the diagram. The exp<strong>and</strong>edfragment appears in the diagram after a heading withthe same fragment name.In this example, the fragment is named “A Fragment.”►► ▼ ABC►◄►► A Fragment ►◄A Fragment:ABCAbout This Book xvii


Where to Find More InformationFor more information about z/<strong>VM</strong> functions, see the books listed in the“Bibliography” on page 787.If you plan to deploy Linux ® on z/<strong>VM</strong>, read z/<strong>VM</strong>: Getting Started with Linux onzSeries for important planning information about Linux virtual servers.Links to Other Online BooksIf you are viewing the Adobe Portable Document Format (PDF) version of thisbook, it may contain links to other books. A link to another book is based onthe name of the requested PDF file. The name of the PDF file for an <strong>IBM</strong> bookis unique <strong>and</strong> identifies both the book <strong>and</strong> the edition. The book links providedin this book are for the editions (PDF names) that were current when the PDFfile for this book was generated. However, newer editions of some books (withdifferent PDF names) may exist. A link from this book to another book worksonly when a PDF file with the requested name resides in the same directoryas this book.How to Send Your Comments to <strong>IBM</strong><strong>IBM</strong> welcomes your comments. You can send us comments about this book orother <strong>VM</strong> documentation using any of the following methods:v Complete <strong>and</strong> mail the Readers’ Comments form (if one is provided at the backof this book) or send your comments to the following address:<strong>IBM</strong> CorporationDepartment 55JA, Mail Station P3842455 South RoadPoughkeepsie, New York 12601-5400U.S.A.FAX (United States <strong>and</strong> Canada): 1-845-432-9405FAX (Other Countries): +1 845 432 9405v Send your comments by electronic mail to one of the following addresses:– Internet: mhvrcfs@us.ibm.com– <strong>IBM</strong>Link (US customers only): <strong>IBM</strong>USM10(MHVRCFS)v Submit your comments through the <strong>VM</strong> Feedback page (“Contact z/<strong>VM</strong>”) on thez/<strong>VM</strong> Web site at www.ibm.com/eserver/zseries/zvm/forms/.Please provide the following information in your comment or note:v Title <strong>and</strong> complete publication number of the book (including the suffix)v Page number, section title, or topic you are commenting onIf you would like a reply, be sure to include your name, postal or email address, <strong>and</strong>telephone or FAX number.When you send information to <strong>IBM</strong>, you grant <strong>IBM</strong> a nonexclusive right to use ordistribute the information in any way it believes appropriate without incurring anyobligation to you.xviii z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Summary of ChangesThis book contains terminology, maintenance, <strong>and</strong> editorial changes. Technicalchanges or additions to the text <strong>and</strong> illustrations are indicated by a vertical line tothe left of the change.SC24-6083-01, z/<strong>VM</strong> Version 5 Release 1, Updated EditionThis edition includes support announced after the announcement of z/<strong>VM</strong> Version 5Release 1 (z/<strong>VM</strong> V5R1) or programming enhancements provided after the generalavailability of z/<strong>VM</strong> V5R1. These programming enhancements may be providedthrough z/<strong>VM</strong> service by program temporary fixes (PTFs) for authorized programanalysis reports (APARs), as indicated.Fibre Channel Protocol (F<strong>CP</strong>) Logical Unit Number (LUN) AccessControl (APAR <strong>VM</strong>63328)Updates in this book include:v In Chapter 17, “Creating <strong>and</strong> Updating a User Directory,” on page 447, theDEDICATE statement was updated.Support for the <strong>IBM</strong> TotalStorage ® DS8000 (APAR <strong>VM</strong>63534)z/<strong>VM</strong> support for the high-capacity DS8000 allows the definition of SCSI F<strong>CP</strong> disksup to 2,147,483,640 512-byte blocks (1 terabyte minus 1 page) in size. A new 2107attribute has been added to the EDEVICE system configuration statement.SC24-6083-00, z/<strong>VM</strong> Version 5 Release 1This edition supports the general availability of z/<strong>VM</strong> Version 5 Release 1 (z/<strong>VM</strong>V5R1)SCSI F<strong>CP</strong> Disk SupportUpdates in this book include:v A new chapter, Chapter 22, “Defining <strong>and</strong> Managing SCSI F<strong>CP</strong> Disks,” on page635, was added.v In Chapter 6, “The System Configuration File,” on page 51, the EDEVICEstatement was added.PCIX Cryptographic Coprocessor (PCIXCC)Updates in this book include:v In Chapter 17, “Creating <strong>and</strong> Updating a User Directory,” on page 447, theCRYPTO statement was updated.Enhanced Guest LAN <strong>and</strong> Virtual Switch Authorization SupportUpdates in this book include:v In Chapter 6, “The System Configuration File,” on page 51, the MODIFY LAN<strong>and</strong> MODIFY VSWITCH statements were updated.NetworkingEnhancementsUpdates in this book include:© Copyright <strong>IBM</strong> Corp. 1991, 2004 xix


v In Chapter 6, “The System Configuration File,” on page 51, the DEFINEVSWITCH statement was updated.HyperswapSupportUpdates in this book include:v In Chapter 6, “The System Configuration File,” on page 51, the newENFORCE_BY_VOLid statement was added to the System Configuration FileStatements.Removal of <strong>CP</strong> Functionsz/<strong>VM</strong> V5R1 is designed to operate only on <strong>IBM</strong> zSeries ® , or equivalent servers thatsupport <strong>IBM</strong> z/Architecture (64-bit). As a result, certain functions are not providedby z/<strong>VM</strong> V5R1:v IPL from a 31-bit image of the <strong>CP</strong> nucleusv Preferred (V=R <strong>and</strong> V=F) virtual machinesv Paging of the <strong>CP</strong> nucleusSeveral system configuration statements <strong>and</strong> directory control statements havebeen updated. For information about the affected external interfaces, see the z/<strong>VM</strong>:Migration Guide.Converting to System Configuration Files<strong>IBM</strong> assumes that you are using configuration files to define the characteristics ofyour z/<strong>VM</strong> system. Accordingly, most references to using the system control file(H<strong>CP</strong>SYS ASSEMBLE), system real I/O configuration file (H<strong>CP</strong>RIO ASSEMBLE),<strong>and</strong> system logo definition file (H<strong>CP</strong>BOX ASSEMBLE) have been removed.Although the H<strong>CP</strong>SYS <strong>and</strong> H<strong>CP</strong>RIO macroinstructions are still documented in theappendixes of this book, <strong>IBM</strong> discourages their use. If you are still using thesemacros to define your system, <strong>IBM</strong> strongly recommends that you convert to usingconfiguration files. Using the ASSEMBLE files is more difficult <strong>and</strong> error-prone,requires knowledge of the Assembler H Version 2 Licensed Program, does notsupport recent <strong>CP</strong> enhancements, <strong>and</strong> requires rebuilding the <strong>CP</strong> module aftermaking changes.The “Converting to System Configuration Files” chapter has been removed from thisbook. See the z/<strong>VM</strong>: Migration Guide for information that can assist you in migratingyour system definition data to configuration files.Removal of Obsolete 370 ReferencesSystem/370 architecture (370 mode) virtual machines are not supported on z/<strong>VM</strong>Version 4 or later. Obsolete 370 references have been removed. However, 370Accommodation is still supported.SC24-6043-01, z/<strong>VM</strong> Version 4 Release 4This edition supports the general availability of z/<strong>VM</strong> Version 4 Release 4 (z/<strong>VM</strong>V4R4).NetworkingEnhancementsUpdates in this book include:xx z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


v In Chapter 6, “The System Configuration File,” on page 51, three newstatements, DEFINE VSWITCH, MODIFY VSWITCH, <strong>and</strong> MODIFY LAN, wereadded to the System Configuration File Statements. Also, the <strong>VM</strong>LAN statementwas updated.v In Chapter 8, “Setting Up Service Virtual Machines,” on page 295, columns35–42 <strong>and</strong> 43–50, under Accounting Records Network Data Transmissions(Record Type C), were updated.v In Chapter 17, “Creating <strong>and</strong> Updating a User Directory,” on page 447, the IUCVDirectory Control Statement <strong>and</strong> the SPECIAL Directory Control Statement wereupdated. A new statement, NICDEF Directory Control Statement, was added.Hardware Configuration Definition (HCD)Hardware Configuration Definition (HCD), along with Hardware ConfigurationManager (HCM), are components of z/<strong>VM</strong> that work together to create <strong>and</strong> manageyour z/<strong>VM</strong> I/O configuration. Updates in this book include:v Additional material in Chapter 1, “<strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> Overview,” onpage 3, Chapter 2, “Configuring Your System,” on page 23, <strong>and</strong> Chapter 5,“Defining I/O Devices,” on page 45 to reflect the new HCD support. While theoriginal comm<strong>and</strong>-based dynamic I/O configuration capabilities of z/<strong>VM</strong> are stillvalid, the use of HCM <strong>and</strong> HCD is incompatible with those comm<strong>and</strong>s. Youshould choose one method or the other <strong>and</strong> stay with it for the duration of anygiven IPL of your z/<strong>VM</strong> system.v A new system configuration file statement, IODF, which indicates that HCD willbe used to control the I/O hardware <strong>and</strong>/or software configuration. See “IODFStatement” on page 158.v In Chapter 4, “Using the St<strong>and</strong>-Alone Program Loader,” on page 37, a new IPLoption, NOHCD, which specificies that <strong>CP</strong> should ignore any IODF statements inthe system configuration file.For more information on HCD <strong>and</strong> HCM, see z/<strong>VM</strong>: I/O Configuration.<strong>CP</strong> Comm<strong>and</strong> Response SuppressionThe SILENT oper<strong>and</strong> has been added to the DEFINE COMMAND / CMD <strong>and</strong>MODIFY COMMAND / CMD system configuration statements to enable responsesuppression for the <strong>CP</strong> comm<strong>and</strong> being defined or redefined.Guest IPL from SCSI DisksThe directory control statement, LOADDEV, was added to Chapter 17, “Creating<strong>and</strong> Updating a User Directory,” on page 447. LOADDEV is used to identify thelocation of a program to be loaded as a result of an F<strong>CP</strong>–attached SCSI disk (Linux<strong>and</strong> other guest operating systems) IPL.Miscellaneousv Information about using the <strong>CP</strong> Access Control Interface has been moved to thez/<strong>VM</strong>: Service Guide.v A new parameter (FCTC) was added to the SPECIAL directory control statement.This supports Virtual FICON CTCA.Summary of Changes xxi


xxii z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Part 1. OverviewChapter 1. <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> Overview . . . . . . . . . . . 3Migration <strong>Planning</strong> . . . . . . . . . . . . . . . . . . . . . . . . 3Major z/<strong>VM</strong> Files . . . . . . . . . . . . . . . . . . . . . . . . . 3System <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> . . . . . . . . . . . . . . . . . 4User <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> . . . . . . . . . . . . . . . . . . 5Real <strong>and</strong> Virtual Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> . . . . . . . . . . . 7Auxiliary Storage (Exp<strong>and</strong>ed Storage <strong>and</strong> DASD) <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> 7<strong>CP</strong>-Owned DASDs . . . . . . . . . . . . . . . . . . . . . . . 7Dedicated DASDs . . . . . . . . . . . . . . . . . . . . . . . 8DASDs Used for Minidisks . . . . . . . . . . . . . . . . . . . . 8DASD Space Used for Shared File Pools . . . . . . . . . . . . . . 9Exp<strong>and</strong>ed Storage . . . . . . . . . . . . . . . . . . . . . . . 9Virtual Disks in Storage . . . . . . . . . . . . . . . . . . . . . 9Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . 10Unit Record Devices . . . . . . . . . . . . . . . . . . . . . . . 11Dedicated Unit Record Devices . . . . . . . . . . . . . . . . . . 11Spooled Unit Record Devices . . . . . . . . . . . . . . . . . . 11Performance <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> . . . . . . . . . . . . . . . 12I/O Reconfiguration in z/<strong>VM</strong> . . . . . . . . . . . . . . . . . . . . 12OpenExtensions <strong>Planning</strong> . . . . . . . . . . . . . . . . . . . . . 13© Copyright <strong>IBM</strong> Corp. 1991, 2004 1


2 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 1. <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> OverviewThis chapter summarizes planning <strong>and</strong> administration tasks for the z/<strong>VM</strong> licensedprogram. <strong>Planning</strong> involves deciding how your system will be organized, configured,<strong>and</strong> used. <strong>Administration</strong> involves setting up, configuring, <strong>and</strong> modifying the system.<strong>Planning</strong> tasks <strong>and</strong> administration tasks are discussed together in this manualbecause the tasks are interrelated.When planning for users, for example, it is useful to know how user IDs are addedafter the system is installed <strong>and</strong> running. You might then decide to define a minimalset of user IDs initially (perhaps those needed for key personnel, service machines,<strong>and</strong> guest operating systems), <strong>and</strong> add other user IDs later.User IDs <strong>and</strong> many other aspects of the system configuration are defined bystatements in z/<strong>VM</strong> files. Many administration tasks involve changing those files <strong>and</strong>then processing the files in some way to activate the changes. This chaptercontains overviews of the following files:v System configuration filev Logo configuration filev User directory.These files are used in the planning <strong>and</strong> administration tasks for:v The systemvvvUsersStoragePerformance.Although this chapter does not describe how to perform any planning oradministration tasks, it tells you where to find information that does.This manual covers planning <strong>and</strong> administration for the base <strong>CP</strong> system. Thecomplete set of manuals is listed under the “<strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>” section ofthe “Bibliography” on page 787. Other manuals focus on topics such asconnectivity, security, the Shared File System (SFS), <strong>and</strong> the Group ControlSystem.Migration<strong>Planning</strong>Major z/<strong>VM</strong> FilesIf you are migrating from a previous <strong>VM</strong> release, see the z/<strong>VM</strong>: Migration Guide.The following z/<strong>VM</strong> files are used to define <strong>and</strong> tailor many characteristics of yourinstallation’s z/<strong>VM</strong> system:v The system configuration file (SYSTEM CONFIG) defines real I/O devices in yoursystem’s I/O configuration <strong>and</strong> operating characteristics such as the layout of the<strong>CP</strong> system residence disk, lists of DASD volumes that <strong>CP</strong> uses, the real storageconfiguration, <strong>and</strong> information <strong>CP</strong> requires to determine the correct offset fromCoordinated Universal Time (UTC).For more information, see Chapter 2, “Configuring Your System,” on page 23,Chapter 5, “Defining I/O Devices,” on page 45, <strong>and</strong> Chapter 6, “The SystemConfiguration File,” on page 51.© Copyright <strong>IBM</strong> Corp. 1991, 2004 3


Overviewv The logo configuration file (LOGO CONFIG) defines where <strong>CP</strong> can find:– Logos for local, logical, <strong>and</strong> VTAM ® -attached devices– Status area definition– Online message <strong>and</strong> input area definition information– Print separator pages for printers.For more information, see Chapter 2, “Configuring Your System,” on page 23 <strong>and</strong>Chapter 7, “The Logo Configuration File,” on page 279.v The user directory (USER DIRECT) defines the users of the system, theirauthority to enter various comm<strong>and</strong>s, <strong>and</strong> the resources they can use in thesystem. (You do not need to name your directory USER DIRECT.)For more information, see Chapter 17, “Creating <strong>and</strong> Updating a User Directory,”on page 447.System <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>The following list briefly describes system planning <strong>and</strong> administration tasks <strong>and</strong>where to find detailed information about each task:v Define operating characteristics of your system by coding the systemconfiguration file. Information on the system configuration file can be found inChapter 2, “Configuring Your System,” on page 23 <strong>and</strong> Chapter 6, “The SystemConfiguration File,” on page 51.v Specify the local time to provide <strong>CP</strong> with the information it needs to determinethe correct offset from Coordinated Universal Time (UTC). Specify the local timeon the TIMEZONE_BOUNDARY <strong>and</strong> TIMEZONE_DEFINITION statements in thesystem configuration file. For more information on TIMEZONE_BOUNDARY <strong>and</strong>TIMEZONE_DEFINITION, see “TIMEZONE_BOUNDARY Statement” on page237 <strong>and</strong> “TIMEZONE_DEFINITION Statement” on page 239.v Create a system identifier for the processor on which you run. Code theSYSTEM_IDENTIFIER <strong>and</strong> SYSTEM_IDENTIFIER_DEFAULT statements in thesystem configuration file to create a system identifier for each processor onwhich you run z/<strong>VM</strong>. The system identifier appears on printed output separatorpages <strong>and</strong> in the status area of the display screen. For more information, see“SYSTEM_IDENTIFIER Statement” on page 226 <strong>and</strong>“SYSTEM_IDENTIFIER_DEFAULT Statement” on page 228.v Set up service virtual machines for accounting, error recording, symptomrecord recording, communication controller support for the emulator program,service spool support, Print Services Facility /<strong>VM</strong> (PSF /<strong>VM</strong>), <strong>and</strong> data storagemanagement. Details on setting up these virtual machines can be found inChapter 8, “Setting Up Service Virtual Machines,” on page 295.To use the CMS shared file system, set up file pool service <strong>and</strong> file pooladministration virtual machines. Details on how to do this are in z/<strong>VM</strong>: CMS FilePool <strong>Planning</strong>, <strong>Administration</strong>, <strong>and</strong> Operation.v Use SNA communication products to use SNA terminals as virtual machineconsoles. Systems Network Architecture/Console Communications Services(SNA/CCS) provides a total communication structure for transmitting informationthrough a communications network. For details on SNA/CCS, refer to Chapter 9,“<strong>Planning</strong> for SNA Console Communication Services (SNA/CCS),” on page 329.v Plan for cross system extensions (CSE) if users are to participate in amultisystem environment. CSE extends <strong>CP</strong> link protocols across multiple systemsin a CSE complex. It controls read or read/write access for minidisks on CKD orECKD( ) DASD, extends MESSAGE <strong>and</strong> QUERY comm<strong>and</strong>s, <strong>and</strong> manages4 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Overviewspool files for users across multiple z/<strong>VM</strong> systems. For additional informationabout CSE, refer to Chapter 10, “Setting Up Cross System Extensions (CSE),” onpage 333.v Plan for security facilities. Facilities are available in z/<strong>VM</strong> to help protect thesystem from security <strong>and</strong> integrity exposures. For descriptions <strong>and</strong> use of thesefacilities, see Chapter 12, “Security <strong>and</strong> Integrity in z/<strong>VM</strong>,” on page 379.v Improve system availability by defining <strong>and</strong> saving multiple copies of the<strong>CP</strong> module. For more information, see Chapter 4, “Using the St<strong>and</strong>-AloneProgram Loader,” on page 37.v Create the st<strong>and</strong>-alone dump utility program <strong>and</strong> place it on tape or DASD.For additional information on the st<strong>and</strong>-alone dump utility provided by z/<strong>VM</strong> ,refer to Chapter 13, “Using the St<strong>and</strong>-Alone Dump Utility,” on page 403.User <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>The following list describes user planning <strong>and</strong> administration tasks <strong>and</strong> where tofind information on each task:v Plan for any changes to comm<strong>and</strong> privilege classes. The user classrestructure feature lets you extend the privilege class structure of <strong>CP</strong> comm<strong>and</strong>s,DIAGNOSE codes, <strong>and</strong> certain <strong>CP</strong> system functions from eight classes to asmany as 32 classes. For detailed information on how to extend the privilegeclass structure, refer to Chapter 16, “Redefining Comm<strong>and</strong> Privilege Classes,” onpage 433.v Create a z/<strong>VM</strong> user directory. As mentioned under “Major z/<strong>VM</strong> Files” on page3, each user who can log on to z/<strong>VM</strong> must have an entry in the z/<strong>VM</strong> userdirectory. You can create your own directory or update the sample that z/<strong>VM</strong>provides. See Chapter 17, “Creating <strong>and</strong> Updating a User Directory,” on page447 which contains detailed descriptions of the control statements you can codein the directory.v Define virtual machine modes <strong>and</strong> processor configurations. Coding theMACHINE statement in a user’s directory entry allows you to specify:1. The virtual machine mode (ESA, XA, or XC), which indicates the architecturethe virtual machine simulates (ESA/390 or ESA/XC).Note: XA mode is supported for compatibility <strong>and</strong> is functionally equivalent toESA mode. Some CMS applications may require the virtual machine tobe in XA mode.2. The maximum number of virtual processors the virtual machine can define.To define virtual processors, the virtual machine user must enter the DEFINE<strong>CP</strong>U comm<strong>and</strong>.For information on the MACHINE directory control statement, see “MACHINEDirectory Control Statement (General)” on page 510.As an alternative to including a MACHINE statement in each user’s directoryentry, you can define the virtual machine mode <strong>and</strong> virtual processor capabilitiesfor a group of virtual machines by including the MACHINE directory statement ina directory profile. See “Creating Directory Profiles” on page 455.If the MACHINE statement is not included in the user’s directory entry or includedin a profile, the default virtual machine mode is XA <strong>and</strong> the maximum number ofvirtual processors the virtual machine can define is determined by the number of<strong>CP</strong>U statements included in the user’s directory entry or in a profile. If no <strong>CP</strong>Ustatements are included in the directory entry or a profile, the virtual machine hasno virtual multiprocessor capabilities.Chapter 1. <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> Overview 5


OverviewThe MACHINE oper<strong>and</strong> on the GLOBALOPTS directory statement allows you tospecify a global virtual machine mode for all virtual machines that do not have aMACHINE statement in their directory entry <strong>and</strong> are not included in a directoryprofile that contains a MACHINE statement. For more information, see the“GLOBALOPTS Directory Control Statement (Control)” on page 486.v Determine how you want real processor resources dedicated. The systemoperator can use the DEDICATE comm<strong>and</strong> to dedicate virtual <strong>CP</strong>Us to realprocessors.To dedicate specific virtual <strong>CP</strong>Us to real processors at logon, add a DEDICATEoper<strong>and</strong> for each <strong>CP</strong>U directory statement that is to have automatic dedication.For information on coding the <strong>CP</strong>U directory statement, see Chapter 17,“Creating <strong>and</strong> Updating a User Directory,” on page 447.v Make sure that the user IDs specified in the system configuration file haveuser directory entries. The sample system configuration file that is shipped onthe z/<strong>VM</strong> System DDR tapes or CD-ROM defines the following user IDs (on theSYSTEM_USERIDS statement), <strong>and</strong> the sample directories contain entries forthem:– OPERATOR as the user ID for the primary system operator– DISKACNT as the user ID for the accounting virtual machine– EREP as the user ID for an error recording virtual machine– OPERATNS as the user ID for a virtual machine that receives system dumps.If you change these or other user IDs specified in the system configuration file,make sure you change the user directory.v Decide which users are to be enrolled in a file pool. Detailed instructions onenrolling users in a file pool can be found in z/<strong>VM</strong>: CMS File Pool <strong>Planning</strong>,<strong>Administration</strong>, <strong>and</strong> Operation.v Create a PROFILE EXEC for the system bring-up virtual machine. Thesystem bring-up machine (which, by default, has a user ID of AUTOLOG1)provides an optional way to automatically log on virtual machines during systeminitialization. As part of system initialization, <strong>CP</strong> automatically logs onAUTOLOG1. AUTOLOG1, in turn, can automatically log on other virtualmachines, assuming that:– A PROFILE EXEC for AUTOLOG1 issues the XAUTOLOG comm<strong>and</strong> for eachvirtual machine AUTOLOG1 is to log on. (The XAUTOLOG comm<strong>and</strong> isasynchronous.) The system, however, automatically logs on the errorrecording, accounting, <strong>and</strong> symptom record recording virtual machines withoutreceiving a comm<strong>and</strong> from AUTOLOG1’s PROFILE EXEC. For information oncreating CMS PROFILE EXEC files, see z/<strong>VM</strong>: CMS User’s Guide. Forinformation on the XAUTOLOG comm<strong>and</strong>, see z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong>Utilities Reference. For copies of the sample directories <strong>IBM</strong> provides, see thez/<strong>VM</strong> Installation <strong>and</strong> Service Sample Files informal document packaged withthe z/<strong>VM</strong> System DDR tapes or CD-ROM. For information on the XAUTOLOGdirectory control statement, see “XAUTOLOG Directory Control Statement(General)” on page 578.v Determine which operating system will be in each virtual machine. z/<strong>VM</strong>:Running Guest Operating Systems contains information on various operatingsystems as guests running in virtual machines.v Decide what the default POSIX authorizations should be. TheUSER_DEFAULTS system configuration file statement determines what thedefaults will be for querying other users’ POSIX database information <strong>and</strong> havingtheir POSIX security values changed. For more information, see“USER_DEFAULTS System Configuration File Statement” on page 248.6 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


OverviewReal <strong>and</strong> Virtual Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>The following list describes real <strong>and</strong> virtual storage tasks <strong>and</strong> where to findinformation about each task:v Configure real storage. To define your real storage configuration, code theSTORAGE system configuration file statement. For more information, seeChapter 18, “Real Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>,” on page 589 <strong>and</strong>“STORAGE Statement” on page 222.v Provide virtual storage to virtual machines. The amount of virtual storage <strong>CP</strong>assigns to a virtual machine when the virtual machine logs on is determined byan oper<strong>and</strong> on the USER statement in the virtual machine’s directory entry. TheUSER statement can also set a maximum storage amount that each particularvirtual machine user can define. Code the mstor oper<strong>and</strong> to specify the maximumvirtual machine storage size that a user can define. (Virtual machine users canenter the DEFINE STORAGE comm<strong>and</strong> to redefine their virtual machine storageup to the maximum specified on the USER statement.) For more information, see“USER Directory Control Statement (Control)” on page 572.Note: Allowing large numbers of virtual machines to have large storage sizes(primary address spaces <strong>and</strong>/or data spaces) may affect real storageavailability. This is discussed in the descriptions of the USER <strong>and</strong>XCONFIG Directory Control Statements. See “USER Directory ControlStatement (Control)” on page 572 <strong>and</strong> “XCONFIG ADDRSPACE Oper<strong>and</strong>”on page 583.v Plan for using saved segments. A saved segment is an area of virtual storagethat holds data or reentrant code. Defining frequently used data as savedsegments provides several advantages. For detailed information, refer to thez/<strong>VM</strong>: Saved Segments <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>.Auxiliary Storage (Exp<strong>and</strong>ed Storage <strong>and</strong> DASD) <strong>Planning</strong> <strong>and</strong><strong>Administration</strong>The following sections describe planning <strong>and</strong> administration tasks for <strong>CP</strong>-owneddirect access storage devices (DASDs), dedicated DASDs, DASDs for minidisks,DASDs for shared file pools, Exp<strong>and</strong>ed Storage, <strong>and</strong> virtual disk in storage.<strong>CP</strong>-OwnedDASDs<strong>CP</strong>-owned DASDs are used for the <strong>CP</strong> system residence volume, real systempaging, spooling, directory <strong>and</strong> dump space, <strong>and</strong> temporary disk space for virtualmachines. Do the following for <strong>CP</strong>-owned DASDs:v Use HCM <strong>and</strong> HCD to define the DASD or, if needed, code an RDEVICEstatement in the system configuration file for the DASD. For moreinformation on HCM <strong>and</strong> HCD, see z/OS <strong>and</strong> z/<strong>VM</strong>: Hardware ConfigurationManager User’s Guide <strong>and</strong> z/<strong>VM</strong>: I/O Configuration. For more information oncoding the RDEVICE statement, see “RDEVICE Statement (DASD)” on page195.v Format <strong>CP</strong>-owned DASDs. Before <strong>CP</strong> can use a DASD as a <strong>CP</strong>-owned DASD,you must use the <strong>CP</strong>FMTXA utility, or the Device Support Facilities (ICKDSF)program to format the DASD. However, using ICKDSF is the recommendedmethod to format DASD volumes for <strong>CP</strong> use. For more information on<strong>CP</strong>FMTXA, refer to z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference. For moreinformation on ICKDSF, refer to Device Support Facilities User’s Guide <strong>and</strong>Reference.Chapter 1. <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> Overview 7


Overviewv Define a list of <strong>CP</strong>-owned volumes on the <strong>CP</strong>_OWNED system configurationfile statement. For more information, see “<strong>CP</strong>_OWNED Statement” on page 73.v Define the layout of the <strong>CP</strong> system residence volume on the FEATURES<strong>and</strong> SYSTEM_RESIDENCE statements in the system configuration file. Formore information, see “FEATURES Statement” on page 136 <strong>and</strong>“SYSTEM_RESIDENCE Statement” on page 230.v Create a parm disk You must store system configuration files on a parm disk,which is a CMS-formatted minidisk on the IPL volume. For more information, see“Using Configuration Files” on page 23.v Allocate temporary disk space to virtual machines. Use the MDISK directorycontrol statement to define temporary disk space for virtual machines. Virtualmachine users can enter the DEFINE comm<strong>and</strong> to define temporary disk spacewhen they need it. For more information, see “MDISK Directory ControlStatement (Device)” on page 513.DedicatedDASDsA dedicated DASD is a DASD that <strong>CP</strong> allocates exclusively to a virtual machine. Dothe following for a dedicated DASD:v Use HCM <strong>and</strong> HCD to define the DASD or, if needed, code an RDEVICEstatement in the system configuration file for the DASD. For moreinformation on HCM <strong>and</strong> HCD, see z/OS <strong>and</strong> z/<strong>VM</strong>: Hardware ConfigurationManager User’s Guide <strong>and</strong> z/<strong>VM</strong>: I/O Configuration. For more information oncoding the RDEVICE statement, see “RDEVICE Statement (DASD)” on page195.v Code a DEDICATE statement in the user directory entry of the virtualmachine to which you dedicate the DASD. To dedicate the DASD after theuser logs on, use the ATTACH comm<strong>and</strong>.v Set up a dedicated DASD so it can be shared with an operating systemrunning on another processor (using reserve/release). For more information,see “Sharing DASD between One Virtual Machine <strong>and</strong> Other Systems UsingReal Reserve/Release” on page 622.Note: If the DASD has not been used previously by the virtual machine’s operatingsystem, it must be initialized by the user after it is attached.DASDs Used for MinidisksTo use a DASD to provide minidisks for virtual machines, do the following:8 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>v Use HCM <strong>and</strong> HCD to define the DASD or, if needed, code an RDEVICEstatement in the system configuration file for the DASD. For moreinformation on HCM <strong>and</strong> HCD, see z/OS <strong>and</strong> z/<strong>VM</strong>: Hardware ConfigurationManager User’s Guide <strong>and</strong> z/<strong>VM</strong>: I/O Configuration. For more information oncoding the RDEVICE statement, see “RDEVICE Statement (DASD)” on page195.v Define on the USER_VOLUME_LIST statement in the system configurationfile a list of volumes you use to contain minidisks. For more information, see“USER_VOLUME_LIST Statement” on page 255 or “SYSUVOL (Optional)” onpage 703.Note that you can also define minidisks on <strong>CP</strong>-owned volumes if the <strong>CP</strong>-ownedvolume is formatted appropriately. Although you may use the <strong>CP</strong>FMTXA utility, itis recommended that you use the Device Support Facilities (ICKDSF) program toformat DASD volumes for <strong>CP</strong> use. For more information on the <strong>CP</strong>FMTXA utility,see z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference. For more information onICKDSF, see Device Support Facilities User’s Guide <strong>and</strong> Reference.


Overviewv Define minidisks for users. Use the MDISK directory control statement todefine a minidisk for a virtual machine. Use the LINK directory control statementto define a link to another user’s minidisk. The virtual machine for which theminidisk is defined is responsible for formatting it. For more information, see“MDISK Directory Control Statement (Device)” on page 513 <strong>and</strong> “LINK DirectoryControl Statement (Device)” on page 500.Note: <strong>CP</strong> <strong>and</strong> the directory program do not prevent you from defining minidisksthat overlap. If you define such overlap, you assume responsibility for dataintegrity. You can use the Directory Maintenance Facility (DirMaint)optional feature of z/<strong>VM</strong> to assist in managing the directory.v Set up a minidisk so it can be shared with an operating system running onanother processor <strong>and</strong> with other virtual machines (using reserve/release).For more information, see “Sharing DASD among Multiple Virtual Machines byUsing Virtual Reserve/Release” on page 619.DASD Space Used for Shared File PoolsTo define file pools, you need to estimate how large each file pool will become. Alsodefine one or more virtual machines to be used for file pool service machines. In sodoing, you must decide what the initial DASD storage for the file pool will be.For information on generating a file pool, refer to z/<strong>VM</strong>: CMS File Pool <strong>Planning</strong>,<strong>Administration</strong>, <strong>and</strong> Operation.Exp<strong>and</strong>edStorageExp<strong>and</strong>ed Storage is hardware available only on certain processors. It providesanother level of general-purpose storage. Exp<strong>and</strong>ed Storage may be dedicated toone or more virtual machines <strong>and</strong> shared with <strong>CP</strong>. It can also be used for paging<strong>and</strong> minidisk caching. Do the following for Exp<strong>and</strong>ed Storage:v Plan a map of Exp<strong>and</strong>ed Storage <strong>and</strong> determine which virtual machines shouldhave access to this resource (see “Mapping Exp<strong>and</strong>ed Storage” on page 593).v Use the XSTORE directory statement to attach Exp<strong>and</strong>ed Storage to avirtual machine. (You can also do this by using the ATTACH XSTOREcomm<strong>and</strong>.) For information on the XSTORE directory statement, see “XSTOREDirectory Control Statement (General)” on page 585. For information on theATTACH XSTORE comm<strong>and</strong>, refer to z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.v Use the RETAIN XSTORE comm<strong>and</strong> to set aside Exp<strong>and</strong>ed Storage forexclusive use by <strong>CP</strong> (see z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference). Notethat <strong>CP</strong> determines which portion of Exp<strong>and</strong>ed Storage it will use for paging <strong>and</strong>minidisk caching. Use the RETAIN XSTORE comm<strong>and</strong> to override this.v Code the NOMDC oper<strong>and</strong> of the MINIOPT directory statement if you do notwant to use a portion of Exp<strong>and</strong>ed Storage as a minidisk cache (see “MINIOPTDirectory Control Statement (Device)” on page 524 <strong>and</strong> Chapter 19, “Exp<strong>and</strong>edStorage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>,” on page 591). Otherwise, you do not needto code the MINIOPT control statement.Virtual Disks in StorageA virtual disk in storage is the temporary simulation of an FBA minidisk in anaddress space in system storage. Because a virtual disk in storage is not mappedto a real DASD, having a real FBA DASD in the system configuration is notrequired. By avoiding the I/O overhead, virtual disks in storage may be faster to usethan other minidisks.Chapter 1. <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> Overview 9


OverviewThere are two ways to define a virtual disk in storage:v Using the DEFINE comm<strong>and</strong>. This creates a private (nonshareable) virtual disk instorage that is destroyed when the user detaches it or logs off.There is a limit on the amount of storage that can be allocated for virtual disks instorage created by a single user using the DEFINE comm<strong>and</strong>. This is called theuser limit. The built-in default for the user limit is 0. You can override the built-indefault by defining the user limit on the FEATURES statement in the systemconfiguration file or by using the SET VDISK comm<strong>and</strong>. For more information,see “FEATURES Statement” on page 136.v Using the MDISK directory control statement. This creates a shareable virtualdisk in storage. Use the LINK directory control statement to define a link toanother user’s virtual disk in storage. A shareable virtual disk in storage iscreated when the first user links to it (the owner links to it by logging on) <strong>and</strong>destroyed when the last user detaches it or logs off. The first user must initializeor format the virtual disk in storage. For more information, see “MDISK DirectoryControl Statement (Device)” on page 513 <strong>and</strong> “LINK Directory Control Statement(Device)” on page 500.There is a limit on the total amount of storage that can be allocated for virtualdisks in storage on the system. This is called the system limit. The built-in defaultfor the system limit is the minimum of:– The amount of virtual storage that can be represented by one-quarter of theusable dynamic paging area (DPA) below 2 gigabytes (based on the fact thateach gigabyte of virtual disk defined requires 2050 pages of real storagebelow 2 gigabytes)– The amount of storage represented by one-quarter of the paging spacedefined for <strong>CP</strong> use.You can override the built-in default by defining the system limit on theFEATURES statement in the system configuration file or by using the SET VDISKcomm<strong>and</strong>. For more information, see “FEATURES Statement” on page 136.Guests, servers, <strong>and</strong> other applications that use FBA minidisks can use virtual disksin storage without recoding. Because of their volatility, virtual disks in storageshould not be used for permanent data; work files <strong>and</strong> other files that holdtemporary results may be appropriate for virtual disks in storage. For an example ofcoding VSE guests to use a virtual disk in storage for storing label informationareas <strong>and</strong> the cross-system communication file (lock file), see the z/<strong>VM</strong>: RunningGuest Operating Systems book.TerminalsThe following list describes tasks for terminals <strong>and</strong> where to find information abouteach task:v For all real terminals use HCM <strong>and</strong> HCD to define them or code anRDEVICE statement in the system configuration file. For more information onHCM <strong>and</strong> HCD, see z/OS <strong>and</strong> z/<strong>VM</strong>: Hardware Configuration Manager User’sGuide <strong>and</strong> z/<strong>VM</strong>: I/O Configuration. Otherwise, see either “RDEVICE Statement(Graphic Display Devices)” on page 197 or Appendix C, “Defining I/O DevicesUsing H<strong>CP</strong>RIO,” on page 705.v Define primary <strong>and</strong> alternate system consoles using HCM <strong>and</strong> HCD ordefine primary <strong>and</strong> alternate system consoles on either theOPERATOR_CONSOLES or EMERGENCY_MESSAGE_CONSOLES statementin the system configuration file. For more information on HCM <strong>and</strong> HCD, seez/OS <strong>and</strong> z/<strong>VM</strong>: Hardware Configuration Manager User’s Guide <strong>and</strong> z/<strong>VM</strong>: I/O10 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


OverviewUnit Record DevicesConfiguration. Otherwise, see either “EMERGENCY_MESSAGE_CONSOLESStatement” on page 124 or “OPERATOR_CONSOLES Statement” on page 180.v To define a virtual machine operator console for a virtual machine, code theCONSOLE control statement in the directory entry for a user. For moreinformation, see “CONSOLE Directory Control Statement (Device)” on page 463.v Define terminals for virtual machines. To define a terminal for a virtualmachine, code the DEDICATE or SPECIAL control statements, or both, in thedirectory entry for a user. For more information, see “DEDICATE DirectoryControl Statement (Device)” on page 477 <strong>and</strong> “SPECIAL Directory ControlStatement (Device)” on page 557.The tasks for a unit record device depend on whether the unit record device is (a)dedicated to a virtual machine or (b) used for spooling.Dedicated Unit Record DevicesTo dedicate a unit record device to a virtual machine, perform the following:v Use HCM <strong>and</strong> HCD to define the device or code an RDEVICE statement inthe system configuration file for the device. For more information on HCM<strong>and</strong> HCD, see z/OS <strong>and</strong> z/<strong>VM</strong>: Hardware Configuration Manager User’s Guide<strong>and</strong> z/<strong>VM</strong>: I/O Configuration. Otherwise, see:– “RDEVICE Statement (Card Punches)” on page 190– “RDEVICE Statement (Card Readers)” on page 192– “RDEVICE Statement (Impact Printers)” on page 201– “RDEVICE Statement (3800 Printers)” on page 212v Code a DEDICATE statement in the virtual machine’s user directory entry.The virtual machine user is responsible for other device tasks (such as creatingimage libraries for dedicated 3800 printers, defining forms control buffers, <strong>and</strong> soon). For more information, see “DEDICATE Directory Control Statement (Device)”on page 477.Spooled Unit Record DevicesTo use a unit record device for spooling, perform the following:v Use HCM <strong>and</strong> HCD to define the device or code an RDEVICE statement inthe system configuration file for each unit record device you use forspooling. For more information on HCM <strong>and</strong> HCD, see z/OS <strong>and</strong> z/<strong>VM</strong>:Hardware Configuration Manager User’s Guide <strong>and</strong> z/<strong>VM</strong>: I/O Configuration.Otherwise, see “RDEVICE Statement” on page 188.v Create a list of user form names <strong>and</strong> their corresponding operator formnumbers on either the FORM_DEFAULT or USERFORM statements. Formore information, see “FORM_DEFAULT Statement” on page 150, “USERFORMStatement” on page 247, or “SYSFORM (Optional)” on page 675.v Specify classification titles for specific classes of spooled output on thePRINTER_TITLE statement. For more information, see either “PRINTER_TITLEStatement” on page 182 or “SYSPCLAS (Optional)” on page 691.v Define forms control buffers (FCBs) <strong>and</strong> universal character sets (UCSs) for3203, 3211, 3262, 4245, <strong>and</strong> 4248 printers. For more information, seeChapter 14, “Creating <strong>and</strong> Modifying Image Libraries for Printers,” on page 411.v Define image libraries for 3800 <strong>and</strong> impact printers. For more information,see Chapter 14, “Creating <strong>and</strong> Modifying Image Libraries for Printers,” on page411.Chapter 1. <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> Overview 11


Overviewv Define spooled unit record devices for virtual machines. For moreinformation, see “SPOOL Directory Control Statement (Device)” on page 562.Performance <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>I/O Reconfiguration in z/<strong>VM</strong>The performance characteristics of an operating system are dependent on suchfactors as choice of hardware, the total number of users on the system during peakperiods, functions being performed by the system, <strong>and</strong> the way system parametersare set up. You can improve performance to some degree by the choice ofhardware <strong>and</strong> system options. The following general tasks pertain to improving yourz/<strong>VM</strong> system efficiency:v Plan how you will h<strong>and</strong>le performance monitoring, measurements, improvements,<strong>and</strong> problems. Become familiar with the <strong>CP</strong> monitor facility <strong>and</strong> the facilities youcan manipulate to change the performance characteristics of the system as awhole or of selected virtual machines.v Before you decide which performance options to apply, monitor the system’scurrent performance. This will help you determine which options would mostlikely give the system a performance gain <strong>and</strong> where performance bottlenecksare occurring. The <strong>CP</strong> monitor facility collects such data, which can then beprocessed to produce statistics to give you an underst<strong>and</strong>ing of systemoperation.v Perform system tuning to do any of the following:– Process a larger or more dem<strong>and</strong>ing work load without increasing the systemconfiguration– Obtain better system response or throughput– Reduce processing costs without affecting service to users.Details on system tuning can be found in z/<strong>VM</strong>: Performance.z/<strong>VM</strong> supports the hardware dynamic I/O configuration facility. This facility allowsyou to dynamically add, delete or modify the I/O configuration of the processorwithout requiring a power-on reset of the processor or IPL of z/<strong>VM</strong>.z/<strong>VM</strong>’s support allows the system administrator or system operator to use theHCM/HCD interface or <strong>CP</strong>’s dynamic I/O configuration comm<strong>and</strong>s to change the I/Oconfiguration of the processor without a re-IPL of z/<strong>VM</strong> or a power-on reset of theprocessor.In addition to the HCM/HCD interface <strong>and</strong> the <strong>CP</strong> comm<strong>and</strong>s to dynamically alterthe I/O configuration of the machine, other I/O comm<strong>and</strong>s allow you to:v Query the logical partitions on a machine (if the machine is in LPAR mode)v Query the channel pathsv Query the status of channel paths to devices.For more information on z/<strong>VM</strong>’s support of dynamic I/O configuration, please seethe z/<strong>VM</strong>: I/O Configuration.12 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


OverviewOpenExtensions <strong>Planning</strong><strong>Planning</strong> for OpenExtensions involves setting up the OpenExtensions facilities inz/<strong>VM</strong> that allow users to run POSIX applications. These tasks involve assigningPOSIX security values to users (by specifying certain system configuration filestatements <strong>and</strong> <strong>CP</strong> directory control statements) <strong>and</strong> setting up the OpenExtensionsByte File System. For an overview of how to set up OpenExtensions, see the z/<strong>VM</strong>:OpenExtensions User’s Guide.Chapter 1. <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> Overview 13


14 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Part 2. System <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Chapter 2. Configuring Your System . . . . . . . . . . . . . . . . 23Specifying System Configuration Information . . . . . . . . . . . . . . 23Using Configuration Files . . . . . . . . . . . . . . . . . . . . . 23What You Can Specify in the System Configuration File . . . . . . . . . . 24Contents of the System Configuration File . . . . . . . . . . . . . . 25The Bare Minimum . . . . . . . . . . . . . . . . . . . . . 25Other Important Statements . . . . . . . . . . . . . . . . . . 25Real Devices . . . . . . . . . . . . . . . . . . . . . . . 25User Volume List . . . . . . . . . . . . . . . . . . . . . . 26Cross System Operations . . . . . . . . . . . . . . . . . . . 26Other System Attributes . . . . . . . . . . . . . . . . . . . 26Semantic <strong>and</strong> Syntactic Statements . . . . . . . . . . . . . . . 27Spool File Processing . . . . . . . . . . . . . . . . . . . . 27<strong>CP</strong> File System . . . . . . . . . . . . . . . . . . . . . . . 27Logo Processing . . . . . . . . . . . . . . . . . . . . . . 28What You Can Specify in the Logo Configuration File . . . . . . . . . . . 28Contents of the Logo Configuration File . . . . . . . . . . . . . . . 28Choosing Logo Picture Files . . . . . . . . . . . . . . . . . . 28Input Area . . . . . . . . . . . . . . . . . . . . . . . . . 29Online Messages . . . . . . . . . . . . . . . . . . . . . . 29Status Area . . . . . . . . . . . . . . . . . . . . . . . . 29Chapter 3. Underst<strong>and</strong>ing the <strong>CP</strong> File System . . . . . . . . . . . . 31Initial State of the <strong>CP</strong> File System . . . . . . . . . . . . . . . . . . 31Changing the List of Disks Accessed by <strong>CP</strong> . . . . . . . . . . . . . . 32Performance Considerations . . . . . . . . . . . . . . . . . . . . 33Displaying the Contents of <strong>CP</strong>-Accessed Minidisks . . . . . . . . . . . 33Changing Information on <strong>CP</strong>-Accessed Minidisks . . . . . . . . . . . . 34Chapter 4. Using the St<strong>and</strong>-Alone Program Loader . . . . . . . . . . 37Creating the St<strong>and</strong>-Alone Program Loader . . . . . . . . . . . . . . . 37Overriding the Console that <strong>CP</strong> Will Use . . . . . . . . . . . . . . 39Overriding St<strong>and</strong>-Alone Program Loader Defaults . . . . . . . . . . . 39To IPL from a SCSI Disk . . . . . . . . . . . . . . . . . . . . 39The St<strong>and</strong>-Alone Program Loader Screen . . . . . . . . . . . . . . 40Passing IPL Parameters . . . . . . . . . . . . . . . . . . . . . 42Chapter 5. Defining I/O Devices . . . . . . . . . . . . . . . . . . 45Device Support . . . . . . . . . . . . . . . . . . . . . . . . . 45Unsupported Devices . . . . . . . . . . . . . . . . . . . . . 46Device Sensing . . . . . . . . . . . . . . . . . . . . . . . . 46DASD . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46Tapes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Unit Record Devices . . . . . . . . . . . . . . . . . . . . . . . 48Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . 49Communication Controllers . . . . . . . . . . . . . . . . . . . . 49ESCON Devices . . . . . . . . . . . . . . . . . . . . . . . . 49Other Devices . . . . . . . . . . . . . . . . . . . . . . . . . 50Chapter 6. The System Configuration File . . . . . . . . . . . . . . 51The Parm Disk . . . . . . . . . . . . . . . . . . . . . . . . . 51Summary of System Configuration File Statements . . . . . . . . . . . 51© Copyright <strong>IBM</strong> Corp. 1991, 2004 15


16 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>General Rules for Coding a System Configuration File . . . . . . . . . . 55Format . . . . . . . . . . . . . . . . . . . . . . . . . . . 55Comments . . . . . . . . . . . . . . . . . . . . . . . . . 55Continuations . . . . . . . . . . . . . . . . . . . . . . . . 55Case . . . . . . . . . . . . . . . . . . . . . . . . . . . 56Record Qualifiers . . . . . . . . . . . . . . . . . . . . . . . 56The Order of Statements in the File . . . . . . . . . . . . . . . . 57Checking the Syntax of Statements in the File . . . . . . . . . . . . 57ALTERNATE_OPERATORS Statement . . . . . . . . . . . . . . . . 58ASSOCIATE EXIT Statement . . . . . . . . . . . . . . . . . . . 60ASSOCIATE MESSAGES / MSGS Statement . . . . . . . . . . . . . 64CHARACTER_DEFAULTS Statement . . . . . . . . . . . . . . . . 67<strong>CP</strong>_ACCESS Statement . . . . . . . . . . . . . . . . . . . . . 70<strong>CP</strong>_ADDON_INITIALIZE_ROUTINES Statement . . . . . . . . . . . . 72<strong>CP</strong>_OWNED Statement . . . . . . . . . . . . . . . . . . . . . 73<strong>CP</strong>XLOAD Statement . . . . . . . . . . . . . . . . . . . . . . 76DEFINE ALIAS Statement . . . . . . . . . . . . . . . . . . . . . 81DEFINE COMMAND / CMD Statement . . . . . . . . . . . . . . . . 84DEFINE DIAGNOSE Statement . . . . . . . . . . . . . . . . . . . 90DEFINE EXIT Statement . . . . . . . . . . . . . . . . . . . . . 94DEFINE LAN Statement . . . . . . . . . . . . . . . . . . . . . 97DEFINE VSWITCH Statement . . . . . . . . . . . . . . . . . . . 100DEVICES Statement . . . . . . . . . . . . . . . . . . . . . . 105DISABLE COMMAND / CMD Statement . . . . . . . . . . . . . . . 110DISABLE DIAGNOSE Statement . . . . . . . . . . . . . . . . . . 112DISABLE EXITS Statement . . . . . . . . . . . . . . . . . . . . 114DISTRIBUTE Statement . . . . . . . . . . . . . . . . . . . . . 116DRAIN (Disk) Statement . . . . . . . . . . . . . . . . . . . . . 118EDEVICE Statement . . . . . . . . . . . . . . . . . . . . . . 121EMERGENCY_MESSAGE_CONSOLES Statement . . . . . . . . . . . 124ENABLE COMMAND / CMD Statement . . . . . . . . . . . . . . . 126ENABLE DIAGNOSE Statement . . . . . . . . . . . . . . . . . . 128ENABLE EXITS Statement . . . . . . . . . . . . . . . . . . . . 130ENFORCE_BY_VOLid Statement . . . . . . . . . . . . . . . . . 132EQUATE Statement . . . . . . . . . . . . . . . . . . . . . . 133EXTERNAL_SYNTAX Statement . . . . . . . . . . . . . . . . . . 135FEATURES Statement . . . . . . . . . . . . . . . . . . . . . 136FORM_DEFAULT Statement . . . . . . . . . . . . . . . . . . . 150HOT_IO_RATE Statement . . . . . . . . . . . . . . . . . . . . 152IMBED Statement . . . . . . . . . . . . . . . . . . . . . . . 155INIT_MITIME Statement . . . . . . . . . . . . . . . . . . . . . 157IODF Statement . . . . . . . . . . . . . . . . . . . . . . . . 158JOURNALING Statement . . . . . . . . . . . . . . . . . . . . 160LOGO_CONFIG Statement . . . . . . . . . . . . . . . . . . . . 164MODIFY COMMAND / CMD Statement . . . . . . . . . . . . . . . 165MODIFY DIAGNOSE Statement . . . . . . . . . . . . . . . . . . 169MODIFY EXIT Statement . . . . . . . . . . . . . . . . . . . . . 172MODIFY LAN Statement . . . . . . . . . . . . . . . . . . . . . 175MODIFY PRIV_CLASSES Statement . . . . . . . . . . . . . . . . 176MODIFY VSWITCH Statement . . . . . . . . . . . . . . . . . . 178OPERATOR_CONSOLES Statement . . . . . . . . . . . . . . . . 180PRINTER_TITLE Statement . . . . . . . . . . . . . . . . . . . 182PRIV_CLASSES Statement . . . . . . . . . . . . . . . . . . . . 184PRODUCT Statement . . . . . . . . . . . . . . . . . . . . . . 186RDEVICE Statement . . . . . . . . . . . . . . . . . . . . . . 188RDEVICE Statement (Advanced Function Printers) . . . . . . . . . . . 189


RDEVICE Statement (Card Punches) . . . . . . . . . . . . . . . . 190RDEVICE Statement (Card Readers) . . . . . . . . . . . . . . . . 192RDEVICE Statement (Communication Controllers) . . . . . . . . . . . 193RDEVICE Statement (DASD) . . . . . . . . . . . . . . . . . . . 195RDEVICE Statement (Graphic Display Devices) . . . . . . . . . . . . 197RDEVICE Statement (Impact Printers) . . . . . . . . . . . . . . . . 201RDEVICE Statement (Special Devices) . . . . . . . . . . . . . . . 205RDEVICE Statement (Tape Units) . . . . . . . . . . . . . . . . . 207RDEVICE Statement (Unsupported Devices) . . . . . . . . . . . . . 209RDEVICE Statement (3800 Printers) . . . . . . . . . . . . . . . . 212SAY Statement . . . . . . . . . . . . . . . . . . . . . . . . 217SET Statement . . . . . . . . . . . . . . . . . . . . . . . . 219START (Disk) Statement . . . . . . . . . . . . . . . . . . . . . 220STORAGE Statement . . . . . . . . . . . . . . . . . . . . . . 222SYSTEM_DATEFORMAT Statement . . . . . . . . . . . . . . . . 225SYSTEM_IDENTIFIER Statement . . . . . . . . . . . . . . . . . 226SYSTEM_IDENTIFIER_DEFAULT Statement . . . . . . . . . . . . . 228SYSTEM_RESIDENCE Statement . . . . . . . . . . . . . . . . . 230SYSTEM_USERIDS Statement . . . . . . . . . . . . . . . . . . 232THROTTLE Statement . . . . . . . . . . . . . . . . . . . . . 236TIMEZONE_BOUNDARY Statement . . . . . . . . . . . . . . . . 237TIMEZONE_DEFINITION Statement . . . . . . . . . . . . . . . . 239TOLERATE_CONFIG_ERRORS Statement . . . . . . . . . . . . . . 241TRANSLATE_TABLE Statement . . . . . . . . . . . . . . . . . . 243USERFORM Statement . . . . . . . . . . . . . . . . . . . . . 247USER_DEFAULTS System Configuration File Statement . . . . . . . . . 248USER_VOLUME_EXCLUDE Statement . . . . . . . . . . . . . . . 251USER_VOLUME_INCLUDE Statement . . . . . . . . . . . . . . . 253USER_VOLUME_LIST Statement . . . . . . . . . . . . . . . . . 255<strong>VM</strong>LAN Statement . . . . . . . . . . . . . . . . . . . . . . . 257XLINK_DEVICE_DEFAULTS Statement . . . . . . . . . . . . . . . 259XLINK_SYSTEM_EXCLUDE Statement . . . . . . . . . . . . . . . 263XLINK_SYSTEM_INCLUDE Statement . . . . . . . . . . . . . . . 264XLINK_VOLUME_EXCLUDE Statement . . . . . . . . . . . . . . . 266XLINK_VOLUME_INCLUDE Statement . . . . . . . . . . . . . . . 268XSPOOL_SYSTEM Statement . . . . . . . . . . . . . . . . . . . 271XSPOOL_TRACE Statement . . . . . . . . . . . . . . . . . . . 273XSPOOL_XLIST_INPUT Statement . . . . . . . . . . . . . . . . . 274XSPOOL_XLIST_OUTPUT Statement . . . . . . . . . . . . . . . . 276Chapter 7. The Logo Configuration File . . . . . . . . . . . . . . 279Using a Logo Configuration File . . . . . . . . . . . . . . . . . . 279Summary of Logo Configuration File Statements . . . . . . . . . . . . 279General Rules for Coding a Logo Configuration File . . . . . . . . . . . 279Format . . . . . . . . . . . . . . . . . . . . . . . . . . 279Comments . . . . . . . . . . . . . . . . . . . . . . . . . 279Continuations . . . . . . . . . . . . . . . . . . . . . . . . 280Case . . . . . . . . . . . . . . . . . . . . . . . . . . . 280Categories . . . . . . . . . . . . . . . . . . . . . . . . . 281Precedence . . . . . . . . . . . . . . . . . . . . . . . . 281Selection . . . . . . . . . . . . . . . . . . . . . . . . . 282Creating Logo Screens . . . . . . . . . . . . . . . . . . . . . 282Special Considerations When Creating Logos . . . . . . . . . . . . 283CHOOSE_LOGO Statement . . . . . . . . . . . . . . . . . . . 285INPUT_AREA Statement . . . . . . . . . . . . . . . . . . . . . 291ONLINE_MESSAGE Statement . . . . . . . . . . . . . . . . . . 292Part 2. System <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> 17


STATUS Statement . . . . . . . . . . . . . . . . . . . . . . . 293Chapter 8. Setting Up Service Virtual Machines . . . . . . . . . . . 295Setting Up Virtual Machines for Accounting . . . . . . . . . . . . . . 295Setting Up Virtual Machines to Collect Accounting Records . . . . . . . . 297Specifying a New Accounting Virtual Machine . . . . . . . . . . . . 297Starting Manual Retrieval of Accounting Records . . . . . . . . . . . 297Disassociating a User ID from the Retrieval of Accounting Records . . . . 298Accounting Record Formats . . . . . . . . . . . . . . . . . . . 299Accounting Records for Virtual Machine Resource Usage (Record Type1) . . . . . . . . . . . . . . . . . . . . . . . . . . 299Accounting Records for Dedicated Devices (Record Type 2) . . . . . . 300Accounting Records for Temporary Disk Space (Record Type 3) . . . . 301Accounting Records for Journaling (Record Types 04, 05, 06, 08, <strong>and</strong> 0I) 301Accounting Records for SNA/CCS (Record Type 07) . . . . . . . . 304Accounting Records for Inter-System Facility for Communications (RecordType 09) . . . . . . . . . . . . . . . . . . . . . . . . 304Accounting Records for logging changes to a user’s privilege (RecordType 0A) . . . . . . . . . . . . . . . . . . . . . . . . 306Accounting Records for virtual disk in storage space (Record Type B) 307Accounting Records Network Data Transmissions (Record Type C) . . . 307Accounting Records for <strong>CP</strong>U Capability (Record Type D) . . . . . . . 309Adding Your Own Accounting Records <strong>and</strong> Source Code . . . . . . . . 310User-Initiated Accounting Records (Record Type C0) . . . . . . . . 310<strong>CP</strong> Accounting Exit (Module H<strong>CP</strong>ACU) . . . . . . . . . . . . . 310Setting Up Virtual Machines for Error Recording . . . . . . . . . . . . 314Setting Up Virtual Machines to Collect EREP Records . . . . . . . . . . 315Specifying a New EREP Virtual Machine . . . . . . . . . . . . . . 316Starting EREP Record Retrieval Manually . . . . . . . . . . . . . 316Disassociating a User ID from the Retrieval of EREP Records . . . . . . 317Setting Up Virtual Machines for Symptom Record Recording . . . . . . . 318Setting Up Virtual Machines to Collect Symptom Records . . . . . . . . . 319Specifying a New Symptom Record Recording Virtual Machine . . . . . . 319Starting Manual Retrieval of Symptom Records . . . . . . . . . . . 320Disassociating a User ID from the Retrieval of Symptom Records . . . . . 320Setting Up a Virtual Machine for Communication Controller Support forEmulator Program (EP) . . . . . . . . . . . . . . . . . . . . 321P<strong>VM</strong> Example . . . . . . . . . . . . . . . . . . . . . . . . 323Setting Up Service Pool Virtual Machines . . . . . . . . . . . . . . . 325Setting Up Print Services Facility/<strong>VM</strong> Virtual Machines . . . . . . . . . . 326Setting Up Virtual Machines for Data Storage Management . . . . . . . . 327Chapter 9. <strong>Planning</strong> for SNA Console Communication Services(SNA/CCS) . . . . . . . . . . . . . . . . . . . . . . . . . 329Structure of the SNA Environment . . . . . . . . . . . . . . . . . 329Establishing the SNA/CCS Terminal Environment . . . . . . . . . . . . 330Defining the VSM to z/<strong>VM</strong> . . . . . . . . . . . . . . . . . . . 330Defining Logos Used by VSMs . . . . . . . . . . . . . . . . . 330Defining SNA/CCS to VCNA . . . . . . . . . . . . . . . . . . 330Defining SNA/CCS to VSCS . . . . . . . . . . . . . . . . . . 331Enabling SNA Communication . . . . . . . . . . . . . . . . . . 331Starting the VTAM Service Machine . . . . . . . . . . . . . . . . 332Improving SNA/CCS Performance . . . . . . . . . . . . . . . . 332VSM Termination . . . . . . . . . . . . . . . . . . . . . . . 332Chapter 10. Setting Up Cross System Extensions (CSE) . . . . . . . . 33318 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 333CSE Capabilities . . . . . . . . . . . . . . . . . . . . . . . 333Users Supported . . . . . . . . . . . . . . . . . . . . . . . 334Setting Up a CSE Complex . . . . . . . . . . . . . . . . . . . 334<strong>Planning</strong> for CSE . . . . . . . . . . . . . . . . . . . . . . . 334Requirements . . . . . . . . . . . . . . . . . . . . . . . . 334Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . 335Supported Features . . . . . . . . . . . . . . . . . . . . . . 335Sharing DASD Volumes . . . . . . . . . . . . . . . . . . . . 336Avoiding Shared DASD I/O Bottlenecks . . . . . . . . . . . . . 337Placing of the CSE Area . . . . . . . . . . . . . . . . . . . 340Defining Volumes Containing Minidisks to be Shared . . . . . . . . 340Cross System Linking <strong>and</strong> Synchronization of Directories . . . . . . . 340Spool File Directory Statements . . . . . . . . . . . . . . . . . 341Preparing for CSE . . . . . . . . . . . . . . . . . . . . . . 341Cabling the Hardware . . . . . . . . . . . . . . . . . . . . 341Preparing for a Single Source Directory . . . . . . . . . . . . . 341Nonshared Directory Entries . . . . . . . . . . . . . . . . . 342Enabling CSE . . . . . . . . . . . . . . . . . . . . . . . . . 345Installing the <strong>VM</strong>/Pass-Through Facility <strong>and</strong> Its Modifications . . . . . . 345Defining <strong>CP</strong> for Each System . . . . . . . . . . . . . . . . . . 346System Definition for CSE . . . . . . . . . . . . . . . . . . 346<strong>CP</strong>_OWNED Statements . . . . . . . . . . . . . . . . . . . 347Example of a System Configuration File . . . . . . . . . . . . . 347Initializing the Volumes for Cross System Link . . . . . . . . . . . . 349Generating the Cross System Link Facility . . . . . . . . . . . . 349Initializing the CSE Area on Shared Minidisk Volumes . . . . . . . . 350Preparing the Communication Virtual Machine (C<strong>VM</strong>) . . . . . . . . . 350Verifying Your CSE Configuration . . . . . . . . . . . . . . . . . 353Verifying Cross System Link . . . . . . . . . . . . . . . . . . 353Enabling Cross System Spool . . . . . . . . . . . . . . . . . . 353Starting CSE Communication . . . . . . . . . . . . . . . . . 353Verifying Cross System Spool . . . . . . . . . . . . . . . . . 354Activating Spool for Systems Not Active after Start CSECOM . . . . . 355Phasing CSE into the Production Environment . . . . . . . . . . . . 356Networking Implications of CSE . . . . . . . . . . . . . . . . 357Administering CSE . . . . . . . . . . . . . . . . . . . . . . . 358How Linking Works in z/<strong>VM</strong> . . . . . . . . . . . . . . . . . . . 358How CSE Extends Linking . . . . . . . . . . . . . . . . . . . 359Controlling Cross System Link . . . . . . . . . . . . . . . . . 359CSE Area . . . . . . . . . . . . . . . . . . . . . . . . . 359Location of the CSE Area . . . . . . . . . . . . . . . . . . 361Protecting the CSE Area . . . . . . . . . . . . . . . . . . . 361Placing of the CSE Area . . . . . . . . . . . . . . . . . . . 361<strong>VM</strong> I/O Performance Measurement for Shared DASD . . . . . . . . . 365What Is Cross System Spool? . . . . . . . . . . . . . . . . . . 366How CSE Extends Spooling . . . . . . . . . . . . . . . . . . 367z/<strong>VM</strong> Spooling Comm<strong>and</strong>s Extended by CSE . . . . . . . . . . . 368Copy Input (Reader) Spool Files . . . . . . . . . . . . . . . . 369Copy Output (Print <strong>and</strong> Punch) Spool Files . . . . . . . . . . . . 370Spool File Numbering . . . . . . . . . . . . . . . . . . . . 370Access to Spool Files . . . . . . . . . . . . . . . . . . . . 370<strong>VM</strong>/Pass-Through Facility Functions for Cross System Spool . . . . . . 371Spool Synchronization Request Tracing . . . . . . . . . . . . . 371Multiple Concurrent Logon Sessions . . . . . . . . . . . . . . . 371Preparing to Deal with Outages . . . . . . . . . . . . . . . . . . 372Part 2. System <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> 19


Returning to Non-CSE Operation . . . . . . . . . . . . . . . . . 372Chapter 11. Customizing the <strong>CP</strong> Message Function . . . . . . . . . . 373H<strong>CP</strong>MSU Module . . . . . . . . . . . . . . . . . . . . . . . 373Entry Point H<strong>CP</strong>MSUEX . . . . . . . . . . . . . . . . . . . . 374Parameter Values . . . . . . . . . . . . . . . . . . . . . 374Changing <strong>and</strong> Adding to the <strong>CP</strong> Message Function . . . . . . . . . . . 377Chapter 12. Security <strong>and</strong> Integrity in z/<strong>VM</strong> . . . . . . . . . . . . . 379Security-Enhancing Products . . . . . . . . . . . . . . . . . . . 379Security Considerations <strong>and</strong> Guidelines . . . . . . . . . . . . . . . 380z/<strong>VM</strong> Security Facilities . . . . . . . . . . . . . . . . . . . . . 383Using an External Security Manager for Auditing <strong>and</strong> Protecting . . . . . 384Verifying Storage Access . . . . . . . . . . . . . . . . . . . . 384Clearing Temporary Disk Space . . . . . . . . . . . . . . . . . 384Permitting Bypassing of Directory Password Authorization . . . . . . . 385Journaling the LOGON, AUTOLOG, XAUTOLOG, <strong>and</strong> LINK Comm<strong>and</strong>s 385Automatic Deactivation of Restricted Passwords . . . . . . . . . . . 386Using Link Access Control Options . . . . . . . . . . . . . . . . 387Suppressing Passwords Entered on the Comm<strong>and</strong> Line . . . . . . . . 387Using an Integrated Cryptographic Facility . . . . . . . . . . . . . 387Maintaining System Integrity . . . . . . . . . . . . . . . . . . . 389z/<strong>VM</strong> System Integrity Requirements . . . . . . . . . . . . . . . 390z/<strong>VM</strong> Integrity <strong>and</strong> <strong>CP</strong> Function . . . . . . . . . . . . . . . . . 392Data Structures That Can Enhance System Integrity . . . . . . . . . 395z/<strong>VM</strong> Options That Can Enhance System Integrity . . . . . . . . . . 397Storage H<strong>and</strong>ling . . . . . . . . . . . . . . . . . . . . . . 397Program Stack, Security, <strong>and</strong> Integrity . . . . . . . . . . . . . . . 398Reporting z/<strong>VM</strong> Integrity Problems . . . . . . . . . . . . . . . . 400Chapter 13. Using the St<strong>and</strong>-Alone Dump Utility . . . . . . . . . . . 403Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 403Creating the St<strong>and</strong>-Alone Dump Utility . . . . . . . . . . . . . . . . 403Before You Begin . . . . . . . . . . . . . . . . . . . . . . 404Devices You Can Use to IPL a St<strong>and</strong>-Alone Dump . . . . . . . . . . 405Devices to Which You Can Send Dump Output . . . . . . . . . . . 406Example for Generating the St<strong>and</strong>-Alone Dump Utility . . . . . . . . . 406Taking a St<strong>and</strong>-Alone Dump . . . . . . . . . . . . . . . . . . . 408Processing the St<strong>and</strong>-Alone Dump Data on Tape . . . . . . . . . . . . 409The H<strong>CP</strong>SADMP EXEC . . . . . . . . . . . . . . . . . . . . . 409Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . 409Chapter 14. Creating <strong>and</strong> Modifying Image Libraries for Printers . . . . . 411Creating Text Decks . . . . . . . . . . . . . . . . . . . . . . 411Creating Text Decks for the 3800 . . . . . . . . . . . . . . . . . 411Creating Text Decks for Impact Printers . . . . . . . . . . . . . . 412Universal Character Sets <strong>and</strong> FCBs Supplied by <strong>IBM</strong> . . . . . . . . 412Adding New Universal Character Set Buffer Images . . . . . . . . . 414Forms Control Buffers Supplied by <strong>IBM</strong> . . . . . . . . . . . . . 418Adding a New Forms Control Buffer . . . . . . . . . . . . . . . 418Adding an Extended Forms Control Buffer for the 4248 Printer . . . . . 420Using <strong>VM</strong>FHASM or <strong>VM</strong>FHLASM to Create a Text Deck . . . . . . . . 422Image Libraries . . . . . . . . . . . . . . . . . . . . . . . . 422Default Image Library Names . . . . . . . . . . . . . . . . . . 422Installing the Image Library That <strong>IBM</strong> Provides . . . . . . . . . . . . 423Installing Your Own Image Library . . . . . . . . . . . . . . . . 42320 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Modifying Image Libraries . . . . . . . . . . . . . . . . . . . 424Adding Files to an Image Library . . . . . . . . . . . . . . . . 424Deleting Members from an Image Library . . . . . . . . . . . . . 424Replacing Members or Modules in an Image Library . . . . . . . . 424Creating an Image Library Map . . . . . . . . . . . . . . . . 424Displaying Information about Image Libraries . . . . . . . . . . . . 424Purging Image Libraries . . . . . . . . . . . . . . . . . . . . 425Keeping Backup Copies of Image Libraries . . . . . . . . . . . . . 425Where to Find More Information about Printers . . . . . . . . . . . . 425Chapter 15. CCW Translation . . . . . . . . . . . . . . . . . . 427Using CCW Translation . . . . . . . . . . . . . . . . . . . . . 427Coding the Device Class Macroinstruction . . . . . . . . . . . . . . 427Unsupported Devices Tables . . . . . . . . . . . . . . . . . . . 428Device Macroinstruction . . . . . . . . . . . . . . . . . . . . . 429Part 2. System <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> 21


22 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 2. Configuring Your SystemThis chapter provides an introduction to the files that define the configuration ofyour system.Specifying System Configuration InformationUsing Configuration FilesMost of the information about the configuration of your system is defined in thesystem configuration file, which is a CMS data file. Additional configurationinformation is defined in the user class restructure (UCR) files <strong>and</strong> the userdirectory files. You can also define the characteristics of screen logos in a logoconfiguration file. While the system is running, you can dynamically change many ofthese system characteristics by issuing various <strong>CP</strong> comm<strong>and</strong>s.This chapter provides an overview of the configuration files <strong>and</strong> what they contain.The following chapters provide additional information about configuring your system:v Chapter 5, “Defining I/O Devices,” on page 45 discusses considerations fordefining I/O devices.v Chapter 6, “The System Configuration File,” on page 51 describes the systemconfiguration file in more detail.v Chapter 7, “The Logo Configuration File,” on page 279 describes the logoconfiguration file in more detail.v Chapter 16, “Redefining Comm<strong>and</strong> Privilege Classes,” on page 433 describeshow to define the user class restructure (UCR) files.v Chapter 17, “Creating <strong>and</strong> Updating a User Directory,” on page 447 describeshow to define the user directory.The system configuration file <strong>and</strong> the logo configuration file, as well as any files thatthese configuration files imbed, are stored on the parm disk. The parm disk is aregular CMS-formatted minidisk that you identify to <strong>CP</strong> by writing an allocation mapon the IPL volume marking the location of the minidisk. The parm disk is accessedat IPL time, <strong>and</strong> configuration information is read from the configuration files storedon the disk.To place configuration information on the parm disk, you must do the following:1. Choose a CMS-formatted minidisk on the IPL volume on which you plan toplace configuration files. (If the minidisk is not CMS-formatted, the system willenter a wait state when you try to use it.)2. Run the ICKDSF utility to rewrite the allocation map on the IPL volume to marka parm disk extent that covers the location of the minidisk. See the DeviceSupport Facilities User’s Guide <strong>and</strong> Reference for details on formatting <strong>and</strong>allocating DASD volumes using ICKDSF.3. Place a system configuration file (called SYSTEM CONFIG by default), a logoconfiguration file (called LOGO CONFIG by default), or both, on the parm disk.Other names can be used for these files. See “Passing IPL Parameters” onpage 42 for specifying a name for the system configuration file. You can specifya name for the logo configuration file inside the system configuration file. Placeany logo picture files on this disk also.© Copyright <strong>IBM</strong> Corp. 1991, 2004 23


Configuring Your SystemNote: Although z/<strong>VM</strong> continues to support the system control file (H<strong>CP</strong>SYSASSEMBLE), system real I/O configuration file (H<strong>CP</strong>RIO ASSEMBLE), <strong>and</strong>system logo definition file (H<strong>CP</strong>BOX ASSEMBLE), <strong>IBM</strong> strongly recommendsthat you use configuration files to define your system. Using the ASSEMBLEfiles is more difficult <strong>and</strong> error-prone, requires knowledge of the Assembler HVersion 2 Licensed Program, does not support recent <strong>CP</strong> enhancements,<strong>and</strong> requires rebuilding the <strong>CP</strong> module after making changes. The H<strong>CP</strong>SYSASSEMBLE file supplied with z/<strong>VM</strong> contains no system definitions. Thesupplied H<strong>CP</strong>RIO ASSEMBLE file contains only an RIOGENCONS=DYNAMIC macro to indicate that console addresses are defined inthe system configuration file. The supplied H<strong>CP</strong>BOX ASSEMBLE containsdefault system logos.A default SYSTEM CONFIG file is created at installation time. You can update thisfile or create your own system configuration file using the editor of your choice. Usethe QUERY <strong>CP</strong>DISK comm<strong>and</strong> to find out what parm disks are accessed, the<strong>CP</strong>RELEASE comm<strong>and</strong> to release the parm disk, the LINK <strong>and</strong> ACCESScomm<strong>and</strong>s for write access, <strong>and</strong> the <strong>CP</strong>ACCESS comm<strong>and</strong> to return the disk to <strong>CP</strong>.See Chapter 3, “Underst<strong>and</strong>ing the <strong>CP</strong> File System,” on page 31 for additionalinformation on these comm<strong>and</strong>s.During the IPL process, <strong>CP</strong> tries to access the first parm disk that is marked in theallocation map on the IPL volume. If there is a parm disk marked, <strong>and</strong> if the disklocations matching the extent represent a CMS-formatted minidisk, <strong>CP</strong> attempts toread the system configuration file from the disk.The format of the system configuration file is described in “What You Can Specify inthe System Configuration File.” If <strong>CP</strong> finds a file called SYSTEM CONFIG (or thename you specify on IPL), it examines the contents of the file <strong>and</strong> applies anychanges requested in the file to the system configuration. Values defined in thesystem configuration file override any values defined in H<strong>CP</strong>SYS ASSEMBLE <strong>and</strong>H<strong>CP</strong>RIO ASSEMBLE. If <strong>CP</strong> finds a file called LOGO CONFIG (or the name definedin the system configuration file), it uses the contents of that file to override all thelogo characteristics set in H<strong>CP</strong>BOX ASSEMBLE.Before the first prompt, which asks you what method of system initialization youneed, the system displays information about the parm disk. After the system is up<strong>and</strong> running, you can use the QUERY <strong>CP</strong>LOAD comm<strong>and</strong> to find out whether <strong>CP</strong>accessed a parm disk, <strong>and</strong> if so, what that disk was.What You Can Specify in the System Configuration FileThe system configuration file defines the basic characteristics of your system <strong>and</strong>allows you to define many system options, such as:v The devices <strong>CP</strong> should bring online at IPL timev The time zone <strong>CP</strong> should select at IPL time from a list of time zonesv Whether <strong>CP</strong> should autolog special user IDs at IPL time, such as the accounting<strong>and</strong> symptom user IDsv The contents of most translation tables defined in <strong>CP</strong>v Whether <strong>CP</strong> should automatically attempt a warm start without changing the TODclock at IPL timev The number of buffers <strong>CP</strong> provides for the retrieving of comm<strong>and</strong> linesv The characters used as default terminal characters, such as the line endcharacter <strong>and</strong> the line delete character24 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Configuring Your Systemv The defaults that will be used for querying other users’ POSIX databaseinformation <strong>and</strong> having their POSIX security values changedv The IODF that HCD will use to control <strong>CP</strong>’s I/O configuration.Note: You cannot define the size of system storage in the system configuration file.For information on defining the size of system storage to a value less thanwhat is actually available, see the STORE parameter under “Passing IPLParameters” on page 42.Contents of the System Configuration FileThe following sections contain a brief description of some of the statements thatyou can specify in the system configuration file. For complete descriptions of all thesystem configuration statements <strong>and</strong> general rules for coding a systemconfiguration file, see Chapter 6, “The System Configuration File,” on page 51.The Bare MinimumYou must include the following statements for the system to come up:v <strong>CP</strong>_OWNED defines a volume in the <strong>CP</strong>-owned volume list. After the system isrunning, you can use the DEFINE <strong>CP</strong>OWNED comm<strong>and</strong> to change this list. (Tomake the change permanent, update the system configuration file.)v SYSTEM_RESIDENCE specifies the location of the checkpoint <strong>and</strong> warm startareas.v OPERATOR_CONSOLE defines a list of console addresses from which <strong>CP</strong>should choose the operator console.These three statements are all that the system really needs to come up <strong>and</strong> startrunning.Other Important StatementsYou may also want to include the following statements:v SYSTEM_IDENTIFIER <strong>and</strong> SYSTEM_IDENTIFIER_DEFAULT define systemidentifiers for the processors on which you run z/<strong>VM</strong>.v TIMEZONE_DEFINITION <strong>and</strong> TIMEZONE_BOUNDARY enable the system tochoose the correct local time zone definition.v IODF indicates that HCM <strong>and</strong> HCD will control the hardware <strong>and</strong> optionally thesoftware I/O configuration.Real DevicesThe statements previously listed are the most basic ones that you need to get yoursystem running <strong>and</strong> to give it an identifier <strong>and</strong> a local time. You can customize yoursystem further with the other statements. For example, if you are not using HCM<strong>and</strong> HCD to control your software I/O configuration, you can define real devices tothe system <strong>and</strong> establish characteristics for them using the following statements:v RDEVICE defines real I/O devices that do not respond to a sense ID request <strong>and</strong>I/O devices that need more defining information than a sense ID request returns(for example, printers <strong>and</strong> communications controllers). After the system isrunning, you can use the SET RDEVICE comm<strong>and</strong> to define or redefine realdevices.See Chapter 5, “Defining I/O Devices,” on page 45 for information about whichdevices may need to be defined with RDEVICE statements.v DEVICES tells <strong>CP</strong> whether to bring specified devices online, accept <strong>and</strong> buildreal device blocks for specified devices, <strong>and</strong> use the information returned from aChapter 2. Configuring Your System 25


Configuring Your Systemsense ID request to help define a device. It is recommended that you let <strong>CP</strong>bring all devices online at IPL, <strong>and</strong> that you let <strong>CP</strong> use the sense information.v HOT_IO_RATE specifies the maximum unsolicited interrupt rate for real devices.You can control operations on real DASD using the following statements:v DRAIN stops new allocations of certain types of space on the DASD.v START restarts a DASD after it has been drained.After the system is running, you can use the DRAIN (Disk) <strong>and</strong> START (Disk)comm<strong>and</strong>s to perform the same functions as the DRAIN <strong>and</strong> START statements.User Volume ListYou can generate <strong>and</strong> change the user volume list using the following statements:v USER_VOLUME_LIST generates the user volume list.v USER_VOLUME_EXCLUDE <strong>and</strong> USER_VOLUME_INCLUDE specify volumes tobe excluded from or included in the user volume list. These statements can usewildcard characters (% <strong>and</strong> *) in defining volume serial identifiers.Cross System OperationsYou can control cross system spool operations, cross system link operations, <strong>and</strong>cross system comm<strong>and</strong>s using the following statements:v XLINK_SYSTEM_EXCLUDE <strong>and</strong> XLINK_SYSTEM_INCLUDE specify thesystems to be excluded from or included in cross system link protection.v XLINK_VOLUME_EXCLUDE <strong>and</strong> XLINK_VOLUME_INCLUDE specify the DASDvolumes to be excluded from or included in cross system link protection.v XSPOOL_SYSTEM specifies the systems that are to participate in cross systemcomm<strong>and</strong>s <strong>and</strong> spooling operations.v XSPOOL_TRACE allocates storage for the cross system spool (XSPOOL) tracetables.v XSPOOL_XLIST_INPUT <strong>and</strong> XSPOOL_XLIST_OUTPUT specify virtual machineswhose input or output spool files do not participate in cross system spooling <strong>and</strong>comm<strong>and</strong>s. After the system is running, you can use the XSPOOL XLISTADD<strong>and</strong> XSPOOL XLISTDEL comm<strong>and</strong>s to work with these lists.The statements controlling cross system link operations are separate from thosecontrolling cross system comm<strong>and</strong>s <strong>and</strong> spool operations.Other System AttributesYou can set other attributes of your system using the following statements:v EMERGENCY_MESSAGE_CONSOLES specifies a list of consoles that <strong>CP</strong>should notify if there is an impending abnormal end or other system emergency.If you do not include this statement, <strong>CP</strong> uses the list specified on theOPERATOR_CONSOLES statement for the list of emergency consoles as well.v STORAGE allocates real storage <strong>and</strong> trace frames.v JOURNALING specifies characteristics of the system’s journaling facility. After thesystem is running, you can use the QUERY <strong>and</strong> SET JOURNAL comm<strong>and</strong>s towork with the journaling facility.v PRIV_CLASSES changes the privilege classes authorizing certain <strong>CP</strong> functions.v SYSTEM_USERIDS specifies user IDs that perform special functions during <strong>and</strong>after IPL. These user IDs identify the virtual machines that h<strong>and</strong>le accountingrecords, system dump files, EREP records, <strong>and</strong> symptom records; the operator<strong>and</strong> startup user IDs are also specified.26 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Configuring Your Systemv FEATURES sets several different attributes of the system. These attributesinclude:– Trying an automatic warm start without changing the TOD clock– Clearing TDISK DASD space automatically– Enabling the new LOGMSG support that causes <strong>CP</strong> to read log messageinformation from disk files instead of the warm start area– Giving end users the authority to change their own privilege classes, <strong>and</strong>privileged users the authority to change the privilege classes of other userslogged on to the system– Establishing the largest number of users who may be logged on to the systemat one time– Enabling the facility that suppresses the password on the comm<strong>and</strong> line forAUTOLOG, LOGON, <strong>and</strong> LINK comm<strong>and</strong>s.v CHARACTER_DEFAULTS specifies default characters, such as the line endcharacter <strong>and</strong> the character delete character.v USER_DEFAULTS determines what the defaults will be for:– the global lines per page value for all virtual printers <strong>and</strong> consoles that aredefined on the system, <strong>and</strong>– querying other users’ POSIX database information <strong>and</strong> having their POSIXsecurity values changed.– TRANSLATE_TABLE specifies replacements for the st<strong>and</strong>ard translationtables that <strong>CP</strong> uses to accomplish certain tasks.v PRODUCT defines a product or feature to the system.Semantic <strong>and</strong> Syntactic StatementsThe following statements affect the way that your system processes the systemconfiguration file:v EQUATE creates names for groups of systems that all have something incommon <strong>and</strong> should, therefore, be treated similarly. You can use systemidentifiers or nicknames created by EQUATE statements to preface statementsthat should only apply to certain systems.v IMBED specifies the name <strong>and</strong> type of a file to be imbedded into the systemconfiguration file.v TOLERATE_CONFIG_ERRORS controls whether a section of the systemconfiguration file must be without errors when <strong>CP</strong> processes it.Spool File ProcessingThe following statements affect the way that your system processes spool files:v FORM_DEFAULT defines default user form names for <strong>CP</strong> to use when it createsfiles on virtual printers, punches, consoles, or real card readers.v PRINTER_TITLE specifies the printed output classes that are to containclassification titles.v USERFORM creates a list of user form names <strong>and</strong> their corresponding operatorform numbers, <strong>and</strong> can specify the forms as NARROW so that a narrowseparator page is printed.<strong>CP</strong> File System<strong>CP</strong>_ACCESS statements direct <strong>CP</strong> to access CMS-formatted minidisks that containinformation that <strong>CP</strong> can use at run time. Each <strong>CP</strong>_ACCESS statement specifies aCMS-formatted minidisk that <strong>CP</strong> should access after it brings the user directoryonline. After the system is up <strong>and</strong> running, you can use the <strong>CP</strong>ACCESS comm<strong>and</strong>to perform the same function as the <strong>CP</strong>_ACCESS statement.Chapter 2. Configuring Your System 27


Configuring Your SystemLogo ProcessingLOGO_CONFIG specifies the name of a logo configuration file for <strong>CP</strong> to use.What You Can Specify in the Logo Configuration FileYou can use the logo configuration file to override all of the default logo informationspecified in the H<strong>CP</strong>BOX ASSEMBLE file included in the <strong>CP</strong> nucleus. You canchange four logo pictures:v Normal logov Minimum screen logov Basic logov Spooling logoYou can use statements in the logo configuration file to choose logo pictures forlogical devices, SNA terminals, <strong>and</strong> locally attached terminals. <strong>CP</strong> can choosepictures for logical devices based on the user ID of the virtual machine that createdthe device, for SNA terminals based on the user ID of the VSM that is managingthe terminal, <strong>and</strong> for locally attached terminals based on their device addresses. Itcan also choose pictures for locally attached terminals or logical devices based onthe size of their screens.You can also use the logo configuration file to define the contents of the followingfields:v The comm<strong>and</strong> areav The input area at the bottom of the logo screen, <strong>and</strong> the layout of this areav The online message found at the top of each logo screenv The status areas (such as <strong>VM</strong> READ <strong>and</strong> <strong>CP</strong> READ)Unless you specify a different file name <strong>and</strong> file type in the system configurationfile, <strong>CP</strong> looks for a file called LOGO CONFIG after it has processed the systemconfiguration file. If <strong>CP</strong> has accessed a parm disk successfully, it attempts toprocess a logo configuration file even if it does not find a system configuration fileon the parm disk. After the system is up <strong>and</strong> running, you can use the REFRESHLOGOINFO comm<strong>and</strong> to change this information.Contents of the Logo Configuration FileThe logo configuration file contains the following four statements:vvvCHOOSE_LOGOINPUT_AREAONLINE_MESSAGEv STATUSFor complete descriptions of these statements <strong>and</strong> information about creating alogo configuration file, see Chapter 7, “The Logo Configuration File,” on page 279.Choosing Logo Picture FilesThe CHOOSE_LOGO statement is the most complex of these statements. TheCHOOSE_LOGO statement defines the logo picture files that <strong>CP</strong> uses for thefollowing:v Locally attached terminals. You can select certain pictures for certain terminaladdresses.v Terminals logging on through logical devices28 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Configuring Your Systemv Terminals managed by certain VTAM service machines (VSMs)v Separator pages of printed output.You can also select a different logo picture file for each locally attached terminal<strong>and</strong> different picture files for terminals logging on through different user IDs. Youcan specify a logo picture file to appear on screens that are too small toaccommodate the picture that another statement has specified for them.Input AreaThe INPUT_AREA statement contains information defining the layout of the inputarea that contains the user ID, password, <strong>and</strong> comm<strong>and</strong> areas of the logo screen.You can specify the number of lines each field should have, where the fields shouldappear, <strong>and</strong> the text that surrounds each area. You can use the CHOOSE_LOGOstatement to put specific text into the comm<strong>and</strong> area; this text appears by defaulton the logo screen. This option is helpful for systems on which users often dialthrough to P<strong>VM</strong> or VTAM. For example, you can include the text DIAL VTAM in thecomm<strong>and</strong> area.Online MessagesThe ONLINE_MESSAGE statement specifies the file that contains the onlinemessage that you want to appear at the top of the logo screen. You can changethis message to show the date that the system was brought online, the version ofz/<strong>VM</strong> that you are running, or whatever other information you may want.Status AreaThe STATUS statement specifies the text that appears in the bottom right corner ofthe screen. You can use this statement to change the contents of the status area tomixed case (for example, RUNNING to Running) or to change the text entirely.Chapter 2. Configuring Your System 29


30 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 3. Underst<strong>and</strong>ing the <strong>CP</strong> File SystemThis chapter describes:v Initial state of the <strong>CP</strong> file systemv Changing the list of disks accessed by <strong>CP</strong>v Performance considerationsv Displaying the contents of <strong>CP</strong>-accessed minidisksv Changing information on <strong>CP</strong>-accessed minidisks.Initial State of the <strong>CP</strong> File SystemAfter <strong>CP</strong> has read <strong>and</strong> processed the system <strong>and</strong> logo configuration files, itreleases the temporary link <strong>and</strong> access that it established to the parm disk. The IPLprocess continues as it would if there had been no parm disk present. <strong>CP</strong> thenprompts the operator with the options for the type of start:17:10:58 Start ((Warm|Force|COLD|CLEAN) (DRain) (DIsable) (NODIRect))17:10:58 (NOAUTOlog)) or (SHUTDOWN)If you choose to start with no options or with any option other than NODIRECT, <strong>CP</strong>tries to bring the user directory online after it has performed the requested spool fileinitialization. After the user directory is brought online, <strong>CP</strong> tries to access anyminidisks specified on the <strong>CP</strong>_ACCESS statements in the system configuration file.If no such statements exist, <strong>CP</strong> will not have any minidisks accessed. For example,to determine what minidisks (if any) <strong>CP</strong> has accessed, issue the followingcomm<strong>and</strong>:query cpdisksIf no disks are accessed, you receive the following response:No disks accessed.Ready;If a FEATURES statement in your system configuration file instructed <strong>CP</strong> to use logmessages from files on <strong>CP</strong>-accessed minidisks, there would be no log messagedata because <strong>CP</strong> does not have any minidisks accessed. For example, todetermine if any log message data exists, issue the following comm<strong>and</strong>:query logmsgAnd receive the response:There is no logmsg dataReady;If <strong>CP</strong> had processed a logo configuration file at IPL time <strong>and</strong> the logo configurationfile statements referred to logo picture files, an input area file, or an online messagefile, <strong>CP</strong> displays the st<strong>and</strong>ard system logo defined in H<strong>CP</strong>BOX ASSEMBLE on allterminals (because <strong>CP</strong> does not have any minidisks accessed).Therefore, depending on information in your system <strong>and</strong> logo configuration files, <strong>CP</strong>may look for files on <strong>CP</strong>-accessed minidisks when it needs to find log message filesor logos. If you had placed one or more <strong>CP</strong>_ACCESS statements in your systemconfiguration file, the response to the QUERY <strong>CP</strong>DISKS comm<strong>and</strong> after an IPLmight be similar to the following:© Copyright <strong>IBM</strong> Corp. 1991, 2004 31


Underst<strong>and</strong>ing the <strong>CP</strong> File SystemLabel Userid Vdev Mode Stat Vol-ID Rdev Type StartLoc EndLocPROD1 MAINT 0300 A R/O ESARES 0A0F ECKD 2400 2449BACKUP MAINT 0301 B R/O ESARES 0A0F ECKD 2450 2499Ready;This response indicates that MAINT’s 300 <strong>and</strong> 301 disks are accessed by <strong>CP</strong>.Unless you specify otherwise, <strong>CP</strong> accesses these disks in stable-read (SR) modeso that while <strong>CP</strong> only has read-only access to the minidisks, no other user canobtain a write link to the minidisk. In this case, if a user requests a copy of the logmessages, <strong>CP</strong> reads files on the <strong>CP</strong>-accessed minidisks (MAINT’s 300 <strong>and</strong> 301)<strong>and</strong> displays the contents of one or more files at the user’s terminal. If a userswitches on a terminal, <strong>CP</strong> can construct a logo from information contained in logopicture files, an input area file, <strong>and</strong> an online message file on the <strong>CP</strong>-accessedminidisks.Changing the List of Disks Accessed by <strong>CP</strong>As previously discussed, the <strong>CP</strong>_ACCESS statements in the system configurationfile define the initial list of disks accessed by <strong>CP</strong>. After the system is up <strong>and</strong>running, you can change the list of disks that <strong>CP</strong> searches for log message <strong>and</strong>logo information without having to shut down <strong>and</strong> restart the system. The<strong>CP</strong>ACCESS <strong>and</strong> <strong>CP</strong>RELEASE comm<strong>and</strong>s are similar to the CMS ACCESS <strong>and</strong>RELEASE comm<strong>and</strong>s in that they enable privileged users to modify the list of <strong>CP</strong>accessed disks. However, unlike the CMS ACCESS <strong>and</strong> RELEASE comm<strong>and</strong>s, the<strong>CP</strong>ACCESS <strong>and</strong> <strong>CP</strong>RELEASE do not affect any operations in the virtual machinewhere the comm<strong>and</strong> was issued. Instead, they instruct <strong>CP</strong> to modify its list ofaccessed minidisks. For example, to release a disk accessed by <strong>CP</strong>, issue thefollowing comm<strong>and</strong>:cprelease aYou receive these responses:<strong>CP</strong>RELEASE request for disk A scheduled.Ready;<strong>CP</strong>RELEASE request for disk A completed.If you issue QUERY <strong>CP</strong>DISKS, you see that in this case, <strong>CP</strong> has only a single diskaccessed, <strong>and</strong> all the logo <strong>and</strong> log message information have to be on this disk.Label Userid Vdev Mode Stat Vol-ID Rdev Type StartLoc EndLocBACKUP MAINT 0301 B R/O ESARES 0A0F ECKD 2450 2499Ready;You can also add to the list of minidisks accessed by <strong>CP</strong>. For example, to addMAINT’s 400 disk to the list of disks accessed by <strong>CP</strong>, issue the following comm<strong>and</strong>:cpaccess maint 400 aYou receive these responses:<strong>CP</strong>ACCESS request for mode A scheduled.Ready;<strong>CP</strong>ACCESS request for MAINT’s 0400 in mode A completed.To determine which disks are now accessed, issue QUERY <strong>CP</strong>DISKS. You receivethis response:Label Userid Vdev Mode Stat Vol-ID Rdev Type StartLoc EndLocPROD2 MAINT 0400 A R/O XAUSR8 0B12 CKD 2300 2349BACKUP MAINT 0301 B R/O ESARES 0A0F ECKD 2450 2499Ready;32 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Underst<strong>and</strong>ing the <strong>CP</strong> File SystemYou are only authorized to request that <strong>CP</strong> should access a minidisk if you have theauthority to link to the minidisk yourself. To have <strong>CP</strong> access the minidisk in SRmode (the default), you must be authorized to link to the disk in SR mode yourself.Whenever <strong>CP</strong> needs to display the log message or create a logo, it tries to readfiles from the minidisks that it currently has accessed.PerformanceConsiderationsBecause <strong>CP</strong> tries to read files from <strong>CP</strong>-accessed minidisks whenever it displays logmessages or logos, it may read certain files on the minidisks many times. Ratherthan reading these files from the minidisks each time, <strong>CP</strong> can cache the files instorage. Then, every time the files have to be read, <strong>CP</strong> does not have to wait for acopy of the files to be read from DASD because their contents are already instorage.For example, to cache certain files that reside on <strong>CP</strong>-accessed minidisk, issue thefollowing <strong>CP</strong>CACHE comm<strong>and</strong>:cpcache sna% logms* a2 file(s) cached.Ready;The response to the comm<strong>and</strong> indicates that 2 files were placed in storage as aresult of the <strong>CP</strong>CACHE comm<strong>and</strong>. <strong>CP</strong>CACHE accepts the use of wildcardcharacters (% <strong>and</strong> *) to specify files that it should cache.You can also give <strong>CP</strong> a list of files to read into storage whenever it accesses theminidisk. You do this by creating a file called <strong>CP</strong>CACHE FILES, which contains thelist of files, <strong>and</strong> placing the file on the minidisk that <strong>CP</strong> accesses. This is anexample of a <strong>CP</strong>CACHE FILES file:* logms* /* Cache all log message related files */sna% logo /* Cache all SNA logo picture files */online message /* Cache the file that contains the"<strong>VM</strong>/ESA Online" message */<strong>CP</strong> attempts to read <strong>CP</strong>CACHE FILES on any minidisk it accesses, whether theaccess attempt is the result of a <strong>CP</strong>ACCESS comm<strong>and</strong> or <strong>CP</strong>_ACCESS statementsfound in the system configuration file.<strong>CP</strong> removes the appropriate cached files from storage when a <strong>CP</strong>RELEASE or<strong>CP</strong>ACCESS comm<strong>and</strong> is issued for the minidisk from which the files were loaded. Ifthe files were loaded into storage as a result of the <strong>CP</strong>CACHE comm<strong>and</strong> (ratherthan a <strong>CP</strong>CACHE FILES file), you have to issue the <strong>CP</strong>CACHE comm<strong>and</strong> againwhen <strong>CP</strong> reaccesses the disk.Displaying the Contents of <strong>CP</strong>-Accessed MinidisksJust as you can use the CMS LISTFILE comm<strong>and</strong> to display what files are onaccessed minidisks, privileged users can use the <strong>CP</strong> <strong>CP</strong>LISTFILE comm<strong>and</strong> todisplay what files are on <strong>CP</strong>-accessed minidisks. For example, to display the LOGOfiles found on a <strong>CP</strong>-accessed minidisk, issue the following <strong>CP</strong>LISTFILE comm<strong>and</strong>:cplistfile * logo aChapter 3. Underst<strong>and</strong>ing the <strong>CP</strong> File System 33


Underst<strong>and</strong>ing the <strong>CP</strong> File SystemThe response displays the file name <strong>and</strong> file type of the file, its format <strong>and</strong> size, thedate it was last modified, <strong>and</strong> whether the file is currently cached:Filename Filetype FM Fmt LRecL Records Date Time CacheDEFAULT LOGO A F 80 15 10/30/91 21:15:15 No08E6 LOGO A F 80 23 02/20/92 08:12:56 NoLDEV LOGO A F 80 15 11/30/91 21:14:50 NoLOCAL LOGO A F 80 15 09/16/91 23:17:42 NoMOD5 LOGO A F 132 15 10/30/91 21:13:53 NoP<strong>VM</strong> LOGO A F 78 15 10/30/91 21:15:02 NoSNA1 LOGO A F 78 15 11/29/91 12:32:35 YesSNA2 LOGO A F 78 15 10/30/91 21:14:35 YesSYSTEM LOGO A F 80 15 10/30/91 21:14:29 NoT<strong>CP</strong>IP LOGO A F 78 15 01/27/92 20:22:09 NoReady;To display certain statistics about files on <strong>CP</strong>-accessed minidisks, issue:cplistfile sna* logo a statisticsThe response looks similar to this:Filename Filetype FM Opens ClosesSNA1 LOGO A 27 26SNA2 LOGO A 57 56Ready;Finally, to display the contents of a file that resides on a <strong>CP</strong>-accessed minidisk,issue:cptype cpcache files aAnd, receive this response:* logms* /* Cache all log message related files */sna% logo /* Cache all SNA logo picture files */online message /* Cache the file that contains the"<strong>VM</strong>/ESA Online" message */Ready;You are authorized to display the contents of files using the <strong>CP</strong>TYPE comm<strong>and</strong>only if you have the authority to link to the minidisk on which the files reside.Changing Information on <strong>CP</strong>-Accessed MinidisksIf your system configuration file contains a FEATURES statement that instructs <strong>CP</strong>to construct log messages from information in files on <strong>CP</strong>-accessed minidisks, youcan no longer use the SET LOGMSG comm<strong>and</strong> to alter the contents of the logmessage. Instead, you must do the following:1. Issue a <strong>CP</strong>RELEASE comm<strong>and</strong> to have <strong>CP</strong> remove the minidisk from its list ofaccessed disks.2. Issue the <strong>CP</strong> LINK comm<strong>and</strong> <strong>and</strong> CMS ACCESS comm<strong>and</strong> to link <strong>and</strong> accessthe target minidisk in write mode.3. Edit the files that contain the log messages for your system.4. Issue the CMS RELEASE comm<strong>and</strong> <strong>and</strong> the <strong>CP</strong> DETACH comm<strong>and</strong> to releasethe minidisk <strong>and</strong> detach it from your virtual machine.5. Issue a <strong>CP</strong>ACCESS comm<strong>and</strong> to have <strong>CP</strong> add the minidisk to its list ofaccessed disks.34 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Underst<strong>and</strong>ing the <strong>CP</strong> File SystemEven though you could have <strong>CP</strong> maintain read-only access to the disk while youare editing the files, it is recommended that you remove the disk from <strong>CP</strong>’s list ofaccessed disks first. When <strong>CP</strong> accesses a minidisk, it reads the minidisk’s filedirectory into storage. Any subsequent changes to the minidisk are not reflected intothe file directory <strong>CP</strong> keeps in storage until you issue a <strong>CP</strong>ACCESS comm<strong>and</strong> tohave <strong>CP</strong> reaccess the minidisk. If you change files on the minidisk while <strong>CP</strong> hasaccess to it, users may receive incorrect output in response to comm<strong>and</strong>s such asQUERY LOGMSG.On the other h<strong>and</strong>, you may encounter another problem if you tell <strong>CP</strong> to remove theminidisk from its list of accessed minidisks before you make your change. If theminidisk you are changing is the only one that contained log message information,<strong>and</strong> a user issued a QUERY LOGMSG comm<strong>and</strong> while you were in the process ofchanging the log message, <strong>CP</strong> would find no log message files <strong>and</strong> would respondthat no log message data existed.For example,query cpdisksLabel Userid Vdev Mode Stat Vol-ID Rdev Type StartLoc EndLocPROD1 MAINT 0300 A R/O ESARES 0A0F ECKD 2400 2449Ready;cprelease a<strong>CP</strong>RELEASE request for disk A scheduled.Ready;<strong>CP</strong>RELEASE request for disk A completed.query logmsgThere is no logmsg dataReady;It is recommended that to change the contents of minidisks that are accessed by<strong>CP</strong>, you should work with at least two disks. When you instruct <strong>CP</strong> to release oneminidisk in order to change files on the minidisk, <strong>CP</strong> can still read information fromthe second minidisk.For example:query cpdisksLabel Userid Vdev Mode Stat Vol-ID Rdev Type StartLoc EndLocPROD1 MAINT 0300 A R/O ESARES 0A0F ECKD 2400 2449BACKUP MAINT 0301 B R/O ESARES 0A0F ECKD 2450 2499Ready;cprelease a<strong>CP</strong>RELEASE request for disk A scheduled.Ready;<strong>CP</strong>RELEASE request for disk A completed.link maint 300 300 wrReady;access 300 aReady;xedit system logmsg aReady;release a (detachReady;Chapter 3. Underst<strong>and</strong>ing the <strong>CP</strong> File System 35


Underst<strong>and</strong>ing the <strong>CP</strong> File Systemcpaccess maint 300 a<strong>CP</strong>ACCESS request for mode A scheduled.Ready;<strong>CP</strong>ACCESS request for MAINT’s 0300 in mode A completed.You can now tell <strong>CP</strong> to release the B disk (MAINT’s 301) <strong>and</strong> update it to containthe new SYSTEM LOGMSG file that you placed on MAINT’s 300 disk.You can update logo picture files, input area files, <strong>and</strong> online message files in asimilar manner. <strong>CP</strong> uses the changed files as soon as the <strong>CP</strong>ACCESS request forthe minidisk completes.36 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 4. Using the St<strong>and</strong>-Alone Program LoaderThe St<strong>and</strong>-Alone Program Loader (SAPL) is a generic loader that loads st<strong>and</strong>-aloneprograms stored in CMS module form on a CMS minidisk. Using SAPL, you canuse any st<strong>and</strong>-alone program that can be generated in the form of a CMS module.Examples of such programs are:v The <strong>CP</strong> nucleus module (<strong>CP</strong>LOAD)v St<strong>and</strong>-Alone Program Loader Creation Utility (SALIPL)v DASD Dump Restore Utility (DDR)v Device Support Facilities Program (ICKDSF)This chapter tells you how to use the St<strong>and</strong>-Alone Program Loader to load ast<strong>and</strong>-alone program that is generated in the form of a module.During the IPL process, various information is read from DASD devices. Here aresome terms that will be used to refer to these devices:v The IPL device is the device which is specified on the load screen <strong>and</strong> fromwhich SAPL is loaded.v The SYSRES device is the device from which SAPL loads the <strong>CP</strong> module.v The parm disk device is the device on which the <strong>CP</strong> module finds the systemconfiguration file.v Other DASD devices are used but are not of interest for this discussion. Theyinclude the DASD devices used for the <strong>CP</strong> directory, warmstart, checkpoint,paging, spooling <strong>and</strong> user minidisks.Creating the St<strong>and</strong>-Alone Program LoaderBefore a DASD device can be IPLed, SAPL must be written to the device using theSt<strong>and</strong>-Alone Loader Creation Utility (SALIPL). See the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong>Utilities Reference for information on how you can write SAPL to the IPL device byusing SALIPL from the CMS comm<strong>and</strong> line. See the “Running Utility Programs” inz/<strong>VM</strong>: System Operation for information on how to write SAPL to the IPL device byusing SALIPL on the real processor.© Copyright <strong>IBM</strong> Corp. 1991, 2004 37


Using SAPL|||||||||||||||Important Note!As of z/<strong>VM</strong> V5R1, the number of blocks on FBA DASD (SCSI or not) thatSALIPL uses for SAPL has increased. SALIPL writes to blocks 5-207 on<strong>CP</strong>-formatted DASD. In previous releases, SALIPL wrote to blocks 5-31. Youmust ensure that no other functions, such as <strong>CP</strong> directory, warmstart,checkpoint, paging, spooling, or minidisks, are using the area to which SALIPLwrites.On a CMS minidisk with a RECOMP area, SALIPL writes SAPL to blocks5-207 of the RECOMP area. In previous releases, blocks 5-31 of theRECOMP area were used. In order to accommodate the larger size of SAPL,you may need to increase the size of the RECOMP area on the CMS minidisk.The following data is in the blocks that SALIPL writes out:Blocks 5–196 SAPL programBlocks 197–199 Reserved for <strong>IBM</strong> UseBlocks 200–207 SCSI boot recordsWhen SALIPL writes SAPL to the IPL device, defaults for the following attributesthat SAPL uses are established:v The location of the CMS minidisk where modules can be foundv The name of the module that is to be loaded by SAPLv The location in storage at which the module will be loaded, if it is relocatablev The IPL parameters that are passed to the program being loadedv Operator instructions that are displayed on the SAPL screen.These defaults can be overridden as described below.The default module is <strong>CP</strong> (default name <strong>CP</strong>LOAD), but it may be a st<strong>and</strong>-aloneprogram in CMS module form. You can have many <strong>CP</strong> modules in your installation,allowing for different conditions or providing backup. You select the <strong>CP</strong> module tobe used:v When you run St<strong>and</strong>-Alone Program Loader Creation Utility (SALIPL)v During IPL by overriding the SAPL defaults on the SAPL screenv During SHUTDOWN REIPL by using the MODULE oper<strong>and</strong>.Although the file name of a <strong>CP</strong> module is variable, the file type must be MODULE.<strong>CP</strong> modules typically reside on a minidisk that is identified as a parm disk in thevolume allocation table, but you can select the DASD volume <strong>and</strong> offset/extent fromwhich SAPL will read. Therefore, you can have <strong>CP</strong> modules on multiple minidiskson multiple DASDs.Note: Although SAPL will accept a load origin when loading a <strong>CP</strong> module, it has noeffect. <strong>CP</strong> will always relocate itself to location X’2000’.38 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Overriding the Console that <strong>CP</strong> Will UseIf you only need to override the console that <strong>CP</strong> will use as the system operatorconsole during <strong>CP</strong> initialization, specify a load parameter of CONSxxxx. Forexample:v Specify CONSSYSG to use the integrated 3270 console on the hardwaremanagement consolev Specify CONSSYSC to use the operating system messages panel on thehardware management consolev Specify CONSxxxx to cause <strong>CP</strong> to use the 3270 at address xxxx.Overriding St<strong>and</strong>-Alone Program Loader DefaultsIf the defaults that were established by the SALIPL utility when it wrote SAPL to theIPL device are acceptable, all you need to do is to IPL from the IPL device. If youneed to change any of the defaults, however, then you must supply a loadparameter with the address of a console for SAPL to use. The console specifiedmust accept 3270 CCWs <strong>and</strong> data streams <strong>and</strong> have at least 20 lines <strong>and</strong> 80columns.If you are running SAPL on a real processor, you specify the console address byentering the device number of the console into the load parameter field of the loadwindow on your processor console. The SAPL screen will be displayed on thespecified console.If you are running SAPL in a virtual machine, you specify the console address usingthe LOADPARM option of the <strong>CP</strong> IPL comm<strong>and</strong>. For example:IPL 18B LOADPARM EA0In this example, 18B is the DASD volume to load from <strong>and</strong> EA0 is the devicenumber of the console to be used.To cause the SAPL screen to appear on the integrated 3270 console on thehardware management console, specify SYSG as a load parameter. The operatingsystem messages panel on the hardware management console (SYSC) cannot beused by SAPL because it does not accept 3270 CCWs <strong>and</strong> data streams.To IPL from a SCSI DiskIf you are IPLing <strong>CP</strong> in a virtual machine from a minidisk on an emulated FBAdevice (SCSI), just specify the minidisk device address as the IPL device on the IPLcomm<strong>and</strong> as shown in the previous example.To IPL from a SCSI disk on the real processor, access the load window on theprocessor console in order to specify additional information. To IPL from a SCSIdisk in a virtual machine by using an F<strong>CP</strong> device, use the <strong>CP</strong> SET LOADDEVcomm<strong>and</strong> to specify additional information that will be used by the <strong>CP</strong> IPLcomm<strong>and</strong>:v Specify the load address of the F<strong>CP</strong> device you wish to use.v Specify the world wide port name (PORT on the SET LOADDEV comm<strong>and</strong>)v Specify the logical unit number (LUN)v Specify 0 for the boot program selector (BOOTPROG)Using SAPLv Specify C8 for the boot record logical block address (BR_LBA) if the IPL devicehas been <strong>CP</strong>-formatted by ICKDSF or <strong>CP</strong>FMTXA. The SALIPL utility writes theChapter 4. Using the St<strong>and</strong>-Alone Program Loader 39


Using SAPLSCSI boot record to block 200 (X’C8’) of a <strong>CP</strong>-formatted device. For aCMS-formatted device, SALIPL writes the SCSI boot record at block 200 (X’C8’)into the RECOMP area of the minidisk.v For the load parameter oper<strong>and</strong>, optionally specify a console address on whichyou wish the SAPL screen to appear.v For the OS specific load parameters (S<strong>CP</strong>DATA) oper<strong>and</strong>, optionally specify aconsole address on which you wish the SAPL screen to appear.Note: As described earlier, the console specified must accept 3270 datastreams. Specify SYSG for the integrated 3270 console on the HMC. Theconsole may also be specified in the load parameter field of the loadpanel on the system console. Note that if both the OS specific loadparameter S<strong>CP</strong>DATA <strong>and</strong> the load parameter fields are specified, SAPLwill use the load parameter value.If your configuration uses normal DASD devices (such as 3390), then the IPLdevice, SYSRES device, <strong>and</strong> parm disk device can all be the same device ordifferent devices. If the IPL device is an F<strong>CP</strong> device, then the IPL device,SYSRES device, <strong>and</strong> parm disk device must be the same SCSI disk. This isbecause the F<strong>CP</strong> device, WWPN, <strong>and</strong> LUN combination specified on the loadscreen is the only DASD device path known during the IPL process.The St<strong>and</strong>-Alone Program Loader ScreenWhen the IPL completes <strong>and</strong> a valid console has been specified for the loadparameter, you will see a menu screen similar to Figure 1. The defaults will be filledin for some of the fields — all fields except the comments section can be altered.STAND ALONE PROGRAM LOADER: z/<strong>VM</strong> VERSION n RELEASE n.nDEVICE NUMBER: 018B MINIDISK OFFSET: 35 EXTENT: -MODULE NAME: <strong>CP</strong>LOAD LOAD ORIGIN: 2000--------------------------------IPL PARAMETERS--------------------------------cons=0ea0 fn=maine-----------------------------------COMMENTS-----------------------------------Secondary parm disks can be found on 18B at offset 185 <strong>and</strong> on 18A at offsets35 <strong>and</strong> 185.------------------------------------------------------------------------------9= FILELIST 10= LOAD 11= TOGGLE EXTENT/OFFSETFigure 1. St<strong>and</strong>-Alone Program LoaderThe St<strong>and</strong>-Alone Program Loader screen contains the following fields:DEVICE NUMBER Specifies the device number of the DASD volumefrom which SAPL will read. Initially, this will be thesame as the device you IPLed, but it can bechanged to any DASD volume containing CMSminidisks.If you IPLed from an F<strong>CP</strong> device (SCSI disk), theDEVICE NUMBER field will contain the F<strong>CP</strong> deviceaddress. The WWPN <strong>and</strong> LUN are not displayed on40 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Using SAPLthe SAPL screen <strong>and</strong> cannot be changed. If youIPLed from an F<strong>CP</strong> device, you can change theDEVICE NUMBER value to a DASD volume (3390).If you IPLed from a DASD volume, however, youcannot change to an F<strong>CP</strong> device.MINIDISK OFFSET Specifies the offset from the beginning of the DASDvolume to the start of the CMS minidisk from whichSAPL is to read. This number is cylinders for countkey data devices <strong>and</strong> blocks for fixed blockarchitecture devices.EXTENT Specifies the extent number from 1 to 9 (first toninth). This field may be used only with DASDvolumes that have been formatted using the DeviceSupport Facilities Program (ICKDSF) <strong>and</strong> have anallocation map containing PARM extents written onthem. When a valid extent is entered, the offsetcorresponding to the extent will be displayed in theMINIDISK OFFSET field.Note: Only one of the fields, EXTENT or MINIDISKOFFSET, can be altered at a time. Use PF11to toggle which field can be altered.MODULE NAME Specifies the name of a module on the minidisk thatwill be loaded by SAPL.LOAD ORIGIN Specifies the location in memory (HEX address)into which SAPL will load a relocatable module.Specify a LOAD ORIGIN value of 2000 if IPLing a<strong>CP</strong> module. As of z/<strong>VM</strong> V5R1, <strong>CP</strong> will always runwith an origin of X’2000’. If a value other than 2000is specified, then after initially loading at thespecified address, <strong>CP</strong> will relocate itself to locationX’2000’.IPL PARAMETERS Specifies the data that will be passed to the loadedprogram by SAPL. The contents of this fielddepends entirely on the program loaded by SAPL.For parameters valid for <strong>CP</strong>, see “Passing IPLParameters” on page 42. If you are IPLing <strong>CP</strong>from an F<strong>CP</strong> device (SCSI disk), PDVOL=addrmust be specified as an IPL parameter. See thePDVOL= description below for more information.COMMENTS Contains comments such as operator instructions.This field may only be altered by running theSALIPL utility.There is also a message line after the comments area. Any informational messagesor error messages will appear on the message line.There is a list of program function (PF) key numbers <strong>and</strong> their functions at thebottom of the screen. PF11 toggles which of the two fields, MINIDISK OFFSET orEXTENT, is active. PF10 causes SAPL to try to load a module using the currentcontents of the fields. PF9 displays a list (FILELIST) of files that are on theminidisk. The module you wish to use can be selected on that screen. Figure 2 onpage 42 is an example of a St<strong>and</strong>-Alone Program Loader file list screen.Chapter 4. Using the St<strong>and</strong>-Alone Program Loader 41


Using SAPLPassing IPL ParametersSTAND ALONE PROGRAM LOADER: z/<strong>VM</strong> VERSION n RELEASE n.nFILENAME FILETYPE FORMAT LRECL RECORDS BLOCKS DATE TIMEDYN MODULE V 65535 59 925 2003/07/07 12:15:28SALIPL MODULE V 24400 4 7 2003/06/22 15:30:10SYSTEM CONFIG F 80 190 4 2003/06/17 14:47:19H<strong>CP</strong>SAL MODULE V 24400 4 7 2003/06/15 14:32:29END MODULE F 1024 1896 474 2003/06/01 13:40:19DYNF MODULE V 65535 56 869 2003/05/22 12:36:18DDR MODULE V 65535 5 30 2003/05/21 16:21:44SALTEST MODULE F 7656 1 2 2003/05/21 11:11:22LOGO CONFIG F 80 48 1 2003/05/18 16:31:48LOGO CONFOLD F 80 48 1 2003/11/22 14:43:28SYSTEM CONFN F 80 277 6 2003/08/08 15:40:51GOTHIC LOGO F 79 16 1 2003/06/18 17:11:12UMS LOGO V 75 16 1 2003/06/18 17:04:53SPOOL LOGO F 46 16 1 2003/06/17 18:13:58SYSTEM NETID F 80 8 1 2003/04/29 11:40:35ONLINE MESSFILE F 80 1 1 2003/04/29 11:26:11SYSTEM LOGMSG F 80 1 1 2003/10/03 9:04:223=QUIT 4=SORT(TYPE) 5=SORT(DATE) 6=SORT(NAME) 7=BACK 8=FORWARD 11=SELECTFigure 2. St<strong>and</strong>-Alone Program Loader File ListThe files displayed will initially be sorted in descending order by date <strong>and</strong> time. Youcan sort by file name/file type, file type/file name, <strong>and</strong> date/time by using the PFkeys identified at the bottom of the screen. If you press PF11 (SELECT) when thecursor is on a line that lists a file, you will be returned to the main menu <strong>and</strong> the filename of the selected file will be placed in the MODULE NAME file.Using SAPL, you can pass up to 240 characters of parameters into <strong>CP</strong> at IPL time.The default contents of the 240-character parameter field can be selected whenSALIPL is used to write SAPL to the IPL device. You can choose to override thedefaults by using the full screen option of SAPL.During <strong>CP</strong> initialization, <strong>CP</strong> scans the IPL parameter list from left to right. If aparameter is specified more than once, <strong>CP</strong> uses the last valid occurrence of theparameter.The following list describes the parameters that <strong>CP</strong> supports:CONS=addrCON=addrSpecifies the location of the operator console that <strong>CP</strong> is to use. Specify aone-digit to four-digit device address for a 3270 console. Specify SYSC for theoperating system messages panel on the hardware management console(HMC). Specify SYSG for the integrated 3270 console on the HMC.All OPERATOR_CONSoles statements in the system configuration file areignored. The console address specified will be added to the list of consolesdefined on the EMERGENCY_MESSAGE_CONSoles statement found in thesystem configuration file if it has not already been included in that list. For moreinformation, see the description of the EMERGENCY_MESSAGE_CONSolesstatement.FN=filenameSpecifies the file name of the system configuration file. If you do not specify thisoption, <strong>CP</strong> uses SYSTEM as the file name.42 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Using SAPLFT=filetypeSpecifies the file type of the system configuration file. If you do not specify thisoption, <strong>CP</strong> uses CONFIG as the file type.NOEXITSIntended to assist you in a situation where your dynamic additions to <strong>CP</strong> aresomehow wrong <strong>and</strong> are preventing <strong>CP</strong> from completing system initialization.Use the NOEXITS parameter to tell <strong>CP</strong> not to process any of these requestsfrom your system configuration file:v <strong>CP</strong>XLOAD statementv ENABLE EXIT statementv EXTERNAL_SYNTAX statementv ASSOCIATE MESSAGES statementv The ENABLE oper<strong>and</strong> of the ASSOCIATE EXIT statementExcept for examining the statement for syntactic correctness, <strong>CP</strong> will ignore thestatement or the oper<strong>and</strong>. If it was one of your dynamic additions to <strong>CP</strong> (forexample, a <strong>CP</strong> exit) that was causing <strong>CP</strong> not to initilize, using NOEXITS mayhelp you to IPL <strong>CP</strong> so that you can correct the problem.NOHCDSpecifies that <strong>CP</strong> should ignore any IODF statement in the system configurationfile. The system initializes as if no IODF statement were present <strong>and</strong> HCD isnot used for I/O configuration.An example of when the NOHCD IPL parameter would be useful is if youencounter a disabled wait state because of problems with the IODF statementor problems with the file specified on the IODF statement. Use the NOHCDparameter to IPL the system without HCD <strong>and</strong> then change the IODFstatement, replacing the IODF or otherwise investigate the wait state condition.PROMPTSpecifies that you wish to have <strong>CP</strong> prompt you about start-up options at IPLtime. If you specify this option, <strong>CP</strong> ignores the AUTO_WARM_IPL <strong>and</strong>AUTO_IPL oper<strong>and</strong>s on the FEATURES statement in the system configurationfile.The PROMPT parameter is only valid for the SAPL screen. This parameter isnot acknowledged during <strong>CP</strong> bounce processing (SHUTDOWN REIPL orrestarting after an abend).PDNUM=nSpecifies the number of the parm disk that you wish <strong>CP</strong> to use. <strong>CP</strong> will read theallocation map on the IPL device or the DASD volume indicated on the PDVOLoption <strong>and</strong> will skip to the n parm disk. If the allocation map does not contain atleast n parm disks, <strong>CP</strong> loads a disabled wait.PDOFF=offsetSpecifies the offset at which the parm disk resides in the IPL device or theDASD volume indicated on the PDVOL option. If the DASD volume does nothave at least offset cylinders or blocks, or if there is no CMS-formatted minidiskat the specified offset, <strong>CP</strong> loads a disabled wait.PDVOL=addrSpecifies the real address of the volume on which a parm disk resides that youwish <strong>CP</strong> to access. If there is no device at address addr or if the device is not aDASD volume, <strong>CP</strong> loads a disabled wait.If you are IPLing <strong>CP</strong> from an F<strong>CP</strong> device (SCSI disk), PDVOL=addr must bespecified as an IPL parameter. Any device address that is not in the I/OChapter 4. Using the St<strong>and</strong>-Alone Program Loader 43


Using SAPLconfiguration of the system to be IPLed can be specified for addr. <strong>CP</strong> requiresthis parameter in order build the EDEVICE control block for the SYSRES/parmdisk device during <strong>CP</strong> initialization. See “EDEVICE Statement” on page 121 formore information.STORE=nnnnuIndicates the amount of storage you wish <strong>CP</strong> to use. This amount can be lessthan the real storage that is installed. If you specify an amount that exceeds theactual real storage available on the <strong>CP</strong>U, <strong>CP</strong> uses the real storage amount.nnnn is a 1-digit to 4-digit decimal number. u can be:v M Megabytesv G Gigabytesv T Terabytesv P Petabytesv E Ekabytes44 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 5. Defining I/O DevicesThere are four methods that can be used to define I/O devices to <strong>CP</strong> during IPL:v Allow <strong>CP</strong> to dynamically sense the devicesv Use RDEVICE statements or EDEVICE statements in the system configurationfilev Use RDEVICE macroinstructions in the H<strong>CP</strong>RIO ASSEMBLE filev Use Hardware Configuration Manager (HCM) <strong>and</strong> Hardware ConfigurationDefinition (HCD) to define the devices.The first three methods can be used in combination with each other, but typically<strong>CP</strong> senses the devices <strong>and</strong> only those devices requiring additional definition willhave an RDEVICE statement or an EDEVICE statement in the system configurationfile. Generally, the H<strong>CP</strong>RIO ASSEMBLE file is used only in special circumstances,because updating the file requires rebuilding the <strong>CP</strong> module. It is recommendedthat the tables in this chapter be used to determine how, <strong>and</strong> if, a given deviceshould be defined in the system configuration file. If a configuration file statement islisted as "not required", then no definition is required <strong>and</strong> <strong>VM</strong> will dynamicallydetermine the device characteristics through device sensing. There may be caseswhere a configuration file statement, although "not required", should be used tospecify additional options or features, or both. Devices not found in the tables areeither unsupported or require an RDEVICE macro statement in H<strong>CP</strong>RIO.To use HCM <strong>and</strong> HCD to define devices to <strong>CP</strong>, an IODF statement that specifiesboth an IODF <strong>and</strong> an osconfig name must be specified in the system configurationfile. In this case, all devices are defined by HCD (except older <strong>and</strong> unsupporteddevices, which still can be defined in H<strong>CP</strong>RIO ASSEMBLE) <strong>and</strong> device sensing <strong>and</strong>RDEVICE statements or EDEVICE statements in the system configuration filecannot be used. For information about using HCM <strong>and</strong> HCD, see the z/OS <strong>and</strong>z/<strong>VM</strong>: Hardware Configuration Manager User’s Guide <strong>and</strong> z/<strong>VM</strong>: I/O Configuration.DeviceSupportA real device can be supported or unsupported. A supported device can besupported for <strong>CP</strong> <strong>and</strong> guest use or only for dedicated use by a single guest.A supported device is one of those listed in the z/<strong>VM</strong>: General Information bookalong with the type of support it receives. If that book does not list a device,assume the device is not supported. The use of listed devices is fully supported by<strong>IBM</strong> through z/<strong>VM</strong> service support.A device supported for <strong>CP</strong> <strong>and</strong> guest use is one that <strong>CP</strong> <strong>and</strong> virtual machines canuse. <strong>CP</strong> provides system services for the device, including error recovery for guestDIAGNOSE I/O requests <strong>and</strong> a full comm<strong>and</strong> set (that is, you can use alldevice-oriented <strong>CP</strong> comm<strong>and</strong>s for the device). Such a device can also be sharedamong multiple guests if appropriate (for example, DASD) or can be dedicated tothe exclusive use of a single guest.A device supported for dedicated-only use by a single guest can only be logicallyattached to a single guest virtual machine at any one time. The guest must be fullycapable of running with the device. <strong>CP</strong> cannot use the device itself, <strong>and</strong>DIAGNOSE I/O services are not supplied to the guest.© Copyright <strong>IBM</strong> Corp. 1991, 2004 45


Defining I/O DevicesUnsupportedDevicesAn unsupported device is any device not listed in the z/<strong>VM</strong>: General Informationbook. An unsupported device must be dedicated to a single guest, but properoperation with z/<strong>VM</strong> <strong>and</strong> the guest is the customer’s responsibility; <strong>IBM</strong> does notguarantee that unsupported devices will run properly with z/<strong>VM</strong>, <strong>and</strong> service supportfor such device attachments is not supplied.An unsupported device must be defined to z/<strong>VM</strong> as some unrecognizable devicetype (that is, a device type different from any of the supported <strong>IBM</strong> devices) <strong>and</strong>must be defined with either RDEVICE TYPE UNSUPPORTED statement in thesystem configuration file or the CLASS oper<strong>and</strong> on the RDEVICE macroinstruction.By knowing the class of devices (DASD, tape, <strong>and</strong> so on) to which the unsupporteddevice belongs, z/<strong>VM</strong> knows what kinds of unsupported devices are similar.Note: DASD which is defined as being unsupported cannot be IPLed by <strong>CP</strong>.Unsupported DASD can only be used by a virtual machine which is IPLedeither from a supported device or from a named saved system.DeviceSensingMost <strong>IBM</strong> devices can be queried (sensed) to determine what type of device theyare. This is done at IPL time <strong>and</strong> when a device is varied on. For example, assumeyou have an <strong>IBM</strong> DASD device at address 300. <strong>CP</strong> issues a sense ID comm<strong>and</strong> todevice 300. The device returns information indicating what type of device it is.<strong>CP</strong> may need more information than that returned by some devices when they arequeried. An example of this type of device is the <strong>IBM</strong> 4248 printer. When queried,the printer returns only the information that it is a 4248. Necessary information suchas the printer class <strong>and</strong> the forms control buffer to be used is not provided viasensing; if <strong>CP</strong> is not provided this information on an RDEVICE statement, <strong>CP</strong> usesdefault values for that type of printer.If a device does not respond to the device sense ID comm<strong>and</strong>, then the devicemust be defined in the system configuration file using the RDEVICE statement.For a complete description of the RDEVICE statement, see “RDEVICE Statement”on page 188.DASDTable 1 indicates for DASD devices whether or not a statement is required in thesystem configuration file. For some devices, a statement is needed only if thedevice is shared, in which case the following statement can be used:RDEVICE rdev TYPE DASD SHARED YESTable 1. Configuration Guide for DASDDevice Statement Needed in Configuration File3380 Models A04, AA4, B04, AD4, BD4,AE4, BE4, AJ4, BJ4, AK4, BK4v When not shared, not requiredv When shared, TYPE DASD YES3380 Model CJ2 v When not shared, not required3390 Models A14, A18, B14, B18, B1C, A24,A28, B24, B28, B2C, A34, B34, A38, B38,B3Cv When shared, TYPE DASD YESv When not shared, not requiredv When shared, TYPE DASD YES46 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Defining I/O DevicesTable 1. Configuration Guide for DASD (continued)Device Statement Needed in Configuration File3390 Models A98, B9C v When not shared, not requiredv When shared, TYPE DASD YES9336 Model 20 Not requiredSee “RDEVICE Statement (DASD)” on page 195 for a complete description of theRDEVICE statement.TapesTable 2 indicates for tape devices whether or not a statement is required in thesystem configuration file. The TYPE oper<strong>and</strong> of the RDEVICE statement is requiredfor those devices whose characteristics cannot be dynamically determined.Table 2. Configuration Guide for Tape DrivesDevice Statement Needed in Configuration File3480 All Models Not required*3490 All Models Not required*3495 Tape Library Dataserver **3590 All Models Not required*Notes:*The ’TYPE TAPE’ oper<strong>and</strong> can be specified to provide query capability for tapes that areintentionally left offline at IPL.**See the DFSMS/<strong>VM</strong> Installation <strong>and</strong> Customization Guide for information on defining the3495 Tape Library Dataserver for <strong>VM</strong> use.See “RDEVICE Statement (Tape Units)” on page 207 for a complete description ofthe RDEVICE statement.PrintersTable 3 indicates for printer devices whether or not a statement is required in thesystem configuration file. The TYPE oper<strong>and</strong> of the RDEVICE statement is requiredfor those devices whose characteristics cannot be dynamically determined.Table 3. Configuration Guide for PrintersDevice Statement Needed in Configuration File3203 Model 5 TYPE 32033211 Models 1, 5 TYPE 3211 (For devices, such as a 4248,that emulate a 3211)3262 TYPE IMPACT_PRINTER3268 Models 2, 2C Not required3287 Models 1, 1C, 2, 2C, 4 Not required3289 Models 1, 3, 4, 8 TYPE 32893800 Model 1 TYPE 3800Chapter 5. Defining I/O Devices 47


Defining I/O DevicesTable 3. Configuration Guide for Printers (continued)Device Statement Needed in Configuration File3800 Models 3, 6, 8 TYPE Advance Function Printing( )(AFP)( ) or TYPE 38003812 v When coax attached, not requiredv When BSC attached, TYPEBSC_ADAPTERv When SDLC (VTAM attached), notrequired3816 v When coax attached, not requiredv When BSC attached, TYPEBSC_ADAPTERv When SDLC (VTAM attached), notrequired3820 v When channel attached for use as a PSFprinter, TYPE AFP3825 TYPE AFP3827 TYPE AFP3828 TYPE AFP3835 TYPE AFP3900 TYPE AFPv When VTAM attached, TYPE 37054245 Models 1, 12, 20 TYPE IMPACT_PRINTER4248 Models 1, 2 TYPE IMPACT_PRINTER6262 Models 14, 22 TYPE IMPACT_PRINTERUnit Record DevicesFor BSC attached 3812 or 3816 printers, see “RDEVICE Statement(Communication Controllers)” on page 193 for a complete description of theappropriate RDEVICE statement. For the other printers, see “RDEVICE Statement(Advanced Function Printers)” on page 189 <strong>and</strong> “RDEVICE Statement (ImpactPrinters)” on page 201 for a complete description.Table 4 indicates for reader <strong>and</strong> punch devices whether or not a statement isrequired in the system configuration file. The TYPE oper<strong>and</strong> of the RDEVICEstatement is required for those devices whose characteristics cannot be dynamicallydetermined.Table 4. Configuration Guide for Reader <strong>and</strong> Punch DevicesDevice Statement Needed in Configuration File3505 Models B1, B2 TYPE READER3525 Models P1, P2, P3 TYPE PUNCHSee “RDEVICE Statement (Card Readers)” on page 192 <strong>and</strong> “RDEVICE Statement(Card Punches)” on page 190 for a complete description of the appropriateRDEVICE statement.48 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Defining I/O DevicesDisplaysDisplay devices can be defined in the system configuration file. <strong>IBM</strong> 3277 displayshave 3277 defined on the TYPE oper<strong>and</strong> of the RDEVICE statement. All othernon-3270 displays can be sensed <strong>and</strong> no configuration file statement is neededunless the device has special features, such as the Operator Identification Card. If adisplay has a special feature, an RDEVICE statement for the display is needed. Forexample, if a display has an Operator Identification Card, the following RDEVICEstatement should be included in the system configuration file:RDEVICE rdev TYPE 3270_DISPLAY OPER_IDENT_READER YESThe oper<strong>and</strong> rdev is the real device number. For a complete description thisstatement, see “RDEVICE Statement (Graphic Display Devices)” on page 197.CommunicationControllersTable 5 indicates for communication controller devices whether or not a statement isrequired in the system configuration file. The TYPE oper<strong>and</strong> of the RDEVICEstatement is required for those devices whose characteristics cannot be dynamicallydetermined.Table 5. Configuration Guide for Communication ControllersDeviced Statement Needed in Configuration File3705 v When running EP, TYPE 3705v When running N<strong>CP</strong>, not requiredv When running PEP for BSC lines, TYPEBSC_ADAPTERv When running PEP for ASCII lines, TYPETELE2_ADAPTER3720 Not required when running N<strong>CP</strong>3725 v When running EP, TYPE 3705v When running N<strong>CP</strong>, not requiredv When running PEP for BSC lines, TYPEBSC_ADAPTERv When running PEP for ASCII lines, TYPETELE2_ADAPTER3745 v When running N<strong>CP</strong>, not requiredv When running PEP for ASCII lines, TYPETELE2_ADAPTER9221 Integrated Token Ring TYPE ICA_TOKENRING9221 Integrated Ethernet TYPE ICA_ETHERNETSee “RDEVICE Statement (Communication Controllers)” on page 193 for acomplete description of the RDEVICE statement.ESCONDevicesThese ESCON* devices can be sensed by <strong>CP</strong> <strong>and</strong> do not require a systemconfiguration file statement:v 9032 ESCON Director Model 2v 9033 ESCON Director Model 1Chapter 5. Defining I/O Devices 49


Defining I/O Devicesv 9034 ESCON Converter Model 1v 9035 ESCON Converter Model 2v ESCON CTCAFor information on defining ESCON devices that cannot be sensed by <strong>CP</strong>, see“RDEVICE Statement (Unsupported Devices)” on page 209 in the description of theRDEVICE statement in Chapter 6, “The System Configuration File.” For informationon defining ESCON-attached devices, see the appropriate device tables in thischapter.OtherDevicesTable 6 indicates for various devices whether or not a statement is required in thesystem configuration file. The TYPE oper<strong>and</strong> of the RDEVICE statement is requiredfor those devices whose characteristics cannot be dynamically determined.Table 6. Configuration Guide for Other DevicesDevice Statement Needed in Configuration File3088 Not required3172 Not required3423 Optical Media Attachment TYPE UNSUPPORTED3737 Remote CTCA TYPE CTCA3890 Document Processor Not required4753 Network Security Processor Not required (looks like a 3088)7171 TYPE 3270_DISPLAY8232 Not requiredCTCA TYPE CTCAOSA Not required50 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 6. The System Configuration FileThe Parm DiskThis chapter:v Discusses the parm diskv Provides a summary of system configuration file statementsv Defines general rules for coding the system configuration filev Describes each system configuration file statement in detailThe system definition information required at IPL resides in files on the parm disk, aCMS-formatted minidisk that <strong>CP</strong> can read. The parm disk must reside on the IPLvolume. The system definition files on the parm disk include:v The main system configuration file, usually called SYSTEM CONFIG, whichcontains operating characteristics such as the layout of the <strong>CP</strong> system residencedisk, lists of DASD volumes that <strong>CP</strong> uses, your real storage configuration, <strong>and</strong>information <strong>CP</strong> requires to determine the correct offset from CoordinatedUniversal Time (UTC). It also contains real device definitions for I/O devices thatdo not respond to a sense ID request <strong>and</strong> for I/O devices that need moreinformation defined than a sense ID request returns (for example, printers <strong>and</strong>communications controllers). This file is described in detail in this chapter.v The logo configuration file, usually called LOGO CONFIG, which containsinformation about the creation <strong>and</strong> configuration of logos, including the file names<strong>and</strong> file types of the different logo files. For details, see Chapter 7, “The LogoConfiguration File,” on page 279.Note: The parm disk must be CMS-formatted. If it is not CMS-formatted, thesystem enters a disabled wait state, code 6758. If you get this wait code,you can use the alternate parm disk at IPL time. To do this, use theSt<strong>and</strong>-alone Program Loader in console mode <strong>and</strong> change the parm diskextent on the St<strong>and</strong>-alone Program Loader screen to the alternate parm diskextent.Summary of System Configuration File StatementsTable 7 lists all the system configuration file statements, gives you a briefdescription of each statement, <strong>and</strong> points you to where you can get moreinformation about each statement.Table 7. System Configuration File Statements (SYSTEM CONFIG)Statement Description PageALTERNATE_OPERators Identifies up to eight user IDs that have thepotential to become the system operatorautomatically when the primary system operatorlogs off.ASSOCiate EXit Assigns one or more entry points or externalsymbols to an exit point during initialization.ASSOCiate MESSages/MSGS Assigns an external symbol to a local messagerepository <strong>and</strong> gives <strong>CP</strong> information about howto select messages in that repository duringinitialization.CHARACTER_DEFaults Establishes system-wide defaults for the logicalcharacter delete, escape, line delete, line end,<strong>and</strong> tab symbols.67606467© Copyright <strong>IBM</strong> Corp. 1991, 2004 51


System Configuration FileTable 7. System Configuration File Statements (SYSTEM CONFIG) (continued)Statement Description Page<strong>CP</strong>_ACCess Defines the list of disks that <strong>CP</strong> accessesimmediately when it brings the user directory online.<strong>CP</strong>_ADDON_INITIALIZE_ROUtines Lists the installation-added entry points that willbe called during system initialization.<strong>CP</strong>_OWNed Defines <strong>and</strong> generates a list of up to 255<strong>CP</strong>-owned volumes.<strong>CP</strong>XLoad Loads a file containing customer-written <strong>CP</strong>routines from the parm disk or a <strong>CP</strong>-accesseddisk into <strong>CP</strong>’s virtual storage during initialization.DEFine ALIAS Defines a new alias for an existing <strong>CP</strong> comm<strong>and</strong>on the system during initialization.DEFine COMm<strong>and</strong>/CMD Defines a new <strong>CP</strong> comm<strong>and</strong> or a new version ofan existing <strong>CP</strong> comm<strong>and</strong> on the system duringinitialization.DEFine DIAGnose Defines a new DIAGNOSE code on the systemduring initialization.DEFine EXit Defines a new exit point in <strong>CP</strong> duringinitialization.DEFINE LAN Defines a <strong>VM</strong> LAN segment. 97DEFINE VSWITCH Creates a <strong>CP</strong> system-owned switch (a VirtualSwitch) to which virtual machines can connect.DEVICes Tells <strong>CP</strong> what to do with various devices at IPL. 105DISAble COMm<strong>and</strong>/CMD Prevents <strong>CP</strong> from processing requests for thespecified <strong>CP</strong> comm<strong>and</strong> during <strong>and</strong> afterinitialization.DISAble DIAGnose Prevents <strong>CP</strong> from processing requests for thespecified locally-developed DIAGNOSE codesduring <strong>and</strong> after initialization.DISAble EXits Prevents <strong>CP</strong> from calling all entry points <strong>and</strong>external symbols associated with one or moreexit points during <strong>and</strong> after initialization.DISTRIBUTE Specifies the distribution features for the localsystem.DRAin Stops new operations on specified real devices. 118EDEVice Defines an emulated device that represents areal device.EMERGENCY_MESSAGE_CONSoles Defines consoles for system emergencymessages.ENable COMm<strong>and</strong>/CMD Permits <strong>CP</strong> to process requests for the specified<strong>CP</strong> comm<strong>and</strong> during <strong>and</strong> after initialization.ENable DIAGnose Permits <strong>CP</strong> to process requests for the specifiedlocally-developed DIAGNOSE codes during <strong>and</strong>after initialization.ENable EXits Permits <strong>CP</strong> to call all entry points <strong>and</strong> externalsymbols associated with one or more exit pointsduring <strong>and</strong> after initialization.ENFORCE_BY_VOLid Enforces attachment of DASD devices by theirVOLIDs on the ATTACH comm<strong>and</strong>.EQUate Groups names of systems that all havesomething in common <strong>and</strong> should thus betreated similarly.707273768184909410011011211411612112412612813013213352 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration FileTable 7. System Configuration File Statements (SYSTEM CONFIG) (continued)Statement Description PageEXTERNAL_SYNtax Adds locally-developed system configuration filestatements to the system without modifying thesystem configuration file processor, H<strong>CP</strong>ZSCASSEMBLE.FEATures Establishes certain attributes of the system atsystem initialization.FORM_DEFault Generates default user form names. 150HOT_IO_Rate Specifies the number of contiguous unsolicitedinterrupts that <strong>CP</strong> will accept from faulty I/Odevices before it stops accepting input fromthose devices.IMbed Specifies files to imbed into the SYSTEMCONFIG file at IPL.INIT_MITIME Specifies the MITIME (the time interval at whicha device is checked for missing interrupts) thatis in effect during device initialization at systemIPL time.IODF Specifies the IODF that HCD will use in itscontrol of the I/O configuration.JOURNALing Specifies whether <strong>CP</strong> should include thejournaling facility in the system being generated;establishes attributes of the facility.LOGO_CONfig Specifies the name <strong>and</strong> type of a logoconfiguration file.MODify COMm<strong>and</strong>/CMD Redefines an existing <strong>CP</strong> comm<strong>and</strong> on thesystem during initialization.MODify DIAGnose Redefines an existing DIAGNOSE code on thesystem during initialization.MODify EXit Redefines or removes an existing dynamic <strong>CP</strong>exit point during initialization.MODify LAN Modifies the properties of a <strong>VM</strong> LAN segment. 175MODify PRIV_CLASSes Changes the privilege classes <strong>and</strong> establishesinitial values.MODify VSWITCH Modifies the properties of an existing VirtualSwitch.OPERATOR_CONSoles Defines a list of consoles from which <strong>CP</strong> canchoose an operator console.PRINTER_TItle Specifies the printed output classes that are tocontain classification titles.PRIV_CLASSes Changes the privilege class that authorizescertain internal <strong>CP</strong> functions.PRODUCT Defines a product or feature to the system. 186RDEVice Adds to the system’s definition of a set of realdevices.SAY Writes a line of text to the operator’s consoleduring initialization.SET Defines default system configuration values. 219STArt Restarts devices after they have been drained;changes the processing options in effect fordevices.STORage Configures the use of real storage. 222SYSTEM_DATEFormat Sets the system-wide default date format forcomm<strong>and</strong>s that provide multiple date formats.135136152155157158160164165169172176178180182184188217220225Chapter 6. The System Configuration File 53


System Configuration FileTable 7. System Configuration File Statements (SYSTEM CONFIG) (continued)Statement Description PageSYSTEM_IDentifier Creates a system identifier for the processor onwhich you run z/<strong>VM</strong>.SYSTEM_IDENTIFIER_DEFault Provides <strong>CP</strong> with a default system identifier. 228SYSTEM_RESidence Describes the layout of the system residencedisk.SYSTEM_USERids Specifies user IDs that will perform specialfunctions during <strong>and</strong> after IPL.THROTtle Limits the number of I/O operations that guestoperating systems can initiate to a specific realdevice.TIMEZONE_Boundary Tells <strong>CP</strong> which time zone to choose at IPL. 237TIMEZONE_DEFinition Defines system time zones according to theirdistance from UTC.TOLERATE_CONFIG_ERRors Marks sections of the system configuration file inwhich <strong>CP</strong> is not to tolerate errors.TRANSLATE_TABle Specifies replacements for st<strong>and</strong>ard translationtables.USERFOrm Creates a list of user form names <strong>and</strong> theircorresponding operator form numbers; specifiesforms as NARROW so that a narrow separatorform is printed.USER_DEFAULTS Defines defaults to be used forv global lines per page values for virtual printers<strong>and</strong> consoles defined on the system, <strong>and</strong>v querying other users’ POSIX databaseinformation <strong>and</strong> having their POSIX securityvalues changed.USER_VOLUME_EXclude Defines volumes to be excluded from the uservolume list.USER_VOLUME_INclude Defines user volumes by a generic volumeidentifier.USER_VOLUME_List Generates a list of user DASD volumes not tobe used for paging, spooling, directory, ortemporary disk space.<strong>VM</strong>LAN Controls global attributes for <strong>VM</strong> Guest LAN <strong>and</strong>Virtual Switch support.XLINK_DEVICE_DEFaults Changes the defaults for the CSE track locationformat for particular types of DASD.XLINK_SYSTEM_EXclude Specifies the systems that <strong>CP</strong> is to exclude fromcross-system link.XLINK_SYSTEM_INclude Specifies the systems that <strong>CP</strong> is to include incross-system link.XLINK_VOLUME_EXclude Specifies the DASD volumes that <strong>CP</strong> is excludefrom cross-system link.XLINK_VOLUME_INclude Specifies the DASD volumes that <strong>CP</strong> is includein cross-system link.XSPOOL_SYStem Specifies the systems that are to participate incross-system comm<strong>and</strong>s <strong>and</strong> spoolingoperations.XSPOOL_TRace Establishes the number of pages of <strong>CP</strong> storageallocated for the XSPOOL trace tables.XSPOOL_XLIST_INput Defines virtual machines whose input spool fileswill not participate in cross-system functions.22623023223623924124324724825125325525725926326426626827127327454 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration FileTable 7. System Configuration File Statements (SYSTEM CONFIG) (continued)Statement Description PageXSPOOL_XLIST_OUTput Defines virtual machines whose output spoolfiles will not participate in cross-systemfunctions.276General Rules for Coding a System Configuration FileWhen creating or updating a system configuration file, you must follow somegeneral syntax rules.FormatCommentsThe system configuration file can be a fixed-length or variable-length record file.After all continuations of a statement have been resolved, no individual statement inthe file should be longer than 4000 characters, <strong>and</strong> no individual record in the fileshould be longer than 4000 characters.You can add comments to the file by delimiting them with a beginning charactersequence of /* <strong>and</strong> an ending sequence of */. A single comment may span multiplerecords in the file. Thus,/*--------------------------------------------------------** The following section defines the <strong>CP</strong> owned volume list **--------------------------------------------------------*/is a valid comment. As many comments as necessary may be entered on a singlerecord in the file. For example,Features Retrieve Max 100 /* Max for all */ Default 7 /* 7 to start */is allowed.ContinuationsTo put a statement in more than one record of the configuration file, place a commaat the ends of all but the last line of the statement. For example, you can code theFEATURES statement as follows:Features ,Retrieve Max 100 , /* Max for all */Default 7 /* 7 to start */A comma at the end of a line indicates that the statement is not yet complete. Youshould not code a comma if the statement information is complete but a commentcontinues to the next record.Features ,Retrieve Max 100 , /* Maximum number of buffers a non... privileged user may ask for */Default 7 /* Seven to start. This matches the... previous release’s default */is valid, but a comma after DEFAULT 7 would make the statement invalid, as youhave specified no subsequent options. The comma can be placed directly after thelast entry on the line. Thus, the example above would also be valid if specified asChapter 6. The System Configuration File 55


System Configuration FileFeatures,Retrieve Max 100, /* Maximum number of buffers a non... privileged user may ask for */Default 7 /* Seven to start. This matches the... previous release’s default */Finally, a blank line does not cause a continuation to be terminated. You couldspecifyFeatures,Retrieve Max 100because <strong>CP</strong> ignores any blank lines in the configuration file.CaseIn general, it does not matter whether information in the system configuration file isentered in upper case or mixed case. Most entries in the configuration file areconverted to upper case before they are processed. Thus,System_Identifier_DefaultTHAT<strong>VM</strong><strong>and</strong>System_Identifier_Defaultthatvmwould have the same results. An exception to this rule occurs when <strong>CP</strong> encountersa quoted string in the file. A quoted string is any string enclosed within singlequotation marks; the string may contain blanks <strong>and</strong> special character sequencessuch as /* <strong>and</strong> */ that are not usually permitted in a single token. Where quotedstrings are allowed <strong>and</strong> a quoted string is specified in the configuration file, the textinside the quotation marks is not converted to upper case. In the following example,the specified printer title would remain in mixed case:Printer_title I ’Internal Use Only’whilePrinter_title J Confidentialwould create a print classification of CONFIDENTIAL.RecordQualifiersYou can instruct <strong>CP</strong> to process certain statements in the system configuration fileonly if the file is being used on certain systems. To do this, add one or more recordqualifiers onto the front of a statement. A record qualifier consists of a parameterfollowed by a colon. The parameter can be the system name to which you wish thestatement to apply, or it can be one of the following:v a pattern that contains the special characters * (used in place of one or morearbitrary characters) <strong>and</strong> % (used in place of exactly one arbitrary character) <strong>and</strong>that matches one or more systems to which you wish the statement to applyv a symbol defined with an EQUATE statement that lists the system or systems towhich you wish the statement to apply. An EQUATE statement can list suchsystems either explicitly or describe them using the pattern matching discussedabove.For example, specifyingBOB<strong>VM</strong>1: BOB<strong>VM</strong>2: Operator_Consoles 00F256 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration Filewill cause the above OPERATOR_CONSOLES statement to be processed only ifthe system being IPLed is called BOB<strong>VM</strong>1 or BOB<strong>VM</strong>2. <strong>CP</strong> finds out the name ofthe system from SYSTEM_IDENTIFIER or SYSTEM_IDENTIFIER_DEFAULTstatements.The Order of Statements in the FileIn general, statements may be specified in the system configuration file in anyorder. There are, however, a few exceptions to this rule:v TIMEZONE_BOUNDARY statements can refer only to time zones that have beenpreviously defined by TIMEZONE_DEFINITION statements.v IMBED statements <strong>and</strong> LOGO_CONFIG statements can only use the specialfilename or filetype of -SYSTEM- if the system name has been previously resolvedby a SYSTEM_IDENTIFIER or SYSTEM_IDENTIFIER_DEFAULT statement.v Record qualifiers can only be used if the system name has been previouslyresolved by a SYSTEM_IDENTIFIER or SYSTEM_IDENTIFIER_DEFAULTstatement.Therefore, we recommend that you code SYSTEM_IDENTIFIER,SYSTEM_IDENTIFIER_DEFAULT, <strong>and</strong> EQUATE statements at the top of theconfiguration file.For statements that do not specify lists of items, statements that occur later in theconfiguration file override equivalent statements specified earlier. For example,Features Disable Clear_TDisk.Features Enable Clear_TDiskwould cause TDISK clearing to be enabled. Exceptions to this rule are the<strong>CP</strong>_OWNed statement <strong>and</strong> the IODF statement. If you specify more than one<strong>CP</strong>-OWNed statement with the same slot number, <strong>CP</strong> uses only the first occurrenceof these statements <strong>and</strong> ignores the subsequent statements. Likewise, if youspecify more than one IODF statement, <strong>CP</strong> uses only the first occurrence of theIODF statement <strong>and</strong> ignores the subsequent statements.Statements that specify lists of items are usually processed cumulatively.User_Volume_List ESAUS1 ESAUS2 ESAUS3.User_Volume_List ESAUS4 ESAUS5 ESAUS6would cause the user volume list to consist of all six specified volumes. Twoexceptions to this rule are the OPERATOR_CONSOLES statement <strong>and</strong> theEMERGENCY_MESSAGE_CONSOLES statement. Each invocation of one of thesestatements defines an entire list of consoles to be used for a specific purpose; anysubsequent invocation causes the entire list for that purpose to be replaced.Checking the Syntax of Statements in the FileYou can check the syntax of the statements in a system configuration file by usingthe <strong>CP</strong>SYNTAX comm<strong>and</strong>. This comm<strong>and</strong> checks the specified systemconfiguration file <strong>and</strong> any files imbedded in that file. For details, refer to the z/<strong>VM</strong>:<strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book.Chapter 6. The System Configuration File 57


System Configuration FileALTERNATE_OPERATORS Statement►► ALTERNATE_OPERators ▼ userid ►◄PurposeUse the ALTERNATE_OPERATORS statement to specify a maximum of eight userIDs that have the potential to become the system operator automatically when theprimary system operator logs off.How to SpecifyThe ALTERNATE_OPERATORS statement is optional. You can place theALTERNATE_OPERATORS statement anywhere in the system configuration file. Ifyou specify more than one ALTERNATE_OPERATORS statement, the laststatement overrides any previous specifications.Oper<strong>and</strong>suseridspecifies up to eight alternate operator user IDs. If the current primary systemoperator logs off <strong>and</strong> the default primary system operator is not available, oneof these user IDs automatically becomes the primary system operator if thefollowing conditions are met:v the user ID is logged on or disconnectedv the user ID has at least one of the privilege classes required for the systemoperator at the time the operator logs off.The variable userid is an alphanumeric character string of as many as eightcharacters. There is no default alternate operator user ID.UsageNotes1. If alternate operator user IDs are specified <strong>and</strong> the primary system operator logsoff, <strong>CP</strong> will select the default operator ID before the alternates if the defaultoperator is logged on or disconnected.2. If no alternate operator user IDs are specified or no alternate can be selectedwhen the primary system operator logs off, there will be no operator until onethe following events occurs:v The default operator ID logs onv Any user ID logs on with at least one of the privilege classes required for thesystem operatorv The SET SYSOPER comm<strong>and</strong> successfully selects a new operatorv The system is IPLed.3. For more information on the default primary system operator ID, see the“SYSTEM_USERIDS Statement” on page 232 or “SYSOPR (Required)” on page687.4. For more information on defining operator privilege class, see the“PRIV_CLASSES Statement” on page 184 or “SYSFCN (Optional)” on page673.58 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration FileExamplesTo specify user IDs ALTOP, OTHEROP <strong>and</strong> OPBACKUP as alternate operators, usethe following ALTERNATE_OPERATORS statement:Alternate_Operators,ALTOP, /* This ID is tried after the default operator */OTHEROP, /* This ID will be tried next */OPBACKUP /* This ID is tried last */Chapter 6. The System Configuration File 59


System Configuration FileASSOCIATE EXIT Statement►►ASSOCiateEXitexit(1)REPlaceFollowingPrecedingDISAbleENable▼ EPName name ►◄Notes:1 You can specify the following oper<strong>and</strong>s in any order, as long as EPNAME is the last oper<strong>and</strong>specified.PurposeUse the ASSOCIATE EXIT statement to assign one or more entry points or externalsymbols to an exit point during initialization.You can also assign entry points <strong>and</strong> external symbols to an exit point afterinitialization using the ASSOCIATE EXIT comm<strong>and</strong>. For more information, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.How to SpecifyInclude as many statements as needed; they are optional. You can placeASSOCIATE EXIT statements anywhere in the system configuration file.If you specify more than one statement with the same exit point number, <strong>CP</strong> keepsa cumulative list of operations. For example, if you have one statement indicatingthat you want to replace the list of entry point names <strong>and</strong> a later statementindicating that you want to add an entry point to the end of the list, <strong>CP</strong> replaces thelist <strong>and</strong> adds to the end. The second statement does not overrule the firststatement.Oper<strong>and</strong>sexitis the number of the exit point to which you want to assign an entry point orexternal symbol. The variable exit must be a hexadecimal number betweenX'0000' <strong>and</strong> X'FFFF'.REPlacetells <strong>CP</strong> to replace the current list of entry point names <strong>and</strong> external symbolsthat are already associated with this exit point with the list specified after theEPNAME oper<strong>and</strong>.60 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Note: The order that you specify the entry points <strong>and</strong> external symbols is theorder in which <strong>CP</strong> will call them.Followingtells <strong>CP</strong> to add the specified entry point names or external symbols to the endof the list of existing entry point names <strong>and</strong> external symbols that are alreadyassociated with the specified exit point number.Note: The order that you specify the entry points <strong>and</strong> external symbols is theorder in which <strong>CP</strong> will call them.


System Configuration FileUsageNotesPrecedingtells <strong>CP</strong> to add the specified entry point names or external symbols to thebeginning of the list of existing entry point names <strong>and</strong> external symbols that arealready associated with the specified exit point number.Note: The order that you specify the entry points <strong>and</strong> external symbols is theorder in which <strong>CP</strong> will call them.DISAbletells <strong>CP</strong> not to call the entry points <strong>and</strong> external symbols associated with thisexit point until you enable it. (For more information about enabling exit points,see Usage Note 4.) If omitted, DISABLE is the default.ENabletells <strong>CP</strong> to immediately start calling the entry points <strong>and</strong> external symbolsassociated with this exit point.EPName nameis the name (or names) of the entry point or external symbol that <strong>CP</strong> calls whenencountering this exit point number. Each name must be a 1-character to8-character string. The first character must be alphabetic or one of the followingspecial characters: dollar sign ($), number sign (#), underscore (_), or at sign(@). The rest of the string can be alphanumeric characters, the four specialcharacters ($, #, _, <strong>and</strong> @), or any combination thereof.Note: The order that you specify the entry points <strong>and</strong> external symbols is theorder in which <strong>CP</strong> will call them.1. If you specify the ASSOCIATE EXIT statement in your system configurationfile, you should also specify the <strong>CP</strong>XLOAD statement (page 76) to load thecustomer-written <strong>CP</strong> routines for the exit point into <strong>CP</strong>’s system executionspace. These customer-written <strong>CP</strong> routines should contain the entry pointnames <strong>and</strong> external symbols that you will specify on the ASSOCIATE EXITstatement.If <strong>CP</strong> cannot locate one or more of the entry point names or external symbolson your ASSOCIATE EXIT statement after initialization, <strong>CP</strong> will ignore theunknown entry point name or external symbol that it does not recognize <strong>and</strong>continues normal processing. If the unknown entry point or external symbol ispart of a list associated with an exit point, <strong>CP</strong> continues processing the othermembers of the list. <strong>CP</strong> does not ignore an exit point because it cannot findone entry point or external symbol in the list. <strong>CP</strong> only ignores an exit point if itcannot find all the entry points <strong>and</strong> external symbols in the list.For more information about the <strong>CP</strong>XLOAD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.2. To display whether there are any unknown entry points or external symbolsassociated with an exit point, use the QUERY UNRESOLVED comm<strong>and</strong>. Formore information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.3. If you specify the ASSOCIATE EXIT statement <strong>and</strong> do not specify the ENABLEoper<strong>and</strong>, <strong>CP</strong> will redefine the exit point with the information from yourASSOCIATE EXIT statement, but will not call any of the entry points orexternal symbols associated with that exit point until you later enable it.4. There are 4 ways to enable an exit point:v Specify another ASSOCIATE EXIT statement further on in your systemconfiguration file <strong>and</strong> specify the ENABLE oper<strong>and</strong>,Chapter 6. The System Configuration File 61


System Configuration Filev Specify an ENABLE EXITS statement (page 130) further on in your systemconfiguration file,v Enter an ASSOCIATE EXIT comm<strong>and</strong> after initialization <strong>and</strong> specify theENABLE oper<strong>and</strong>, orv Enter an ENABLE EXITS comm<strong>and</strong> after initialization.For more information about the ASSOCIATE EXIT or ENABLE EXITScomm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.By default, exit points are disabled. Thus, in general, you should follow anyASSOCIATE EXIT comm<strong>and</strong>s or statements with ENABLE EXITS comm<strong>and</strong>sor statements.5. <strong>CP</strong> calls the entry points <strong>and</strong> external symbols for an exit point in the orderthat you specify them on the ASSOCIATE EXIT statement or comm<strong>and</strong>, unlessan entry point overrides this action. Any entry point can tell <strong>CP</strong> to change thenormal processing flow by skipping one or all subsequent entry points orexternal symbols.6. To display status <strong>and</strong> usage statistics information about a specific exit pointafter initialization, use the QUERY EXITS comm<strong>and</strong>. For more information, seethe z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.Note: While processing the ASSOCIATE EXIT statement (or comm<strong>and</strong>), <strong>CP</strong>creates a <strong>CP</strong> exit block for the specified exit point. For a static exitpoint, <strong>CP</strong> does not create <strong>CP</strong> exit control blocks until you associate oneor more entry points or external symbols with that exit point. If you try toissue a QUERY EXITS comm<strong>and</strong> against such an exit point, <strong>CP</strong> issuesmessage H<strong>CP</strong>2752E as the response to your QUERY EXITS comm<strong>and</strong>.For a dynamic exit point, QUERY EXITS responds with the definition ofthe exit, even if there are no entry points associated with it.7. To display the real address of the <strong>CP</strong> exit block for a specific exit point afterinitialization, use the LOCATE XITBK comm<strong>and</strong>. For more information, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference. Again, if you have notassociated one or more entry points or external symbols with the specified exitpoint, there is no <strong>CP</strong> exit block for <strong>CP</strong> to locate <strong>and</strong> display. Instead, <strong>CP</strong>issues error message H<strong>CP</strong>2752E.8. To display the real address of the <strong>CP</strong> indirect call locator block for a specificexit point, use the LOCATE ICLBK comm<strong>and</strong>. For more information, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.9. To change the definition of an existing dynamic exit point, or remove the exitpoint from the system, use the MODIFY EXIT statement (page 172) orcomm<strong>and</strong>. For more information about the MODIFY EXIT comm<strong>and</strong>, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.10. To stop <strong>CP</strong> from calling the entry points <strong>and</strong> external symbols associated withone or more exit points after defining those exit points, use the DISABLEEXITS comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong>Utilities Reference.11. To remove the customer-written <strong>CP</strong> routines from <strong>CP</strong>’s system executionspace:a. Use the DISASSOCIATE comm<strong>and</strong> to revoke all entry point <strong>and</strong> externalsymbol assignments made with the ASSOCIATE EXIT statement (orcomm<strong>and</strong>)b. Use the <strong>CP</strong>XUNLOAD comm<strong>and</strong> to unload the customer-written <strong>CP</strong>routines.62 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration File12. After creating a <strong>CP</strong> exit block, <strong>CP</strong> will not erase that <strong>CP</strong> exit block until anotherIPL. Disabling the exit point affects certain fields in the <strong>CP</strong> exit block, but doesnot erase it. Disassociating the entry point names <strong>and</strong> external symbols erasesthose fields in the <strong>CP</strong> exit block, but does not erase the <strong>CP</strong> exit block itself.13. For more information about user-defined exit points, see the z/<strong>VM</strong>: <strong>CP</strong> ExitCustomization book.Examples1. To have <strong>CP</strong> associate entry point H<strong>CP</strong>SRC00 with exit number F <strong>and</strong> to replaceany existing entry point associations, use the following:Associate Exit f EPname hcpsrc002. To have <strong>CP</strong> add entry point H<strong>CP</strong>SRC04 at the end of the current list for exitpoint 9C, use the following:Associate Exit 9c Following EPname hcpsrc04Chapter 6. The System Configuration File 63


System Configuration FileASSOCIATE MESSAGES / MSGS Statement►►ASSOCiateMESSagesMSGS(1)COMPonentcompidREPlaceFollowingPrecedingDELayNODELay▼ EPName name ►◄Notes:1 You can specify the following oper<strong>and</strong>s in any order, as long as EPNAME is the last oper<strong>and</strong>specified.PurposeTest Use the ASSOCIATE MESSAGES / MSGS statement to assign an externalsymbol to a local message repository <strong>and</strong> to give <strong>CP</strong> information about how toselect the messages in that repository during initialization.You can also assign external symbols to local message repositories afterinitialization using the ASSOCIATE MESSAGES or MSGS comm<strong>and</strong>s. For moreinformation, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.How to SpecifyInclude as many statements as needed; they are optional. You can placeASSOCIATE MESSAGES or MSGS statements anywhere in the systemconfiguration file.If you specify more than one statement with the same component name, <strong>CP</strong> keepsa cumulative list of operations. For example, if you have one statement indicatingthat you want to replace the list of entry point names <strong>and</strong> a later statementindicating that you want to add an entry point to the end of the list, <strong>CP</strong> replaces thelist <strong>and</strong> adds to the end. The second statement does not overrule the firststatement.Oper<strong>and</strong>sCOMPonent compidtells <strong>CP</strong> the component identifier to use when issuing one of the messages inthe local message repository. The variable compid is a 1-character tothree-character alphanumeric string. For example, the component ID for thesystem message repository (<strong>VM</strong>/ESA) is H<strong>CP</strong>, which is, by default, the lastmessage repository in the search list. For more information, see Usage Note 1.REPlacetells <strong>CP</strong> to replace the current list of entry point names <strong>and</strong> external symbolsthat are already associated with this local message repository with the listspecified after the EPNAME oper<strong>and</strong>.Note: The order that you specify the entry points <strong>and</strong> external symbols is theorder in which <strong>CP</strong> will call them.Followingtells <strong>CP</strong> to add the specified entry point names or external symbols to the end64 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration FileUsageNotesof the list of existing entry point names <strong>and</strong> external symbols that are alreadyassociated with the specified local message repository.Note: The order that you specify the entry points <strong>and</strong> external symbols is theorder in which <strong>CP</strong> will call them.Precedingtells <strong>CP</strong> to add the specified entry point names or external symbols to thebeginning of the list of existing entry point names <strong>and</strong> external symbols that arealready associated with the specified local message repository.Note: The order that you specify the entry points <strong>and</strong> external symbols is theorder in which <strong>CP</strong> will call them.DELaytells <strong>CP</strong> to process this ASSOCIATE statement after all of the <strong>CP</strong>_ACCESSstatements have been processed <strong>and</strong> after all of the delayed <strong>CP</strong>XLOADstatements have been processed. If omitted, DELAY is the default.NODELaytells <strong>CP</strong> to process this ASSOCIATE statement immediately.EPName nameis the name (or names) of the entry point or external symbol that points to thedata in <strong>CP</strong>’s system execution space where the local message repository canbe found. Each name must be a 1-character to 8-character string. The firstcharacter must be alphabetic or one of the following special characters: dollarsign ($), number sign (#), underscore (_), or at sign (@). The rest of the stringcan be alphanumeric characters, the four special characters ($, #, _, <strong>and</strong> @), orany combination thereof.Note: The order that you specify the entry points <strong>and</strong> external symbols is theorder in which <strong>CP</strong> will call them.1. H<strong>CP</strong> is the st<strong>and</strong>ard component ID for z/<strong>VM</strong> messages. If you do not specifyany ASSOCIATE MESSAGES or MSGS statements (or comm<strong>and</strong>s) for an entrypoint, H<strong>CP</strong>MES is, by default, the only message repository in the search list forthat entry point.If you do assign one or more local message repositories to an entry point, thoserepositories are added to the search list in the order that you specify (using theREPLACE, FOLLOWING, or PRECEDING oper<strong>and</strong>s) <strong>and</strong>, by default, H<strong>CP</strong>MESis the last message repository in the search list.When the routines in that entry point issue a message, <strong>CP</strong> searches the firstmessage repository in the search list. If <strong>CP</strong> finds the message in that repository,it issues the message <strong>and</strong> does not search any more repositories. If <strong>CP</strong> doesnot find the message, it continues searching through each repository until itfinds the first occurrence of that message.Using ASSOCIATE MESSAGES or MSGS statements (or comm<strong>and</strong>s), you canassign local message repositories which override existing z/<strong>VM</strong> messages in theH<strong>CP</strong>MES repository. Or, you can specify H<strong>CP</strong> as the component ID <strong>and</strong> movethe z/<strong>VM</strong> message repository to a place in the search list other than last place.2. Before <strong>CP</strong> can begin using your message repository, you must:a. Generate your messages using the CMS GENMSG comm<strong>and</strong>. For moreinformation about the CMS GENMSG comm<strong>and</strong>, see the z/<strong>VM</strong>: CMSComm<strong>and</strong>s <strong>and</strong> Utilities Reference.Chapter 6. The System Configuration File 65


System Configuration Fileb. Load the message repository file using the <strong>CP</strong>XLOAD statement (page 76)or comm<strong>and</strong>. For more information about the <strong>CP</strong>XLOAD comm<strong>and</strong>, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.3. If <strong>CP</strong> cannot find the entry point you specified for EPNAME when the messageis being displayed, <strong>CP</strong> displays message substitution data, if any.4. To display information about the local message repositories available on yoursystem, use the QUERY <strong>CP</strong>LANGLIST comm<strong>and</strong> <strong>and</strong> specify the ASSOCIATEDoper<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.5. To remove the message repository file from <strong>CP</strong>’s system execution space:a. Use the DISASSOCIATE comm<strong>and</strong> to revoke the external symbolassignment made with the ASSOCIATE MESSAGES or MSGS statement (orcomm<strong>and</strong>.)b. Use the <strong>CP</strong>XUNLOAD comm<strong>and</strong> to unload the repository.For more information about the DISASSOCIATE or <strong>CP</strong>XUNLOAD comm<strong>and</strong>,see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.6. To have <strong>CP</strong> use the message repositories associated with a specificcomponent, you must specify that component ID on the COMPID keyword ofthe H<strong>CP</strong>CONSL macroinstruction. For more information about the H<strong>CP</strong>CONSLmacroinstruction <strong>and</strong> about using your own message repositories, see the z/<strong>VM</strong>:<strong>CP</strong> Exit Customization book.Examples1. To have <strong>CP</strong> assign an uppercase English message repository containingmessages starting with OUR to entry point OURMESS1, use the following:Associate Messages component our, /* Set it up so we can use */preceding, /* messages we wrote. */epname ourmess166 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration FileCHARACTER_DEFAULTS Statement►►CHARACTER_DEFaults(1)▼ASCII_LINE_DELete [ASCII_LINE_DELeteCHAR_DELete@cOFF►◄CHAR_DELeteESCape'"'cOFFESCape cOFFLINE_DELete ¢LINE_DELeteLINE_END #LINE_ENDTAB ]cOFFcOFFTABcOFFNotes:1 You must specify at least one of the following oper<strong>and</strong>s.PurposeOper<strong>and</strong>sUse the CHARACTER_DEFAULTS statement to set the default characters that willrepresent the logical character delete, escape, line delete, line end, <strong>and</strong> tabsymbols on your system.ASCII_LINE_DELete cdefines the logical line delete symbol for ASCII devices on your system.Choose a character that is not commonly specified by the users on yoursystem. If you specify OFF, your system will not have a logical line deletefunction for ASCII devices. If omitted, the default is a left bracket ([).CHAR_DELete cdefines the default logical character delete symbol on your system. Choose acharacter that is not commonly specified by the users on your system. If youspecify OFF, your system will not have a logical character delete symbol. Ifomitted, the default is an at sign (@).ESCape cdefines the default logical escape symbol on your system. Choose a characterthat is not commonly specified by the users on your system. If you specify OFF,your system will not have a logical escape character. If omitted, the default is adouble quotation mark (").Chapter 6. The System Configuration File 67


System Configuration FileLINE_DELete cdefines the logical line delete symbol for all non-ASCII devices on your system.Choose a character that is not commonly specified by the users on yoursystem. If you specify OFF, your system will not have a logical line deletefunction. If omitted, the default is a cent sign (¢).LINE_END cdefines the logical line end symbol on your system. Choose a character that isnot commonly specified by the users on your system. If you specify OFF, yoursystem will not have a logical line end symbol. If omitted, the default is a poundsign (#).TAB cdefines the logical tab symbol on your system. If you specify OFF, your systemwill not have a logical tab character. If omitted, the default is a right bracket (]).For each of the Oper<strong>and</strong>s, you can specify c by typing the character (c), bytyping the character enclosed in single or double quotation marks ('c') or ("c") orby typing the hexadecimal equivalent of the character (X'hh') or (X"hh"). If youneed to specify a single quotation mark, enclose it within double quotationmarks. If you need to specify a double quotation mark, enclose it within singlequotation marks.UsageNotes1. The CHARACTER_DEFAULTS statement defines default symbols for yourentire system. If you want to override the system defaults for a specific user,you can specify defaults for that user:v On the USER control statement in the system directory (page 572)v By having the user issue the <strong>CP</strong> TERMINAL comm<strong>and</strong> after logging on. Formore information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.2. You cannot use any of the letters A through Z, the numbers 0 through 9, or thebytes X'0E' (shift out) or X'0F' (shift in) for the line-end, line-delete,character-delete, escape, or tab characters.3. With the widespread use of “@” in internet addresses, it is recommended thatyou specify OFF for the default character-delete symbol, or define a symbolother than @ as the character-delete symbol, to avoid problems in the datastream.4. Specifying a blank character (X'40') for any of the default symbols is notrecommended.5. The character display depends on the code page used by the terminal emulator.These characters are from code page 037 United States:# X'7B'SYSLEND LINEND¢ X'4A'SYSLDEL LINDEL@X'7C'SYSLCEL CHARDEL“ X'7F'SYSLES<strong>CP</strong> ESCAPEX'6A'SYSTAB TABCHAR68 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration File[ X'AD'SYSALDEL LINDELExamples1. To turn off the logical line delete symbol <strong>and</strong> define the logical tab symbol onyour system as a backslash (\), use the following CHARACTER_DEFAULTSstatement:Character_Defaults Line_Delete off, /* Turn off Line_Delete */Tab \ /* Override Tab default */Chapter 6. The System Configuration File 69


System Configuration File<strong>CP</strong>_ACCESS Statement►► <strong>CP</strong>_ACCess userid vdev fmSRmode►◄PurposeUse the <strong>CP</strong>_ACCESS statement to specify a CMS-formatted minidisk that <strong>CP</strong>should access when it brings the user directory online. This <strong>CP</strong>-accessed minidiskmay contain system, logo, or device information to use at run-time. This informationmay include log messages <strong>and</strong> logos. <strong>CP</strong> searches for this information on any<strong>CP</strong>-accessed disks you specify in the order that you specify.How to SpecifyInclude as many statements as needed; they are optional. You can place<strong>CP</strong>_ACCESS statements anywhere in the system configuration file. If you specifymore than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definitionoverrides any previous specifications.Oper<strong>and</strong>suseridspecifies the user ID of the owner of the minidisk that you want to makeavailable to <strong>CP</strong>.vdevis the virtual device number of the specified user’s minidisk, as defined in theuser’s entry in the system directory. The number can be any hexadecimalnumber between X'0000' <strong>and</strong> X'FFFF'.fm is the file mode letter that you want assigned to all files on the specifiedminidisk. You can specify any letter from A to Z.modeis the access mode. The following is a list of valid modes listed in order ofincreasing control:R Read-only access. <strong>CP</strong> establishes read access.RRRead-only access. <strong>CP</strong> establishes read access.W Write access. <strong>CP</strong> establishes write access.WRWrite access. <strong>CP</strong> establishes write access. If write access is denied, <strong>CP</strong>establishes read access.M Multiple-write access. <strong>CP</strong> establishes write access. If a previous write,stable, or exclusive mode access exists, <strong>CP</strong> denies access.MRMultiple-write access. <strong>CP</strong> establishes write access. If a previous write orstable access exists, <strong>CP</strong> establishes read-only access.MWMultiple-write access. <strong>CP</strong> establishes write access in all cases.SR(The default) Stable read-only access. <strong>CP</strong> establishes read access. <strong>CP</strong>denies all requests for write access to a disk with an existing SR mode70 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration FileUsageNotesaccess. A stable access means that the user holding the SR access can beassured that the disk remains stable, unchanged by others, until <strong>CP</strong>releases the access.SWStable write access. <strong>CP</strong> establishes write access. <strong>CP</strong> denies all requests forwrite access to a disk with an existing SW mode access. A stable accessmeans that the user holding the SW access can be assured that the diskremains stable, unchanged by others, until <strong>CP</strong> releases the access.SMStable multiple access. <strong>CP</strong> establishes write access. <strong>CP</strong> denies all requestsfor write access to a disk with an existing SM mode access. A stableaccess means that the user holding the SM access can be assured that thedisk remains stable, unchanged by others, until <strong>CP</strong> releases the access.ERExclusive read-only access. <strong>CP</strong> establishes read access. <strong>CP</strong> denies allrequests for access to a disk with an existing exclusive mode. An exclusiveaccess means that the user holding the ER access has stable access withthe added restriction that no one else has, or can get access to, thespecified minidisk until <strong>CP</strong> releases the access.EWExclusive write access. <strong>CP</strong> establishes write access. <strong>CP</strong> denies all requestsfor access to a disk with an existing exclusive mode. An exclusive accessmeans that the user holding the EW access has stable access with theadded restriction that no one else has, or can get access to, the specifiedminidisk until <strong>CP</strong> releases the access.1. Because <strong>CP</strong> does not bring the user directory online until after all <strong>CP</strong>_ACCESSstatements are parsed, <strong>CP</strong> cannot tell you whether you specified an invalid userID <strong>and</strong> virtual device number combination. To find out which <strong>CP</strong>_ACCESSstatements were valid, you must wait until initialization completes <strong>and</strong> check tosee what minidisks <strong>CP</strong> accessed. To display all the <strong>CP</strong>-accessed minidisks, usethe QUERY <strong>CP</strong>DISK comm<strong>and</strong>. For more information about the QUERY<strong>CP</strong>DISK comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.2. If you specify the NODIRECT option during the IPL, <strong>CP</strong> ignores all<strong>CP</strong>_ACCESS statements in the system configuration file.3. After initializing <strong>CP</strong>, use the <strong>CP</strong>ACCESS comm<strong>and</strong> to access minidisks for <strong>CP</strong><strong>and</strong> use the <strong>CP</strong>RELEASE comm<strong>and</strong> to release minidisks. For more information,see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.4. The use of the stable <strong>and</strong> exclusive link modes (SR, SW, SM, ER, EW) iscontrolled by the LNKSTABL <strong>and</strong> LNKEXCLU options on the OPTION directorycontrol statement. For more information about the OPTION statement, see“OPTION Directory Control Statement (General)” on page 533.Examples1. To access three minidisks owned by the MAINT <strong>and</strong> PICTURE user IDs, usethe following <strong>CP</strong>_ACCESS statements:<strong>CP</strong>_Access maint 0300 a SR /* Give <strong>CP</strong> access to LOGMSG files */<strong>CP</strong>_Access maint 0301 b SR /* Give <strong>CP</strong> access to backupLOGMSG files */<strong>CP</strong>_Access picture 0193 c SR /* Give <strong>CP</strong> access to LOGO files */Chapter 6. The System Configuration File 71


System Configuration File<strong>CP</strong>_ADDON_INITIALIZE_ROUTINES Statement►► <strong>CP</strong>_ADDON_INITIALIZE_ROUtines ▼ entry point name ►◄PurposeCode the <strong>CP</strong>_ADDON_INITIALIZE_ROUTINES statement to generate a list ofinstallation-added entry points in <strong>CP</strong> which are to be called during systeminitialization.How to SpecifyThe <strong>CP</strong>_ADDON_INITIALIZE_ROUTINES statement is optional; if specified, youcan include as many statements as you need as long as the total number of entrypoints does not exceed 500.Oper<strong>and</strong>sYou can place <strong>CP</strong>_ADDON_INITIALIZE_ROUTINES statements anywhere in thesystem configuration file. If you specify more than one statement with the sameoper<strong>and</strong>s, the last oper<strong>and</strong> definition overrides any previous specifications.entry point nameis the installation-defined entry point which is to be called during systeminitialization. The variable entry point name is a 1-character to 8-characteridentifier. This must be a valid <strong>CP</strong> entry point, which can be located with the <strong>CP</strong>LOCATE comm<strong>and</strong>. The entry point must be MP (multi-processor)-capable <strong>and</strong>use a dynamic savearea.UsageNotes1. Entry points listed must be included in the <strong>CP</strong> module.2. <strong>CP</strong> will schedule each of the specified entry points for execution during thesystem initialization process. However, the entry points may not run until afterinitialization is complete.ExamplesTo specify LOCALMOD, USERMOD, <strong>and</strong> XMOD as entry points to be startedduring system initialization, code the following <strong>CP</strong>_ADDON_INITIALIZE_ROUTINESstatement:<strong>CP</strong>_ADDON_INITIALIZE_ROUTINESLOCALMOD,USERMOD,XMOD72 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration File<strong>CP</strong>_OWNED Statement►► <strong>CP</strong>_OWNed Slot nnn RESERVEdOwnvolidDumpShared►◄PurposeUse the <strong>CP</strong>_OWNED statement to define a list of up to 255 <strong>CP</strong>-owned DASDvolumes. <strong>CP</strong>-owned DASD volumes are the <strong>CP</strong> system residence volume <strong>and</strong> anyvolumes containing real system paging, spooling, dump, directory, <strong>and</strong> temporarydisk space.If you are not using cross system spool (XSPOOL) file sharing, you can use anyvolumes listed on a <strong>CP</strong>_OWNED statement <strong>and</strong> containing spool space to read <strong>and</strong>write spool files. (<strong>CP</strong> writes spool files only once, when they are created.)If you are using cross system spool (XSPOOL) file sharing, physical sharing of thespooling DASD provides shared access to spool files for all systems in the complex.Although physically this is both read <strong>and</strong> write sharing, logically the sharing isread-only. Therefore, you must identify some volumes as available for writing thespool files created on this system, <strong>and</strong> others as available only for reading spoolfiles created on other systems. You can identify these volumes using the OWN <strong>and</strong>SHARED options of the <strong>CP</strong>_OWNED statement.Note: We strongly recommend that you do not share the system residencevolumes <strong>and</strong> paging volumes among systems in a cross system spoolingcomplex.How to SpecifyInclude as many statements as needed; they are optional. You can place<strong>CP</strong>_OWNED statements anywhere in the system configuration file. If you specifymore than one statement with the same slot number, <strong>CP</strong> uses only the firststatement. Subsequent <strong>CP</strong>_OWNED statements do not redefine the slot.Oper<strong>and</strong>sSlot nnntells <strong>CP</strong> the number of the slot in the <strong>CP</strong>-owned volume list. nnn must be adecimal number from 1 to 255.RESERVEdtells <strong>CP</strong> to reserve the slot for future use.volidis the 1-character to 6-character volume serial number of the volume you wantto include in the <strong>CP</strong>-owned volume list.Own(the default) tells <strong>CP</strong> that the system you are generating owns the specifiedvolume <strong>and</strong> that only this system can create or destroy spool files on thisvolume. The other systems in the cross system spooling complex, which defineChapter 6. The System Configuration File 73


System Configuration Filethe specified volume with the SHARED option, have shared access to thissystem’s spool files because they can read the data on this volume.Dumptells <strong>CP</strong> to reserve the spool space on the specified volume exclusively fordumps.Sharedtells <strong>CP</strong> that another system in the cross system spooling complex owns thespecified volume. This system cannot create or destroy spool files on theidentified volume. It can, however, read spool files previously written by theowning system.UsageNotes1. Before <strong>CP</strong> can use a DASD, you must format, label, <strong>and</strong> allocate space on theDASD. You can do this using the Device Support Facilities program (ICKDSF)or the <strong>CP</strong>FMTXA utility. However, we recommend that you use the ICKDSFmethod of <strong>CP</strong> volume maintenance because it is required for certain DASDtypes. You should format ECKD devices without filler records using ICKDSF. Formore information about ICKDSF, see the ICKDSF User’s Guide <strong>and</strong> Reference.For more information on the <strong>CP</strong>FMTXA utility, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s<strong>and</strong> Utilities Reference.2. If you specify a volume that is not mounted on a <strong>CP</strong>_OWNED statement when<strong>CP</strong> is loaded, <strong>CP</strong> considers that volume unavailable. If possible, <strong>CP</strong> continuesprocessing <strong>and</strong> creates an empty slot for the specified volume in the <strong>CP</strong>-ownedvolume list. By creating empty slots in the <strong>CP</strong>-owned volume list, you canprovide space for future growth. When you need to attach a volume to thesystem, the system operator can mount <strong>and</strong> attach the volume (using the <strong>CP</strong>ATTACH comm<strong>and</strong>) without having to re-IPL the system. For more informationabout the <strong>CP</strong> ATTACH comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.3. If you want to add new volumes to a system that has already been IPLed, addnew volume identifications either in empty slots in the <strong>CP</strong>-owned volume list orat the end of the list, using the <strong>CP</strong> DEFINE <strong>CP</strong>OWNED comm<strong>and</strong>. For moreinformation about the <strong>CP</strong> DEFINE <strong>CP</strong>OWNED comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.By adding new volumes in empty slots or at the end of the <strong>CP</strong>-owned list, youdo not affect the warm start data on the volumes already listed in the <strong>CP</strong>-ownedlist. This means you can warm start the system without disturbing the relativeentry number that locates system spool buffers.To delete a <strong>CP</strong>_OWNED volume:v Remove the <strong>CP</strong>_OWNED statement from the system configuration file. In thiscase, you must IPL with a cold start.v Change the volid to RESERVED in the system configuration file. In this case,you must IPL, but a cold start may not be necessary.Attention: If you delete any volume that contains spool space from the<strong>CP</strong>-owned volume list, or move any volume that contains spool space to adifferent slot in the <strong>CP</strong>-owned volume list, a clean start is required. A clean startcauses the deletion of spool files <strong>and</strong> system data files, including named savedsystems <strong>and</strong> saved segments. Files that are to be preserved over such achange should be dumped to tape using the <strong>CP</strong> SPXTAPE DUMP comm<strong>and</strong>.After the clean start, SPXTAPE LOAD should be used to restore the spool files<strong>and</strong> system data files from tape. This ensures that spool files <strong>and</strong> system data74 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration Filefiles that existed on the system before deletion or movement of volumes in the<strong>CP</strong>-owned volume list are restored correctly.4. If you specify the DUMP option for a volume with spool space that is already inuse when you IPL the system, those spool files remain on that volume until youmove them with a <strong>CP</strong> SPXTAPE DUMP comm<strong>and</strong> with the PURGE option. Formore information about the <strong>CP</strong> SPXTAPE comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.5. For a single <strong>VM</strong>/ESA system, that is, one that is not using cross systemspooling, you should specify the OWN option for all <strong>CP</strong> volumes. Do not specifythe SHARED option.6. If you are using cross system spooling:a. You must include all volumes that have SPOL extents in a <strong>CP</strong>_OWNEDstatement for each system, with the same slot number in each system’s<strong>CP</strong>_OWNED statement. We suggest that you group all volumes with SPOLextents by system <strong>and</strong> place them first in the <strong>CP</strong>-owned volume list.b. If you specify the DUMP option for a specific volume, <strong>CP</strong> treats that volumethe same way as it would if you had specified the OWN option; only thissystem may allocate spool space for dumps on this volume.You must specify the SHARED option for the same volume in the <strong>CP</strong>-ownedvolume lists of all the other systems in the CSE complex.c. In the <strong>CP</strong>-owned volume list, you cannot change the order of the volumesthat contain SPOL space unless you perform a clean start on all systems inthe complex. If you do change the order, you may have to use the <strong>CP</strong>SPXTAPE comm<strong>and</strong> to avoid losing spool files. However, if you add newSPOL space volumes to the end of the <strong>CP</strong>-owned volume lists of theassociated systems without disturbing the slot numbers of existing volumes,a clean start is not required.7. At system initialization (IPL), if more than one DASD volume has the samevolume serial number (volid) <strong>and</strong> that volid is in the <strong>CP</strong> or user volume list, thevolume with the lowest device number is attached to the system. This rule doesnot apply to duplicates of the system residence (IPLed) volume.8. The list of <strong>CP</strong>-owned volumes generated by <strong>CP</strong>_OWNED statementscompletely supersedes the list of <strong>CP</strong>-owned volumes generated by theSYS<strong>CP</strong>VOL macroinstruction in H<strong>CP</strong>SYS ASSEMBLE.Examples1. To define a <strong>CP</strong>-owned volume list that contains:v A system residence volume, which your system ownsv A volume for spool <strong>and</strong> temporary disk space, which your system ownsv A volume for spool space, which another system ownsv A volume for dump space, which your system ownsv Three empty slots for volumes you will be getting shortlyuse the following <strong>CP</strong>_OWNED statements:<strong>CP</strong>_Owned Slot 001 esares Own /* System Residence volume */<strong>CP</strong>_Owned Slot 002 essys1 Own /* Spool <strong>and</strong> T-disk space */<strong>CP</strong>_Owned Slot 003 essys2 Shared /* Spool space for <strong>VM</strong>2 */<strong>CP</strong>_Owned Slot 004 sysdmp Dump /* Dump space */<strong>CP</strong>_Owned Slot 005 Reserved /* Leave some slots open in */<strong>CP</strong>_Owned Slot 006 Reserved /* case we need to add some */<strong>CP</strong>_Owned Slot 007 Reserved /* extra spool space later. */Chapter 6. The System Configuration File 75


System Configuration File<strong>CP</strong>XLOAD Statement►► <strong>CP</strong>XLoad fn* (1)ftTEXT fm*TXTLIB MEMber memberfmRun-Time Oper<strong>and</strong>s Load Oper<strong>and</strong>s ►◄Run-Time Oper<strong>and</strong>s:LOckNOLOckMPNOMPNONMPLoad Oper<strong>and</strong>s:(2)CONtrol epnameNOCONtrolDELayNODELayLEt (3)NOLEtPERManentTEMPoraryNotes:1 You can specify the Run-Time <strong>and</strong> Load oper<strong>and</strong>s in any order.2 If you specify CONTROL or NOCONTROL on an OPTIONS directive, you can omit them on this<strong>CP</strong>XLOAD comm<strong>and</strong>.3 If you specify PERMANENT or TEMPORARY on an OPTIONS directive, you can omit them onthis <strong>CP</strong>XLOAD comm<strong>and</strong>.PurposeUse the <strong>CP</strong>XLOAD statement to load a file containing customer-written <strong>CP</strong> routinesfrom the parm disk or a <strong>CP</strong>-accessed disk into <strong>CP</strong>’s system execution space duringinitialization.You can also load customer-written <strong>CP</strong> routines into <strong>CP</strong>’s system execution spaceafter initialization using the <strong>CP</strong>XLOAD comm<strong>and</strong>. For more information, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.How to SpecifyInclude as many statements as needed; they are optional. You can place<strong>CP</strong>XLOAD statements anywhere in the system configuration file. For moreinformation about where you can place the customer-written <strong>CP</strong> routines, seeUsage Note 3.Oper<strong>and</strong>sfn is the name of the file that you want loaded. Because you are loading duringsystem initialization, you must make sure the <strong>CP</strong> routines are located in a placewhere <strong>CP</strong> can find them. See Usage Note 3 for more information.76 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration Fileft is the file type (other than TEXT or TXTLIB) of the file that you want loaded.This file may contain <strong>CP</strong>XLOAD directives, text records, or a combination ofboth. If the file contains text records, it must have a fixed record format(RECFM F) <strong>and</strong> a logical record length of 80 (LRECL 80). If the file does notcontain text records, it can be any record format <strong>and</strong> must have a logical recordlength less than 4,000 (LRECL < 4000).TEXTtells <strong>CP</strong> that this is a text file that contains 1 or more CSECTs <strong>and</strong> can contain1 or more <strong>CP</strong>XLOAD directives. Text files must have a fixed record format(RECFM F) <strong>and</strong> a logical record length of 80 (LRECL 80).TXTLIBtells <strong>CP</strong> that the file is a text library that contains 1 or more members. A TXTLIBmember can contain 1 or more control sections (CSECTs) <strong>and</strong> can contain<strong>CP</strong>XLOAD directives. TXTLIB files must have a fixed record format (RECFM F)<strong>and</strong> a logical record length of 80 (LRECL 80).* tells <strong>CP</strong> to search the list of <strong>CP</strong>-accessed minidisks until it finds the firstoccurrence of the specified file that you want loaded. If you do not specify a filemode, * is the default.fm is the file mode of the <strong>CP</strong>-accessed minidisk containing the file that you wantloaded.MEMber memberis the name of the member in the TXTLIB that you want loaded.You can use generic member names to request a specific subset of files. Ageneric member name is a 1-character to 8-character string with asterisks (*) inplace of 1 or more characters <strong>and</strong> percent signs (%) in place of exactly 1character. For example:hc%p* ...lists all members that start with HC <strong>and</strong> have P as their fourth character.LOckNOLOckhas no effect <strong>and</strong> is retained only for compatibility. All symbols are consideredresident, which means they cannot be locked or unlocked.MPtells <strong>CP</strong> that the entry point is multiprocessor (MP) capable. This means thatthe entry point can be dispatched on any of the machine’s processors. Ifomitted, MP is the default.NOMPNONMPtells <strong>CP</strong> that the entry point is dispatched only on the master processor,because (in general) the entry point assumes that competitive routines are alsonot multiprocessor (MP) capable. Use NOMP or NONMP to prevent entry pointsfrom overlaying each other’s chains of control blocks when you do not take theprecaution of getting a system lock. For example, SPOOL routines are NOMP.CONtrol epnametells <strong>CP</strong> to call the specified entry point after loading the customer-written <strong>CP</strong>routines <strong>and</strong> before processing a <strong>CP</strong>XUNLOAD request. You can load thecustomer-written <strong>CP</strong> routines containing the specified entry point either beforeor within this <strong>CP</strong>XLOAD request. The variable epname must be a 1-character to8-character string. The first character must be alphabetic or one of the followingChapter 6. The System Configuration File 77


System Configuration Filespecial characters: dollar sign ($), number sign (#), underscore (_), or at sign(@). The rest of the string can be alphanumeric characters, the 4 specialcharacters ($, #, _, <strong>and</strong> @), or any combination thereof.Note: Normally, if <strong>CP</strong> cannot find an entry point when processing an exit pointroutine, it ignores the unknown entry point <strong>and</strong> continues normalprocessing. This is not true when you specify the CONTROL epnameoper<strong>and</strong>. If <strong>CP</strong> cannot find the entry point you specify on CONTROL, <strong>CP</strong>will terminate processing your <strong>CP</strong>XLOAD statement <strong>and</strong> will not load thecustomer-written <strong>CP</strong> routines into its system execution space.NOCONtroltells <strong>CP</strong> not to call an entry point after loading the customer-written <strong>CP</strong> routines<strong>and</strong> before processing a <strong>CP</strong>XUNLOAD request.DELaytells <strong>CP</strong> to process all <strong>CP</strong>_ACCESS statements before processing this<strong>CP</strong>XLOAD statement. The customer-written <strong>CP</strong> routines that you are loadingmust be located on one of the disks specified on one of the <strong>CP</strong>_ACCESSstatements. If omitted, DELAY is the default.NODELaytells <strong>CP</strong> to process this <strong>CP</strong>XLOAD statement immediately <strong>and</strong> not to wait untilafter processing the <strong>CP</strong>_ACCESS statements. This means that thecustomer-written <strong>CP</strong> routines must be a file on the parm disk, which is the onlydisk that <strong>CP</strong> has access to at this stage of the initialization process. If youspecify a file mode letter <strong>and</strong> NODELAY, <strong>CP</strong> ignores your file mode, issuesmessage H<strong>CP</strong>2777I, <strong>and</strong> looks for your customer-written <strong>CP</strong> routines on theparm disk.LEttells <strong>CP</strong> to load the specified file <strong>and</strong> to ignore any records that are completelyblank or that contain an unexpected value in column 1. This is meant toaccommodate the non-commented information that can be left in a TEXT file byan assembler utility such as <strong>VM</strong>HASM.NOLEttells <strong>CP</strong> to stop loading the specified file when it encounters an unexpectedvalue in column 1. Column 1 is expected to contain '*' (to denote a comment),X'02' (to denote a TEXT record), or blank (to denote a possible <strong>CP</strong>XLOADdirective).PERManenttells <strong>CP</strong> that the customer-written <strong>CP</strong> routines being loaded are to remain a partof <strong>CP</strong> until a <strong>CP</strong> SHUTDOWN comm<strong>and</strong> is issued or a software-initiated restart(bounce) occurs. This means you cannot use the <strong>CP</strong>XUNLOAD comm<strong>and</strong> toremove these <strong>CP</strong> routines.TEMPorarytells <strong>CP</strong> that the customer-written <strong>CP</strong> routines being loaded can be unloaded inthe future with a <strong>CP</strong>XUNLOAD comm<strong>and</strong>.UsageNotes1. When loading your files into storage, <strong>CP</strong> treats each control section (CSECT)independently for storage allocation. Also during loading, <strong>CP</strong> allocates 1 pageof storage to each CSECT. There is 1 exception: if <strong>CP</strong> encounters a CSECT ofzero length during <strong>CP</strong>XLOAD processing, that CSECT is deleted. If you needto load a zero-length CSECT, add an EXPAND directive to your input file. For78 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration Fileexample, if you had zero-length CSECT XXXDOG to load, you would add“EXPAND XXXDOG(8)” to your input file.2. When invoking your files, <strong>CP</strong> treats each entry point in a CSECTindependently for the MP attribute.3. The customer-written <strong>CP</strong> routines that you are loading must be on a disk that<strong>CP</strong> has access to when the load operation is done. If you have a <strong>CP</strong>XLOADstatement in your system configuration file that specifies the NODELAYoper<strong>and</strong>, the customer-written <strong>CP</strong> routines must be a file on the parm diskbecause the minidisks specified on <strong>CP</strong>_ACCESS statements are not availableuntil the end of the initialization process. If your <strong>CP</strong>XLOAD statement specifiesthe DELAY oper<strong>and</strong>, the customer-written <strong>CP</strong> routines can be on any disk, aslong as you have specified a <strong>CP</strong>_ACCESS statement for that disk in yourconfiguration file. For more information about the <strong>CP</strong>_ACCESS statement, seepage 70.4. You can specify run-time <strong>and</strong> load oper<strong>and</strong>s on either the <strong>CP</strong>XLOADstatement or the OPTIONS directive, or both. However, if you specify optionson both <strong>and</strong> those options conflict, <strong>CP</strong> uses the options from the <strong>CP</strong>XLOADstatement. For example, suppose you specify PERMANENT on the OPTIONSdirective <strong>and</strong> TEMPORARY on the <strong>CP</strong>XLOAD statement, <strong>CP</strong> will load the <strong>CP</strong>routines as temporary. For more information about the OPTIONS directive <strong>and</strong>several other directives, see the z/<strong>VM</strong>: <strong>CP</strong> Exit Customization book.5. To assign entry points <strong>and</strong> external symbols to an exit point <strong>and</strong> to enable ordisable that exit point, use the ASSOCIATE EXIT statement (page 60) orcomm<strong>and</strong>. For more information about the ASSOCIATE EXIT comm<strong>and</strong>, seethe z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.6. To assign an external symbol to a local message repository, use theASSOCIATE MESSAGES or MSGS statement (page 64) or comm<strong>and</strong>. Formore information about the ASSOCIATE MESSAGES or MSGS comm<strong>and</strong>, seethe z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.7. To display information about customer-written <strong>CP</strong> routines loaded by the<strong>CP</strong>XLOAD statement, use the QUERY <strong>CP</strong>XLOAD comm<strong>and</strong>. For moreinformation, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.8. To display information about external symbols you may have loaded, use theLOCATE SYMBOL comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.9. To remove <strong>CP</strong>XLOADed files from <strong>CP</strong>’s system execution space:a. Use the DISASSOCIATE comm<strong>and</strong> to revoke all entry point <strong>and</strong> externalsymbol assignments made with the ASSOCIATE EXIT, MESSAGES, orMSGS statements or comm<strong>and</strong>sb. Use the <strong>CP</strong>XUNLOAD comm<strong>and</strong> to unload the customer-written <strong>CP</strong>routines.For more information about the comm<strong>and</strong>s listed above, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.10. For more information about loading customer-written <strong>CP</strong> routines into <strong>CP</strong>’ssystem execution space, about run-time <strong>and</strong> load oper<strong>and</strong>s, <strong>and</strong> about<strong>CP</strong>XLOAD directives, see the z/<strong>VM</strong>: <strong>CP</strong> Exit Customization book.11. <strong>CP</strong>XLOAD provides the ability to load executable code, message repositories,<strong>and</strong> data modules dynamically. Only compiled files may be loaded. Thesecompiled files would be the TEXT file output from the assembler or from theCMS GENMSG comm<strong>and</strong>.Chapter 6. The System Configuration File 79


System Configuration FileExamples1. To have <strong>CP</strong> load a multiprocessor capable abend text deck, use the following:<strong>CP</strong>Xload abend text * MP, /* Load the abend text deck */Control kaos,Permanent<strong>CP</strong> assigns a load identifier (load ID) to the loaded <strong>CP</strong> routines. If you everwant to unload these <strong>CP</strong> routines (using the <strong>CP</strong>XUNLOAD comm<strong>and</strong>), you willneed to specify the load ID that <strong>CP</strong> assigned. If you do not know the load ID,use the ALL oper<strong>and</strong> of the QUERY <strong>CP</strong>XLOAD comm<strong>and</strong> to display (amongother things) the load IDs of all the <strong>CP</strong> routines loaded onto (<strong>and</strong> not yetunloaded from) the system.The load ID that <strong>CP</strong> assigns is a 1-digit to 10-digit decimal number between 0<strong>and</strong> 2,147,483,647. The first time you use the <strong>CP</strong>XLOAD statement (orcomm<strong>and</strong>), <strong>CP</strong> assigns that set of customer-written <strong>CP</strong> routines a load ID of 0.<strong>CP</strong> increases the load ID by 1 for each subsequent <strong>CP</strong>XLOAD request. If all the<strong>CP</strong>XLOAD requests are successful, you will have a sequential list of loaded <strong>CP</strong>routines.If one or more of the <strong>CP</strong>XLOAD requests are unsuccessful or you issue the<strong>CP</strong>XULOAD comm<strong>and</strong> to unload some customer-written <strong>CP</strong> routines, there willbe one or more gaps in your sequential list of loaded <strong>CP</strong> routines. The next timeyou load some customer-written <strong>CP</strong> routines, <strong>CP</strong> ignores these gaps in the list<strong>and</strong> assigns the newly-loaded <strong>CP</strong> routines a load ID that is one more than thelast assigned load ID.For example, suppose you had customer-written <strong>CP</strong> routines loaded at IDs 0through 7 <strong>and</strong> you unloaded the <strong>CP</strong> routines at IDs 2, 3, <strong>and</strong> 5. This means youstill have <strong>CP</strong> routines loaded at IDs 0, 1, 4, 6, <strong>and</strong> 7. The next time you use the<strong>CP</strong>XLOAD comm<strong>and</strong>, <strong>CP</strong> will assign 8 as the load ID for those <strong>CP</strong> routines. <strong>CP</strong>will not try to fill in the gaps at 2, 3, or 5.80 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration FileDEFINE ALIAS Statement►► DEFine ALIAS aliasFORcomm<strong>and</strong>Query SUBCmd subcomm<strong>and</strong>VirtualSet SUBCmd subcomm<strong>and</strong>(1)►►ABBRevlengthnnDISAbleENable(2) <strong>IBM</strong>class *<strong>IBM</strong>classc►◄Notes:1 You can specify the following oper<strong>and</strong>s in any order.2 If the existing <strong>CP</strong> comm<strong>and</strong> has multiple versions, you must specify the <strong>IBM</strong>CLASS oper<strong>and</strong> for<strong>CP</strong> to locate the correct version.PurposeUse the DEFINE ALIAS statement to define a new alias for an existing <strong>CP</strong>comm<strong>and</strong> on the system during initialization.You can also define a new alias after initialization using the DEFINE ALIAScomm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.How to SpecifyInclude as many statements as needed; they are optional. You can place DEFINEALIAS statements anywhere in the system configuration file. If you specify morethan one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definition overridesany previous specifications.Oper<strong>and</strong>saliasis the name of the alias that you are defining. The variable alias must be a1-character to 12-character string.comm<strong>and</strong>is the name of the existing <strong>CP</strong> comm<strong>and</strong> for which you are creating an alias.The variable comm<strong>and</strong> is a 1-character to 12-character string.Query SUBCmd subcomm<strong>and</strong>tells <strong>CP</strong> the name of the existing <strong>CP</strong> QUERY subcomm<strong>and</strong> for which you arecreating an alias. The variable subcomm<strong>and</strong> is a 1-character to 12-characterstring.Query Virtual SUBCmd subcomm<strong>and</strong>tells <strong>CP</strong> the name of the existing <strong>CP</strong> QUERY VIRTUAL subcomm<strong>and</strong> for whichyou are creating an alias. The variable subcomm<strong>and</strong> is a 1-character to12-character string.Chapter 6. The System Configuration File 81


System Configuration FileSet SUBCmd subcomm<strong>and</strong>tells <strong>CP</strong> the name of the existing <strong>CP</strong> SET subcomm<strong>and</strong> for which you arecreating an alias. The variable subcomm<strong>and</strong> is a 1-character to 12-characterstring.ABBRevlength nnis the length of the smallest acceptable abbreviation of the alias that you aredefining. The variable nn is a decimal number between 1 <strong>and</strong> the length of thefull alias name.DISAbletells <strong>CP</strong> not activate this alias until you enable it. (For more information aboutenabling aliases, see Usage Note 5.) If omitted, DISABLE is the default.ENabletells <strong>CP</strong> to immediately activate this alias.<strong>IBM</strong>class *tells <strong>CP</strong> to define aliases for all versions of the specified comm<strong>and</strong> orsubcomm<strong>and</strong>. If omitted, <strong>IBM</strong>CLASS * is the default.<strong>IBM</strong>class ctells <strong>CP</strong> to define an alias for a specific version of the specified comm<strong>and</strong> orsubcomm<strong>and</strong>. The variable c can be any 1 of the following:A this is a system-control comm<strong>and</strong> to be used by the primary systemoperator.B this is a comm<strong>and</strong> for operational control of real devices.C this is a comm<strong>and</strong> to alter system storage.D this is a comm<strong>and</strong> for system-wide control of spool files.E this is a comm<strong>and</strong> to examine system storage.F this is a comm<strong>and</strong> for service control of real devices.G this is a general-use comm<strong>and</strong> used to control the functions of a virtualmachine.0 (zero) this comm<strong>and</strong> has no specific <strong>IBM</strong> class assigned.UsageNotes1. You can create many aliases for one comm<strong>and</strong>, but you cannot create an aliasfor an alias. For example, the <strong>CP</strong> MSG comm<strong>and</strong> is actually an alias for the <strong>CP</strong>MESSAGE comm<strong>and</strong>:┌─────────┐MSG ───► │ MESSAGE │└─────────┘You can create another alias for the MESSAGE comm<strong>and</strong>:┌─────────┐MSG ───► │ MESSAGE │ ◄─── TELL└─────────┘But you cannot create an alias for MSG:┌─────────┐TELL ───► MSG ───► │ MESSAGE │└─────────┘2. If you specify the QUERY, QUERY VIRTUAL, or SET oper<strong>and</strong>s, you arecreating an alias for a subcomm<strong>and</strong>, not a comm<strong>and</strong>. For example, supposeyou created alias TUBE for the <strong>CP</strong> QUERY VIRTUAL GRAF comm<strong>and</strong>. Toinvoke your new alias, you would enter QUERY VIRTUAL TUBE, not QUERYTUBE or just TUBE.82 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration File3. When specifying an alias name, you can use special characters in the name.However, we do not recommend that you use the pattern matching characters (*<strong>and</strong> %). You can use these characters to define aliases, but they may seemconfusing when you issue other comm<strong>and</strong>s that allow you to use the patternmatching characters because <strong>CP</strong> will interpret the % or * in your alias name asa pattern matching character.4. If you try to define a minimum abbreviation that matches the abbreviation for anexisting comm<strong>and</strong>, subcomm<strong>and</strong>, or alias <strong>CP</strong> rejects your DEFINE statement.For example, if you created a “QUEUE” alias with a minimum abbreviation of 2,<strong>CP</strong> would reject your QUEUE alias because “QU” is an abbreviation for theQUERY comm<strong>and</strong>. In this case, you would need to specify a minimumabbreviation greater than or equal to 4 because the first 3 characters of QUERY<strong>and</strong> QUEUE are identical.5. If you do not specify the ENABLE oper<strong>and</strong>, the new alias is initially in a disabledstate. To activate an alias after defining it, use the ENABLE COMMAND or CMDstatement (page 126) or comm<strong>and</strong>. For more information about the ENABLECOMMAND or CMD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference book.6. To deactivate an alias after defining it, use the DISABLE COMMAND or CMDstatement (page 110) or comm<strong>and</strong>. For more information about the DISABLECOMMAND or CMD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference book.7. Once defined, an ALIAS NAME cannot be used again. An ALIAS cannnot bemodified or eliminated. It can only be disabled. Only a SHUTDOWN orRESTART IPL will eliminate an ALIAS.8. For more information about creating an alias, see the z/<strong>VM</strong>: <strong>CP</strong> ExitCustomization book.Examples1. To have <strong>CP</strong> define GOODNIGHT as an alias for the <strong>CP</strong> SHUTDOWN comm<strong>and</strong><strong>and</strong> make it available immediately after initialization, use the following:Define Alias goodnight For shutdown, /* Goodnight, Gracie! */AbbrevLength 5,Enable2. To have <strong>CP</strong> define TELL as an alias for the <strong>IBM</strong> class version of the <strong>CP</strong>MESSAGE comm<strong>and</strong> <strong>and</strong> make it available immediately after initialization, usethe following:Define Alias tell For message, /* Create <strong>CP</strong> TELL comm<strong>and</strong> so users do not */<strong>IBM</strong>class 0, /* get confused when they drop out of CMS */Enable3. To have <strong>CP</strong> define NUKE as an alias for all of the <strong>IBM</strong> class versions of the <strong>CP</strong>PURGE comm<strong>and</strong> <strong>and</strong> make it available immediately after initialization, use thefollowing:Define Alias nuke For purge, /* Set it up so that users can “nuke” */<strong>IBM</strong>class *, /* instead of “purge” */EnableChapter 6. The System Configuration File 83


System Configuration FileDEFINE COMMAND / CMD Statement►► DEFine COMm<strong>and</strong>CMDcomm<strong>and</strong>Query SUBCmd subcomm<strong>and</strong>VirtualSet SUBCmd subcomm<strong>and</strong>(1)ABBRevlengthnn►►AFTer_logonBEFore_logonANYTimeAUDITDISAbleENable EPName name MAC►►PRIVCLASSANYPRIVclasses classes <strong>IBM</strong>class c PROC PROT SILENT <strong>VM</strong>AC VPROT►◄Notes:1 You must specify at least one of these oper<strong>and</strong>s. If you specify more than one oper<strong>and</strong>, you canspecify them in any order.PurposeUse the DEFINE COMMAND or CMD statement to define a new <strong>CP</strong> comm<strong>and</strong> or anew version (by <strong>IBM</strong> class) of an existing <strong>CP</strong> comm<strong>and</strong> on the system duringinitialization.You can also define a new <strong>CP</strong> comm<strong>and</strong> after initialization using the DEFINECOMMAND or CMD comm<strong>and</strong>s. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.How to SpecifyInclude as many statements as needed; they are optional. You can place DEFINECOMMAND or CMD statements anywhere in the system configuration file. If youspecify more than 1 statement with the same comm<strong>and</strong> or subcomm<strong>and</strong> name, <strong>CP</strong>uses only the first statement. Subsequent DEFINE COMMAND or CMD statementsdo not redefine the comm<strong>and</strong>.Oper<strong>and</strong>scomm<strong>and</strong>is the name of the comm<strong>and</strong> that you are defining. The variable comm<strong>and</strong> is a1-character to 12-character string.Query SUBCmd subcomm<strong>and</strong>tells <strong>CP</strong> the name of the <strong>CP</strong> QUERY subcomm<strong>and</strong> that you are defining. Thevariable subcomm<strong>and</strong> is a 1-character to 12-character string.Query Virtual SUBCmd subcomm<strong>and</strong>tells <strong>CP</strong> the name of the <strong>CP</strong> QUERY VIRTUAL subcomm<strong>and</strong> that you aredefining. The variable subcomm<strong>and</strong> is a 1-character to 12-character string.Set SUBCmd subcomm<strong>and</strong>tells <strong>CP</strong> the name of the <strong>CP</strong> SET subcomm<strong>and</strong> that you are defining. Thevariable subcomm<strong>and</strong> is a 1-character to 12-character string.84 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration FileABBRevlength nnis the length of the smallest acceptable abbreviation of the comm<strong>and</strong> orsubcomm<strong>and</strong> that you are defining. The variable nn is a decimal numberbetween 1 <strong>and</strong> the length of the full comm<strong>and</strong> or subcomm<strong>and</strong> name.AFTer_logontells <strong>CP</strong> that the comm<strong>and</strong> version you are defining will only be issued by usersafter they log onto the system. Most <strong>CP</strong> comm<strong>and</strong>s fall into this category. Thedefault is AFTER_LOGON.BEFore_logontells <strong>CP</strong> that the comm<strong>and</strong> you are defining will only be issued by users beforethey log onto the system. For example, the <strong>CP</strong> DIAL comm<strong>and</strong> can only beused before logon.Note: If you specify BEFORE_LOGON, you must specify PRIVCLASSANYbecause <strong>CP</strong> cannot check privilege classes before a user logs on. Thus,you cannot specify BEFORE_LOGON with the PRIVCLASSES or<strong>IBM</strong>CLASS oper<strong>and</strong>s.ANYTimetells <strong>CP</strong> that the comm<strong>and</strong> version you are defining can be issued by usersboth before <strong>and</strong> after they log onto the system. For example, many systems letusers issue the <strong>CP</strong> MESSAGE or MSG comm<strong>and</strong>s before <strong>and</strong> after logon.Note: If you specify ANYTIME, you must specify PRIVCLASSANY because <strong>CP</strong>cannot check privilege classes before a user logs on. Thus, you cannotspecify ANYTIME with the PRIVCLASSES or <strong>IBM</strong>CLASS oper<strong>and</strong>s.AUDITtells the external security manager (ESM) to audit the comm<strong>and</strong> that you aredefining. When you audit a comm<strong>and</strong>, the ESM logs each attempt by users toissue this comm<strong>and</strong>.DISAbletells <strong>CP</strong> not to call the entry points <strong>and</strong> external symbols associated with this<strong>CP</strong> comm<strong>and</strong> until you enable it. (For more information about enabling <strong>CP</strong>comm<strong>and</strong>s, see Usage Note 4.) If omitted, DISABLE is the default.ENabletells <strong>CP</strong> to immediately start calling the entry points <strong>and</strong> external symbolsassociated with this <strong>CP</strong> comm<strong>and</strong>.EPName nametells <strong>CP</strong> the name of the entry point that contains the code to process thecomm<strong>and</strong>. The variable name must be a 1-character to 8-character string. Thefirst character must be alphabetic or one of the following special characters:dollar sign ($), number sign (#), underscore (_), or at sign (@). The rest of thestring can be alphanumeric characters, the four special characters ($, #, _, <strong>and</strong>@), or any combination thereof.Note: If you are defining a new comm<strong>and</strong>, you must specify EPNAME. If youare defining a new version of an existing comm<strong>and</strong>, specifying EPNAMEis optional. This is because <strong>CP</strong> only allows one entry point percomm<strong>and</strong>, regardless of how many versions that comm<strong>and</strong> has. So,when you define a new version of an existing comm<strong>and</strong>, <strong>CP</strong> alreadyknows the entry point name.Chapter 6. The System Configuration File 85


System Configuration FileThe QUERY <strong>and</strong> SET comm<strong>and</strong>s are the only exceptions, because theyhave subcomm<strong>and</strong>s. Note that <strong>CP</strong> only allows one entry point persubcomm<strong>and</strong>, regardless of how many versions that subcomm<strong>and</strong> has.MACtells <strong>CP</strong> to enable m<strong>and</strong>atory access control (MAC) for the comm<strong>and</strong> that youare defining. When MAC is enabled for your comm<strong>and</strong>, the external securitymanager (ESM) compares the security label of the user who issued yourcomm<strong>and</strong> to the security label of the resource or user that your comm<strong>and</strong> willaffect. If you want the ESM to dynamically turn MAC on or off for thiscomm<strong>and</strong>, specify the <strong>VM</strong>AC oper<strong>and</strong>.PRIVCLASSANYtells <strong>CP</strong> that users with any privilege class can issue the comm<strong>and</strong> that you aredefining.PRIVclasses classestells <strong>CP</strong> that only users with 1 or more of the specified privilege classes canissue the comm<strong>and</strong> that you are defining. The variable classes is 1 or moreprivilege classes in the range A through Z, 1 through 6, or an asterisk (*).Privilege class * indicates all privilege classes (A-Z <strong>and</strong> 1-6).Notes:1. If you want more than one privilege class, specify your classes in one stringof characters. Do not separate the classes with blank spaces. For example,specify “privclasses abc123”, not “privclasses a b c 1 2 3”.2. If you specify PRIVCLASSES, you must also specify <strong>IBM</strong>CLASS. You canspecify these 2 oper<strong>and</strong>s in any order.<strong>IBM</strong>class ctells <strong>CP</strong> what type of comm<strong>and</strong> you are defining. The variable c can be any 1 ofthe following:A this is a system-control comm<strong>and</strong> to be used by the primary systemoperator.B this is a comm<strong>and</strong> for operational control of real devices.C this is a comm<strong>and</strong> to alter system storage.D this is a comm<strong>and</strong> for system-wide control of spool files.E this is a comm<strong>and</strong> to examine system storage.F this is a comm<strong>and</strong> for service control of real devices.G this is a general-use comm<strong>and</strong> used to control the functions of a virtualmachine.Note: If you specify <strong>IBM</strong>CLASS, you must also specify PRIVCLASSES. Youcan specify these 2 oper<strong>and</strong>s in any order.PROCtells <strong>CP</strong> that, after performing the initial privilege class checks, your comm<strong>and</strong>processor will be responsible for any further calls to the external securitymanager (ESM) for the comm<strong>and</strong> that you are defining.PROTtells the external security manager (ESM) to protect the comm<strong>and</strong> that you aredefining. When protection is enabled for your comm<strong>and</strong>, the ESM checks anaccess list to ensure that the user who issued your comm<strong>and</strong> is authorized todo so. If you want the ESM to dynamically turn protection on or off for yourcomm<strong>and</strong>, specify the VPROT oper<strong>and</strong>.SILENTtells <strong>CP</strong> that the responses from the comm<strong>and</strong> you are defining can be86 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration FileUsageNotessuppressed by invoking it using the SILENTLY comm<strong>and</strong>. For more information,see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.Note: Response suppression is supported only for the ATTACH, DETACH, <strong>and</strong>GIVE comm<strong>and</strong>s.<strong>VM</strong>ACgives the external security manager (ESM) the power to dynamically turnm<strong>and</strong>atory access control (MAC) on or off. If you specify MAC <strong>and</strong> <strong>VM</strong>AC forthis comm<strong>and</strong>, you are enabling MAC <strong>and</strong> allowing the external securitymanager (ESM) to dynamically disable MAC. If you specify <strong>VM</strong>AC <strong>and</strong> you donot specify MAC for this comm<strong>and</strong>, you are disabling MAC <strong>and</strong> allowing theESM to dynamically enable MAC.VPROTgives the external security manager (ESM the power to dynamically turncomm<strong>and</strong> access protection on or off. If you specify PROT <strong>and</strong> VPROT for thiscomm<strong>and</strong>, you are enabling protection <strong>and</strong> allowing the external securitymanager (ESM) to dynamically disable that protection. If you specify VPROT<strong>and</strong> you do not specify PROT for this comm<strong>and</strong>, you are disabling protection<strong>and</strong> allowing the ESM to dynamically enable that protection.1. For each existing <strong>CP</strong> comm<strong>and</strong>, <strong>CP</strong> has at least 1 comm<strong>and</strong> table entry block.If the comm<strong>and</strong> has more than 1 privilege class, <strong>CP</strong> has 1 comm<strong>and</strong> tableentry block for each version of the comm<strong>and</strong>. The only exceptions to this arethe QUERY <strong>and</strong> SET comm<strong>and</strong>s. <strong>CP</strong> has at least 1 comm<strong>and</strong> table entryblock for each QUERY <strong>and</strong> SET subcomm<strong>and</strong>.2. When you define a new <strong>CP</strong> comm<strong>and</strong> or a new version of an existing <strong>CP</strong>comm<strong>and</strong>, you must supply <strong>CP</strong> with certain information about that comm<strong>and</strong>.The amount of information you must supply varies depending on what you aredefining. You must always supply the comm<strong>and</strong> (or subcomm<strong>and</strong>) information<strong>and</strong> the following table lists any other oper<strong>and</strong>s you are required to supplywhen defining a new comm<strong>and</strong> or comm<strong>and</strong> version.When Adding aNew:You Must Specify:Comm<strong>and</strong> EPNAME EPNAMEPRIVCLASSANY - or - PRIVCLASSES<strong>IBM</strong>CLASSComm<strong>and</strong> Version PRIVCLASSANY - or - PRIVCLASSES<strong>IBM</strong>CLASS3. To load the comm<strong>and</strong> processing code into <strong>CP</strong>’s system execution space, usethe <strong>CP</strong>XLOAD statement (page 76) or comm<strong>and</strong>. For more information aboutthe <strong>CP</strong>XLOAD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.4. If you do not specify the ENABLE oper<strong>and</strong>, the new <strong>CP</strong> comm<strong>and</strong> is initially ina disabled state. To activate a <strong>CP</strong> comm<strong>and</strong> after defining it, use the ENABLECOMMAND or CMD statement (page 126) or comm<strong>and</strong>. For more informationabout the ENABLE COMMAND or CMD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.5. To display the real address of the <strong>CP</strong> comm<strong>and</strong> table entry block, the current<strong>IBM</strong> class, <strong>and</strong> the current privilege class for a specified <strong>CP</strong> comm<strong>and</strong>, use theLOCATE CMDBK comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.Chapter 6. The System Configuration File 87


System Configuration File6. To change the definition of an existing <strong>CP</strong> comm<strong>and</strong>, use the MODIFYCOMMAND or CMD statement (page 165) or comm<strong>and</strong>. For more informationabout the MODIFY COMMAND or CMD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.7. Once defined, COMMANDS, SUBCOMMANDS, ALIASES, <strong>and</strong> DIAGNOSEcodes cannot be DELETED. They can be altered in various appropriate waysbut they remain in existence until a SHUTDOWN or RESTART IPL is done.8. To deactivate a <strong>CP</strong> comm<strong>and</strong> after defining it, use the DISABLE COMMANDor CMD statement (page 110) or comm<strong>and</strong>. For more information about theDISABLE COMMAND or CMD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong>Utilities Reference.9. To remove the comm<strong>and</strong> processing code from <strong>CP</strong>’s system execution space,use the <strong>CP</strong>XUNLOAD comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.10. When specifying a comm<strong>and</strong> or subcomm<strong>and</strong> name, you can use specialcharacters in the name. However, we do not recommend that you use thepattern matching characters (* <strong>and</strong> %). You can use these characters to definecomm<strong>and</strong>s, but they may seem confusing when you issue the LOCATECMDBK comm<strong>and</strong>. For example, suppose you define 2 new comm<strong>and</strong>s:<strong>CP</strong>U% — to calculate recent <strong>CP</strong>U busy as a percentage, <strong>and</strong> <strong>CP</strong>U1 — tocause some action on real processor number 1. If you issue LOCATE CMDBK<strong>CP</strong>U%, <strong>CP</strong> displays information on both <strong>CP</strong>U% <strong>and</strong> <strong>CP</strong>U1, because <strong>CP</strong>interprets the % in your LOCATE comm<strong>and</strong> to be a pattern matching character.11. If you try to define a minimum abbreviation that matches the abbreviation foran existing comm<strong>and</strong> or subcomm<strong>and</strong>, <strong>CP</strong> rejects your DEFINE statement. Forexample, if you created a “QUEUE” comm<strong>and</strong> with a minimum abbreviation of2, <strong>CP</strong> would reject your QUEUE comm<strong>and</strong> because “QU” is an abbreviation forthe <strong>CP</strong> QUERY comm<strong>and</strong>. In this case, you would need to specify a minimumabbreviation greater than or equal to 4 because the first 3 characters ofQUERY <strong>and</strong> QUEUE are identical.12. For more information about user-defined comm<strong>and</strong>s, see the z/<strong>VM</strong>: <strong>CP</strong> ExitCustomization book.Examples1. To define a new comm<strong>and</strong>, TELL, with:v 3 versions:– Privilege class A, <strong>IBM</strong> class A, issued after logon– Privilege class B, <strong>IBM</strong> class B, issued after logon– Any privilege class, no <strong>IBM</strong> class, issued before <strong>and</strong> after logon,v No minimum abbreviation, <strong>and</strong>v The same entry point <strong>and</strong> syntax as the <strong>CP</strong> MESSAGE comm<strong>and</strong>,use the following statements:Define Cmd tell EPName hcpxmgms, /* Create class A "<strong>CP</strong> TELL" */<strong>IBM</strong>Class a, /* comm<strong>and</strong>. */PrivClasses aDefine Cmd tell <strong>IBM</strong>Class b, /* Create class B "<strong>CP</strong> TELL" */PrivClasses b /* comm<strong>and</strong>. */Define Cmd tell AnyTime, /* Create "<strong>CP</strong> TELL" comm<strong>and</strong> for */PrivClassAny /* any class user, to use *//* before or after logon. */88 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration FileImportant Note: Normally, it is not a good practice to define a <strong>CP</strong> comm<strong>and</strong>that has the same name as a comm<strong>and</strong>, exec, or functionbelonging to another z/<strong>VM</strong> subsystem. (This newly-definedcomm<strong>and</strong> will interfere with the CMS TELL comm<strong>and</strong>.)However, in this case, we thought we would show you anexample of how to create a “synonym” for a common CMScomm<strong>and</strong> that could be used by novice z/<strong>VM</strong> users when theyaccidentally drop out of their CMS session into <strong>CP</strong>.2. To define 2 new comm<strong>and</strong>s, CONTINUE <strong>and</strong> RESUME, which behave like the<strong>CP</strong> BEGIN comm<strong>and</strong>, use the following statements:Define Cmd continue AbbrevLength 4, /* Create "<strong>CP</strong> CONTINUE" */EPName hcpcmcbe, /* comm<strong>and</strong> to use instead */<strong>IBM</strong>Class g, /* of <strong>CP</strong> BEGIN. */PrivClasses gDefine Cmd resume EPName hcpcmcbe, /* Create "<strong>CP</strong> RESUME" comm<strong>and</strong> */<strong>IBM</strong>Class g, /* to use instead of <strong>CP</strong> */PrivClasses g /* BEGIN. */In this example, the CONTINUE <strong>and</strong> RESUME comm<strong>and</strong>s:v Have the same entry point <strong>and</strong> syntax as the <strong>CP</strong> BEGIN comm<strong>and</strong>,v Are <strong>IBM</strong> class G,v Are privilege class G, <strong>and</strong>v Can only be issued after logon.Additionally, the CONTINUE comm<strong>and</strong> has a minimum abbreviation of 4(CONT) <strong>and</strong> the RESUME comm<strong>and</strong> has no minimum abbreviation.Chapter 6. The System Configuration File 89


System Configuration FileDEFINE DIAGNOSE Statement►► DEFine DIAGnosediag(1)AUDITDISAbleENableEPNamenameINVARINVXC►►MA<strong>CP</strong>RIVCLASSANYPRIVclasses classes PROC PROT <strong>VM</strong>AC VPROT►►CHECKR15CHECKR15NOYESNO►◄Notes:1 You must specify at least one of these oper<strong>and</strong>s. If you specify more than one oper<strong>and</strong>, you canspecify them in any order.PurposeUse the DEFINE DIAGNOSE statement to define a new DIAGNOSE code on thesystem during initialization.You can also define a new DIAGNOSE code on the system after initialization usingthe DEFINE DIAGNOSE comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.How to SpecifyInclude as many statements as needed; they are optional. You can place DEFINEDIAGNOSE statements anywhere in the system configuration file. If you specifymore than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definitionoverrides any previous specifications.Oper<strong>and</strong>sdiagis the number of the DIAGNOSE code that you are defining. The variable diagis a hexadecimal number between X'0' <strong>and</strong> X'03FC' <strong>and</strong> must be a multiple of4. The recommended variable range is a value between X'100' <strong>and</strong> X'1FC'because that is the range of diagnose codes reserved for customer use. Allother DIAGNOSE code numbers are reserved for <strong>IBM</strong> use.AUDITtells the external security manager (ESM) to audit the DIAGNOSE code thatyou are defining. When you audit a DIAGNOSE code, the ESM logs eachattempt by users to issue this DIAGNOSE code.DISAbletells <strong>CP</strong> not to call the entry points <strong>and</strong> external symbols associated with thisDIAGNOSE code until you enable it. (For more information about enablingDIAGNOSE codes, see Usage Note 3.) If omitted, DISABLE is the default.90 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration FileENabletells <strong>CP</strong> to immediately start calling the entry points <strong>and</strong> external symbolsassociated with this DIAGNOSE code.EPName nametells <strong>CP</strong> the name of the entry point that contains the code to process theDIAGNOSE code that you are defining. The variable name must be a1-character to 8-character string. The first character must be alphabetic or oneof the following special characters: dollar sign ($), number sign (#), underscore(_), or at sign (@). The rest of the string can be alphanumeric characters, thefour special characters ($, #, _, <strong>and</strong> @), or any combination thereof.INVARtells <strong>CP</strong> not to process this DIAGNOSE code if the virtual machine issuing theDIAGNOSE code is in host access register mode.INVXCtells <strong>CP</strong> not to process this DIAGNOSE code if the virtual machine issuing theDIAGNOSE code is in Enterprise System Architecture/Extended Configuration(ESA/XC) mode.MACtells <strong>CP</strong> to enable m<strong>and</strong>atory access control (MAC) for the DIAGNOSE codethat you are defining. When MAC is enabled for your DIAGNOSE code, theexternal security manager (ESM) compares the security label of the virtualmachine that issued your DIAGNOSE code to the security label of the resourceor user that your DIAGNOSE code will affect. If you want the ESM todynamically turn MAC on or off for this DIAGNOSE code, specify the <strong>VM</strong>ACoper<strong>and</strong>.PRIVCLASSANYtells <strong>CP</strong> that users with any privilege class can issue the DIAGNOSE code thatyou are defining.PRIVclasses classestells <strong>CP</strong> that only users with 1 or more of the specified privilege classes canissue the DIAGNOSE code that you are defining. The variable classes is 1 ormore privilege classes in the range A through Z, 1 through 6, or an asterisk (*).Privilege class * indicates all privilege classes (A-Z <strong>and</strong> 1-6).Note: If you want more than one privilege class, specify your classes in onestring of characters. Do not separate the classes with blank spaces. Forexample, specify “privclasses abc123”, not “privclasses a b c 1 2 3”.PROCtells <strong>CP</strong> that, after performing the initial privilege class checks, your DIAGNOSEcode processor will be responsible for any further calls to the external securitymanager (ESM) for the DIAGNOSE code that you are defining.PROTtells the external security manager (ESM) to protect the DIAGNOSE code thatyou are defining. When protection is enabled for your DIAGNOSE code, theESM checks an access list to ensure that the user who issued your DIAGNOSEcode is authorized to do so. If you want the ESM to dynamically turn protectionon or off for your DIAGNOSE code, specify the VPROT oper<strong>and</strong>.<strong>VM</strong>ACgives the external security manager (ESM) the power to dynamically turnm<strong>and</strong>atory access control (MAC) on or off.Chapter 6. The System Configuration File 91


System Configuration FileVPROTgives the external security manager (ESM) the power to dynamically turnDIAGNOSE code access protection on or off. If you specify PROT <strong>and</strong> VPROTfor this comm<strong>and</strong>, you are enabling protection <strong>and</strong> allowing the external securitymanager (ESM) to dynamically disable that protection. If you specify VPROT<strong>and</strong> you do not specify PROT for this comm<strong>and</strong>, you are disabling protection<strong>and</strong> allowing the ESM to dynamically enable that protection.CHECKR15 YESCHECKR15 NOindicates whether the diagnose router should check register 15 upon returnfrom the diagnose h<strong>and</strong>ler.UsageNotes1. If you do not specify the ENABLE oper<strong>and</strong>, a new DIAGNOSE code is initiallyin a disabled state after being defined. <strong>CP</strong> treats disabled DIAGNOSE codesas if they were never defined. If you try to use a disabled DIAGNOSE code ina program, <strong>CP</strong> will give you a program check specification exception.2. To load the DIAGNOSE processing code into <strong>CP</strong>’s system execution space,use the <strong>CP</strong>XLOAD statement (page 76) or comm<strong>and</strong>. For more informationabout the <strong>CP</strong>XLOAD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.3. To activate a new DIAGNOSE code after defining it, use the ENABLEDIAGNOSE statement (page 128) or comm<strong>and</strong>. For more information aboutthe ENABLE DIAGNOSE comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.4. To change the definition of an existing DIAGNOSE code, use the MODIFYDIAGNOSE statement (page 169) or comm<strong>and</strong>. For more information aboutthe MODIFY DIAGNOSE comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.5. To display information about a DIAGNOSE code (status, entry point name, <strong>and</strong>privilege class) after initialization, use the QUERY DIAGNOSE comm<strong>and</strong>. Formore information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.6. To display the real address of the <strong>CP</strong> DIAGNOSE code table block for aDIAGNOSE code after initialization, use the LOCATE DGNBK comm<strong>and</strong>. Formore information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.7. To deactivate a DIAGNOSE code after defining it, use the DISABLEDIAGNOSE statement (page 112) or comm<strong>and</strong>. For more information aboutthe DISABLE DIAGNOSE comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong>Utilities Reference.8. Once defined, DIAGNOSE codes cannot be deleted. They can be altered invarious appropriate ways, but they remain in existence until a SHUTDOWN orRESTART IPL is done.9. To remove the DIAGNOSE processing code from <strong>CP</strong>’s system executionspace, use the <strong>CP</strong>XUNLOAD comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>:<strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.10. Many external security managers (ESMs) do not support DIAGNOSE codesabove X'03FC'. For this reason, <strong>CP</strong> does not support DIAGNOSE codes aboveX'03FC'. The DIAGNOSE codes between X'0000' <strong>and</strong> X'03FC' are divided asfollows:X'0000' to X'00FC'Reserved for <strong>IBM</strong> useX'0100' to X'01FC'Reserved for customer use92 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


System Configuration FileX'0200' to X'03FC'Reserved for <strong>IBM</strong> use.11. When CHECKR15 YES is specified, the diagnose router will check register 15on return from the diagnose h<strong>and</strong>ler. If register 15 contains:RC = 0Processing was successful. Complete the guest instruction.RC = 4Processing failed due to a condition which would cause a guestprogram check. Simulate guest program interruption passed in R0.RC = 8Nullify the instruction.RC = 12Present the machine check then nullify the instruction. R2 will containthe address of the MCRBK which will contain the machine checkinformation.RC = 16Generate machine check for processing damage, then go toH<strong>CP</strong>ENDOP to terminate the instruction.RC = 20Present the machine check, then go to H<strong>CP</strong>ENDOP to terminate theinstruction. R2 will contain the address of the MCRBK, which containsmachine check information.RC = 24Issue error message or soft abend for paging I/O error, then nullify theinstruction. R1 has the message or abend number.If a return code is invalid (negative, not a multiple of 4 or too big ( RC > 24 )),then a soft abend will occur.12. For more information about user-defined DIAGNOSE codes, see the z/<strong>VM</strong>: <strong>CP</strong>Exit Customization book.Examples1. To have <strong>CP</strong> define a general purpose DIAGNOSE code (X'10C') that will beprocessed by entry point H<strong>CP</strong>SRC00, use the following:Define Diagnose 10c EPname hcpsrc00,PrivClasses g2. To have <strong>CP</strong> define DIAGNOSE code X'100' <strong>and</strong> make it available to users withprivilege classes C or E, use the following:Define Diagnose 100 EPname qwerty,PrivClasses ce3. To have <strong>CP</strong> define DIAGNOSE code X'18C' <strong>and</strong> make it available to all users,use the following:Define Diagnose 18c EPname hcpsrc00,PrivClassAnyChapter 6. The System Configuration File 93


DEFINE EXITDEFINE EXIT Statement►► DEFine EXit exit AT entry + offset instructionNORESolveRESolve►◄PARM▼parameterPurposeUse DEFINE EXIT to define a new exit point in <strong>CP</strong> during initialization.You can also define a new <strong>CP</strong> exit point after initialization using the DEFINE EXITcomm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference book.How to SpecifyInclude as many statements as needed; they are optional. You can place DEFINEEXIT statements anywhere in the system configuration file. If you specify more thanone statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definition overrides anyprevious specifications.Oper<strong>and</strong>sexitis the number of the exit point you are defining. This value must be ahexadecimal number between X'0' <strong>and</strong> X'FFFF'. The recommended value isbetween X'F000' <strong>and</strong> X'FFFF', because that range is reserved for customer use.All other exit numbers are reserved for <strong>IBM</strong>, vendor, or general use.AT entry + offset instructionidentifies the location of the exit point you are defining <strong>and</strong> the instruction that islocated at the exit point. The variable entry must be a 1-character to 8-characterstring. The first character must be alphabetic or one of the following specialcharacters: $ (dollar sign), # (number sign), _ (underscore), or @ (at sign). Therest of the string can be alphabetic or numeric characters, the four specialcharacters ($, #, _, or @), or any combination. The variable offset must be a1-character to 4-character even hexadecimal number between X'0' <strong>and</strong> X'FFFE'.The variable instruction must be a 2-, 4-, or 6-character hexadecimal number.NORESolvetells <strong>CP</strong> to resolve the entry points associated with this exit number the firsttime they are called. This is the default.RESolvetells <strong>CP</strong> to resolve the entry points associated with this exit number when theassociation is first established. Any existing associated entry points are resolvedimmediately.PARM parameteris a list of one or more parameters to be supplied to the exit. Five kinds oftokens can be used to define a parameter:1. Addresses: strings up to eight characters long, consisting of thehexadecimal digits 0 through 9 <strong>and</strong> A through F.94 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DEFINE EXITUsageNotes2. General Registers: strings beginning with G or R, followed by a decimalnumber between 0 <strong>and</strong> 15 or a hexadecimal digit, designating the contentsof a general register.3. Indirection: a percent sign (%), which causes the contents of an address orthe contents of an address in a register to be used instead of the address orregister contents itself.4. Arithmetic: a plus sign (+) or minus sign (−).5. Displacement: strings of up to four hexadecimal digits.Each parameter string specifies how to combine these tokens to generate aparameter value to be passed to an exit routine. The following is a Backus-Naurdefinition of the syntax of a parameter: ::= | ::= | 0...FFFFFFFF | % ::= | % | ::= + | − | + < or. − ::= G | R ::= 0...15 | 0...9, A...F ::= 0...7FFF1. To load the exit processing code into <strong>CP</strong>’s system execution space, use the<strong>CP</strong>XLOAD statement (page 76) or comm<strong>and</strong>. For information about the<strong>CP</strong>XLOAD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.2. To assign entry points or external symbols to an exit point, use theASSOCIATE EXIT statement (page 60) or comm<strong>and</strong>. For information about theASSOCIATE EXIT comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.3. To activate a new exit after defining it, use the ENABLE EXITS statement(page 130) or comm<strong>and</strong>. For information about the ENABLE EXITS comm<strong>and</strong>,see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.4. To change the definition of an existing dynamic exit point, or remove the exitpoint from the system, use the MODIFY EXIT statement (page 172) orcomm<strong>and</strong>. For information about the MODIFY EXIT comm<strong>and</strong>, see the z/<strong>VM</strong>:<strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.5. To display information about an exit (status, entry point name, <strong>and</strong>parameters), use the QUERY EXITS comm<strong>and</strong>. For more information, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book.6. Exit numbers are allocated as follows:v X'0000' to X'7FFF' are reserved for <strong>IBM</strong> use.v X'8000' to X'EFFF' are reserved for vendor <strong>and</strong> general use.v X'F000' to X'FFFF' are reserved for private customer use.7. The RESOLVE option ensures that the entry names associated with an exitpoint are defined.8. Each exit is passed a parameter list that begins with three st<strong>and</strong>ardparameters, as described in the z/<strong>VM</strong>: <strong>CP</strong> Exit Customization book. Additionalparameters, specified by the PARM oper<strong>and</strong>, are optional <strong>and</strong> follow the firstthree in the order in which they are specified.9. Errors (for example, addressing exceptions) during evaluation of user-definedparameters when an exit is being invoked cause <strong>CP</strong> to abend.10. For more information about user-defined exits, see the z/<strong>VM</strong>: <strong>CP</strong> ExitCustomization book.Chapter 6. The System Configuration File 95


DEFINE EXITExamples1. To define an exit that will be entered every time a MESSAGE comm<strong>and</strong> isissued, use the following:Define Exit f422 At hcpxmgms + 4 41700000 /* Exit from MESSAGE cmd */Enable Exits f422 /* */2. To define exit X'F800', pass it two additional parameters, <strong>and</strong> associate it withentry point QWERTY, use the following:Define Exit f800 At hcplog + 7ce 41204028, /* */Parm gl+8% g4 /* */Associate Exit f800 EPname qwerty /* */Enable Exits f800 /* */96 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DEFINE LANDEFINE LAN Statement►► DEFine LAN lannameOWNERidOWNERidSYSTEMowneridMAXCONNMAXCONNINFinitemaxconnUNRESTrictedRESTricted►►ACCOUNTingONOFFTYPETYPEHIPERsocketsQDIOIPETHernetIP MFS 16KMFS24K40K64K►►GRANTuserlist(1)►◄Notes:1 You can specify up to 20 UserIDs in the userlist.PurposeUse the DEFINE LAN statement to create a <strong>VM</strong> LAN segment in the host <strong>CP</strong>system. A <strong>VM</strong> user can create a virtual network adapter (with the <strong>CP</strong> DEFINE NICcomm<strong>and</strong>) <strong>and</strong> connect it to this LAN (with the COUPLE comm<strong>and</strong>). Each <strong>VM</strong> LANsegment is qualified by ownerid <strong>and</strong> lanname. See the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong>Utilities Reference for more information on these comm<strong>and</strong>s.The MODIFY LAN statement can be used to add additional users to be included inthe initial access list of a RESTRICTED LAN. For more information, see “MODIFYLAN Statement” on page 175.Oper<strong>and</strong>slannameis the name of the new emulated LAN (Local Area Network). The lanname is asingle token (1-8 alphanumeric characters). The combination of ownerid <strong>and</strong>lanname will identify this LAN for subsequent comm<strong>and</strong>s.OWNERid owneridOWNERid SYSTEMestablishes the owner of the new LAN.MAXCONN INFiniteChapter 6. The System Configuration File 97


DEFINE LANMAXCONN maxconnsets the maximum number of simultaneous adapter connections permitted atany given time. When MAXCONN is specified as INFinite, there is no limit onthe number of connections. Any other value, maxconn, limits the number ofsimultaneous connections to a decimal number in the range of 1–1024(inclusive).If MAXCONN is omitted, the default is MAXCONN INFinite.RESTricted|UNRESTrictedsets the type of authorization required to connect to this LAN. Options are:RESTrictedDefines a LAN with an access list to restrict connections. The LANowner will use the SET LAN comm<strong>and</strong> to GRANT or REVOKE accessto specific <strong>VM</strong> users (by userid). The COUPLE comm<strong>and</strong> will only allowauthorized users (those on the access list) to connect a simulatedadapter to a RESTRICTED network.UNRESTrictedDefines a LAN with no access list. When <strong>CP</strong> is in control of the LAN,connections to this LAN are not restricted by user ID. If an ExternalSecurity Manager (ESM) is in control of the LAN, the ESM may restrictaccess.When neither option is specified, the default is to define an UNRESTrictedLAN.ACCOUNTing ONACCOUNTing OFFAllows a system administrator to control whether accounting records arecreated for the LAN being defined. The default setting may be changed by the<strong>VM</strong>LAN statement in the system configuration file, <strong>and</strong> queried by QUERY<strong>VM</strong>LAN.TYPE HIPERsocketsdefines a <strong>VM</strong> LAN for use by simulated HiperSockets adapters. AHiperSockets LAN can only accept connections from a simulated HiperSocketsadapter.If TYPE is omitted, the default is TYPE HIPERsockets.MFS 16KMFS 24KMFS 40KMFS 64Ksets the Maximum Frame Size (MFS) for adapters on this network. When anadapter is connected to this LAN, it will adopt the network MFS. The MFS valuedetermines the amount of storage to be allocated for internal structures, <strong>and</strong>limits the effective MTU size (Maximum Transmission Unit) for the coupledadapters. For general internet communications, a lower MFS is probably better.However, a high MFS may provide higher data transfer rates for applicationsthat are capable of using larger packet sizes.If MFS is omitted, the default for HiperSockets is 16K. The MFS oper<strong>and</strong> is notvalid for QDIO but the effective MFS is 8992 for a QDIO adapter.TYPE QDIOdefines a <strong>VM</strong> LAN for use by simulated QDIO adapters. A QDIO LAN can onlyaccept connections from a simulated QDIO adapter.98 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DEFINE LANUsageNotesIP|ETHernetindicates whether the transport for the LAN is ETHERNET or IP. An ETHERNETLAN operates at the Layer 2 level of the OSI model.GRANT userlistdefines the initial list of users to be included in the Initial Access list of aRESTRICTED LAN. If the GRANT oper<strong>and</strong> is omitted, the default is to GRANTthe LAN owner. You can specify up to 20 users in this list. If selected, theGRANT oper<strong>and</strong> must be the last oper<strong>and</strong> on this statement.1. A Class B user can invoke the SET LAN <strong>and</strong> DETACH LAN comm<strong>and</strong>s tooperate on a SYSTEM LAN (or any LAN regardless of ownership).2. When a RESTRICTED LAN is defined, the owner is automatically added to theaccess list.3. A LAN segment created by the DEFINE LAN statement will be "persistent" (thatis, it will survive LOGOFF of the owner). It can only be removed by an explicitDETACH LAN comm<strong>and</strong>.4. MODIFY LAN cannot be used to change the type of transport. The LAN willneed to be redefined.Examples1. To create a user LAN named QDIO that will allow up to 16 connections, specifythe following:define lan type qdio maxconn 162. To create a system LAN named INEWS that allows up to 100 connections,specify the following:define lan inews ownerid system maxconn 1003. To create a SYSTEM LAN named INEWS that will allow up to 100 connections<strong>and</strong> will not have accounting records created, specify the following:cp define lan inews ownerid system maxconn 100 accounting offChapter 6. The System Configuration File 99


DEFINE VSWITCHDEFINE VSWITCH Statement►►DEFINE VSWITCH switchname(1)RDEVRDEVNONE▼ rdev(2)CONnectDISCONnect►►QUEuestorageQUEuestorage8MnumberMCONTRoller *CONTRolleruserid1IPTimeout 5 NONrouterIPIPTimeout nnn PRIrouterETHernet►►VLANVLANUNAWAREdefvidPORTType ACCESSPORTType TRUNK PORTname ▼portname(3)►◄Notes:1 You can specify the oper<strong>and</strong>s in any order, as long as switchname is the first oper<strong>and</strong> specified,<strong>and</strong> portname is the last oper<strong>and</strong> specified, if applicable.2 You can specify a maximum of 3 real device numbers.3 You can specify a maximum of 3 port names.PurposeUse the DEFINE VSWITCH statement to create a <strong>CP</strong> system-owned switch (aVirtual Switch) to which virtual machines can connect. Each switch is identified by aswitchname. A z/<strong>VM</strong> user can create a simulated QDIO Network Interface Card(NIC) <strong>and</strong> connect it to this switch with the NICDEF directory statement. See“NICDEF Directory Control Statement (Device)” on page 529 for more informationabout the statement.The MODIFY VSWITCH statement can be used to define the initial access list ofthe virtual switch. See “MODIFY VSWITCH Statement” on page 178 for moreinformation.Oper<strong>and</strong>sswitchnameis the name of the new Virtual Switch. The switchname is a single token (1–8alphanumeric characters) that identifies this Virtual Switch for subsequentcomm<strong>and</strong>s.RDEV rdevis a real device address to be used to connect the Virtual Switch to a QDIOOSA Express device. Specify each real device number as a 1- to 4-digit100 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DEFINE VSWITCHhexadecimal number. You can specify a maximum of three real device numbers.If you specify more than one device number, each must be separated from theothers by at least one blank.Each real device address represents a trio of devices. For example, specifyingRDEV 111 222 333 means that the first devices, 111-113, are used to providethe connection to the real hardware LAN segment. If there is a problem with theconnection, devices 222-224 are used next to provide the connection, <strong>and</strong> ifthose devices fail to connect, devices 333-335 are used. This feature providesdynamic recovery for OSA Express device failures.RDEV NONE means that the Virtual Switch should not be connected to the realLAN segment.CONnectindicates that the device identified by the RDEV keyword must be activated,<strong>and</strong> traffic must flow through the device to the real LAN segment.DISCONnectindicates that the device identified by the RDEV keyword must not be activated,<strong>and</strong> no traffic must flow through the device to the real LAN segment.A Virtual Switch can be functional without a connection to a real LAN segment,<strong>and</strong> traffic flows only between virtual machines coupled to the Virtual Switch.QUEuestorage numberMindicates the upper limit of the amount of fixed storage <strong>CP</strong> <strong>and</strong> Queued DirectI/O Hardware Facility will use for buffers.number defines the maximum number of megabytes of storage that can beconsumed for QDIO queues. Fixed storage is allocated as needed based onnetwork traffic, until the maximum of numberM are allocated.number is a number from 1 to 8. 8M is the default value.CONTRoller * | userid1identifies the z/<strong>VM</strong> user ID that controls the OSA Express device connected atthe device address identified by rdev. CONTROLLER * means <strong>CP</strong> selects fromany of the eligible T<strong>CP</strong>/IP stacks. See Usage Note 3 on page 102 for moreinformation about the function of a controller.If you specify multiple real devices on the RDEV keyword, specifyCONTROLLER *, or allow it to default. The controller functions are then spreadacross multiple z/<strong>VM</strong> T<strong>CP</strong>/IP stacks, providing more flexibility in case of afailure.IP|ETHernetindicates whether the transport for the Virtual Switch is ETHERNET or IP. AnETHERNET Virtual Switch operates at the Layer 2 level of the OSI model whilean IP Virtual Switch operates at Layer 3.IPTimeout nnnindicates the length of time in minutes that a remote IP address table entryremains in the IP address table for the Virtual Switch.nnn is a number from 1 to 120. 5 minutes is the default value.NONrouterindicates that the OSA Express device identified by the RDEV keyword will notact as a router to the Virtual Switch. If a datagram is received at this device foran unknown IP address, the datagram will be discarded. This is the default.Chapter 6. The System Configuration File 101


DEFINE VSWITCHUsageNotesPRIrouterindicates that the OSA Express device identified by the RDEV keyword will actas a primary router to the Virtual Switch. If a datagram is received at this devicefor an unknown IP address, the datagram will be passed to the Virtual Switch.VLAN UNAWAREindicates the Virtual Switch does not support IEEE st<strong>and</strong>ard 802.lQ. All framesflow within the Virtual Switch regardless of presence or absence of Virtual LocalArea Network (VLAN) tags. Any VLAN tags present in the frames will beignored within the switch (however the guest hosts may perform VLAN filteringat the virtual NIC level). This is the default.VLAN defvidDefines the Virtual Switch as a VLAN-aware switch supporting IEEE st<strong>and</strong>ard802.lQ. The defvid defines the default VLAN ID to be associated with untaggedframes received <strong>and</strong> transmitted by the Virtual Switch. It is a number from 1 to4094. A VLAN-aware virtual switch provides VLAN controls at the switch level(with SET VSWITCH GRANT VLAN <strong>and</strong> PORTTYPE comm<strong>and</strong>s) that may notbe overridden by a guest host.PORTType ACCESSdefines the default porttype attribute for guests authorized for the Virtual Switch.For PORTTYPE ACCESS, the guest is unaware of VLAN IDs <strong>and</strong> sends <strong>and</strong>receives only untagged traffic.PORTType TRUNKdefines the default porttype attribute for guests authorized for the Virtual Switch.For PORTTYPE TRUNK, the guest is VLAN aware <strong>and</strong> sends <strong>and</strong> receivestagged traffic for those VLANs to which the guest is authorized. If the guest isalso authorized to the defvid, untagged traffic sent or received by the guest isassociated with the default VLAN ID (defvid) of the Virtual Switch..PORTname portnameis a 1- to 8-character name that identifies the OSA Express adapter. You canspecify a maximum of three port names. Multiple port names are used whendifferent port names are needed for the multiple rdevs specified on the RDEVoper<strong>and</strong>. See Usage Note 9 on page 103 for more information.1. The DEFINE VSWITCH statement creates a Virtual Switch. The MODIFYVSWITCH statement can be used to modify a Virtual Switch by authorizingusers to use the switch. Authorization to a virtual switch may also be providedby an External Security Manager.2. Accounting is set for the switch based on the default accounting state as setby the SET <strong>VM</strong>LAN ACCOUNT SYSTEM comm<strong>and</strong> or configuration statement.If accounting is turned on after the virtual switch is defined, the virtual switchwill need to be redefined for accounting to take effect.3. A Virtual Switch’s connection to a real hardware LAN segment through one ofthe rdev values specified on the RDEV oper<strong>and</strong> is not operational until aneligible T<strong>CP</strong>/IP stack is selected to be the controller for the OSA Expressdevice. <strong>CP</strong> selects an eligible T<strong>CP</strong>/IP stack to be the controller by either:v If CONTROLLER userid1 is specified on the DEFINE VSWITCH comm<strong>and</strong>or System Configuration statement, only userid1 is selected.v If CONTROLLER * is specified or allowed to default, <strong>CP</strong> selects from anyeligible T<strong>CP</strong>/IP stack.A T<strong>CP</strong>/IP stack becomes eligible when:102 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DEFINE VSWITCHv An IUCV *VSWITCH statement is included in its <strong>CP</strong> directory entry.v The T<strong>CP</strong>/IP VSWITCH CONTROLLER statement is coded, <strong>and</strong> hasdefaulted to be ON or is explicitly set to ON in the T<strong>CP</strong>/IP configuration fileor through an OBEYFILE comm<strong>and</strong>.v The stack has completed initialization.v The stack has virtual device addresses available for <strong>CP</strong> to attach the controldevice.The virtual address range used by <strong>CP</strong> is specified in the VSWITCHCONTROLLER T<strong>CP</strong>/IP configuration statement. If no VDEV range isspecified, <strong>CP</strong> uses the virtual device address (vdev) that matches the rdevaddress specified on the DEFINE VSWITCH or SET VSWITCH comm<strong>and</strong>.See z/<strong>VM</strong>: T<strong>CP</strong>/IP <strong>Planning</strong> <strong>and</strong> Customization for more information aboutthe VSWITCH CONTROLLER statement.Note: Do not code DEVICE <strong>and</strong> LINK T<strong>CP</strong>/IP configuration statements forthe device. Do not attach the device to a T<strong>CP</strong>/IP controller virtualmachine. These steps are h<strong>and</strong>led by DEFINE VSWITCH processingwhen a controller is selected.If an eligible stack is not found, or none of the rdevs are operational, youreceive a message, <strong>and</strong> the Virtual Switch operates in a local LANenvironment.4. The IP transport type is IPv4 only. In order to support IPv6 through the VirtualSwitch RDEV, the ETHERNET transport is required.5. MODIFY VSWITCH cannot be used to change the type of transport. TheVirtual Switch will need to be redefined.6. Use the QUERY CONTROLLER comm<strong>and</strong> output to find the T<strong>CP</strong>/IP stack thatis the Virtual Switch controller. Use the QUERY VSWITCH comm<strong>and</strong> to displayinformation about the Virtual Switch.7. <strong>CP</strong> manages the devices used to control a Virtual Switch’s connection to a realLAN segment through an OSA Express device. <strong>CP</strong> attaches the devices to thez/<strong>VM</strong> T<strong>CP</strong>/IP virtual machine. <strong>CP</strong> also defines a device of type VSWITCH-OSDto the T<strong>CP</strong>/IP stack, concatenating switchname with vdev <strong>and</strong> ″DEV″ to formthe device name <strong>and</strong> switchname with vdev <strong>and</strong> ″LINK″ to form the link name.These names appear in the T<strong>CP</strong>/IP query <strong>and</strong> trace information.DEVICE <strong>and</strong> LINK statements must not be included in the T<strong>CP</strong>/IPconfiguration file for these devices.Note: Adapter number 0 (link number 0) will be used when attaching the OSAExpress device to the controller.8. Multiple real devices <strong>and</strong> portnames can be specified on the RDEV <strong>and</strong>PORTNAME oper<strong>and</strong>s. This feature allows failover to an alternate real devicein the event of a failure with the current OSA-Express device. All real devicesspecified must be active <strong>and</strong> connected to the same hardware LAN in order toeffectively <strong>and</strong> dynamically failover to an alternate device. In addition, thealternate devices must be defined on separate CHPIDs. If your OSA-Expressdevice requires a portname, specify one portname for each real devicenumber.9. When the real device identified by one of the rdevs is started, T<strong>CP</strong>/IP assignsthe port name as the hardware adapter name. If an adapter name was alreadyassigned by a previous connection, then the port name must be the same asassigned by any other connection in order to share the adapter. This includessharing the OSA Express adapter with this logical partition or all otherpartitions.Chapter 6. The System Configuration File 103


DEFINE VSWITCHThe PORTNAME oper<strong>and</strong> is optional. However, some levels of the OSAExpress adapters require that the PORTNAME oper<strong>and</strong> is specified. Whensuch an adapter is in use <strong>and</strong> the PORTNAME oper<strong>and</strong> is omitted, an errormessage is displayed during switch initialization.If the device is already started, you must stop it by issuing the SET VSWITCHswitchname DISCONNECT comm<strong>and</strong> before changing the port name.10. PRIROUTER is required only when IP forwarding (routing) nodes will becoupled to the switch. Router nodes provide connectivity for their LANsegments (remote nodes) through their switch connection. When Router nodesare deployed, their switch connection must be configured as PRIROUTER. Inaddition to this, the switch itself must also be configured as PRIROUTER tothe OSA-E adapter. This will insure delivery of datagrams destined for LANsegments that are connected through routers coupled to a switch. Only oneconnection on each OSA-Express card can be designated as PRIROUTER. Ifthe switch is successful in establishing PRIROUTER on the OSA-Expresscard, no other node (or switch) sharing the same OSA-Express card will beable to act as PRIROUTER. If another connection has already beenestablished as PRIROUTER, the switch will be left with NONROUTER status(which is reflected in the QUERY VSWITCH response).11. NONROUTER is the default mode for the switch. Every node is directlycoupled to the switch <strong>and</strong> the associated IP destinations are registered with theOSA Express connection. This is the most efficient way to use the VirtualSwitch. In this mode, packets with an unrecognized IP destination areautomatically sent out through the switch connection.Examples1. To define a switch named BIGANG that connects to a real LAN through devicefd00, specify the following:define vswitch bigang rdev fd00104 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DEVICESDEVICES Statement►► DEVICes ▼ ACCEPTed▼NOTACCEPTedASSIGN_at_iplNOASSIGN_at_iplDYNamic_i/oNOTDYNamic_i/oINITialized_at_iplNOTINITialized_at_iplOFFLine_at_iplONLine_at_iplSCMeasuredNOTSCMeasuredSENSedNOTSENSedSHAREdNOTSHAREdTHROTtledNOTTHROTtledrdevrdev-rdev►◄PurposeUse the DEVICES statement to tell <strong>CP</strong> how to h<strong>and</strong>le specific devices duringinitialization. You can tell <strong>CP</strong> whether to:v Accept (<strong>and</strong> build real device blocks for) specified devicesv Allow dynamic changes for specified devicesv Initialize the specified devices during IPLv Measure the subchannels for specified devicesv Assign the tape drive to the system when the device is being brought online.v Use the information returned from a sense ID request to help define the devicev Share DASD between independent operating systemsv Limit (throttle) the I/O rate for specified devices.How to SpecifyInclude as many statements as needed; they are optional. You can place DEVICESstatements anywhere in the system configuration file. If you specify more than onestatement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definition overrides anyprevious specifications.ParametersACCEPTedtells <strong>CP</strong> to accept the specified device or devices.rdevrdev-rdevis the real device number of the device or devices that you are affecting. Thevariable rdev must be a hexadecimal number between X'0000' <strong>and</strong> X'FFFF'.You can specify a single device, a range of devices, or any combination thereof.Chapter 6. The System Configuration File 105


DEVICESNOTACCEPTedtells <strong>CP</strong> not to accept the specified device or devices.Note: <strong>CP</strong> ignores any devices you specify on the NOTACCEPTED oper<strong>and</strong>,even if you have explicitly defined those devices using RDEVICEstatements in the system configuration file or using RDEVICEmacroinstructions in H<strong>CP</strong>RIO.ASSIGN_at_ipltells <strong>CP</strong> to assign the tape drive to the system when the device is being broughtonline.NOASSIGN_at_ipltells <strong>CP</strong> not to assign the tape drive when the device is being brought online.DYNamic_i/otells <strong>CP</strong> to allow dynamic I/O changes on the specified device or devices.Note: If you want to allow dynamic I/O changes on any devices, do not forgetto specify FEATURES ENABLE DYNAMIC_I/O in your systemconfiguration file. This FEATURES oper<strong>and</strong> enables or disables dynamicI/O changes for your system’s processor. So, if you do not enabledynamic I/O changes on the processor, <strong>CP</strong> will not let you makedynamic I/O changes on any individual device or devices.NOTDYNamic_i/otells <strong>CP</strong> not to allow dynamic I/O changes on the specified device or devices.INITialized_at_ipltells <strong>CP</strong> to initialize the specified device or devices during IPL.NOTINITialized_at_ipltells <strong>CP</strong> not to initialize the specified device or devices during IPL.Note: The last two oper<strong>and</strong>s are functionally equivalent to the ONLINE_AT_IPL<strong>and</strong> OFFLINE_AT_IPL oper<strong>and</strong>s respectively.OFFLine_at_ipltells <strong>CP</strong> not to initialize the specified device or devices at IPL.Note: Due to the fact that Open Systems Adapter (OSA) devices may not beready to come online until after system IPL has completed, thisstatement will not always work for OSA devices.ONLine_at_ipltells <strong>CP</strong> to initialize the specified device or devices at IPL.SCMeasuredtells <strong>CP</strong> to collect subchannel measurement data for the subchannels of thespecified device or devices.NOTSCMeasuredtells <strong>CP</strong> not to collect subchannel measurement data for the subchannels of thespecified device or devices.SENSedtells <strong>CP</strong> to use the information returned from a sense ID request to determinethe device class or type.NOTSENSedtells <strong>CP</strong> not to use the information returned from a sense ID request todetermine the device class or type.106 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DEVICESUsageNotesSHAREdtells <strong>CP</strong> that the specified DASD device or devices will be shared betweenindependent operating systems.NOTSHAREdtells <strong>CP</strong> that the specified DASD device or devices will not be shared with anyother independent operating system.THROTtledtells <strong>CP</strong> to limit (throttle) the rate of I/O coming from the specified device ordevices.NOTTHROTtledtells <strong>CP</strong> not to limit (throttle) the I/O rate of the specified device or devices.1. If an IODF statement is defined in the system configuration file with the osconfigparameter specified, then the software I/O configuration will be controlled byHCD. In this case, the following DEVICES statements are ignored if they arespecified:v DEVICES ACCEPTEDv DEVICES NOTACCEPTEDv DEVICES DYNAMIN_I/Ov DEVICES NOTDYNAMIC_I/Ov DEVICES OFFLINE_AT_IPLv DEVICES ONLINE_AT_IPLv DEVICES SENSEDv DEVICES NOTSENSEDv DEVICES SHAREDv DEVICES NOTSHAREDRefer to “IODF Statement” on page 158 for more information.2. If you do not specify the DEVICES statement in the system configuration file,the defaults that <strong>CP</strong> uses depend on what is specified on the SYSOPTSmacroinstruction in the H<strong>CP</strong>SYS ASSEMBLE file.v If the SYSOPTS setting is SENSE=YES (the default), <strong>CP</strong> will:– Accept all devices,– Allow dynamic changes on all devices (if you specified FEATURESENABLE DYNAMIC_I/O),– Initialize all devices,– Measure all devices,– Sense the characteristics of all devices,– Not share any DASD devices,– Not throttle any devices, <strong>and</strong>– Not assign any tape drives to <strong>CP</strong> at IPL.For any devices that you have not explicitly defined with the RDEVICEstatement in the system configuration file or with the RDEVICEmacroinstruction in H<strong>CP</strong>RIO, <strong>CP</strong> will sense the device, if possible, <strong>and</strong>dynamically build an RDEV for it.v If the SYSOPTS setting is SENSE=NO, <strong>CP</strong> will accept, initialize, measure,<strong>and</strong> bring online only those devices that you explicitly define with RDEVICEstatements or macroinstructions. <strong>CP</strong> will not throttle or allow dynamicChapter 6. The System Configuration File 107


DEVICESchanges on any of these devices. <strong>CP</strong> will share DASD devices only if youspecify the SHARED oper<strong>and</strong> on the RDEVICE statement or macroinstructionfor that DASD. <strong>CP</strong> ignores all other devices.Also, if you specify the wrong device type on the RDEVICE statement ormacroinstruction, <strong>CP</strong> will not bring the device online because of conflictingdevice information. That is, if you define a 3420 tape drive <strong>and</strong> the device isreally a 3480 tape drive, <strong>CP</strong> will not bring the device online. If you specify thewrong device class, <strong>CP</strong> will not bring the device online. That is, if you definea tape drive <strong>and</strong> the device is really a DASD, <strong>CP</strong> will not bring the deviceonline.For more information about the RDEVICE statement, see page 188. For moreinformation about the RDEVICE macroinstruction, see page 705.3. To allow or prevent dynamic changes after IPL, use the SET DYNAMIC_I/Ocomm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.4. To start or stop subchannel measuring after IPL, use the SET SCMEASUREcomm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.5. You can also share DASD devices between independent operating systems byspecifying the SHARED oper<strong>and</strong> on the SET RDEVICE comm<strong>and</strong>, by issuingthe SET SHARED comm<strong>and</strong>, or by specifying the SHARED oper<strong>and</strong> on theRDEVICE statement or macroinstruction. For more information about the SETRDEVICE comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference. Formore information about the RDEVICE statement or macroinstruction, see page195 or page 745, respectively.6. To define new devices after IPL, use the SET RDEVICE comm<strong>and</strong>. For moreinformation, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.7. For each category (ACCEPTED, DYNAMIC_I/O, INITIALIZED_AT_IPL,MEASURED, ONLINE_AT_IPL, SENSED, SHARED, THROTTLED, <strong>and</strong>ASSIGN_AT_IPL), <strong>CP</strong> processes the information on the DEVICES statementsequentially. If you specify more than one DEVICES statement or you overlapranges of real device numbers, <strong>CP</strong> uses the last specification. For example, ifyou specify:DEVICES NotAccepted 1000-1fff,Accepted 1800-18ff,NotAccepted 1820-182f<strong>CP</strong> accepts devices at address 1800 through 181F <strong>and</strong> at address 1830through 18FF. <strong>CP</strong> does not accept devices at address 1000 through 17FF, 1820through 182F, <strong>and</strong> 1900 through 1FFF.Note: The INITIALIZED_AT_IPL <strong>and</strong> ONLINE_AT_IPL oper<strong>and</strong>s performexactly the same function. You can use these two oper<strong>and</strong>s (<strong>and</strong> theirnegative counterparts, NOTINITIALIZED_AT_IPL <strong>and</strong> OFFLINE_AT_IPL)in any combination. If you overlap ranges of real device numbers, <strong>CP</strong>uses the last specification.Examples1. To have <strong>CP</strong>:v Not accept a group of terminals, except for one,v Allow dynamic I/O changes on all devices, except for 1905 through 1943.v Initialize all devices, except 8E0 through 8EF,v Measure all devices, except DASD 2F04,108 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DEVICESv Leave a group of disks offline or not initialized,v Not sense a group of 3705 devices,v Share a string of DASDs at 1100 through 114F,v Throttle the I/O rate to a shared database at 460 through 48F, <strong>and</strong>v Assign tape drive 181 to <strong>CP</strong>,use the following DEVICES statement:Devices NotAccepted 2f12-2f22, /* Don’t accept terminals */Accepted 2f1f, /* ... except David’s */Dynamic_I/O 0000-ffff, /* Dynamic changes are ok *//* on these devices. */NotDynamic_I/O 1905-1943, /* No changes allowed on *//* these ... ever! */Initialized_at_IPL 0000-ffff, /* Initialize everything...*/NotInitialized_at_IPL 08e0-08ef, /* ... almost. */SCMeasured 0000-ffff, /* Measure everything ... */NotSCMeasured 2f04, /* ... almost. */Offline_at_IPL 0a00-0aff, /* Backup DASD string */NotSensed 0100-01ff, /* Don’t sense these 3705s */NotShared 0000-ffff, /* Don’t share anything! */Shared 1100-114f, /* ... except these. */Throttled 0460-048f Rate 20 /* Limit the I/O on the *//* shared database DASD */Assign_at_ipl 181 /* Assign 181 to <strong>CP</strong>. */Chapter 6. The System Configuration File 109


DISABLE COMMAND/CMDDISABLE COMMAND / CMD Statement►► DISAble COMm<strong>and</strong>CMDcomm<strong>and</strong>Query SUBCmd subcomm<strong>and</strong>VirtualSet SUBCmd subcomm<strong>and</strong><strong>IBM</strong>class *<strong>IBM</strong>classc►◄PurposeUse the DISABLE COMMAND or CMD statement to prevent <strong>CP</strong> from processingrequests for the specified <strong>CP</strong> comm<strong>and</strong> during <strong>and</strong> after initialization.You can also prevent processing of <strong>CP</strong> comm<strong>and</strong>s after initialization using theDISABLE COMMAND or CMD comm<strong>and</strong>s. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.How to SpecifyInclude as many statements as needed; they are optional. You can place DISABLECOMMAND or CMD statements anywhere in the system configuration file. If youspecify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>scomm<strong>and</strong>is the name of the comm<strong>and</strong> that you are disabling. The variable comm<strong>and</strong> is a1-character to 12-character alphanumeric string.Query SUBCmd subcomm<strong>and</strong>tells <strong>CP</strong> the name of the <strong>CP</strong> QUERY subcomm<strong>and</strong> that you are disabling. Thevariable subcomm<strong>and</strong> is a 1-character to 12-character alphanumeric string.Query Virtual SUBCmd subcomm<strong>and</strong>tells <strong>CP</strong> the name of the <strong>CP</strong> QUERY VIRTUAL subcomm<strong>and</strong> that you aredisabling. The variable subcomm<strong>and</strong> is a 1-character to 12-characteralphanumeric string.Set SUBCmd subcomm<strong>and</strong>tells <strong>CP</strong> the name of the <strong>CP</strong> SET subcomm<strong>and</strong> that you are disabling. Thevariable subcomm<strong>and</strong> is a 1-character to 12-character alphanumeric string.<strong>IBM</strong>class *tells <strong>CP</strong> to disable all versions of the specified comm<strong>and</strong> or subcomm<strong>and</strong>. Ifomitted, <strong>IBM</strong>CLASS * is the default.<strong>IBM</strong>class ctells <strong>CP</strong> to disable a specific version of the specified comm<strong>and</strong> or subcomm<strong>and</strong>.The variable c can be any 1 of the following:A this is a system-control comm<strong>and</strong> to be used by the primary systemoperator.B this is a comm<strong>and</strong> for operational control of real devices.C this is a comm<strong>and</strong> to alter system storage.D this is a comm<strong>and</strong> for system-wide control of spool files.E this is a comm<strong>and</strong> to examine system storage.110 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DISABLE COMMAND/CMDUsageNotesF this is a comm<strong>and</strong> for service control of real devices.G this is a general-use comm<strong>and</strong> used to control the functions of a virtualmachine.0 (zero) this comm<strong>and</strong> has no specific <strong>IBM</strong> class assigned.1. To remove the comm<strong>and</strong> processing code from <strong>CP</strong>’s system execution space,use the <strong>CP</strong>XUNLOAD comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.2. To load the comm<strong>and</strong> processing code into <strong>CP</strong>’s system execution space, usethe <strong>CP</strong>XLOAD statement (page 76) or comm<strong>and</strong>. For more information aboutthe <strong>CP</strong>XLOAD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.3. To deactivate a <strong>CP</strong> comm<strong>and</strong> while defining it, use the DISABLE oper<strong>and</strong> of theDEFINE COMMAND or CMD statement (page 84) or comm<strong>and</strong>. For moreinformation about the DEFINE COMMAND or CMD comm<strong>and</strong>, see the z/<strong>VM</strong>:<strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.4. To activate a <strong>CP</strong> comm<strong>and</strong>:v While defining it, use the ENABLE oper<strong>and</strong> of the DEFINE COMMAND orCMD statement (page 84) or comm<strong>and</strong>.v After defining it, use the ENABLE COMMAND or CMD statement (page 126)or comm<strong>and</strong>.For more information about the DEFINE or ENABLE COMMAND or CMDcomm<strong>and</strong>s, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.5. To change the definition of an existing <strong>CP</strong> comm<strong>and</strong>, use the MODIFYCOMMAND or CMD statement (page 165) or comm<strong>and</strong>. For more informationabout the MODIFY COMMAND or CMD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.6. Once defined, COMMANDS, SUBCOMMANDS, <strong>and</strong> ALIASES cannot bedeleted. They can be altered in various appropriate ways, but they remain inexistence until a SHUTDOWN or RESTART IPL is done.7. To display the real address of the <strong>CP</strong> comm<strong>and</strong> table entry block, the current<strong>IBM</strong> class, <strong>and</strong> the current privilege class for a specified <strong>CP</strong> comm<strong>and</strong>, use theLOCATE CMDBK comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.8. For more information about enabling <strong>and</strong> disabling comm<strong>and</strong>s, see the z/<strong>VM</strong>:<strong>CP</strong> Exit Customization book.Examples1. To disable the class D version of the <strong>CP</strong> PURGE comm<strong>and</strong>, but not the class Gversion of the <strong>CP</strong> PURGE comm<strong>and</strong>, use the following:Disable Comm<strong>and</strong> purge <strong>IBM</strong>class d2. To disable the <strong>CP</strong> SHUTDOWN comm<strong>and</strong>, use the following:Disable Comm<strong>and</strong> shutdownChapter 6. The System Configuration File 111


DISABLE DIAGNOSEDISABLE DIAGNOSE Statement►► DISAble DIAGnoseALL►◄▼diagdiag1-diag2PurposeUse the DISABLE DIAGNOSE statement to prevent <strong>CP</strong> from processing requestsfor one or more locally-developed DIAGNOSE codes during <strong>and</strong> after initialization.You can also prevent processing of locally-developed DIAGNOSE codes afterinitialization using the DISABLE DIAGNOSE comm<strong>and</strong>. For more information, seethe z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.How to SpecifyInclude as many statements as needed; they are optional. You can place DISABLEDIAGNOSE statements anywhere in the system configuration file. If you specifymore than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definitionoverrides any previous specifications.Oper<strong>and</strong>sALLtells <strong>CP</strong> to disable all existing DIAGNOSE codes.Note: This oper<strong>and</strong> disables all DIAGNOSE codes: the locally-defined ones,the <strong>IBM</strong>-supplied ones, <strong>and</strong> any supplied by third-party software vendors.diagdiag1-diag2is the number of the DIAGNOSE code that you are disabling. Each diag mustbe a hexadecimal number between X'0000' <strong>and</strong> X'03FC' <strong>and</strong> must be a multipleof 4. You can specify a single DIAGNOSE code, a range of DIAGNOSE codes,or any combination thereof.UsageNotes1. <strong>CP</strong> treats disabled DIAGNOSE codes as if they were never defined. If you tryto use a disabled DIAGNOSE code in a program, <strong>CP</strong> will give you a programcheck specification exception.2. To load the DIAGNOSE processing code into <strong>CP</strong>’s system execution space,use the <strong>CP</strong>XLOAD statement (page 76) or comm<strong>and</strong>. For more informationabout the <strong>CP</strong>XLOAD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.3. To define a new DIAGNOSE code, use the DEFINE DIAGNOSE statement(page 90) or comm<strong>and</strong>. For more information about the DEFINE DIAGNOSEcomm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.112 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DISABLE DIAGNOSENote: Unless you specify the ENABLE oper<strong>and</strong> of the DEFINE DIAGNOSEstatement or comm<strong>and</strong>, the new DIAGNOSE code is initially in adisabled state after being defined.4. To activate a new DIAGNOSE code after defining it, use the ENABLEDIAGNOSE statement (page 128) or comm<strong>and</strong>. For more information aboutthe ENABLE DIAGNOSE comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.5. To change the definition of an existing DIAGNOSE code, use the MODIFYDIAGNOSE statement (page 169) or comm<strong>and</strong>. For more information aboutthe MODIFY DIAGNOSE comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.6. To display information about a DIAGNOSE code (status, entry point name, <strong>and</strong>privilege class) after initialization, use the QUERY DIAGNOSE comm<strong>and</strong>. Formore information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.7. To display the real address of the <strong>CP</strong> DIAGNOSE code table block for aDIAGNOSE code after initialization, use the LOCATE DGNBK comm<strong>and</strong>. Formore information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.8. Once defined, DIAGNOSE codes cannot be deleted. They can be altered invarious appropriate ways, but they remain in existence until a SHUTDOWN orRESTART IPL is done.9. To remove the DIAGNOSE processing code from <strong>CP</strong>’s system executionspace, use the <strong>CP</strong>XUNLOAD comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>:<strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.10. Many external security managers (ESMs) do not support DIAGNOSE codesabove X'03FC'. For this reason, <strong>CP</strong> does not support DIAGNOSE codes aboveX'03FC'. The DIAGNOSE codes between X'0000' <strong>and</strong> X'03FC' are divided asfollows:X'0000' to X'00FC'Reserved for <strong>IBM</strong> useX'0100' to X'01FC'Reserved for customer useX'0200' to X'03FC'Reserved for <strong>IBM</strong> use.11. For more information about user-defined DIAGNOSE codes, see the z/<strong>VM</strong>: <strong>CP</strong>Exit Customization book.Examples1. To have <strong>CP</strong> disable DIAGNOSE code X'100', use the following:Disable Diagnose 100After initialization, any virtual machine that issues DIAGNOSE code X'100'receives a program specification exception in that virtual machine.2. To have <strong>CP</strong> disable all DIAGNOSE codes on your system, use the following:Disable Diagnose All3. To have <strong>CP</strong> disable all locally-defined DIAGNOSE codes, use the following:Disable Diagnose 100-1fc4. To have <strong>CP</strong> disable all locally-defined DIAGNOSE codes except DIAGNOSEcode X'01F0', use the following:Disable Diagnose 100-iec if4-1fcChapter 6. The System Configuration File 113


DISABLE EXITSDISABLE EXITS Statement►► DISAble EXitsALL►◄▼exitexit1-exit2PurposeUse the DISABLE EXITS statement to prevent <strong>CP</strong> from calling all entry points <strong>and</strong>external symbols associated with one or more exit points during <strong>and</strong> afterinitialization.You can also prevent <strong>CP</strong> from calling one or more exit points after initializationusing the DISABLE EXITS comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.How to SpecifyInclude as many statements as needed; they are optional. You can place DISABLEEXITS statements anywhere in the system configuration file. If you specify morethan one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definition overridesany previous specifications.Oper<strong>and</strong>sALLtells <strong>CP</strong> to disable all existing <strong>CP</strong> exit points.exitexit1-exit2is the number of the exit point (or exit points) that you do not want <strong>CP</strong> to use.Each exit must be a hexadecimal number between X'0000' <strong>and</strong> X'FFFF'. Youcan specify a single exit point number, a range of exit point numbers, or anycombination thereof.UsageNotes1. To load the exit point code into <strong>CP</strong>’s system execution space, use the<strong>CP</strong>XLOAD statement (page 76) or comm<strong>and</strong>. For more information about the<strong>CP</strong>XLOAD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.2. To add to, change, or replace the list of entry points <strong>and</strong> external symbolsassociated with an exit point <strong>and</strong> to enable or disable that exit point, use theASSOCIATE EXIT statement (page 60) or comm<strong>and</strong>. For more informationabout the ASSOCIATE EXIT comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong>Utilities Reference.3. To activate an exit point after defining it, use the ENABLE EXITS statement(page 130) or comm<strong>and</strong>. For more information about the ENABLE EXITScomm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.4. To display status <strong>and</strong> usage statistics information about a specific exit pointafter initialization, use the QUERY EXITS comm<strong>and</strong>. For more information, seethe z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.114 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DISABLE EXITS5. To display the real address of the <strong>CP</strong> exit block for a specific exit point, usethe LOCATE XITBK comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.6. To display the real address of the <strong>CP</strong> indirect call locator block for a specificexit point, use the LOCATE ICLBK comm<strong>and</strong>. For more information, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.7. To change the definition of an existing dynamic exit point, or remove the exitpoint from the system, use the MODIFY EXIT statement (page 172) orcomm<strong>and</strong>. For more information about the MODIFY EXIT comm<strong>and</strong>, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.8. To remove the exit point code from <strong>CP</strong>’s system execution space, use the<strong>CP</strong>XUNLOAD comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s<strong>and</strong> Utilities Reference.9. After processing a DISABLE EXITS statement (or comm<strong>and</strong>), <strong>CP</strong> updates thestatus of the exit point in its <strong>CP</strong> exit block, but does not erase the <strong>CP</strong> exitblock. <strong>CP</strong> will not erase any <strong>CP</strong> exit blocks until the next IPL.10. For more information about user-defined exit points, see the z/<strong>VM</strong>: <strong>CP</strong> ExitCustomization book.Examples1. To stop <strong>CP</strong> from calling the entry points <strong>and</strong> external symbols associated with<strong>CP</strong> Exits 1, 2, 3, 4, <strong>and</strong> 6, use the following:Disable Exits 1-4 62. To stop <strong>CP</strong> from calling the entry points <strong>and</strong> external symbols associated withall <strong>CP</strong> exit points, use the following:Disable Exits AllChapter 6. The System Configuration File 115


DISTRIBUTEDISTRIBUTE StatementFormat►► DISTRIBUTE IUCVNOTOLERATEYES MAXimum 16MAXimumxxxx►◄PurposeUse the DISTRIBUTE statement to specify distribution features for the local system.InternalRepresentationInclude as many statements as needed; they are optional. You can placeDISTRIBUTE statements anywhere in the system configuration file. If you specifymore than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definitionoverrides any previous specifications.ParametersIUCVindicates that IUCV distribution option is to be set.NOindicates that no Distributed IUCV traffic will be allowed to or from othernodes within the ISFC collection. This is the default.TOLERATEindicates that Distributed IUCV is allowed to or from any other node in theISFC collection. However, IUCV traffic will only leave the local node if theapplication specifies the target system name.YESindicates that this node participates fully in Distributed IUCV across theentire ISFC collection. This means that target searches will be done to theISFC collection instead of the default of just the local system.MAXimum xxxxindicates the number of megabytes of the largest distributed IUCV send allowedfrom the host. xxxx is a value between 1 <strong>and</strong> 1024. The default maximum is 16.Note: It is recommended that all nodes in a CS collection have the same valuespecified for MAXIMUM because the maximum value is enforced only bythe originating node.Usage1. When TOLERATE is specified, IUCV will be distributed via the TARGETparameter of the IUCV macro. When YES is specified, IUCV will first attempt tosatisfy a CONNECT on the local system <strong>and</strong> then will attempt to locate thetarget on a system within the CS collection. The only exception is if theapplication specifies that the CONNECT must be satisfied either locally or on aparticular target system.116 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DISTRIBUTE2. IUCV applications will behave the same in a distributed environment as they doon a local system with the following exceptions:v PURGE <strong>and</strong> REJECT will only be honored on the local system. Once amessage is sent to the other system it is considered to be delivered.v The PRIORITY <strong>and</strong> MSGLIMIT directory specifications must be present onboth systems if they are to be honored.v The default maximum data length is 16M per message. The maximum can bealtered via the SYSTEM CONFIG file by using the DISTRIBUTE statement.Chapter 6. The System Configuration File 117


DRAIN (Disk)DRAIN (Disk) Statement►► DRain DASd ▼ rdevrdev-rdevVOLid volidALL▼LInksPAgeSPolSPoolTDiskTDskTEmpdisk►◄PurposeUse the DRAIN statement to stop new operations on specified DASD. You can stop<strong>CP</strong> from:v Writing pages to the specified device or devicesv Letting users link to minidisks on the specified device or devicesv Allocating spool space on the specified device or devicesv Allocating temporary minidisks on the specified device or devices.How to SpecifyInclude as many statements as needed; they are optional. You can place DRAINDASD statements anywhere in the system configuration file, but you must placeDRAIN VOLID statements after the <strong>CP</strong>_OWNED statement (page 73) with thesame volume serial number.If you specify the same device on more than one statement, <strong>CP</strong> keeps a cumulativelist of operations. For example, if you have one statement indicating that you do notwant paging on a device <strong>and</strong> another statement indicating that you do not wanttemporary disks allocated on that same device, <strong>CP</strong> prevents paging <strong>and</strong> temporarydisk allocation on that device. The second statement does not overrule the firststatement.Oper<strong>and</strong>sDASd rdevis the real device number of the DASD you want drained. The variable rdev is ahexadecimal number between X'0000' <strong>and</strong> X'FFFF'.DASd rdev-rdevis a range of real device numbers specifying the DASD you want drained. Eachrdev is a hexadecimal number between X'0000' <strong>and</strong> X'FFFF'.VOLid volidis the volume serial number of the volume you want drained.ALLtells <strong>CP</strong> not to allow any new operations on this device, including:v Writing pages during page-out118 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DRAIN (Disk)UsageNotesv Allowing minidisk linkingv Allocating space for new spool records.v Allocating temporary disk space.LInkstells <strong>CP</strong> not to allow users to link to minidisks on this device.PAgetells <strong>CP</strong> not to write pages to this device during page-out operations.SPolSPooltells <strong>CP</strong> not to allocate space on this device for new spool records.TDiskTDskTEmpdisktells <strong>CP</strong> not to allocate temporary disk space on this device.1. When you drain a DASD (or one of its operations), <strong>CP</strong> makes the DASD appearto be full. Because the DASD appears to be full, <strong>CP</strong> tries to allocate from thenext appropriate device, if possible. Issuing DRAIN (Disk) or START (Disk)comm<strong>and</strong>s does not cause <strong>CP</strong> to adjust the system counters. For example, ifyou are draining spool space on a DASD, <strong>CP</strong> does not adjust the amount ofspool space that is unused <strong>and</strong> available to zero, even though, logically, thereappears to be no available spool space on that DASD. Issuing a <strong>CP</strong> DETACHcomm<strong>and</strong> adjusts the appropriate system counters to account for the spacebeing removed from the system. For more information about the DRAIN (Disk),START (Disk), or DETACH comm<strong>and</strong>s, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong>Utilities Reference.2. You can attach a draining DASD to a virtual machine.3. Issuing <strong>CP</strong> ATTACH <strong>and</strong> DETACH comm<strong>and</strong>s does not affect the DRAININGstatus indicators, so you can drain a DASD before attaching it to the system.For more information about the <strong>CP</strong> ATTACH <strong>and</strong> DETACH comm<strong>and</strong>s, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.4. <strong>CP</strong> processes the system configuration file during an IPL, which means <strong>CP</strong> hasnot attached any volumes to the system when processing your DRAINstatements. Therefore, when you specify a DRAIN VOLID statement, you canonly use volumes that were previously specified in the system configuration fileon <strong>CP</strong>_OWNED statements.5. Use the <strong>CP</strong> START (Disk) comm<strong>and</strong> or statement to tell <strong>CP</strong> to resume normalallocation on the device <strong>and</strong> use the QUERY DASD DRAINING comm<strong>and</strong> to getinformation about the draining status of your DASD. For more information aboutthe START (Disk) or QUERY DASD DRAINING comm<strong>and</strong>s, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference. For more information about the START(Disk) statement, see page 220.ExamplesUse the DRAIN <strong>and</strong> START statements shown in Figure 3 on page 120 to have <strong>CP</strong>:v Drain all operations on all DASD between X'0700' <strong>and</strong> X'07FF',v Allow users to link to minidisks on DASD X'0700', <strong>and</strong>v Ensure that <strong>CP</strong> can write pages to the <strong>CP</strong>-owned paging pack (SYSPG1), ifsomeone moves that DASD to one of the addresses that are draining (X'0700'through X'07FF')Chapter 6. The System Configuration File 119


DRAIN (Disk)Drain DASD 0700-07ff All /* Do not allow any activity onthese DASD ... */Start DASD 0700 Links /* ... except for 700, which hasa minidisk I need to link to */Start Volid SYSPG1 Page /* ... <strong>and</strong>, if Operations movesthe <strong>CP</strong>-owned paging pack anywherein the 700-7FF range, ithas to be useable for systempaging! */Figure 3. Example DRAIN <strong>and</strong> START StatementsAfter you IPL the system, you can use the <strong>CP</strong> QUERY DASD DRAINING comm<strong>and</strong>to see the results of your DRAIN (Disk) <strong>and</strong> START (Disk) statements. For example,if the <strong>CP</strong>-owned volume did not fall into the range of drained devices, you wouldsee:Vol-ID Rdev Draining: PAge LInks SPool TDiskSYS700 0700 Yes No Yes YesSYS701 0701 Yes Yes Yes YesSYS702 0702 Yes Yes Yes Yes.SYS7FE 07FE Yes Yes Yes YesSYS7FF 07FF Yes Yes Yes YesIf the <strong>CP</strong>-owned volume SYSPG1 fell into the range of drained devices, you wouldsee:Vol-ID Rdev Draining: PAge LInks SPool TDisk.SYSPG1 0777 No Yes Yes Yes.If the <strong>CP</strong>-owned volume SYSPG1 had a real device number of X'0700', you wouldsee:Vol-ID Rdev Draining: PAge LInks SPool TDisk.SYSPG1 0700 No No Yes Yes.120 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


EDEVICEEDEVICE Statement►► EDEVice rdev TYpe FBA ATTRibutes 21052107SCSIPaths►◄Paths:▼(1)F<strong>CP</strong>_DEVice rdev WWPN wwpn LUN lunNotes:1 You can specify a maximum of 8 ″paths″ to the device.PurposeUse the EDEVICE statement to define an emulated device that represents a realSCSI device.How to SpecifyInclude as many EDEVICE statements as needed; they are optional <strong>and</strong> can beplaced anywhere in the system configuration file. If you specify more than onestatement with the real device number, <strong>CP</strong> uses the last statement. For example, ifyou specify:RDEVice 0500 Type AFP...EDEVice 0500 TYpe FBA ATTR ESS F<strong>CP</strong>_DEV 2000 WWPN 5005076300CE04DA,LUN 6100000000000000<strong>CP</strong> defines an emulated FBA DASD at real device number 0500, <strong>and</strong> not anadvanced function printer.Oper<strong>and</strong>srdevspecifies the device number that is associated with the emulated device. Therdev must be a 1-digit to 4-digit hexadecimal number between X'0000' <strong>and</strong>X'FFFF'.TYpespecifies the emulated device type, selected by the immediately followingparameter.FBAidentifies the emulated device as an FBA DASD.ATTRibutesspecifies the name of an attribute set to be associated with the real device.Chapter 6. The System Configuration File 121


EDEVICE|||2105specifies that <strong>IBM</strong> 2105 device attributes are to be used for the real device thatis being emulated.2107specifies that <strong>IBM</strong> 2107 device attributes are to be used for the real device thatis being emulated.SCSIspecifies that general SCSI device attributes are to be used for the real devicethat is being emulated.Note: When specifying this value, you should exercise caution in defining morethan one path to the device. Be sure that the device actually supportsmultiple paths. Defining multiple paths to a device that does not supportmultiple paths could result in data-integrity problems on the device.F<strong>CP</strong>_DEVice rdevspecifies the real device number of the F<strong>CP</strong> device to be used for a specificpath to a SCSI device. The rdev must be a 1-digit to 4-digit hexadecimalnumber between X'0000' <strong>and</strong> X'FFFF'.WWPN wwpnspecifies the world wide port name for a specific path to a SCSI device. Thewwpn must be a 16-digit hexadecimal number between X'0000000000000000'<strong>and</strong> X'FFFFFFFFFFFFFFFF'.If fewer than 16 digits are specified for the wwpn, the number will be paddedwith leading zeros to make it a 16-digit number.LUN lunspecifies the logical unit number for a specific path to a SCSI device. The lunmust be a 16-digit hexadecimal number between X'0000000000000000' <strong>and</strong>X'FFFFFFFFFFFFFFFF'. Note, however, that the number of digits recognizedby the SCSI device may vary by manufacturer, type <strong>and</strong> model.If fewer than 16 digits are specified for the lun, the number will be padded withleading zeros to make it a 16-digit number, but this will almost certainly producean invalid value. You must be careful to specify all 16 digits, using trailing zeros,as per the note below.AttentionBecause <strong>CP</strong> cannot know how many digits your device recognizes, youmust enter all 16 digits. If your SCSI device is identified by fewer than 16digits, you should use trailing zeros to fill out the 16-digit lun. Note that ifyou enter nonzero digits following the digits identifying the SCSI device,those extra digits may be ignored by your device. It is therefore possibleto define multiple EDEVs that differ only in their rightmost unsupporteddigits, <strong>and</strong> the EDEVs will in fact represent the same SCSI device. (Forexample, if your device recognizes a 4-digit lun, 5A51888811221122 <strong>and</strong>5A51999933443344 would both represent the same device.) This couldlead to unintended device sharing <strong>and</strong> hence might introduce data-integrityexposures. Always identify your SCSI device by its actual logical unitnumber as defined in your storage-area network, padded on the rightwith zeros.122 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


EDEVICEUsage NotesExamples1. When defining emulated devices to represent real SCSI devices, there shouldbe a one-to-one relationship between an emulated device <strong>and</strong> a real SCSIdevice. All paths defined for an emulated device should represent paths to thesame real SCSI device. If the paths for one emulated device are associatedwith more than one real SCSI device, or if more than one emulated device isassociated with the same real SCSI device, then data integrity problems couldoccur.2. Path validation for an emulated device occurs when the emulated device isvaried online. Any invalid path will be deleted from the EDEV. A path isconsidered to be invalid for any of the following reasons:v The path is a duplicate of an already existing path for the emulated device.v The device specified by the F<strong>CP</strong>_DEVice parameter does not exist.v The device specified by the F<strong>CP</strong>_DEVice parameter is not an F<strong>CP</strong> device.v The device specified by the F<strong>CP</strong>_DEVice parameter is an offline F<strong>CP</strong> device.v The device specified by the F<strong>CP</strong>_DEVice parameter is dedicated to a virtualmachine.v The value specified by the WWPN parameter is not a valid world wide portname in your configuration.v The value specified by the LUN parameter is not a valid logical unit numberfor the specified world wide port name.3. You can add paths <strong>and</strong> change the attribute name associated with a SCSIsystem residence volume by specifying an EDEVICE statement for it. TheEDEVICE statement must specify the path already associated with the device(passed from SAPL) in order to be valid. By default a SCSI system residencevolume is associated with the general SCSI attributes.1. To define an emulated device 8181 for a 2105 SCSI device with one path, enterthe following:edev 8181 type fba attr 2105,fcp_dev 900 wwpn 200400A0B80BA987 lun 00020000000000002. To define an emulated device 4343 for a general SCSI device with two paths,enter the following:edev 4343 type fba attr scsi,fcp_dev 800 wwpn 200400A0B80BA687 lun 0001000000000000,fcp_dev 801 wwpn 200400A0B80BA688 lun 0001000000000000Chapter 6. The System Configuration File 123


EMERGENCY_MESSAGE_CONSOLESEMERGENCY_MESSAGE_CONSOLES Statement►► EMERGENCY_MESSAGE_CONSoles ▼ rdevSYSTEM_CONSole►◄PurposeUse the EMERGENCY_MESSAGE_CONSOLES statement to define the list ofconsole addresses which <strong>CP</strong> notifies when there is a system emergency (forexample, an impending abend, shutdown, or dump). During initialization, <strong>CP</strong> createsa list of valid emergency consoles from the ones you have defined on thisstatement. The maximum number of unique console IDs that you can specify is100. If <strong>CP</strong> abends, or if a software re-IPL occurs, <strong>CP</strong> sends messages to all theconsoles on the list it created.How to SpecifyThis statement is optional <strong>and</strong> you can place it anywhere in the systemconfiguration file. Although you can include as many statements as needed, werecommend you only specify one. This statement defines the entire list of consolesthat <strong>CP</strong> uses to notify you of impending abends or other system emergencies. Ifyou specify more than one statement, <strong>CP</strong> redefines the list each time <strong>and</strong> only usesthe list of consoles specified on the very lastEMERGENCY_MESSAGE_CONSOLES statement that you specify. <strong>CP</strong> will notcombine multiple statements into one comprehensive list of consoles.Oper<strong>and</strong>srdevadds the real device number or numbers to the list of <strong>CP</strong> emergency consolesthat are sent emergency messages. The variable rdev must be a hexadecimalnumber between X'0000' <strong>and</strong> X'FFFF', <strong>and</strong> they must be locally-attached3270-type supported displays. (See z/<strong>VM</strong>: General Information for a completelist of supported 3270-type displays.)SYSTEM_CONSoleadds the system console to the list of consoles that are sent emergencymessages.UsageNotes1. If an IODF statement is defined in the system configuration file with the osconfigparameter specified, then the software I/O configuration will be controlled byHCD. In this case, the EMERGENCY_MESSAGE_CONSoles statement isignored if it is specified. Refer to “IODF Statement” on page 158 for moreinformation.2. 2250 <strong>and</strong> 3250 displays are not valid emergency message consoles.3. If you do not specify an EMERGENCY_MESSAGE_CONSOLES statement, <strong>CP</strong>sends all emergency messages to the operator consoles that you listed on theOPERATOR_CONSOLES statement in the system configuration file or theRIOGEN macroinstruction in H<strong>CP</strong>RIO, before IPL. During IPL, <strong>CP</strong> checks all theconsoles in this list to see if they are operational. If they are, <strong>CP</strong> includes them124 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


EMERGENCY_MESSAGE_CONSOLESin the list of operator consoles. For more information about theOPERATOR_CONSOLES statement, see page 180. For more information aboutthe RIOGEN macroinstruction, see page 766.4. If the CONS=addr or CON=addr parameter was specified on the St<strong>and</strong>-AloneProgram Loader (SAPL) panel to specify a console address <strong>and</strong> this consoleaddress is not already specified on the EMERGENCY_MESSAGE_CONSOLESstatement, it is added to the list of emergency message consoles.There will be a total of 101 emergency message consoles if the maximumnumber of 100 is specified on the EMERGENCY_MESSAGE_CONSOLESstatement <strong>and</strong> the additional console address is added to the list.Examples1. To have <strong>CP</strong> send emergency messages to the operator’s <strong>and</strong> systemprogrammer’s consoles, use the followingEMERGENCY_MESSAGE_CONSOLES statement:Emergency_Message_Consoles 0bc0 0bc1 /* Oper <strong>and</strong> SysProg consoles */Chapter 6. The System Configuration File 125


ENABLE COMMAND / CMDENABLE COMMAND / CMD Statement►► ENable COMm<strong>and</strong>CMDcomm<strong>and</strong>Query SUBCmd subcomm<strong>and</strong>VirtualSet SUBCmd subcomm<strong>and</strong><strong>IBM</strong>class *<strong>IBM</strong>classc►◄PurposeUse the ENABLE COMMAND or CMD statement to permit <strong>CP</strong> to process requestsfor the specified <strong>CP</strong> comm<strong>and</strong> during <strong>and</strong> after initialization.You can also permit processing of <strong>CP</strong> comm<strong>and</strong>s after initialization using theENABLE COMMAND or CMD comm<strong>and</strong>s. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.How to SpecifyInclude as many statements as needed; they are optional. You can place ENABLECOMMAND or CMD statements anywhere in the system configuration file. If youspecify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>scomm<strong>and</strong>is the name of the comm<strong>and</strong> that you are enabling. The variable comm<strong>and</strong> is a1-character to 12-character alphanumeric string.Query SUBCmd subcomm<strong>and</strong>tells <strong>CP</strong> the name of the <strong>CP</strong> QUERY subcomm<strong>and</strong> that you are enabling. Thevariable subcomm<strong>and</strong> is a 1-character to 12-character alphanumeric string.Query Virtual SUBCmd subcomm<strong>and</strong>tells <strong>CP</strong> the name of the <strong>CP</strong> QUERY VIRTUAL subcomm<strong>and</strong> that you areenabling. The variable subcomm<strong>and</strong> is a 1-character to 12-characteralphanumeric string.Set SUBCmd subcomm<strong>and</strong>tells <strong>CP</strong> the name of the <strong>CP</strong> SET subcomm<strong>and</strong> that you are enabling. Thevariable subcomm<strong>and</strong> is a 1-character to 12-character alphanumeric string.<strong>IBM</strong>class *tells <strong>CP</strong> to enable all versions of the specified comm<strong>and</strong> or subcomm<strong>and</strong>. Ifomitted, <strong>IBM</strong>CLASS * is the default.<strong>IBM</strong>class ctells <strong>CP</strong> to enable a specific version of the specified comm<strong>and</strong> or subcomm<strong>and</strong>.The variable c can be any 1 of the following:A this is a system-control comm<strong>and</strong> to be used by the primary systemoperator.B this is a comm<strong>and</strong> for operational control of real devices.C this is a comm<strong>and</strong> to alter system storage.D this is a comm<strong>and</strong> for system-wide control of spool files.E this is a comm<strong>and</strong> to examine system storage.126 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


ENABLE COMMAND / CMDUsageNotesF this is a comm<strong>and</strong> for service control of real devices.G this is a general-use comm<strong>and</strong> used to control the functions of a virtualmachine.0 (zero) this comm<strong>and</strong> has no specific <strong>IBM</strong> class assigned.1. To load the comm<strong>and</strong> processing code into <strong>CP</strong>’s system execution space, usethe <strong>CP</strong>XLOAD statement (page 76) or comm<strong>and</strong>. For more information aboutthe <strong>CP</strong>XLOAD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.2. To activate a <strong>CP</strong> comm<strong>and</strong> while defining it, use the ENABLE oper<strong>and</strong> of theDEFINE COMMAND or CMD statement (page 84) or comm<strong>and</strong>. For moreinformation about the DEFINE COMMAND or CMD comm<strong>and</strong>, see the z/<strong>VM</strong>:<strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.3. To deactivate a <strong>CP</strong> comm<strong>and</strong>:v While defining it, use the DISABLE oper<strong>and</strong> of the DEFINE COMMAND orCMD statement (page 84) or comm<strong>and</strong>.v After defining it, use the DISABLE COMMAND or CMD statement (page 110)or comm<strong>and</strong>.For more information about the DEFINE or DISABLE COMMAND or CMDcomm<strong>and</strong>s, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.4. To change the definition of an existing <strong>CP</strong> comm<strong>and</strong>, use the MODIFYCOMMAND or CMD statement (page 165) or comm<strong>and</strong>. For more informationabout the MODIFY COMMAND or CMD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.5. To display the real address of the <strong>CP</strong> comm<strong>and</strong> table entry block, the current<strong>IBM</strong> class, <strong>and</strong> the current privilege class for a specified <strong>CP</strong> comm<strong>and</strong>, use theLOCATE CMDBK comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.6. To remove the comm<strong>and</strong> processing code from <strong>CP</strong>’s system execution space,use the <strong>CP</strong>XUNLOAD comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.7. For more information about enabling <strong>and</strong> disabling comm<strong>and</strong>s, see the z/<strong>VM</strong>:<strong>CP</strong> Exit Customization book.Examples1. To activate the <strong>CP</strong> SHUTDOWN comm<strong>and</strong> (after a prior DISABLE COMMANDstatement had deactivated it), use the following:Enable Comm<strong>and</strong> shutdown2. To activate the class version of the <strong>CP</strong> SET PRIVCLASS comm<strong>and</strong>(after a prior DISABLE COMMAND statement had deactivated it), use thefollowing:Enable Comm<strong>and</strong> Set SubCmd privclass <strong>IBM</strong>class 0Chapter 6. The System Configuration File 127


ENABLE DIAGNOSEENABLE DIAGNOSE Statement►► ENable DIAGnoseALL►◄▼diagdiag1-diag2PurposeUse the ENABLE DIAGNOSE statement to permit <strong>CP</strong> to process requests for oneor more locally-developed DIAGNOSE codes during <strong>and</strong> after initialization.You can also permit processing of locally-developed DIAGNOSE codes afterinitialization using the ENABLE DIAGNOSE comm<strong>and</strong>. For more information, seethe z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.How to SpecifyInclude as many statements as needed; they are optional. You can place ENABLEDIAGNOSE statements anywhere in the system configuration file. If you specifymore than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definitionoverrides any previous specifications.Oper<strong>and</strong>sALLtells <strong>CP</strong> to enable all existing DIAGNOSE codes.Note: This oper<strong>and</strong> enables all DIAGNOSE codes: the locally-defined ones, the<strong>IBM</strong>-supplied ones, <strong>and</strong> any supplied by third-party software vendors.diagdiag1-diag2is the number of the DIAGNOSE code that you are enabling. Each diag mustbe a hexadecimal number between X'0000' <strong>and</strong> X'03FC' <strong>and</strong> must be a multipleof 4. You can specify a single DIAGNOSE code, a range of DIAGNOSE codes,or any combination thereof.UsageNotes1. To define a new DIAGNOSE code, use the DEFINE DIAGNOSE statement(page 90) or comm<strong>and</strong>. For more information about the DEFINE DIAGNOSEcomm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.2. To load the DIAGNOSE processing code into <strong>CP</strong>’s system execution space,use the <strong>CP</strong>XLOAD statement (page 76) or comm<strong>and</strong>. For more informationabout the <strong>CP</strong>XLOAD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.3. If you do not specify the ENABLE oper<strong>and</strong>, a new DIAGNOSE code is initiallyin a disabled state after being defined. <strong>CP</strong> treats disabled DIAGNOSE codesas if they were never defined. If you try to use a disabled DIAGNOSE code ina program, <strong>CP</strong> will give you a program check specification exception.128 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


ENABLE DIAGNOSE4. To change the definition of an existing DIAGNOSE code, use the MODIFYDIAGNOSE statement (page 169) or comm<strong>and</strong>. For more information aboutthe MODIFY DIAGNOSE comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.5. To display information about a DIAGNOSE code (status, entry point name, <strong>and</strong>privilege class) after initialization, use the QUERY DIAGNOSE comm<strong>and</strong>. Formore information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.6. To display the real address of the <strong>CP</strong> DIAGNOSE code table block for aDIAGNOSE code, use the LOCATE DGNBK comm<strong>and</strong>. For more information,see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.7. To deactivate a DIAGNOSE code:v While defining it, use the DISABLE oper<strong>and</strong> of the DEFINE DIAGNOSEstatement (page 90) or comm<strong>and</strong>.v After defining it, use the DISABLE DIAGNOSE statement (page 112) orcomm<strong>and</strong>.For more information about the DEFINE or DISABLE DIAGNOSE comm<strong>and</strong>s,see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.8. To remove the DIAGNOSE processing code from <strong>CP</strong>’s system executionspace, use the <strong>CP</strong>XUNLOAD comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>:<strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.9. Many external security managers (ESMs) do not support DIAGNOSE codesabove X'03FC'. For this reason, <strong>CP</strong> does not support DIAGNOSE codes aboveX'03FC'. The DIAGNOSE codes between X'0000' <strong>and</strong> X'03FC' are divided asfollows:X'0000' to X'00FC'Reserved for <strong>IBM</strong> useX'0100' to X'01FC'Reserved for customer useX'0200' to X'03FC'Reserved for <strong>IBM</strong> use.10. For more information about user-defined DIAGNOSE codes, see the z/<strong>VM</strong>: <strong>CP</strong>Exit Customization book.Examples1. To have <strong>CP</strong> enable DIAGNOSE code X'100', use the following:Enable Diagnose 1002. To have <strong>CP</strong> enable all DIAGNOSE codes on your system, use the following:Enable Diagnose All3. To have <strong>CP</strong> enable all locally-defined DIAGNOSE codes, use the following:Enable Diagnose 100-1fc4. To have <strong>CP</strong> enable all locally-defined DIAGNOSE codes, except DIAGNOSEcode X'180', use the following:Enable Diagnose 100-17c 184-1fcChapter 6. The System Configuration File 129


ENABLE EXITSENABLE EXITS Statement►► ENable EXitsALL►◄▼exitexit1-exit2PurposeUse the ENABLE EXITS statement to permit <strong>CP</strong> to call all entry points <strong>and</strong> externalsymbols associated with one or more exit points during <strong>and</strong> after initialization.You can also permit <strong>CP</strong> to call the entry points <strong>and</strong> external symbols associatedwith an exit point after initialization using the ENABLE EXITS comm<strong>and</strong>. For moreinformation, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.How to SpecifyInclude as many statements as needed; they are optional. You can place ENABLEEXITS statements anywhere in the system configuration file. If you specify morethan one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definition overridesany previous specifications.Oper<strong>and</strong>sALLtells <strong>CP</strong> to enable all existing <strong>CP</strong> exit points.exitexit1-exit2is the number of the exit point (or exit points) that you want <strong>CP</strong> to start using.Each exit must be a hexadecimal number between X'0000' <strong>and</strong> X'FFFF'. Youcan specify a single exit point number, a range of exit point numbers, or anycombination thereof.UsageNotes1. To load the exit point code into <strong>CP</strong>’s system execution space, use the<strong>CP</strong>XLOAD statement (page 76) or comm<strong>and</strong>. For more information about the<strong>CP</strong>XLOAD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.2. To associate one or more entry points or external symbols with a specific exitpoint <strong>and</strong> to enable or disable that exit point, use the ASSOCIATE EXITstatement (page 60) or comm<strong>and</strong>. (For more information about theASSOCIATE EXIT comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.) You can also use the ASSOCIATE EXIT statement to change theentry points <strong>and</strong> external symbols associated with a specific entry point.3. If the list of entry points <strong>and</strong> external symbols associated with this exit pointcontain any entry points or external symbols that <strong>CP</strong> does not know about, <strong>CP</strong>just ignores them <strong>and</strong> continues normal processing. That is, <strong>CP</strong> will continue toprocess the other members of the list associated with this exit point. <strong>CP</strong> doesnot ignore an exit point because it cannot find one entry point or externalsymbol in the list. <strong>CP</strong> only ignores an exit point if it cannot find all the entrypoints <strong>and</strong> external symbols in the list.130 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


ENABLE EXITS4. To display whether there are any unknown entry points or external symbolsassociated with an exit point after initialization, use the QUERY UNRESOLVEDcomm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.5. To display status <strong>and</strong> usage statistics information about a specific exit pointafter initialization, use the QUERY EXITS comm<strong>and</strong>. For more information, seethe z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.6. To display the real address of the <strong>CP</strong> exit block for a specific exit point, usethe LOCATE XITBK comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.7. To display the real address of the <strong>CP</strong> indirect call locator block for a specificexit point, use the LOCATE ICLBK comm<strong>and</strong>. For more information, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.8. To change the definition of an existing dynamic exit point, or remove the exitpoint from the system, use the MODIFY EXIT statement (page 172) orcomm<strong>and</strong>. For more information about the MODIFY EXIT comm<strong>and</strong>, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.9. To stop <strong>CP</strong> from calling all the entry points <strong>and</strong> external symbols associatedwith one or more exit points after defining those exit points, use the DISABLEEXITS statement (page 114) or comm<strong>and</strong>. For more information about theDISABLE EXITS comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.10. To remove the exit point code from <strong>CP</strong>’s system execution space, use the<strong>CP</strong>XUNLOAD comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s<strong>and</strong> Utilities Reference.11. For more information about user-defined exit points, see the z/<strong>VM</strong>: <strong>CP</strong> ExitCustomization book.Examples1. To have <strong>CP</strong> start using the entry points <strong>and</strong> external symbols associated with<strong>CP</strong> Exit 99 after initialization, use the following:Enable Exits 992. To have <strong>CP</strong> start using the entry points <strong>and</strong> external symbols associated with all<strong>CP</strong> exit points after initialization, use the following:Enable Exits AllChapter 6. The System Configuration File 131


ENFORCE_BY_VOLidENFORCE_BY_VOLid Statement►► ENFORCE_BY_VOLid ONOFF►◄PurposeUse the ENFORCE_BY_VOLid configuration statement to enforce attachment ofDASD devices by their VOLIDs on the ATTACH comm<strong>and</strong>.How to SpecifyThe ENFORCE_BY_VOLid statement is optional. If you do not specify thestatement, <strong>CP</strong> will not enforce attachment of DASD devices by their VOLIDs. If youspecify the statement more than once, <strong>CP</strong> will use the last ENFORCE_BY_VOLidstatement entered.Oper<strong>and</strong>sONtells <strong>CP</strong> to enforce attachment of DASD devices by VOLID only.OFFtells <strong>CP</strong> not to enforce attachment of DASD devices by VOLID only.UsageNotes1. When the ENFORCE_BY_VOLid ON statement is specified, the VOLIDs for allDASD devices must be specified on the <strong>CP</strong> ATTACH comm<strong>and</strong>. For moreinformation about the <strong>CP</strong> ATTACH comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong>Utilities Reference book.132 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


EQUATEEQUATE Statement►► EQUate symbol ▼ sysname ►◄PurposeUse the EQUATE statement to create nicknames for systems or groups of systems.After creating a nickname, you can use it as a record qualifier in the systemconfiguration file to limit the scope of the statement <strong>and</strong> to group systems that havecommon properties. This allows you to create generic system configuration files thatcan be shared across multiple systems.How to SpecifyInclude as many statements as needed; they are optional. You must define anickname before you use it, so place your EQUATE statements anywhere in thesystem configuration file before any statements using those nicknames. If youspecify more than one statement with the same nickname, <strong>CP</strong> uses the laststatement. <strong>CP</strong> will not combine multiple statements with the same nickname intoone comprehensive group.Oper<strong>and</strong>ssymbolis the nickname for a system or group of systems that you are groupingtogether because they have similar properties <strong>and</strong> should therefore be treatedthe same way when <strong>CP</strong> processes the system configuration file. Each symbol isa 1-character to 16-character alphanumeric nickname with no imbedded blanks.sysnameis the name of the system (or systems) you want included in the specifiednickname group. You can use generic system names to request a specificsubset of systems. A generic system name is a 1-character to 8-character stringwith asterisks (*) in place of one or more arbitrary characters <strong>and</strong> percent signs(%) in place of exactly one arbitrary character. For example:Equate yorktown y%tvm*creates a nickname that includes all systems that start with Y <strong>and</strong> have T<strong>VM</strong> astheir third, fourth, <strong>and</strong> fifth characters.UsageNotes1. You can use multiple names in an EQUATE statement <strong>and</strong> still distinguishbetween the systems. For example:Equate vm3 sys1 sys2 sys4creates the nickname <strong>VM</strong>3 for systems SYS1, SYS2, <strong>and</strong> SYS4. If you laterhave statements using these names:Sys4: ...Sys1: ...Vm3: ...Chapter 6. The System Configuration File 133


EQUATEThe statement starting with Sys4: only applies to system SYS4; the statementstarting with Sys1: only applies to system SYS1; <strong>and</strong> the statement starting withVm3: applies to systems SYS1, SYS2, <strong>and</strong> SYS4.2. You can also use the systemid on the SYSTEM_IDENTIFIER statement (page226) as a record qualifier. Just be sure to define the systemid in aSYSTEM_IDENTIFIER statement before you try to use it as a nickname.Examples1. If you have five systems set aside for business <strong>and</strong> five set aside for research,you can use an EQUATE statement to give each of the two groups a nickname.Then you can use the nicknames as record qualifiers on other statements in thesystem configuration file.For example:Equate business atlanta boston, /* Define BUSINESS nickname */chicago clevl<strong>and</strong>,newyorkEquate research maine raleigh, /* Define RESEARCH nickname */rdsys1 testsys,yorktown.Business: Features Disable Set_PrivClass /* Don’t let users set *//* their own privilege *//* classes */.Research: Features Enable Set_PrivClass /* Let users set their *//* own privilege classes */allows the users on the five research systems to change their own privilegeclasses <strong>and</strong> allows the system operator on those system to change the privilegeclasses of any users logged on those systems. It also prevents the users <strong>and</strong>system operators on the five business systems from changing privilege classes.134 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


EXTERNAL_SYNTAXEXTERNAL_SYNTAX Statement►► EXTERNAL_SYNtax EPName epname ►◄PurposeUse the EXTERNAL_SYNTAX statement to add locally-developed systemconfiguration file statements to the system without modifying the systemconfiguration file processor, H<strong>CP</strong>ZSC ASSEMBLE.How to SpecifyInclude as many statements as needed; they are optional. You can placeEXTERNAL_SYNTAX statements anywhere in the system configuration file, as longas they appear before the first invocation of the new configuration file statement. Ifyou specify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>sEPName epnametells <strong>CP</strong> the name of the external symbol that identifies the start of your syntaxdefinition. This would be the label that is generated or coded on theH<strong>CP</strong>DOSYN macro which defines the syntax of your locally-developed systemconfiguration file statement.UsageNotes1. If your locally-developed system configuration file statement has the same name(or minimum abbreviation) as a system configuration file statement shipped by<strong>IBM</strong>, your statement will override the existing statement.Examples1. To define <strong>and</strong> use your own system configuration file statement duringinitialization, use the following:<strong>CP</strong>XLoad tttsyn text a /* Load the module */Temporary, /* ... in case we must unload it later */NoControl, /* ... to unload without more checking */Nodelay, /* ... load immediately from parmdisk */Lock /* ... make sure all of it is in storage *//* if it is > 4K. (Not necessary, *//* unless you are paranoid, like me!) *//* Let us hook into the front of the st<strong>and</strong>ard syntax definitions */External_Syntax EPname tttsyntxIn this example, the module TTTSYN contains your syntax tree, which starts atlabel TTTSYNTX. This example shows how you would get <strong>CP</strong> to load themodule <strong>and</strong> make <strong>CP</strong> consider it additional syntax during initialization.Chapter 6. The System Configuration File 135


FEATURESFEATURES Statement►► FEATURES ▼ AUTO_IPLAUTO_IPL_AFTER_RESTartAUTO_IPL_AFTER_SHUTDOWN_REIPLCMVLANDISableDISCONNECT_TIMEoutENABLeMAXUsersPASSWORDS_ON_CMDsRETRieveVDISK►◄AUTO_IPL:AUTO_IPLCLEANCOLDFORCEWARMNOENABLEDRAINNOAUTOLOGNODIRECTAUTO_IPL_AFTER_RESTART:AUTO_IPL_AFTER_RESTARTCLEANCOLDFORCEWARMNOENABLEDRAINNOAUTOLOGNODIRECTAUTO_IPL_AFTER_SHUTDOWN_REIPL:AUTO_IPL_AFTER_SHUTDOWN_REIPLCLEANCOLDFORCEWARMNOENABLEDRAINNOAUTOLOGNODIRECT136 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


FEATURESDISable:DISableAUTO_WARM_IPLCLEAR_TDisk<strong>CP</strong>CHECKingDYNamic_i/oDYNamic_ioIPL_MESSAGEsLOGMSG_FROM_FileNEW_DEVices_initialized_when_addedPROMPt AFTER_RESTartPROMPt AFTER_SHUTDOWN_REIPLPROMPt AFTER_POWERoffSET_DEVicesSET_DYNamic_i/oSET_DYNamic_ioSET_PRIVclassTHROTTLE_ALLDISCONNECT_TIMEout:DISCONNECT_TIMEoutnnnnnnOFFChapter 6. The System Configuration File 137


FEATURESENABle:ENABleAUTO_WARM_IPLCLEAR_TDiskABEND<strong>CP</strong>CHECKing<strong>VM</strong>STOPDYNamic_i/oDYNamic_ioIPL_MESSAGEsLOGMSG_FROM_FileSHOW_ACCountNoSHOW_ACCountSHOW_ACIgroupYesNoSHOW_ACIgroup YesSHOW_Userid NoSHOW_UseridPROMPt AFTER_RESTartPROMPt AFTER_SHUTDOWN_REIPLPROMPt AFTER_POWERoffSET_DEVicesSET_DYNamic_i/oSET_DYNamic_ioSET_PRIVclassTHROTTLE_ALLYesMAXUsers:MAXUsersMAXUsersNOLimitnnnnn138 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


FEATURESPASSWORDS_ON_CMDs:PASSWORDS_ON_CMDs(1) AUTOLog NoAUTOLog YesLINK NoLINKLOGonLOGonYesNoYesNotes:1 You must specify at least one of the oper<strong>and</strong>s.RETRieve:RETRieve(1) DEFault 7DEFault nnnMAXimum 7MAXimumnnnNotes:1 You must specify at least one of the oper<strong>and</strong>s.VDISK:VDISK Syslim InfiniteVDSK Userlim nnnnnnnnnn BlocksBlksnnnnnnnMnnnnGPurposeUse the FEATURES statement to set certain attributes of the system at systeminitialization.How to SpecifyInclude as many statements as needed; they are optional. You can placeFEATURES statements anywhere in the system configuration file. If you specifymore than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definitionoverrides any previous specifications.Chapter 6. The System Configuration File 139


FEATURESOper<strong>and</strong>sAUTO_IPLdefines the kind of start to be performed when the system is initialized. Thesystem will be started without prompting the system operator <strong>and</strong> withoutchanging the TOD clock.AUTO_IPL_AFTER_RESTartdefines the kind of start to be performed when the system is initialized after asystem restart. The system will be restarted without prompting the systemoperator <strong>and</strong> without changing the TOD clockAUTO_IPL_AFTER_SHUTDOWN_REIPLdefines the kind of start to be performed when the system is initialized after aSHUTDOWN REIPL. The system will be restarted without prompting the systemoperator <strong>and</strong> without changing the TOD clock.COLDtells <strong>CP</strong> to perform a cold start. This will purge all spool files, accountingrecords, error recording records, symptom records, <strong>and</strong> the system logmessage. System data files will not be purged.If spooling errors that could result in the loss of system data files (NSS,DCSS, TRF, IMG, UCR, NLS) are encountered, the system operator will beprompted <strong>and</strong> given the opportunity to stop. If no spooling errors areencountered, the system operator will not be prompted <strong>and</strong> there will be noopportunity to stop.CLEANtells <strong>CP</strong> to perform a clean start. This will purge all spool files, system datafiles, accounting records, error recording records, symptom records, <strong>and</strong> thesystem log message. The system operator will not be prompted <strong>and</strong> therewill be no opportunity to stop.FORCEtells <strong>CP</strong> to perform a force start. If spooling errors are encountered, thespool files <strong>and</strong> system data files in error will be purged. The systemoperator will not be prompted <strong>and</strong> there will be no opportunity to stop.WARMtells <strong>CP</strong> to perform a warm start. If spooling errors are encountered, thesystem operator will be prompted <strong>and</strong> given the opportunity to stop.NOENABLEtells <strong>CP</strong> not to enable terminal access after system initialization.DRAINtells <strong>CP</strong> to drain unit-record devices after system initialization.NOAUTOLOGtells <strong>CP</strong> to bypass automatic logon of virtual machines after systeminitialization.NODIRECTtells <strong>CP</strong> to bring up the system without a User Directory.DISabledisables the following system attributes during IPL. Note that initially, eachoption is disabled until enabled using the ENABLE oper<strong>and</strong>.AUTO_WARM_IPLtells <strong>CP</strong> to go through all the usual prompts in the IPL process.140 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


FEATURESCLEAR_TDisktells <strong>CP</strong> to clear only cylinder 0 or the first eight blocks on the temporaryminidisk when it detaches the minidisk.<strong>CP</strong>CHECKingtells <strong>CP</strong> that internal <strong>CP</strong> checking is not to be executed.DYNamic_i/oDYNamic_iotells <strong>CP</strong> not to allow dynamic I/O changes on this processor.IPL_MESSAGEstells <strong>CP</strong> not to display IPL or SHUTDOWN messages or prompts duringsystem initialization.If IPL_MESSAGES are disabled <strong>and</strong> spooling errors are encountered duringan automatic WARM or COLD IPL, wait state H<strong>CP</strong>2516W will be issued.LOGMSG_FROM_Filetells <strong>CP</strong> not to look for any LOGMSG files on disk. Instead, <strong>CP</strong> should useinformation from the class B <strong>CP</strong> SET LOGMSG comm<strong>and</strong>. For moreinformation on the <strong>CP</strong> SET LOGMSG comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.NEW_DEVices_initialized_when_addedtells <strong>CP</strong> to create a real device control block (RDEV) for a new I/O device,but not to initialize (bring online) that device when your system receives anI/O machine check (IOMCK) for adding a new device to the system. Tobring the device online, use the <strong>CP</strong> VARY (Real Device) comm<strong>and</strong>. Formore information about the <strong>CP</strong> VARY (Real Device) comm<strong>and</strong>, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.PROMPt AFTER_RESTarttells <strong>CP</strong> not to force a prompt to the operator when <strong>CP</strong> bounces.PROMPt AFTER_SHUTDOWN_REIPLtells <strong>CP</strong> not to force a prompt to the operator when <strong>CP</strong> is performing aSHUTDOWN REIPL.PROMPt AFTER_POWERofftells <strong>CP</strong> not to force a prompt to the operator when <strong>CP</strong> detects that this IPLis during a power on after a SHUTDOWN POWEROFF.SET_DEVicestells <strong>CP</strong> not to allow users to execute <strong>CP</strong> SET DEVICES comm<strong>and</strong>s tochange the way the way <strong>CP</strong> h<strong>and</strong>les specific real devices after initialization.For more information about the <strong>CP</strong> SET DEVICES comm<strong>and</strong>, see the z/<strong>VM</strong>:<strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.SET_DYNamic_i/oSET_DYNamic_iotells <strong>CP</strong> not to allow users to execute <strong>CP</strong> SET DYNAMIC_I/O comm<strong>and</strong>s toenable or disable <strong>CP</strong>’s ability to dynamically change the processor’s I/Oconfiguration after initialization. For more information about the <strong>CP</strong> SETDYNAMIC_I/O comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.SET_PRIVclasstells <strong>CP</strong> not to give end users the authority to use the <strong>CP</strong> SET PRIVCLASScomm<strong>and</strong> to change their own privilege classes, <strong>and</strong> tells <strong>CP</strong> not to give thesystem operator the authority to use the <strong>CP</strong> SET PRIVCLASS comm<strong>and</strong> toChapter 6. The System Configuration File 141


FEATURESchange the privilege classes of users logged on to the system. For moreinformation about the <strong>CP</strong> SET PRIVCLASS comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.THROTTLE_ALLtells <strong>CP</strong> to allow throttling of ALL devices on the system except <strong>CP</strong> OWNEDDASD.DISCONNECT_TIMEout nnnnnnsets the interval between a forced disconnect of a virtual machine <strong>and</strong> its logoffto the specified number of minutes. The default is 15 minutes.DISCONNECT_TIMEout OFFdisables the automatic logoff of a virtual machine that is forcibly disconnected.ENABleenables the following system attributes during IPL. Note that initially, eachoption is disabled until it is enabled.AUTO_WARM_IPLtells <strong>CP</strong> to attempt a warm start without changing the TOD clock. If there isno warm start data, if the TOD clock is not set, or if spooling errors areencountered, <strong>CP</strong> will prompt the operator for more information.CLEAR_TDisktells <strong>CP</strong> to automatically clear all previously written data <strong>and</strong> directory areason TDISK DASD space. <strong>CP</strong> will change TDISK DASD space to binary zerosduring <strong>CP</strong> initialization, when attaching a <strong>CP</strong>-owned volume that containsTDISK allocations, <strong>and</strong> when a user detaches a TDISK minidisk. Byclearing this space, you prevent users from accidentally accessing oldtemporary disk space <strong>and</strong> provides your system with additional security.<strong>CP</strong>CHECKingtells <strong>CP</strong> to activate internal <strong>CP</strong> checking to confirm assertions established inthe <strong>CP</strong> code <strong>and</strong> take the appropriate action based on whether ABEND or<strong>VM</strong>STOP is specified.ABENDIndicates that an abend should occur. Whether it is a hard abend or asoft abend is controlled by the specific assertion case. It is typically ahard abend. This is the default when internal <strong>CP</strong> checking is activated.<strong>VM</strong>STOPThis parameter is permitted only when <strong>CP</strong> is itself running in a virtualmachine, <strong>and</strong> is generally useful only for debugging <strong>CP</strong>. Specifying thisparameter causes <strong>CP</strong> to issue DIAGNOSE code X'8' when an untrueassertion is encountered, specifying a comm<strong>and</strong> string length of zero.This causes the virtual machine to stop <strong>and</strong> for <strong>CP</strong> to post a read to theconsole. A message is sent to the console (using DIAGNOSE code X'8'<strong>and</strong> the <strong>CP</strong> MESSAGE * comm<strong>and</strong>) providing information about thecause of the stop.DYNamic_i/oDYNamic_iotells <strong>CP</strong> to allow dynamic I/O changes on this processor.IPL_MESSAGEstells <strong>CP</strong> to display IPL or SHUTDOWN messges <strong>and</strong> prompts duringsystem initialization (the default).LOGMSG_FROM_Filetells <strong>CP</strong> to display the contents of the SYSTEM LOGMSG file on the lowest142 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


FEATURESaccessed <strong>CP</strong> disk. You can optionally choose to have <strong>CP</strong> read <strong>and</strong> displayadditional files at a user’s terminal using one or more of the followingoper<strong>and</strong>s:SHOW_ACCount No(the default) tells <strong>CP</strong> not to display a file called accountid LOGMSACC(accountid is the account ID of a specific user) in response to a <strong>CP</strong>QUERY LOGMSG comm<strong>and</strong>.SHOW_ACCount Yestells <strong>CP</strong> to display a file called accountid LOGMSACC (accountid is theaccount ID of a specific user) in response to a <strong>CP</strong> QUERY LOGMSGcomm<strong>and</strong>.SHOW_ACIgroup No(the default) tells <strong>CP</strong> not to display a file called acigroup LOGMSACI(acigroup is the ACI group of a specific user) in response to a <strong>CP</strong>QUERY LOGMSG comm<strong>and</strong>.SHOW_ACIgroup Yestells <strong>CP</strong> to display a file called acigroup LOGMSACI (acigroup is theACI group of a specific user) in response to a <strong>CP</strong> QUERY LOGMSGcomm<strong>and</strong>.SHOW_Userid No(the default) tells <strong>CP</strong> not to display a file called userid LOGMSUSR(userid is the user ID of a specific user) in response to a <strong>CP</strong> QUERYLOGMSG comm<strong>and</strong>.SHOW_Userid Yestells <strong>CP</strong> to display a file called userid LOGMSUSR (userid is the userID of a specific user) in response to a <strong>CP</strong> QUERY LOGMSG comm<strong>and</strong>.For more information about the <strong>CP</strong> QUERY LOGMSG comm<strong>and</strong>, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.NEW_DEVices_initialized_when_addedtells <strong>CP</strong> to automatically create a real device control block (RDEV) <strong>and</strong>initialize (bring online) the associated I/O device when you add a newdevice, causing an I/O machine check (IOMCK).PROMPt AFTER_RESTarttells <strong>CP</strong> to force a prompt to the operator when <strong>CP</strong> bounces, so that REIPLcan be stopped or the type of start desired (WARM, FORCE, etc.) can bespecified.PROMPt AFTER_SHUTDOWN_REIPLtells <strong>CP</strong> to force a prompt to the operator when <strong>CP</strong> is performing aSHUTDOWN REIPL, so that REIPL can be stopped or the type of startdesired (WARM, FORCE, etc.) can be specified.PROMPt AFTER_POWERofftells <strong>CP</strong> to force a prompt to the operator when <strong>CP</strong> detects that this IPL isduring a power on after a SHUTDOWN POWEROFF, so that REIPL can bestopped or the type of start desired (WARM, FORCE, etc.) can be specified.SET_DEVicestells <strong>CP</strong> to allow users to execute <strong>CP</strong> SET DEVICES comm<strong>and</strong>s to changethe way the way <strong>CP</strong> h<strong>and</strong>les specific real devices after initialization. Formore information about the <strong>CP</strong> SET DEVICES comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.Chapter 6. The System Configuration File 143


FEATURES||||||||||||SET_DYNamic_i/oSET_DYNamic_iotells <strong>CP</strong> to allow users to execute <strong>CP</strong> SET DYNAMIC_I/O comm<strong>and</strong>s toenable or disable <strong>CP</strong>’s ability to dynamically change the processor’s I/Oconfiguration after initialization. For more information about the <strong>CP</strong> SETDYNAMIC_I/O comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.SET_PRIVclasstells <strong>CP</strong> to give end users the authority to use the <strong>CP</strong> SET PRIVCLASScomm<strong>and</strong> to change their own privilege classes, <strong>and</strong> tells <strong>CP</strong> to give thesystem operator the authority to use the <strong>CP</strong> SET PRIVCLASS comm<strong>and</strong> tochange the privilege classes of users logged on to the system. For moreinformation about the <strong>CP</strong> SET PRIVCLASS comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.THROTTLE_ALLtells <strong>CP</strong> to allow throttling of ALL devices on the system including <strong>CP</strong>OWNED DASD.MAXusers NOLimit(the default) tells <strong>CP</strong> that an unlimited number of users can log on.MAXusers nnnnndefines the maximum number of users who can log on to the system at onetime. The variable nnnnn is a decimal number from 1 to 99999.PASSWORDS_ON_CMDstells <strong>CP</strong> whether to accept passwords in the comm<strong>and</strong> syntax (in clear text)when users issue the <strong>CP</strong> AUTOLOG, XAUTOLOG, LINK, or LOGONcomm<strong>and</strong>s. If the setting is NO, <strong>CP</strong> accepts the comm<strong>and</strong> only without thepassword, then prompts the user for the password <strong>and</strong> masks the input field.AUTOLog No(the default) tells <strong>CP</strong> to not accept passwords entered by users who areissuing the <strong>CP</strong> AUTOLOG or XAUTOLOG comm<strong>and</strong>.AUTOLog Yestells <strong>CP</strong> to accept passwords entered by users who are issuing the <strong>CP</strong>AUTOLOG or XAUTOLOG comm<strong>and</strong>. For AUTOLOG, users must enter thepassword as part of the comm<strong>and</strong>.LINK No(the default) tells <strong>CP</strong> to not accept passwords entered by users who areissuing the <strong>CP</strong> LINK comm<strong>and</strong>.LINK Yestells <strong>CP</strong> to accept passwords entered by users who are issuing the <strong>CP</strong>LINK comm<strong>and</strong>.LOGon No(the default) tells <strong>CP</strong> to not accept passwords entered by users who areissuing the <strong>CP</strong> LOGON comm<strong>and</strong>.LOGon Yestells <strong>CP</strong> to accept passwords entered by users who are issuing the <strong>CP</strong>LOGON comm<strong>and</strong>.For more information about the <strong>CP</strong> AUTOLOG, XAUTOLOG, LINK, <strong>and</strong> LOGONcomm<strong>and</strong>s, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.144 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


FEATURESRETRievedefines the default <strong>and</strong> maximum number of retrieve buffers allowed per useron your system. These numbers determine how many console input lines auser can retrieve. Before retrieving a buffer, users must define a programfunction (PF) key as a retrieve key, using the <strong>CP</strong> SET PFnn RETRIEVEcomm<strong>and</strong>. After defining a retrieve key, users can press that PF key when theywant to retrieve a comm<strong>and</strong> that they issued previously. For more informationabout the <strong>CP</strong> SET PFnn RETRIEVE comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s<strong>and</strong> Utilities Reference.DEFault nnntells <strong>CP</strong> to define nnn default retrieve buffers per user on your system. Thevariable nnn is a decimal number from 0 to 255. If omitted, the default is 7.Note: The number of default retrieve buffers must be less than or equal tothe number of maximum retrieve buffers.MAXimum nnntells <strong>CP</strong> to define nnn maximum retrieve buffers per user on your system.The variable nnn is a decimal number from 0 to 255. If omitted, the defaultis 7.VDISKVDSKdefines installation defaults for the system <strong>and</strong> user limits on the maximumamount of system storage available for allocation as virtual disks in storage. Ifan installation default is not defined, <strong>CP</strong> uses a built-in default.You can supercede the installation or built-in default by using the <strong>CP</strong> SETVDISK comm<strong>and</strong> to set the current system limit or user limit. The DEFAULToper<strong>and</strong> on the SET VDISK comm<strong>and</strong> resets the current limit to the installationdefault, or, if none is defined, to the built-in default. The <strong>CP</strong> QUERY VDISKcomm<strong>and</strong> displays current <strong>and</strong> default system <strong>and</strong> user limits. For moreinformation about the <strong>CP</strong> SET <strong>and</strong> QUERY VDISK comm<strong>and</strong>s, see the z/<strong>VM</strong>:<strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.Note: Use of virtual disks in storage increases the load on system paging, soyou should set limits in proportion to the availability of paging space.Syslimsets the total resource available for allocating virtual disks in storage on thesystem.If an installation default is not defined, <strong>CP</strong> calculates the built-in default fromthe available system storage. It takes 2050 non-pageable pages of page<strong>and</strong> segment data tables to support each gigabyte of address space forvirtual disks in storage. The limit is set so these non-pageable structurescan consume no more than 1/4 of the DPA pages. The limit is furtherreduced, if necessary, so the virtual storage pages used for address spacesfor virtual disks in storage can consume no more than 1/4 of the totalavailable paging space.Userlimsets the maximum resource available for virtual disks in storage created bya single user using the <strong>CP</strong> DEFINE comm<strong>and</strong>. This limit does not apply tovirtual disks in storage defined by MDISK statements in the directory. If aninstallation default is not defined, the built-in default is 0.Chapter 6. The System Configuration File 145


FEATURESUsageNotesInfiniteindicates that there is no limit. All available system storage may beallocated to virtual disks in storage.nnnnnnnnnn Blocksnnnnnnnnnn Blksspecifies the number of 512-byte blocks of storage available for virtual disksin storage. If the number specified is equal to or greater than 2147483648,the limit is set to INFINITE.nnnnnnnMspecifies the number of megabytes of storage available for virtual disks instorage. If the number specified is equal to or greater than 1048576, thelimit is set to INFINITE.nnnnGspecifies the number of gigabytes of storage available for virtual disks instorage. If the number specified is equal to or greater than 1024, the limit isset to INFINITE.1. If an IODF statement is defined in the system configuration file, then thehardware I/O configuration will be controlled by HCD. In this case, thefollowing FEATURES statements are ignored if they are specified:v FEATURES ENABLE DYNAMIC_I/Ov FEATURES ENABLE DYNAMIC_IOv FEATURES ENABLE SET_DYNAMIC_I/Ov FEATURES ENABLE SET_DYNAMIC_IOv FEATURES DISABLE DYNAMIC_I/Ov FEATURES DISABLE DYNAMIC_IOv FEATURES DISABLE SET_DYNAMIC_I/Ov FEATURES DISABLE SET_DYNAMIC_IOIf the osconfig parameter is specified on the IODF statement, then the softwareI/O configuration will be controlled by HCD. In this case, the followingFEATURES statements are ignored if they are specified:v FEATURES ENABLE SET_DEVICESv FEATURES DISABLE SET_DEVICESRefer to “IODF Statement” on page 158 for more information.2. FEATURES ... SET_PRIVCLASS sets the parameters for the <strong>CP</strong> SETPRIVCLASS comm<strong>and</strong>, which general users can use to change their privilegeclasses to be all or a subset of the classes specified in their directory entries.For more information about the <strong>CP</strong> SET PRIVCLASS comm<strong>and</strong>, see the z/<strong>VM</strong>:<strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.3. At logon, <strong>CP</strong> gives each user enough storage for the default number ofretrieve buffers. If users want to retrieve more than the default number ofconsole input lines, they can use the <strong>CP</strong> SET RETRIEVE comm<strong>and</strong> toincrease their number of retrieve buffers to some number less than or equal tothe maximum number of retrieve buffers that you are defining for the systemusing this FEATURES statement. To find out the maximum number of retrievebuffers allowed on a running system, users can issue the <strong>CP</strong> QUERYRETRIEVE comm<strong>and</strong>. For more information about the <strong>CP</strong> QUERY <strong>and</strong> SETRETRIEVE comm<strong>and</strong>s, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.146 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


FEATURES4. If you enable AUTO_WARM_IPL <strong>and</strong> no warm start data has been saved, or ifinvalid warm start data is encountered, <strong>CP</strong> will only ask the operator whether itshould try a FORCE start instead.5. If you enable AUTO_WARM_IPL in the system configuration file <strong>and</strong> you wantto go through the full series of prompts during the IPL, you can specify thePROMPT keyword as part of the IPL parameters on the St<strong>and</strong>-Alone ProgramLoader (SAPL). For more information about the St<strong>and</strong>-Alone Program Loader(SAPL) <strong>and</strong> the IPL parameters, see page 37.6. To change whether new devices are initialized when they are added to thesystem after IPL, use the <strong>CP</strong> SET NEW_DEVICES comm<strong>and</strong>. For moreinformation about the SET NEW_DEVICES comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.7. To allow users to dynamically change a device’s I/O configuration after IPL,you must specify the ENABLE DYNAMIC_I/O oper<strong>and</strong> on the FEATURESstatement in the system configuration file or you must issue the <strong>CP</strong> SETDYNAMIC_I/O ON comm<strong>and</strong> after IPL. If you do not turn this function on eitherduring or after IPL, <strong>CP</strong> will reject all attempts to dynamically change the I/Oconfiguration. This means that <strong>CP</strong> rejects the following dynamic I/Ocomm<strong>and</strong>s:DEFINE CHPID DEFINE CU DEFINE DEVICEDELETE CHPID DELETE CU DELETE DEVICEMODIFY CHPID MODIFY CU MODIFY DEVICEDEFINE PATH DEFINE CNTLUNIT DEFINEIODEVICEDELETE PATH DELETE CNTLUNIT DELETEIODEVICEMODIFY PATH MODIFY CNTLUNIT MODIFYIODEVICEQUERYCONFIGMODEQUERYDYNAMIC_I/OSET CONFIGMODE SET DEVICES SETDYNAMIC_I/O||||||8. To change whether I/O operations from guest operating systems can be limited(or controlled) after IPL, use the <strong>CP</strong> SET DEVICES comm<strong>and</strong>. For moreinformation about the SET DEVICES comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s<strong>and</strong> Utilities Reference.9. Because the SYSLimit does not apply during system initialization, it is possibleto find more LAN segments in the system than the number defined as thesystem limit.10. Although the PASSWORDS_ON_CMDs oper<strong>and</strong> can be set to preventpasswords from being entered with the comm<strong>and</strong>s (in clear text) on theterminal screen, passwords may still be included on the comm<strong>and</strong> line byREXX execs using the DIAG() <strong>and</strong> DIAGRC() functions. If you require accesssecurity without the possibility of passwords being stored in clear text, youshould consider installing an external security manager (ESM).Examples1. To have <strong>CP</strong>:v Enable all log message supportv Allow end users <strong>and</strong> the operator to issue the SET PRIVCLASS comm<strong>and</strong>Chapter 6. The System Configuration File 147


FEATURES|v Clear all temporary disk space after users are through with itv Allow operators to dynamically change the I/O configurationv Prompt the operator for startup information after a software restart (bounce)v Allow operators to limit the I/O operations from guest operating systemsv Initialize new devices when they are added to the systemv Disable the automatic warm start featurev Give users a default of 7 retrieve buffers <strong>and</strong> let them go up to a maximum of255 buffersv Allow an unlimited number of users to be logged on at one timev Prompt users for passwords on the <strong>CP</strong> AUTOLOG, XAUTOLOG, <strong>and</strong>LOGON comm<strong>and</strong>s, but not the <strong>CP</strong> LINK comm<strong>and</strong>v Set the installation default system limit on space for virtual disks in storage to’32GB’ <strong>and</strong> the installation default user limit to 800 blocksuse the following FEATURES statement:/*----------------------- Features Statement ------------------------*/Features,Enable,Logmsg_From_File, /* Allow log messages from files */Show_ACCount Yes, /* If account logmsg exists, show it */Show_ACIgroup Yes, /* If acigroup logmsg exists, show it */Show_Userid Yes, /* If userid logmsg exists, show it */Set_Privclass, /* Let the SET PRIVCLASS comm<strong>and</strong> beexecuted. If this option is disabled,then the SET PRIVCLASS comm<strong>and</strong> is notallowed. */Clear_Tdisk, /* Clear all temporary disk space afteruse */Dynamic_I/O, /* Allow dynamic I/O changes on thissystem */Prompt_on_Bounce, /* If <strong>CP</strong> bounces, prompt operator forstartup conditions */Throttling, /* Allow people to limit I/O from guests */New_Devices_Initialized_when_Added, /* Initialize devices if we getan IPI I/O machine check */Disable,Auto_Warm_Ipl, /* Do not perform Auto_Warm_IPL’s, letoperator see the <strong>CP</strong> start-up messageprompts <strong>and</strong> time message *//* Set some additional features ... */Retrieve,Default 7, /* Give each user 7 default retrieve buffers */Maximum 255, /* Set the maximum system buffers per user to 255 */MaxUser NoLimit, /* Don’t set a maximum number of user limit */Passwords_On_Cmds,148 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>AutoLog No, /* Prompt user for password on AUTOLOG comm<strong>and</strong> */Link Yes, /* Do not prompt for password on LINK comm<strong>and</strong> */


FEATURESLogon No, /* Prompt user for password on LOGON comm<strong>and</strong> */Vdisk,Syslim 32G, /* Set total virtual disks in storage to 32GB */Userlim 800 Blks, /* User can define max 800 blocks using DEFINE *//*-------------------- End of Features Statement --------------------*/Chapter 6. The System Configuration File 149


FORM_DEFAULTFORM_DEFAULT Statement►►FORM_DEFault(1)▼CONSoleCONSolePRINTerSTANDARDformnameSTANDARD►◄PRINTer formnamePUNch STANDARDPUNchREADerREADerformnameSTANDARDformnameNotes:1 You must specify at least one of the following oper<strong>and</strong>s.PurposeUse the FORM_DEFAULT statement to define default user form names for <strong>CP</strong> touse when it creates files on virtual printers, virtual punches, virtual consoles, or realcard readers.How to SpecifyInclude as many statements as needed; they are optional. You can placeFORM_DEFAULT statements anywhere in the system configuration file. If youspecify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>sExamplesCONSole formnamedefines the default user (<strong>and</strong>, implicitly, operator) forms for virtual console spoolfiles. If omitted, the default is STANDARD.PRINTer formnamespecifies the default user form for virtual printer spool files. If omitted, thedefault is STANDARD.PUNch formnamespecifies the default user form for virtual punch spool files. If omitted, thedefault is STANDARD.READer formnamespecifies the default user (<strong>and</strong>, implicitly, operator) forms for files created on areal card reader. If omitted, the default is STANDARD.1. To have <strong>CP</strong> use the form name STANDARD for the console, printer, punch, <strong>and</strong>reader user form names, use the following FORM_DEFAULT statement:150 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


FORM_DEFAULTForm_Default, /* Set up user form defaults */Console STANDARD, /* so they are all set to */Printer STANDARD, /* the default ... STANDARD */Punch STANDARD,Reader STANDARDChapter 6. The System Configuration File 151


HOT_IO_RATEHOT_IO_RATE Statement►► HOT_IO_Rate ALLDASDGrafrdevrdev-rdevSPecialSWCHSWitchTApeTErminalUnit_recordURDefaultOffnnnnn►◄PurposeUse the HOT_IO_RATE statement to define the maximum number of consecutive,unsolicited interrupts per second that <strong>CP</strong> should allow from an I/O device (the hotI/O rate) before refusing to accept input from it.How to SpecifyInclude as many statements as needed; they are optional. You can placeHOT_IO_RATE statements anywhere in the system configuration file. If you specifymore than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definitionoverrides any previous specifications.Oper<strong>and</strong>sALLtells <strong>CP</strong> to define the hot I/O rate for all devices in the active I/O configuration.DASDtells <strong>CP</strong> to define the hot I/O rate for all DASDs in the active I/O configuration.Graftells <strong>CP</strong> to define the hot I/O rate for all graphic display devices in the active I/Oconfiguration.rdevtells <strong>CP</strong> to define the hot I/O rate for a device at a specific real device numberin the active I/O configuration. The variable rdev must be a hexadecimalnumber between X'0000' <strong>and</strong> X'FFFF'.rdev-rdevtells <strong>CP</strong> to define the hot I/O rate for devices in a range of specific real devicenumbers in the active I/O configuration. Each rdev must be a hexadecimalnumber between X'0000' <strong>and</strong> X'FFFF'.SPecialtells <strong>CP</strong> to define the hot I/O rate for all special devices (3088s, CTCAs, 37x5s)in the active I/O configuration.SWCH152 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


HOT_IO_RATESWitchtells <strong>CP</strong> to define the hot I/O rate for all switching devices in the active I/Oconfiguration.TApetells <strong>CP</strong> to define the hot I/O rate for all tape drive devices in the active I/Oconfiguration.TErminaltells <strong>CP</strong> to define the hot I/O rate for all terminals in the active I/O configuration.Unit_recordURtells <strong>CP</strong> to define the hot I/O rate for all unit record devices in the active I/Oconfiguration.Defaulttells <strong>CP</strong> to use the default rate of 16 unsolicited interrupts per second for thespecified device or devices.Offturns hot I/O detection off <strong>and</strong> tells <strong>CP</strong> to accept all unsolicited interrupts for thespecified device or devices.Attention!We do not recommend that you specify the OFF oper<strong>and</strong> to turn off thehot I/O detection for a device or devices for any length of time. Hot I/Odetection protects <strong>CP</strong> from broken hardware that floods the system withunsolicited interrupts. If you turn hot I/O detection off, you may experienceperformance degradation or a system abend.UsageNotesnnnnntells <strong>CP</strong> how many unsolicited interrupts per second to accept for the specifieddevice or devices before <strong>CP</strong> stops accepting input from the device or devices.The variable nnnnn is a decimal number from 1 to 62500.1. If an IODF statement is defined in the system configuration file with the osconfigparameter specified, then the software I/O configuration will be controlled byHCD. In this case, the HOT_IO_Rate statement is ignored if it is specified.Refer to “IODF Statement” on page 158 for more information.2. <strong>CP</strong> processes HOT_IO_RATE statements sequentially for each device beforebringing it online. For example, if you specify:Hot_IO_Rate DASD 100Hot_IO_Rate 200-300 50<strong>CP</strong> accepts 100 unsolicited interrupts per second for all DASD <strong>and</strong> 50unsolicited interrupts per second for all devices with real device numbersbetween 200 <strong>and</strong> 300, inclusive. If there are any DASD defined in the 200-300real device number range, those DASD will have an unsolicited interrupt rate of50, not 100.3. Attention: We do not recommend that you specify the OFF oper<strong>and</strong> to turn offthe hot I/O detection for a device or devices for any length of time. Hot I/Odetection protects <strong>CP</strong> from broken hardware that floods the system withunsolicited interrupts. If you turn hot I/O detection off, you may experienceperformance degradation or a system abend.Chapter 6. The System Configuration File 153


HOT_IO_RATE4. If you need to change the hot I/O rate after IPL, use the <strong>CP</strong> SET HOTIOcomm<strong>and</strong>. To check the current hot I/O rates, use the <strong>CP</strong> QUERY HOTIOcomm<strong>and</strong>. For more information about the <strong>CP</strong> SET HOTIO <strong>and</strong> QUERY HOTIOcomm<strong>and</strong>s, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.Examples1. To specify a global unsolicited interrupt rate of 100 for all I/O devices, overridethe global rate for all DASDs, <strong>and</strong> override the global DASD rate for a specificrange of DASD, use the following HOT_IO_RATE statements:Hot_IO_Rate All 100 /* Set rate for all devices tomake sure none affect thesystem too much. */Hot_IO_Rate DASD 200 /* Allow DASD a few more errors */Hot_IO_Rate 0280-028f 50 /* Third party DASD string */154 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


IMBEDIMBED Statement►► IMbed fn=ft=►◄PurposeUse the IMBED statement to tell <strong>CP</strong> to imbed a file into the main systemconfiguration file during an IPL. All imbedded files must reside on the same disk asthe main system configuration file.How to SpecifyInclude as many statements as needed; they are optional. You can place IMBEDstatements anywhere in the main system configuration file <strong>and</strong> in any files that areimbedded into the main system configuration file. You can nest imbedded files asdeep as you like.Oper<strong>and</strong>sfn is the file name of the file you want imbedded. An = tells <strong>CP</strong> to imbed a file withthe same file name.ft is the file type of the file you want imbedded. An = tells <strong>CP</strong> to imbed a file withthe same file type.UsageNotes1. If you specify a file name or file type of -SYSTEM-, <strong>CP</strong> uses the name of thesystem being IPLed as that file name or file type. For example, if your systemname is <strong>VM</strong>SYS3 <strong>and</strong> you have the following IMBED statement in your systemconfiguration file:Imbed -system- config<strong>CP</strong> looks for a file named <strong>VM</strong>SYS3 CONFIG on the parm disk. If found, <strong>CP</strong>imbeds the file <strong>and</strong> processes the statements within it. If <strong>CP</strong> does not find thefile, the IMBED statement fails <strong>and</strong> <strong>CP</strong> continues processing with the statementafter the IMBED.2. An imbed will not succeed if the -SYSTEM- variable is included <strong>and</strong> no systemidentifier exists to replace it. This situation arises when you do not specify aSYSID macroinstruction in H<strong>CP</strong>SYS <strong>and</strong> you do not specifySYSTEM_IDENTIFIER <strong>and</strong> SYSTEM_IDENTIFIER_DEFAULT statements in thesystem configuration file before the IMBED statement.3. This statement will not accept imbed loops. If the system configuration fileincludes an imbed of the file SAMPLE CONFIG, <strong>and</strong> the SAMPLE CONFIG fileincludes an imbed of the file SAMPLE2 CONFIG, then <strong>CP</strong> will generate an errormessage if the SAMPLE2 CONFIG file tries to imbed the SAMPLE CONFIG file.Examples1. If you list your RDEVICE statements in a file separate from the master systemconfiguration file, you can use the following IMBED statement to include theRDEVICE statements:Imbed rdev config /* Pull in RDEVICE statements */Chapter 6. The System Configuration File 155


IMBED2. If you have several systems with similar system configuration files, you can usethe IMBED statement to create a master system configuration file that containsthe common statements <strong>and</strong> imbed files that contain the system-specificstatements. For example, suppose you had three systems (BOSTON, MAINE,<strong>and</strong> NEWYORK) that had very similar system configuration files with thefollowing exceptions:v BOSTON lets end users change their privilege classesv MAINE wants to manually answer all the prompts during an IPLv NEWYORK limits the number of logged on users to 1000.You can create a main system configuration file with the following IMBEDstatement:Imbed -system- config /* Pull in the system-specificinformation */Each of the three systems has a copy of this main system configuration file <strong>and</strong>each has a system-specific configuration file. For example, on the BOSTONsystem, there is a file called BOSTON CONFIG which contains the followingstatement:Features Enable Set_PrivClass /* Let the users <strong>and</strong> the systemoperator change comm<strong>and</strong>privilege classes */On the MAINE system, there is a file called MAINE CONFIG which contains thefollowing statement:Features Disable Auto_Warm_IPL /* Perform manual IPLs */And on the NEWYORK system, there is a file called NEWYORK CONFIG whichcontains the following statement:Features MaxUsers 1000 /* Do not let more than1000 users log on */Note: You can also process system-specific information without using theIMBED statement. You can use the EQUATE statement (page 133) to setup nicknames for systems <strong>and</strong> use those nicknames in the main systemconfiguration file to limit the scope of the statements they preface.In the previous example, you could have defined nicknames for the threesystems <strong>and</strong> used those nicknames to preface the FEATURESstatements:.Equate Marketing bostonEquate University maineEquate Research newyork.Marketing: Features Enable Set_PrivClassUniversity: Features Disable Auto_Warm_IPLResearch: Features MaxUsers 1000.156 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


INIT_MITIMEINIT_MITIME Statement►► INIT_MITime ss ►◄PurposeUse the INIT_MITIME statement to change the MITIME (the time interval at which adevice is checked for missing interrupts) that is in effect during device initializationat system IPL time.How to SpecifyThe INIT_MITIME statement is optional. Since there is only one MITIME value usedat IPL time, there should never be a need for more than one INIT_MITIMEstatement. However, if you specify more than one INIT_MITIME statement, <strong>CP</strong> usesthe value from the last statement. If no INIT_MITIME statement is specified, <strong>CP</strong>uses the default value of 15 seconds.Oper<strong>and</strong>sss is the time interval in seconds at which the device should be examined formissing interrupts. The number of seconds specified must be a value from oneto 60, <strong>and</strong> the value is rounded up to the next multiple of five seconds.UsageNotes1. Lowering the initialization MITIME value below the default value of 15 secondsmay cause certain devices to not come online during IPL due to timeout errors.These devices may be able to be brought online with the VARY ON comm<strong>and</strong>after the IPL has completed.2. When using the INIT_MITIME statement to raise the MITIME value, take intoconsideration the fact that this could result in a slower IPL due to <strong>CP</strong> waitinglonger for I/O interrupts to come in from devices.Examples1. To set the initialization MITIME to 45 seconds, use the following INIT_MITIMEstatement:Init_Mitime 45Chapter 6. The System Configuration File 157


IODFIODF Statement►► IODF IODF nn* osconfig SYSTEM_CONSole►◄PurposeUse the IODF statement to indicate that HCD will be used to control the I/Ohardware <strong>and</strong>/or software configuration.How to SpecifyThe IODF statement is optional. If specified, it must contain at least the IODFnnoper<strong>and</strong> to indicate the filename of the production IODF from which configurationinformation will be read.Oper<strong>and</strong>sYou can place the IODF statement anywhere in the system configuration file. Onlythe first IODF statement that is found in the system configuration file is honored. Ifadditional IODF statements are specified, they are ignored.IODFnnspecifies the filename of the production IODF to be used. The filename must bespecified in the form IODFnn <strong>and</strong> the filetype that will be used with thatfilename is PRODIODF. This file must be located on the system parameter disk(SYSPARM) at system IPL time.* specifies that the filename of the production IODF to be used is the onecurrently stored in the hardware configuration token in the HSA. The filenamemust be in the form of IODFnn <strong>and</strong> the filetype that will be used with thatfilename is PRODIODF. This file must be located on the system parameter disk(SYSPARM) at system IPL time.osconfigspecifies the OS configuration ID of the <strong>VM</strong> I/O configuration that is defined inthe IODF. If specified, this configuration is used to build the software view of theI/O configuration, <strong>and</strong> the statements that are normally used in the systemconfiguration file to build this view are ignored.SYSTEM_CONSolespecifies that the system console can serve as the operator console. This canonly be specified when an OS configuration ID is specified.UsageNotes1. If an error occurs during the processing of an IODF statement which wouldresult in the system coming up without the I/O configuration being defined asexpected, then <strong>CP</strong> will enter a disabled wait state. This wait state could occurfor any of the following reasons:the specified IODF name is not validthe IODF could not be openedthe IODF could not be readthe data in the IODF was not valid158 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


IODFan osconfig name was specified, but no matching OSR record was found inthe IODF2. Once an IODF statement has been processed in the system configuration file,HCD is in control of the hardware <strong>and</strong>/or software I/O configuration. Because ofthis, any system configuration file statements that affect the I/O configurationare nullified. Any of these statements occurring prior to the IODF statement(meaning they have already been processed) are undone, <strong>and</strong> any of thesestatements which occur after the IODF statement are ignored. The following listshows the I/O configuration statements that are always undone or ignored, aswell as which I/O configuration statements are only undone or ignored whenHCD is controlling the software configuration (i.e. when an osconfig name hasbeen specified):vIODFv FEATURES DISABLE/ENABLE DYNAMIC_IOv FEATURES DISABLE/ENABLE SET_DYNAMIC_IOv RDEVICE (if osconfig name specified)v DEVICES ACCEPTED/NOTACCEPTED (if osconfig name specified)v DEVICES DYNAMIC_I/O/NOTDYNAMICI/O (if osconfig name specified)v DEVICES OFFLINE_AT_IPL/ONLINE_AT_IPL (if osconfig name specified)v DEVICES SENSED/NOTSENSED (if osconfig name specified)v DEVICES SHARED/NOTSHARED (if osconfig name specified)v HOT_IO_RATE (if osconfig name specified)v OPERATOR_CONSOLES (if osconfig name specified)v EMERGENCY_MESSAGE_CONSOLES (if osconfig name specified)v FEATURES DISABLE/ENABLE SET_DEVICES (if osconfig name specified)3. Once a system is IPLed with HCD in control of the I/O configuration, there is aone-way mechanism to take that control away from HCD <strong>and</strong> give it back to<strong>VM</strong>. The DISABLE HCD comm<strong>and</strong> provides this one-way escape from havingHCD control the I/O configuration. It will shut down HCD’s capabilities for therest of the current IPL, <strong>and</strong> will attempt to give <strong>VM</strong> the capability to dynamicallychange the I/O configuration through its dynamic I/O comm<strong>and</strong> interface.Examples1. To have HCD control only the hardware I/O configuration, as specified in theIODF01 PRODIODF production IODF file, use the following IODF statement inthe system configuration file:IODF IODF012. To have HCD control both the hardware <strong>and</strong> software I/O configuration, asspecified in the IODF02 PRODIODF file (which contains the CONFIG04operating system configuration), use the following IODF statement in the systemconfiguration file:IODF IODF02 CONFIG043. To have HCD control both the hardware <strong>and</strong> software I/O configuration, asspecified in the IODF02 PRODIODF file (which contains the CONFIG04operating system configuration), <strong>and</strong> to have the system console as a possibleoperator console, use the following IODF statement in the system configurationfile:IODF IODF02 CONFIG04 SYSTEM_CONSOLEChapter 6. The System Configuration File 159


JOURNALINGJOURNALING Statement►►(1)JOURNALing Oper<strong>and</strong>s ►◄Oper<strong>and</strong>s:▼FACility OFF SET_AND_Query OFFSET_AND_Query OFFFACility ONSET_AND_Query ON(1)LINK LINK Oper<strong>and</strong>s(1)LOGON LOGON Oper<strong>and</strong>sLINK Oper<strong>and</strong>s:▼ACCount After 2 AttemptsAttemptsACCount After nnnDISable After 10 AttemptsAttemptsDISable After nnnMESSage After 5 Attempts To OPERATORAttemptsMESSage After nnn To useridMSGNotes:1 You must specify at least one of the following oper<strong>and</strong>s.160 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


JOURNALINGLOGON Oper<strong>and</strong>s:▼ACCount After 2 AttemptsAttemptsACCount After nnnLOCKout After 10 Attempts For 60 MinutesAttemptsLOCKout After nnn For mmmMESSage After 3 Attempts To OPERATORMinutesAttemptsMESSage After nnn To useridMSG<strong>VM</strong>_LOGO After 4 Attempts<strong>VM</strong>_LOGO After nnnAttemptsPurposeUse the JOURNALING statement to tell <strong>CP</strong> whether to include the journaling facility,whether to enable the system being initialized to set <strong>and</strong> query the journalingfacility, <strong>and</strong> what to do if someone tries to log on to the system or link to a diskwithout a valid password.How to SpecifyInclude as many statements as needed; they are optional. You can placeJOURNALING statements anywhere in the system configuration file. If you specifymore than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definitionoverrides any previous specifications.Oper<strong>and</strong>sFACility OFFtells <strong>CP</strong> to disable the journaling facility for this system. This is the initial setting.FACility ONtells <strong>CP</strong> to enable the journaling facility for this system.SET_AND_Query OFFtells <strong>CP</strong> to prevent people from using the <strong>CP</strong> SET <strong>and</strong> QUERY comm<strong>and</strong>sto set <strong>and</strong> query the journaling function for this system.SET_AND_Query ONtells <strong>CP</strong> to allow people to use the <strong>CP</strong> SET <strong>and</strong> QUERY comm<strong>and</strong>s to set<strong>and</strong> query the journaling function for this system.LINKtells <strong>CP</strong> that you want to define what should happen when users try to link to aminidisk with the wrong password. These settings only apply to a single user IDfor a single logon session.Chapter 6. The System Configuration File 161


JOURNALINGACCount After nnn Attemptstells <strong>CP</strong> to generate a type 06 accounting record after someone tries nnntimes to use a <strong>CP</strong> LINK comm<strong>and</strong> with an invalid password <strong>and</strong> to generatea type 06 accounting record each time that person issues a subsequent <strong>CP</strong>LINK comm<strong>and</strong> with an invalid password. The variable nnn is a decimalnumber from 0 to 255. If omitted, the default is ACCOUNT AFTER 2ATTEMPTS.DISable After nnn Attemptstells <strong>CP</strong> to disable the <strong>CP</strong> LINK comm<strong>and</strong> for a user that tries nnn times touse the <strong>CP</strong> LINK comm<strong>and</strong> with an invalid password. The variable nnn is adecimal number from 1 to 255. If omitted, the default is DISABLE AFTER10 ATTEMPTS.MESSage After nnn Attempts To useridMSG After nnn Attempts To useridtells <strong>CP</strong> to send a message to a specific user ID when a user tries nnntimes to use the <strong>CP</strong> LINK comm<strong>and</strong> with an invalid password. If thespecified userid is disconnected or logged off, <strong>CP</strong> sends the message tothe system operator. The variable nnn is a decimal number from 0 to 255. Ifomitted, the default is MESSAGE AFTER 5 TO OPERATOR.LOGONtells <strong>CP</strong> that you want to define what should happen when users try to log onwith the wrong password.ACCount After nnn Attemptstells <strong>CP</strong> to generate a type 04 accounting record after someone tries nnntimes to log on with an invalid password <strong>and</strong> to generate a type 04accounting record each time that person issues a subsequent <strong>CP</strong>AUTOLOG, LOGON, or XAUTOLOG comm<strong>and</strong> with an invalid password.The variable nnn is a decimal number from 0 to 255. If omitted, the defaultis ACCOUNT AFTER 2 ATTEMPTS.LOCKout After nnn Attempts For mmm Minutestells <strong>CP</strong> to issue an error message to the terminal, lock the terminal, <strong>and</strong>lock the user ID after someone tries (unsuccessfully) more than nnn timesto log on to a specific user ID or terminal. No one can log on to that user IDor use that terminal for mmm minutes; anyone who tries receives anothererror message. The variable nnn is a decimal number from 1 to 255 <strong>and</strong> thevariable mmm is a decimal number from 0 to 255. If omitted, the default isLOCKOUT AFTER 10 ATTEMPTS FOR 60 MINUTES.MESSage After nnn Attempts To useridMSG After nnn Attempts To useridtells <strong>CP</strong> to send a message to a specific user ID when a user tries morethan nnn times to log on to a user ID with an invalid password. If thespecified userid is disconnected or logged off, <strong>CP</strong> sends the message tothe system operator. The variable nnn is a decimal number from 0 to 255. Ifomitted, the default is MESSAGE AFTER 3 ATTEMPTS TO OPERATOR.<strong>VM</strong>_LOGO After nnn Attemptstells <strong>CP</strong> to display a new <strong>VM</strong> logon screen <strong>and</strong> allow a new logon sequenceto be started after someone tries more than nnn times to log on with aninvalid password from a single terminal. The variable nnn is a decimalnumber from 1 to 255. If omitted, the default is <strong>VM</strong>_LOGO AFTER 4ATTEMPTS.162 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


JOURNALINGExamples1. To have <strong>CP</strong>:v Enable the journaling facilityv Allow the QUERY <strong>and</strong> SET journaling comm<strong>and</strong>s to be issuedv Send a message to the operator after someone tries 3 times to log on withthe wrong password <strong>and</strong> after someone tries 5 times to link to a minidisk withthe wrong passwordv Generate a type 04 accounting record after someone tries 5 times to log onwith the wrong password (<strong>and</strong> to generate a type 04 accounting record foreach subsequent attempt)v Generate a type 06 accounting record after someone tries 6 times to link to aminidisk with the wrong passwordv Display a new logo screen on a terminal after someone tries 7 times to logonwith the wrong passwordv Lock a terminal <strong>and</strong> user ID for 10 minutes after someone tries 9 times to logon with the wrong passwordv Disable the LINK comm<strong>and</strong> for a specific user ID for the rest of their logonsession when they try to link to a minidisk 8 times with the wrong passworduse the following JOURNALING statement:Journaling, /* Set Up Journaling Facility */Facility on, /* Turn On Journaling */Set_<strong>and</strong>_Query on, /* Allow Set & Query Journaling Comm<strong>and</strong>s */Logon, /* Set Up Logon Journaling Values */Message after 3 attempts to operator,Account after 5 attempts,<strong>VM</strong>_Logo after 7 attempts,Lockout after 9 attempts for 10,Link, /* Set Up Link Journaling Values */Message after 5 attempts to operator,Account after 6 attempts,Disable after 8 attemptsChapter 6. The System Configuration File 163


LOGO_CONFIGLOGO_CONFIG Statement►► LOGO_CONfig fn ft ►◄PurposeUse the LOGO_CONFIG statement to specify the file name <strong>and</strong> file type of a logoconfiguration file.How to SpecifyThe LOGO_CONFIG statement is optional. Because there is only one logoconfiguration file, you need only one LOGO_CONFIG statement. If you specifymore than one LOGO_CONFIG statement, <strong>CP</strong> uses the last one specified. You canplace LOGO_CONFIG statements anywhere in the system configuration file.Oper<strong>and</strong>sIf you do not specify a LOGO_CONFIG statement, <strong>CP</strong> looks for a file named LOGOCONFIG on the parm disk. If this file does not exist on the parm disk, <strong>CP</strong> uses theinformation in H<strong>CP</strong>BOX ASSEMBLE to build the logos.fn is the file name of the logo configuration file.ft is the file type of the logo configuration file. This file must be on the same diskas the system configuration file.UsageNotes1. If you specify a file name or file type of -SYSTEM-, <strong>CP</strong> uses the name of thesystem being IPLed as that file name or file type. For example, if your systemname is <strong>VM</strong>SYS3 <strong>and</strong> you have the following LOGO_CONFIG statement in yoursystem configuration file:Logo_Config -system- config<strong>CP</strong> looks for a file named <strong>VM</strong>SYS3 CONFIG on the parm disk.2. <strong>CP</strong> will not read a logo configuration file if the -SYSTEM- variable is included<strong>and</strong> no system identifier exists to replace it. This situation arises when you donot specify a SYSID macroinstruction in H<strong>CP</strong>SYS <strong>and</strong> you do not specifySYSTEM_IDENTIFIER <strong>and</strong> SYSTEM_IDENTIFIER_DEFAULT statements in thesystem configuration file before the LOGO_CONFIG statement.Examples1. To have <strong>CP</strong> read a logo configuration file called LOGO CONFIG during IPL, usethe following LOGO_CONFIG statement:Logo_Config logo config164 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


MODIFY COMMAND / CMDMODIFY COMMAND / CMD Statement►► MODify COMm<strong>and</strong>CMDcomm<strong>and</strong>QuerySetSUBCmdVirtualSUBCmdsubcomm<strong>and</strong>subcomm<strong>and</strong><strong>IBM</strong>class *<strong>IBM</strong>classc►►RESETEPName name SILENTPRIVCLASSANYNOTSILENTPRIVclasses classesSILENTNOTSILENT►◄PurposeUse the MODIFY COMMAND or CMD statement to redefine an existing <strong>CP</strong>comm<strong>and</strong> on the system during initialization.Note: The OVERRIDE utility can provide some of the same functions. However,you should use either the OVERRIDE method or the MODIFY statements. Ifany MODIFY statement is detected at IPL time, the UCR (User ClassRestructure) OVERRIDE changes will be bypassed. <strong>IBM</strong> recommends usingthe new MODIFY statements.You can also redefine an existing <strong>CP</strong> comm<strong>and</strong> after initialization using theMODIFY COMMAND or MODIFY CMD comm<strong>and</strong>s. For more information, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.How to SpecifyInclude as many statements as needed; they are optional. You can place MODIFYCOMMAND or CMD statements anywhere in the system configuration file. If youspecify more than 1 statement with the same comm<strong>and</strong> or subcomm<strong>and</strong> name, <strong>CP</strong>uses only the first statement. Subsequent MODIFY COMMAND or CMD statementsdo not redefine the comm<strong>and</strong>.Oper<strong>and</strong>scomm<strong>and</strong>is the name of the existing <strong>CP</strong> comm<strong>and</strong> that you are overriding. The variablecomm<strong>and</strong> is a 1-character to 12-character alphanumeric string.Querytells <strong>CP</strong> that you are overriding a <strong>CP</strong> QUERY comm<strong>and</strong>.Virtualtells <strong>CP</strong> that you are overriding a <strong>CP</strong> QUERY VIRTUAL subcomm<strong>and</strong>.SUBCmd subcomm<strong>and</strong>is the name of the <strong>CP</strong> QUERY subcomm<strong>and</strong> that you are overriding. TheChapter 6. The System Configuration File 165


MODIFY COMMAND / CMDvariable subcomm<strong>and</strong> is a 1-character to 12-character alphanumeric string.For more information about specifying generic subcomm<strong>and</strong> names, seeUsage Note 1.Settells <strong>CP</strong> that you are overriding a <strong>CP</strong> SET comm<strong>and</strong>.SUBCmd subcomm<strong>and</strong>is the name of the <strong>CP</strong> SET subcomm<strong>and</strong> that you are overriding. Thevariable subcomm<strong>and</strong> is a 1-character to 12-character alphanumeric string.For more information about specifying generic subcomm<strong>and</strong> names, seeUsage Note 1.<strong>IBM</strong>class *tells <strong>CP</strong> to redefine all versions of the specified comm<strong>and</strong> or subcomm<strong>and</strong>. Ifomitted, <strong>IBM</strong>CLASS * is the default.<strong>IBM</strong>class ctells <strong>CP</strong> to redefine a specific version of the specified comm<strong>and</strong> orsubcomm<strong>and</strong>. The variable c can be any 1 of the following:A this is a system-control comm<strong>and</strong> to be used by the primary systemoperator.B this is a comm<strong>and</strong> for operational control of real devices.C this is a comm<strong>and</strong> to alter system storage.D this is a comm<strong>and</strong> for system-wide control of spool files.E this is a comm<strong>and</strong> to examine system storage.F this is a comm<strong>and</strong> for service control of real devices.G this is a general-use comm<strong>and</strong> used to control the functions of a virtualmachine.0 (zero) this comm<strong>and</strong> has no specific <strong>IBM</strong> class assigned.RESETtells <strong>CP</strong> to stop using the customer-written <strong>CP</strong> comm<strong>and</strong> <strong>and</strong> return to usingthe existing <strong>CP</strong> comm<strong>and</strong> that was shipped with the z/<strong>VM</strong> product.EPName nametells <strong>CP</strong> the name of the entry point that contains the code to process thecomm<strong>and</strong>. The variable name must be a 1-character to 8-character string. Thefirst character must be alphabetic or one of the following special characters:dollar sign ($), number sign (#), underscore (_), or at sign (@). The rest of thestring can be alphanumeric characters, the four special characters ($, #, _, <strong>and</strong>@), or any combination thereof.PRIVCLASSANYtells <strong>CP</strong> that users with any privilege class can issue the comm<strong>and</strong> that you areredefining.PRIVclasses classestells <strong>CP</strong> that only users with 1 or more of the specified privilege classes canissue the comm<strong>and</strong> that you are redefining. Whatever you specify on thisoper<strong>and</strong> will replace the current privilege classes. The variable classes is 1 ormore privilege classes in the range A through Z, 1 through 6, or an asterisk (*).Privilege class * indicates all privilege classes (A-Z <strong>and</strong> 1-6).Note: If you want more than one privilege class, specify your classes in onestring of characters. Do not separate the classes with blank spaces. Forexample, specify “privclasses abc123”, not “privclasses a b c 1 2 3”.SILENTtells <strong>CP</strong> that the responses from the comm<strong>and</strong> you are redefining can be166 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


MODIFY COMMAND / CMDUsageNotessuppressed by invoking it using the SILENTLY comm<strong>and</strong>. For more information,see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.Note: Response suppression is supported only for the ATTACH, DETACH, <strong>and</strong>GIVE comm<strong>and</strong>s.NOTSILENTtells <strong>CP</strong> that the responses from the comm<strong>and</strong> you are redefining cannot besuppressed.1. If you are making similar changes to several QUERY (or SET) subcomm<strong>and</strong>s<strong>and</strong> those subcomm<strong>and</strong>s share common characters, you can use a genericsubcomm<strong>and</strong> name rather than specifying multiple MODIFY COMMAND orCMD statements (or comm<strong>and</strong>s). A generic subcomm<strong>and</strong> name is a1-character to 12-character alphanumeric string with asterisks (*) in place ofone or more characters <strong>and</strong> percent signs (%) in place of exactly onecharacter. For example:modify comm<strong>and</strong> query tr*c% ...redefines all QUERY comm<strong>and</strong>s that start with TR <strong>and</strong> have C as theirnext-to-last character.2. To define a new <strong>CP</strong> comm<strong>and</strong> or a new version (by <strong>IBM</strong> class) of an existing<strong>CP</strong> comm<strong>and</strong>, use the DEFINE COMMAND or CMD statement (page 84) orcomm<strong>and</strong>. For more information about the DEFINE COMMAND or CMDcomm<strong>and</strong>s, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.3. To define a new alias for an existing <strong>CP</strong> comm<strong>and</strong>, use the DEFINE ALIASstatement (page 81) or comm<strong>and</strong>. For more information about the DEFINEALIAS comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.4. Once defined, COMMANDS, SUBCOMMANDS, ALIASES, <strong>and</strong> DIAGNOSEcodes cannot be deleted. They can be altered in various appropriate ways butthey remain in existence until a SHUTDOWN or RESTART IPL is done.5. To load the comm<strong>and</strong> processing code into <strong>CP</strong>’s system execution space, usethe <strong>CP</strong>XLOAD statement (page 76) or comm<strong>and</strong>. For more information aboutthe <strong>CP</strong>XLOAD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.6. To activate a <strong>CP</strong> comm<strong>and</strong>:v While defining it, use the ENABLE oper<strong>and</strong> of the DEFINE COMMAND orCMD statement (page 84) or comm<strong>and</strong>.v After defining it, use the ENABLE COMMAND or CMD statement (page 126)or comm<strong>and</strong>.For more information about the DEFINE or ENABLE COMMAND or CMDcomm<strong>and</strong>s, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.7. To display the real address of the <strong>CP</strong> comm<strong>and</strong> table entry block, the current<strong>IBM</strong> class, <strong>and</strong> the current privilege class for a specified <strong>CP</strong> comm<strong>and</strong>, use theLOCATE CMDBK comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.8. To deactivate a <strong>CP</strong> comm<strong>and</strong>:v While defining it, use the DISABLE oper<strong>and</strong> of the DEFINE COMMAND orCMD statement (page 84) or comm<strong>and</strong>.v After defining it, use the DISABLE COMMAND or CMD statement (page110) or comm<strong>and</strong>.Chapter 6. The System Configuration File 167


MODIFY COMMAND / CMDFor more information about the DEFINE or DISABLE COMMAND or CMDcomm<strong>and</strong>s, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.9. To remove the comm<strong>and</strong> processing code from <strong>CP</strong>’s system execution space,use the <strong>CP</strong>XUNLOAD comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.10. For more information about user-defined comm<strong>and</strong>s, see the z/<strong>VM</strong>: <strong>CP</strong> ExitCustomization book.Examples1. To have <strong>CP</strong> change the <strong>CP</strong> SHUTDOWN comm<strong>and</strong> from privilege class A toprivilege class S, use the following:Modify Comm<strong>and</strong> shutdown, /* Put tighter controls on who can */privclasses s /* shut down the system. */2. To have <strong>CP</strong> change the version of the <strong>CP</strong> SET PRIVCLASS comm<strong>and</strong> thatallows users with any privilege class to issue the comm<strong>and</strong> to a version thatallows only users with privilege class G <strong>and</strong> Z to issue the comm<strong>and</strong>, use thefollowing:Modify Comm<strong>and</strong> Set SubCmd privclass, /* Make sure only a few can */<strong>IBM</strong>class 0, /* issue SET PRIVCLASS */PrivClasses gz3. To have <strong>CP</strong> change all <strong>IBM</strong> class E QUERY subcomm<strong>and</strong>s to privilege class G,use the following:Modify Comm<strong>and</strong> Query SubCmd *, /* Make sure anyone can use */<strong>IBM</strong>class e, /* the Queries to check */PrivClasses g /* system storage */168 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


MODIFY DIAGNOSEMODIFY DIAGNOSE Statement►► MODify DIAGnosediag(1)RESETOper<strong>and</strong>s(2)►◄Oper<strong>and</strong>s:EPName epname PRIVCLASSANYPRIVclassesclassesCHECKR15YESNONotes:1 You must specify one of the following oper<strong>and</strong>s.2 If you specify more than one oper<strong>and</strong>, you can specify them in any order.PurposeUse the MODIFY DIAGNOSE statement to redefine an existing DIAGNOSE codeon the system during initialization.Note: The OVERRIDE utility can provide some of the same functions. However,you should use either the OVERRIDE method or the MODIFY statements. Ifany MODIFY statement is detected at IPL time, the UCR (User ClassRestructure) OVERRIDE changes will be bypassed. <strong>IBM</strong> recommends usingthe new MODIFY statements.You can also redefine an existing DIAGNOSE code after initialization using theMODIFY DIAGNOSE comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.How to SpecifyInclude as many statements as needed; they are optional. You can place MODIFYDIAGNOSE statements anywhere in the system configuration file. If you specifymore than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definitionoverrides any previous specifications.Oper<strong>and</strong>sdiagis the number of the DIAGNOSE code that you are redefining. The variable diagmust be a hexadecimal number between X'0100' <strong>and</strong> X'01FC' <strong>and</strong> must be amultiple of 4. All other DIAGNOSE code numbers are reserved for <strong>IBM</strong> useonly.RESETtells <strong>CP</strong> to stop using the customer-written DIAGNOSE code <strong>and</strong> return to usingthe existing DIAGNOSE code that was shipped with the z/<strong>VM</strong> product.Chapter 6. The System Configuration File 169


MODIFY DIAGNOSEEPName nametells <strong>CP</strong> the name of the entry point that contains the code to process theDIAGNOSE code. The variable name must be a 1- to 8-character string. Thefirst character must be alphabetic or one of the following special characters:dollar sign ($), number sign (#), underscore (_), or at sign (@). The rest of thestring can be alphanumeric characters, the 4 special characters ($, #, _, <strong>and</strong>@), or any combination thereof.PRIVCLASSANYtells <strong>CP</strong> that users with any privilege class can issue the DIAGNOSE code thatyou are redefining.PRIVclasses classestells <strong>CP</strong> that only users with 1 or more of the specified privilege classes canissue the DIAGNOSE code that you are redefining. Whatever you specify onthis oper<strong>and</strong> will replace the current privilege classes. The variable classes is 1or more privilege classes in the range A through Z, 1 through 6, or an asterisk(*). Privilege class * indicates all privilege classes (A-Z <strong>and</strong> 1-6).Note: If you want more than one privilege class, specify your classes in onestring of characters. Do not separate the classes with blank spaces. Forexample, specify “privclasses abc123”, not “privclasses a b c 1 2 3”.CHECKR15 YESCHECKR15 NOindicates whether the diagnose router should check register 15 upon returnfrom the diagnose h<strong>and</strong>ler.UsageNotes1. To define a new DIAGNOSE code, use the DEFINE DIAGNOSE statement(page 90) or comm<strong>and</strong>. For more information about the DEFINE DIAGNOSEcomm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.2. To load the DIAGNOSE processing code into <strong>CP</strong>’s system execution space,use the <strong>CP</strong>XLOAD statement (page 76) or comm<strong>and</strong>. For more informationabout the <strong>CP</strong>XLOAD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.3. If you do not specify the ENABLE oper<strong>and</strong>, a new DIAGNOSE code is initiallyin a disabled state after being defined. <strong>CP</strong> treats disabled DIAGNOSE codesas if they were never defined. If you try to use a disabled DIAGNOSE code ina program, <strong>CP</strong> will give you a program check specification exception.4. To activate a new DIAGNOSE code:v While defining it, use the ENABLE oper<strong>and</strong> of the DEFINE DIAGNOSEstatement (page 90) or comm<strong>and</strong>.v After defining it, use the ENABLE DIAGNOSE statement (page 128) orcomm<strong>and</strong>.For more information about the DEFINE or ENABLE DIAGNOSE comm<strong>and</strong>s,see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.5. To display information about a DIAGNOSE code (status, entry point name, <strong>and</strong>privilege class) after initialization, use the QUERY DIAGNOSE comm<strong>and</strong>. Formore information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.6. To display the real address of the <strong>CP</strong> DIAGNOSE code table block for aDIAGNOSE code, use the LOCATE DGNBK comm<strong>and</strong>. For more information,see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.7. To deactivate a DIAGNOSE code:170 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


MODIFY DIAGNOSEv While defining it, use the DISABLE oper<strong>and</strong> of the DEFINE DIAGNOSEstatement (page 90) or comm<strong>and</strong>.v After defining it, use the DISABLE DIAGNOSE statement (page 112) orcomm<strong>and</strong>.For more information about the DEFINE or DISABLE DIAGNOSE comm<strong>and</strong>s,see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.8. To remove the DIAGNOSE processing code from <strong>CP</strong>’s system executionspace, use the <strong>CP</strong>XUNLOAD comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>:<strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.9. Many external security managers (ESMs) do not support DIAGNOSE codesabove X'03FC'. For this reason, <strong>CP</strong> does not support DIAGNOSE codes aboveX'03FC'. The DIAGNOSE codes between X'0000' <strong>and</strong> X'03FC' are divided asfollows:X'0000' to X'00FC'Reserved for <strong>IBM</strong> useX'0100' to X'01FC'Reserved for customer useX'0200' to X'03FC'Reserved for <strong>IBM</strong> use.10. When CHECKR15 YES is specified, the diagnose router will check register 15on return from the diagnose h<strong>and</strong>ler. If register 15 contains:RC = 0Processing was successful. Complete the guest instruction.RC = 4Processing failed due to a condition which would cause a guestprogram check. Simulate guest program interruption passed in R0.RC = 8Nullify the instruction.RC = 12Present the machine check then nullify the instruction. R2 will containthe address of the MCRBK which will contain the machine checkinformation.RC = 16Generate machine check for processing damage, then go toH<strong>CP</strong>ENDOP to terminate the instruction.RC = 20Present the machine check, then go to H<strong>CP</strong>ENDOP to terminate theinstruction. R2 will contain the address of the MCRBK, which containsmachine check information.RC = 24Issue error message or soft abend for paging I/O error, then nullify theinstruction. R1 has the message or abend number.If a return code is invalid (negative, not a multiple of 4 or too big ( RC > 24 )),then a soft abend will occur.11. For more information about user-defined DIAGNOSE codes, see the z/<strong>VM</strong>: <strong>CP</strong>Exit Customization book.Examples1. To have <strong>CP</strong> change the privilege class for DIAGNOSE code X'7C' from “any” toR, use the following:Modify Diagnose 7c PrivClasses rChapter 6. The System Configuration File 171


MODIFY EXITMODIFY EXIT Statement►► MODify EXit exit CLEAROper<strong>and</strong>s(1)►◄Oper<strong>and</strong>s:AT entry + offset instruction NORESolveRESolvePARM▼parameterNotes:1 You must specify at least one of the listed oper<strong>and</strong>s. If you specify more than one, you canspecify them in any order.PurposeUse MODIFY EXIT to redefine or remove an existing dynamic exit point duringinitialization.You can also redefine or remove an existing dynamic exit point after initializationusing the MODIFY EXIT comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book.How to SpecifyInclude as many statements as needed; they are optional. You can place MODIFYEXIT statements anywhere in the system configuration file. If you specify more thanone statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definition overrides anyprevious specifications.Oper<strong>and</strong>sexitis the number of the exit point you are redefining or removing. This value mustbe a hexadecimal number between X'0' <strong>and</strong> X'FFFF'. The recommended valueis between X'F000' <strong>and</strong> X'FFFF', because that range is reserved for customeruse. All other exit numbers are reserved for <strong>IBM</strong>, vendor, or general use.CLEARtells <strong>CP</strong> to remove the exit.AT entry + offset instructionidentifies the new location for the exit point you are redefining <strong>and</strong> theinstruction that is located at the exit point. The variable entry must be a1-to-8-character string. The first character must be alphabetic or one of thefollowing special characters: $ (dollar sign), # (number sign), _ (underscore), or@ (at sign). The rest of the string can be alphabetic or numeric characters, thefour special characters ($, #, _, or @), or any combination. The variable offsetmust be a 1-to-4-character even hexadecimal number between X'0' <strong>and</strong>X'FFFE'. The variable instruction must be a 2-, 4-, or 6-character hexadecimalnumber.172 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


MODIFY EXITUsageNotesNORESolvetells <strong>CP</strong> to resolve the entry points associated with this exit number the firsttime they are called.RESolvetells <strong>CP</strong> to resolve the entry points associated with this exit number when theassociation is first established. Any existing associated entry points are resolvedimmediately.PARM parameteris a list of one or more parameters to be supplied to the exit. Five kinds oftokens can be used to define a parameter:1. Addresses: strings up to eight characters long, consisting of thehexadecimal digits 0 through 9 <strong>and</strong> A through F.2. General Registers: strings beginning with G or R, followed by a decimalnumber between 0 <strong>and</strong> 15 or a hexadecimal digit, designating the contentsof a general register.3. Indirection: a percent sign (%), which causes the contents of an address orthe contents of an address in a register to be used instead of the address orregister contents itself.4. Arithmetic: a plus sign (+) or minus sign (−).5. Displacement: strings of up to four hexadecimal digits.Each parameter string specifies how to combine these tokens to generate aparameter value to be passed to an exit routine. The following is a Backus-Naurdefinition of the syntax of a parameter: ::= | ::= | 0...FFFFFFFF | % ::= | % | ::= + | − | + | − ::= G | R ::= 0...15 | 0...9, A...F ::= 0...7FFF1. To define a new dynamic exit point, use the DEFINE EXIT statement (page 94)or comm<strong>and</strong>. For information about the DEFINE EXIT comm<strong>and</strong>, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.2. To load the exit processing code into <strong>CP</strong>’s system execution space, use the<strong>CP</strong>XLOAD statement (page 76) or comm<strong>and</strong>. For information about the<strong>CP</strong>XLOAD comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.3. To activate a new exit point, use the ENABLE EXITS statement (page 130) orcomm<strong>and</strong>. For information about the ENABLE EXITS comm<strong>and</strong>, see the z/<strong>VM</strong>:<strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.4. To display information about an exit point (status, entry point name, <strong>and</strong>parameters), use the QUERY EXITS comm<strong>and</strong>. For more information, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.5. To deactivate an exit point, use the DISABLE EXITS statement (page 114) orcomm<strong>and</strong>. For information about the DISABLE EXITS comm<strong>and</strong>, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.6. To remove the exit processing code from <strong>CP</strong>’s system execution space, usethe <strong>CP</strong>XUNLOAD comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.7. Exit numbers are allocated as follows:v X'0000' to X'7FFF' are reserved for <strong>IBM</strong> use.Chapter 6. The System Configuration File 173


MODIFY EXITv X'8000' to X'EFFF' are reserved for vendor <strong>and</strong> general use.v X'F000' to X'FFFF' are reserved for private customer use.8. The RESOLVE option ensures that the entry names associated with an exitpoint are defined.9. Each exit is passed a parameter list that begins with three st<strong>and</strong>ardparameters, as described in the z/<strong>VM</strong>: <strong>CP</strong> Exit Customization book. Additionalparameters, specified by the PARM oper<strong>and</strong>, are optional <strong>and</strong> follow the firstthree in the order in which they are specified.10. Errors (for example, addressing exceptions) during evaluation of user-definedparameters when an exit is being invoked cause <strong>CP</strong> to abend.11. For more information about user-defined exits, see the z/<strong>VM</strong>: <strong>CP</strong> ExitCustomization book.Examples1. To change the location of exit point X'F422' to H<strong>CP</strong>XGMSM + 4, enter thefollowing:Modify Exit f422 At hcpxmgsm + 4 41700001174 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


MODIFY LANMODIFY LAN Statement►► MODify LAN lannameOWNERidOWNERidSYSTEMowneridGRANT userid ►◄PurposeOper<strong>and</strong>sUse the MODIFY LAN statement to modify the attributes of an existing <strong>VM</strong> GuestLAN segment during initialization.lannameis the name of the <strong>VM</strong> LAN segment to be modified. The lanname is a singletoken (1–8 alphanumeric characters). The combination of ownerid <strong>and</strong> lannamewill identify the LAN. This LAN must be created by a DEFINE LAN statement inthe System Configuration file.OWNERid owneridOWNERid SYSTEMspecifies the owner of the LAN.GRANT useridspecifies userid is added to the access list for this LAN. This allows user useridto connect an adapter to LAN lanname if it is a RESTRICTED LAN. If anExternal Security Manager (ESM) is in control of the LAN, it may override the<strong>CP</strong> access list.UsageNotes1. If the <strong>VM</strong> LAN is defined with the UNRESTRICTED attribute, any user canconnect a virtual adapter to that LAN. The <strong>CP</strong> access list has no meaning for anUNRESTRICTED LAN. This will be overridden if an External Security Manager(ESM) is in control of the Virtual Switch.2. When a RESTRICTED LAN is defined, the owner is automatically added to theaccess list.Examples1. To modify a SYSTEM LAN named TECHINFO by adding user REYNOLDS tothe access list, specify the following:modify lan techinfo grant reynoldsChapter 6. The System Configuration File 175


MODIFY PRIV_CLASSESMODIFY PRIV_CLASSES Statement►► MODify PRIV_CLASSes HW_ServiceIO<strong>CP</strong>_ReadIO<strong>CP</strong>_WriteOPERatorUSER_DEFaultclassesRESET►◄PurposeUse MODIFY PRIV_CLASSES to change the privilege classes authorizing thefollowing <strong>CP</strong> functions:v Logging on as the primary system operatorv Intensive error recordingv Using the read function of the <strong>CP</strong> IO<strong>CP</strong> utilityv Using the write function of the <strong>CP</strong> IO<strong>CP</strong> utilityv Specifying the default user class.Note: The OVERRIDE utility can provide some of the same functions. However,you should use either the OVERRIDE method or the MODIFY statements. Ifany MODIFY statement is detected at IPL time, the UCR (User ClassRestructure) OVERRIDE changes will be bypassed. <strong>IBM</strong> recommends usingthe new MODIFY statements.ParametersHW_Servicetells <strong>CP</strong> to change the privilege classes authorized to perform intensive errorrecording.IO<strong>CP</strong>_Readtells <strong>CP</strong> to change the privilege classes authorized to use the read function ofthe IO<strong>CP</strong> utility.IO<strong>CP</strong>_Writetells <strong>CP</strong> to change the privilege classes authorized to use the write function ofthe IO<strong>CP</strong> utility. (For more information about the IO<strong>CP</strong> utility, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.)OPERatortells <strong>CP</strong> to change the privilege classes which are for the primary systemoperator.USER_DEFaulttells <strong>CP</strong> to change the privilege classes that are defined for users who do nothave a class specified in their directory entries.RESETtells <strong>CP</strong> to reset the privilege classes to their original default settings.classestells <strong>CP</strong> which class or classes are to be set. The variable classes is a 1- to8-character alphanumeric string from A through Z <strong>and</strong> from 0 to 6.176 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


MODIFY PRIV_CLASSESUsage Notes1. It is suggested that you simply use the PRIV_CLASSES statement to establishinitial privilege class values.2. If you previously used the OVERRIDE utility to change the privilege classes,you can use the CVTOVRID utility to convert your override file into a set ofMODIFY statements. For more information about the CVTOVRID utility, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.Chapter 6. The System Configuration File 177


MODIFY VSWITCHMODIFY VSWITCH Statement►► MODIFY VSWITCH switchname GRAnt useridPORTTypePORTTypedefporttypeACCESSTRUNKVLANVLANdefvid▼ vlanid►◄PurposeOper<strong>and</strong>sUse the MODIFY VSWITCH statement to modify the attributes of an existing VirtualSwitch.switchnameis the name of the Virtual Switch to be modified. The switchname is a singletoken (1–8 alphanumeric characters) that identifies the Virtual Switch. ThisVirtual Switch was created by a DEFINE VSWITCH comm<strong>and</strong> or statement inthe System Configuration file.GRANT useridspecifies the userid to be added to the access list for this Virtual Switch. Thisallows userid to connect a QDIO adapter to switchname. If an External SecurityManager (ESM) is in control of the Virtual Switch, it may override the <strong>CP</strong>access list.PORTType ACCESSdefines the type of connections that are established by the userid to be anaccess port. The guest is unaware of VLAN IDs <strong>and</strong> sends <strong>and</strong> receives onlyuntagged traffic.PORTType TRUNKdefines the type of connections that are established by the userid to be a trunkport. The guest is VLAN aware <strong>and</strong> sends <strong>and</strong> receives only tagged traffic forthose VLANs to which the guest is authorized. If the guest is also authorized tothe defvid, untagged traffic sent or received by the guest is associated with thedefault VLAN ID of the virtual switch.VLAN vlanididentifies the VLAN ID to be used to restrict traffic across the adapter useridconnected to switchname. When VLAN is used with GRANT, userid isauthorized to connect to the Virtual Switch <strong>and</strong> vlanid is used as a filter.Specifying GRANT with one or more VLAN IDs adds to the set of VLAN IDsassociated with userid. A limit of four vlanids can be associated with userid inthe <strong>CP</strong> access list.vlanid is a number from 1 to 4094.If VLAN vlanid is not specified, the default VLAN for the userid is the defaultVLAN ID as specified on the DEFINE VSWITCH comm<strong>and</strong> or statement.If an External Security Manager (ESM) is in control of the Virtual Switch, it mayoverride the <strong>CP</strong> access list.178 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


MODIFY VSWITCHUsage NotesExamples1. VLAN configuration information can be found in <strong>Planning</strong> for Guest LANs <strong>and</strong>Virtual Switches in z/<strong>VM</strong>: Connectivity.2. If the Virtual Switch has been defined as VLAN UNAWARE, the PORTTYPEoption <strong>and</strong> the VLAN option on GRANT are not allowed.3. If the Virtual Switch has been defined as VLAN aware <strong>and</strong> no VLANmembership is given with the GRANT (or provided by an external securitymanger), the guest is a member of the Virtual Switch’s default VLAN ID (defvid).4. If the Virtual Switch has been defined as VLAN aware <strong>and</strong> no PORTTYPE isgiven with the GRANT, the guest is assigned the porttype of the Virtual Switch’sdefault porttype (defporttype).1. To allow user <strong>VM</strong>T<strong>CP</strong>IP to connect to Virtual Switch BIGANG <strong>and</strong> filter anyincoming traffic using VLAN 9, specify the following:modify vswitch bigang grant vmtcpip vlan 9Chapter 6. The System Configuration File 179


OPERATOR_CONSOLESOPERATOR_CONSOLES Statement(1)►► OPERATOR_CONSoles ▼ rdevSYSTEM_CONSoleSYSTEM_3270►◄Notes:1 The maximum number of device numbers that you can specify is 500.PurposeUse the OPERATOR_CONSOLES statement to define a list of device numbers fromwhich <strong>CP</strong> is to choose the system operator console. <strong>CP</strong> will log on the systemoperator virtual machine at the first available address or location specified with thecomm<strong>and</strong>.How to SpecifyInclude as many statements as needed; they are optional. You can placeOPERATOR_CONSOLES statements anywhere in the system configuration file. Ifyou specify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>srdevis the real hexadecimal device numbers of possible system operator consoles.These devices must be locally-attached 3270-type supported displays.The maximum number of device numbers that you can specify is 500. Whenyou initialize the system, <strong>CP</strong> goes sequentially through the list defined with theOPERATOR_CONSOLES statement <strong>and</strong> looks for the first operational console.When <strong>CP</strong> finds an operational console, it uses it as the system operator’sconsole. If <strong>CP</strong> cannot find an operational console, it enters a disabled wait statewith a wait state code of X'1010' in the PSW.SYSTEM_CONSolespecifies that the Operating System Messages panel on the HardwareManagement Console can serve as a system operator console.SYSTEM_3270specifies that the integrated 3270 console on the Hardware ManagmentConsole can serve as a system operator console.UsageNotes1. If an IODF statement is defined in the system configuration file with the osconfigparameter specified, then the software I/O configuration will be controlled byHCD. In this case, the OPERATOR_CONSoles statement is ignored if it isspecified. Refer to “IODF Statement” on page 158 for more information.2. Consoles that <strong>CP</strong> is to notify when there is a system emergency (for example,an impending abend, shutdown, or dump) should be listed on theEMERGENCY_MESSAGE_CONSOLES statement (page 124).180 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


OPERATOR_CONSOLES3. 2250 <strong>and</strong> 3250 displays are not valid operator consoles.4. During a software re-IPL caused by either a system incident or the <strong>CP</strong>SHUTDOWN REIPL comm<strong>and</strong>, <strong>CP</strong> determines whether the operator virtualmachine is connected to the primary system console. If the operator virtualmachine is disconnected, logged off, or logged on to a console other than theprimary console, <strong>CP</strong> disconnects the operator virtual machine when the systemis reinitialized, unless you specified the NODISCONNECT oper<strong>and</strong> on aSYSTEM_USERIDS statement or a SYSOPER macroinstruction. Thisdisconnection is a security measure to reduce the risk of <strong>CP</strong>’s logging theoperator virtual machine on to an unattended console.5. Specifying CONS=addr or CON=addr in the IPL parameters portion of theSt<strong>and</strong>-Alone Program Loader window overrides any consoles specified with theOPERATOR_CONSOLES statement. See Chapter 4, “Using the St<strong>and</strong>-AloneProgram Loader,” on page 37.Examples1. The following example shows three possible device addresses for the systemoperator console.Operator_Consoles 8e6 8e0 bc0 /* Operator Consoles in theMachine Room */Chapter 6. The System Configuration File 181


PRINTER_TITLEPRINTER_TITLE Statement►► PRINTER_TItle class stringBOTtomTOP►◄PurposeUse the PRINTER_TITLE statement to specify the printed output classes that are tocontain classification titles. <strong>CP</strong> prints classification titles on the output separatorpage <strong>and</strong>, optionally, at the top or bottom of each page of output. You can specify adifferent classification title for each class of output (A through Z <strong>and</strong> 0 through 9).How to SpecifyInclude as many statements as needed; they are optional. You can placePRINTER_TITLE statements anywhere in the system configuration file. If youspecify more than one statement with the same class, the last statement overridesany previous specifications.If you omit the PRINTER_TITLE statement, <strong>CP</strong> does not print any classificationtitles.Oper<strong>and</strong>sclassis a 1-character alphanumeric string specifying the spool file class.stringis a classification title for this class. It may be up to 46 characters long, <strong>and</strong>must be enclosed in single or double quotation marks unless it is a single wordentered with no imbedded blanks, in which case the entire word will becapitalized.If you need to include a single quotation mark in the title, enclose the wholestring with double quotation marks. If you need to include a double quotationmark in the title, enclose the whole string with single quotation marks. Also, youmay use two consecutive double quote marks ("") to represent a " characterwithin a string delimited by double quotation marks. Similarly, you may use twoconsecutive single quotation marks ('') to represent a ' character within a stringdelimited by single quotation marks.BOTtomtells <strong>CP</strong> that this title is to be printed both on the separator page <strong>and</strong> at thebottom of each page of output.TOPtells <strong>CP</strong> that this title is to be printed both on the separator page <strong>and</strong> at the topof each page of output.Note: If you do not specify the TOP or BOTTOM oper<strong>and</strong>s, <strong>CP</strong> only prints the titleon the separator pages.182 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


PRINTER_TITLEUsage NotesExamples1. <strong>CP</strong> inserts the title line at the top or bottom of each page. To do this, <strong>CP</strong> insertsa CCW to print one space, followed by the title line before or after each skip tochannel 1 CCW issued by the operating system running in the virtual machineprinting the file. Inserting the title lines this way means that:v <strong>CP</strong> inserts the titles as the file is created. Later, if you change the file to adifferent class, <strong>CP</strong> does not change the titles in the file. However, the title onthe separator page always reflects the true class of the file.v Inserting the title on the output page adds a line of output to the printed page.If the virtual machine application is counting lines, its count will be incorrect.Thus, the output listing may contain blank pages.v If the operating system running in the virtual machine printing the file doesnot use skip to channel 1, the title lines are never printed.1. To define four printer classes as follows:v Class A has the title “No Security Rating” printed at the bottom of each page<strong>and</strong> on the separator pagesv Class C has the title “COMPANY XYZ CONFIDENTIAL” printed at the top ofeach page <strong>and</strong> on the separator pagesv Class Q has the title “It’s not Confidential” printed on the separator pagesv Class X has the title “Contents aren’t Confidential” printed on the separatorpagesuse the following PRINTER_TITLE statements:/*---------------------------------------------------------------------*//* Setting up Printer Titles *//* ------------------------- *//*/* Class A printer files get "No Security Rating" printed on the *//* bottom of each page <strong>and</strong> on the separator pages *//* Class C printer files get "COMPANY XYZ CONFIDENTIAL" printed at *//* the top of each page <strong>and</strong> on the separator pages *//* Class Q printer files get "It’s Not Confidential" printed at *//* the top of each page <strong>and</strong> on the separator pages *//* Class X printer files get "Contents aren’t Confidential" printed *//* at the top of each page <strong>and</strong> on the separator pages *//*---------------------------------------------------------------------*/Printer_Title A ’No Security Rating’ BottomPrinter_Title C ’COMPANY XYZ CONFIDENTIAL’ TopPrinter_Title Q ’It’’s Not Confidential’Printer_Title X "Contents aren’t Confidential"Chapter 6. The System Configuration File 183


PRIV_CLASSESPRIV_CLASSES Statement►►PRIV_CLASSes(1)▼HW_Service FHW_Service classesIO<strong>CP</strong>_Read CEIO<strong>CP</strong>_Read classesIO<strong>CP</strong>_Write CIO<strong>CP</strong>_Write classesOPERator AOPERator classesUSER_DEFault GUSER_DEFault classes►◄Notes:1 You must specify at least one of the following oper<strong>and</strong>s.PurposeUse the PRIV_CLASSES statement to change the privilege classes authorizing thefollowing <strong>CP</strong> functions:v Logging on as the primary system operatorv Intensive error recordingv Using the read function of the <strong>CP</strong> IO<strong>CP</strong> utilityv Using the write function of the <strong>CP</strong> IO<strong>CP</strong> utilityv Specifying the default user class.How to SpecifyInclude as many statements as needed; they are optional. You can placePRIV_CLASSES statements anywhere in the system configuration file. If youspecify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>sHW_Service classestells <strong>CP</strong> which class or classes are authorized to perform intensive errorrecording. The variable classes is a 1- to 8-character alphanumeric string fromA through Z <strong>and</strong> from 0 to 9. If omitted, the default is class F.IO<strong>CP</strong>_Read classestells <strong>CP</strong> which class or classes are authorized to use the read function of theIO<strong>CP</strong> utility. (For more information about the IO<strong>CP</strong> utility, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book.) The variable classes is a 1- to8-character alphanumeric string from A through Z <strong>and</strong> from 0 to 9. If omitted,the default is classes CE.IO<strong>CP</strong>_Write classestells <strong>CP</strong> which class or classes are authorized to use the write function of theIO<strong>CP</strong> utility. (For more information about the IO<strong>CP</strong> utility, see the z/<strong>VM</strong>: <strong>CP</strong>184 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


PRIV_CLASSESComm<strong>and</strong>s <strong>and</strong> Utilities Reference book.) The variable classes is a 1- to8-character alphanumeric string from A through Z <strong>and</strong> from 0 to 9. If omitted,the default is class C.OPERator classestells <strong>CP</strong> which class or classes are for the primary system operator. Thevariable classes is a 1- to 8-character alphanumeric string from A through Z <strong>and</strong>from 0 to 9. If omitted, the default is class A.USER_DEFault classestells <strong>CP</strong> which class or classes to define for users who do not have a classspecified in their directory entries. The variable classes is a 1- to 8-characteralphanumeric string from A through Z <strong>and</strong> from 0 to 9. If omitted, the default isclass G.Examples1. To authorize:v The primary system operator for class A, C, <strong>and</strong> E comm<strong>and</strong>sv Class C users to issue the IO<strong>CP</strong> READ <strong>and</strong> WRITEv Class D users to perform intensive error recordingv All users without classes defined in their directory entries for class Gcomm<strong>and</strong>suse the following PRIV_CLASSES statement:Priv_Classes,Operator ACE, /* Classes needed to be operator */IO<strong>CP</strong>_Write C, /* Class needed for IOCDS read */IO<strong>CP</strong>_Read C, /* Class needed for IOCDS write */HW_Service D, /* Class needed for intensive error *//* recording */User_Default G /* Default classes for general user */Chapter 6. The System Configuration File 185


PRODUCTPRODUCT Statement►►PRODIDPRODuct vmses_prodid STATE ENabledDISAbled DESCRiption stringDELete►◄PurposeUse the PRODUCT statement to define a product or feature to the system.How to SpecifyInclude as many statements as needed; they are optional. You can placePRODUCT statements anywhere in the system configuration file. If you specifymore than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definitionoverrides any previous specifications.Oper<strong>and</strong>sPRODID vmses_prodidis the identifier used by <strong>VM</strong>SES/E to install <strong>and</strong> service the given product.vmses_prodid must be a 7 or 8 character identifier.STATE ENABLEDidentifies this product or feature as being licensed to run on this system.When a product is defined with STATE ENABLED, it indicates that the productis authorized by the installation to run on this system. It does not mean that theproduct is installed or is being used.STATE DISABLEDidentifies this product or feature as not being licensed to run on this system.The product may or may not be physically installed on the system.DESCRIPTION stringis a string of data that identifies additional information regarding the product.string is a 1-255 character string (including any imbedded blanks <strong>and</strong> specialcharacters) associated with the vmses_prodid entered. The string may beenclosed in single or double quotation marks. The text inside the quotationmarks is not translated to uppercase. The string is stored unchanged <strong>and</strong>without the delimiting quotation marks.If string is not delimited by quotation marks, it is translated to uppercase <strong>and</strong>multiple blanks are compressed to a single blank.If you need to include a single quotation mark in the string, enclose the wholestring with double quotation marks. If you need to include a double quotationmark in the string, enclose the whole string with single quotation marks. Also,you may use two consecutive double quote marks ("") to represent a ″character within a string delimited by double quotation marks. Similarly, youmay use two consecutive single quotation marks ('') to represent a ' characterwithin a string delimited by single quotation marks.DELETEremoves from the system any definition information for the product ID,vmses_prodid.186 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


PRODUCTUsage NotesExamples1. Each product is identified by a unique vmses_prodid. If a subsequentPRODUCT statement or SET PRODUCT comm<strong>and</strong> specifying an existingvmses_prodid is issued, it overwrites all of the related data including thedescription data.2. The DELETE oper<strong>and</strong> is included for those installations that may choose tohave a common imbed for multiple systems with specific imbed statementsfollowing for each specific system.1. To define <strong>and</strong> enable RSCS (5684096K) to the system with a comment thatdescribes what the specified product ID identifies, use the following PRODUCTstatement:PRODUCT 5684096K STATE ENABLED DESCRIPTION ’RSCS Networking Version 3Release 2 Modification 0’2. To define <strong>and</strong> enable T<strong>CP</strong>/IP <strong>VM</strong> (5735FALQ) to the system with a commentthat describes what the specified product ID identifies, use the followingPRODUCT statement:PRODUCT 5735FALQ STATE ENABLED DESCRIPTION ’T<strong>CP</strong>/IP LEVEL 310 - T<strong>CP</strong>/IPFEATURE (BASE)’3. To define P<strong>VM</strong> <strong>and</strong> explicitly disable P<strong>VM</strong> (5684100E) to the system with acomment that identifies why the product is disabled, use the followingPRODUCT statement:PRODUCT 5684100E STATE DISABLED DESCRIPTION ’P<strong>VM</strong> FACILITY BASE - Disabled23-AUG-1997 after license expired.’4. To delete the entry for P<strong>VM</strong> (5684100E), use the following PRODUCTstatement:PRODUCT 5684100E DELETEA description is not allowed because all data for the product is discarded fromthe system when the DELETE oper<strong>and</strong> is processed.5. To define <strong>and</strong> enable DITTO (5688025A) to the system, use the followingPRODUCT statement:PRODUCT 5688025A STATE ENABLEDA description was not entered, therefore, there is no tie between the enablementstatement for product ID 5688025A <strong>and</strong> DITTO.If the above PRODUCT statements were processed in the given order, you wouldreceive the following results after entering the Q PRODUCT comm<strong>and</strong>:Q PRODUCTProduct State Description5684096K Enabled RSCS Networking Version 3 Release 2 Modification 05688025A Enabled5735FALQ Enabled T<strong>CP</strong>/IP LEVEL 310 - T<strong>CP</strong>/IP FEATURE (BASE)Chapter 6. The System Configuration File 187


RDEVICERDEVICE StatementPurposeUse the RDEVICE statement to add to the system’s definition of a set of real I/Odevices. The sections below describe the syntax of the RDEVICE statements forthe following devices:v Dedicated advanced function printers (page 189)v Card punches (page 190)v Card readers (page 192)v Communication controllers <strong>and</strong> line adapters (page 193)v DASD (page 195)v Graphic display devices (page 197)v Impact printers (page 201)v Special devices (page 205)v Tape units (page 207)v Unsupported devices (page 209)v 3800 printers (page 212).How to SpecifyInclude as many statements as needed; they are optional. You can place RDEVICEstatements anywhere in the system configuration file.If you specify more than one statement with the real device number, <strong>CP</strong> uses thelast statement. For example, if you specify:Rdevice 0500 Type 3800 Model 1 AFP yes Chars gf10.Rdevice 0500 Type AFP<strong>CP</strong> defines a dedicated advanced function printer at real device number 0500, not a3800 printer.UsageNotes1. If an IODF statement is defined in the system configuration file with the osconfigparameter specified, then the software I/O configuration will be controlled byHCD. In this case, the RDEVice statement is ignored if it is specified. Refer to“IODF Statement” on page 158 for more information.2. If you try to redefine the system residence or parm disk volume, <strong>CP</strong> will issuethe following message:H<strong>CP</strong>6751E Device rdev cannot be defined because it is the {SYSRES|parmdisk} volume.3. The RDEVICE statement cannot be used to change a current static devicedefinition that exists in H<strong>CP</strong>RIO. When this redefinition is detected, you will seethe following message:H<strong>CP</strong>6895E RDEV rdev cannot be changed or deleted because it is staticdevice definition from H<strong>CP</strong>RIO188 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


RDEVICE (Advanced Function Printers)RDEVICE Statement (Advanced Function Printers)►► RDEVice rdevrdev-rdevTYpe AFP ►◄PurposeUse this RDEVICE statement to define one or more dedicated advanced functionprinters to <strong>CP</strong>. <strong>CP</strong> supports the following advanced function printers using advancedfunction printing licensed programs:3800 13820 23835 39003825 3827 38281. Supported only for models 3, 6, <strong>and</strong> 8.2. Supported only when the 3820 printer is channel-attached.Note: Printers defined as advanced function printers that follow the CCUspecifications can be used only as dedicated devices.Oper<strong>and</strong>srdevrdev-rdevis the real device number (or numbers) of the dedicated advanced functionprinter that you want defined. The maximum number of devices allowed within arange is 256. Each rdev must be a hexadecimal number between X'0000' <strong>and</strong>X'FFFF'.TYpe AFPtells <strong>CP</strong> that the real device (or devices) that you are defining are dedicatedadvanced function printers (AFP) that follow the CCU specification. Note thatprinters defined as TYPE AFP can only be used as dedicated devices.For more information about advanced function printers, see the PSF/<strong>VM</strong> SystemProgramming Guide.Examples1. To define a dedicated advanced function printer at real device number 0110,use the following RDEVICE statement:Rdevice 0110 Type AFP2. To define three dedicated advanced function printers at real device numbers0111, 0112, <strong>and</strong> 0113, use one of the following RDEVICE statements:Rdevice 0111-0113 Type AFP3. To define three dedicated advanced function printers at real device numbersE20, F10, <strong>and</strong> 1F00, use the following RDEVICE statements:Rdevice e20 Type AFPRdevice f10 Type AFPRdevice 1f00 Type AFPChapter 6. The System Configuration File 189


RDEVICE (Card Punches)RDEVICE Statement (Card Punches)►► RDEVice rdevrdev-rdevTYpePCHPUNch(1)NO_SPOOLing▼CLasses ACLasses classes*FOrm STANDARDFOrm form*►◄Notes:1 You must specify at least one of the following oper<strong>and</strong>s.PurposeUse this RDEVICE statement to define one or more card punches to <strong>CP</strong>. <strong>CP</strong>supports the following card punch:3525 11. Supported only for punching; the printing features are not supported.Oper<strong>and</strong>srdevrdev-rdevis the real device number (or numbers) of the card punch that you want defined.The maximum number of devices allowed within a range is 256. Each rdevmust be a hexadecimal number between X'0000' <strong>and</strong> X'FFFF'.TYpe PCHTYpe PUNchtells <strong>CP</strong> that the real device (or devices) that you are defining are cardpunches. Note that <strong>CP</strong> only supports the 3525 for punching; the printingfeatures are not supported.NO_SPOOLingtells <strong>CP</strong> not to use the card punch for spooling.CLasses classesCLasses *defines the output spooling class or classes that the card punch may process.Each class is one alphanumeric character <strong>and</strong> you can specify up to eightclasses. If you specify more than one class, do not include any blanks betweenclasses (for example, CLASSES ABC). If omitted, the default is A. If specifiedas an asterisk (*), the card punch can process any file, regardless of class.To change the spooling class without having to re-IPL, use the <strong>CP</strong> START URcomm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.FOrm formFOrm *defines the 1- to 8-character spooling form number that the card punch can190 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


RDEVICE (Card Punches)process. When the operator starts the device after a cold start <strong>and</strong> does notspecify a form, <strong>CP</strong> uses the form specified on this RDEVICE statement. Ifomitted, the default is STANDARD. If specified as an asterisk (*), the cardpunch can process any file, regardless of form number.Examples1. To define a card punch at real device number 0120, use the following RDEVICEstatement:Rdevice 0120 Type Punch2. To define three card punches at device numbers 0121, 0122, <strong>and</strong> 0123, <strong>and</strong> toindicate that they can process any file regardless of form number, use one ofthe following RDEVICE statements:Rdevice 0121-0123 Type Punch Form *3. To define a card punch at device number 124 that processes class A files <strong>and</strong>four card punches that process files with spooling form number XYZ <strong>and</strong> classZ, use the following RDEVICE statements:Rdevice 124 Type Punch Class aRdevice 125-128 Type Punch Form xyz Class zChapter 6. The System Configuration File 191


RDEVICE - Card ReadersRDEVICE Statement (Card Readers)►► RDEVice rdevrdev-rdevTYpeRDRREADerCLass ACLass cNO_SPOOLing►◄PurposeUse this RDEVICE statement to define one or more real card readers to <strong>CP</strong>. <strong>CP</strong>supports the following card readers:3505Oper<strong>and</strong>sExamplesrdevrdev-rdevis the real device number (or numbers) of the card reader that you wantdefined. The maximum number of devices allowed within a range is 256. Eachrdev must be a hexadecimal number between X'0000' <strong>and</strong> X'FFFF'.TYpe RDRTYpe READertells <strong>CP</strong> that the real device (or devices) that you are defining are card readers.CLass cdefines the 1-character alphanumeric spooling class that the card readerassigns to spool files it creates. If omitted, the default is A.To change the spooling class without having to re-IPL, use the <strong>CP</strong> START URcomm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.NO_SPOOLingtells <strong>CP</strong> not to use the card reader for spooling.1. To define a card reader at device number 0130, use the following RDEVICEstatement:Rdevice 0130 Type Reader2. To define three card readers at device numbers 0131, 0132, <strong>and</strong> 0133, <strong>and</strong> toindicate that <strong>CP</strong> should not use them for spooling, use one of the followingRDEVICE statements:Rdevice 0131-0133 Type Reader No_Spooling3. To define a card reader at device number 134 that creates class W spool files,use the following RDEVICE statement:Rdevice 134 Type Reader Class w192 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


RDEVICE (Communication Controllers)RDEVICE Statement (Communication Controllers)►► RDEVice rdevrdev-rdevTYpeSET_ADDRess 4BSC_ADAPTer<strong>IBM</strong>1_ADAPTer SET_ADDRess nTELE2_ADAPTer3705►◄PurposeUse this RDEVICE statement to define one or more real communication controllersor line adapters to <strong>CP</strong>. <strong>CP</strong> supports the following communication controllers <strong>and</strong>line adapters:3705 3720 3725 3745Note: <strong>CP</strong> supports the BSC adapter as dedicated only.Oper<strong>and</strong>srdevrdev-rdevis the real device number (or numbers) of the communication controller or lineadapter that you want defined. The maximum number of devices allowed withina range is 256. Each rdev must be a hexadecimal number between X'0000' <strong>and</strong>X'FFFF'.TYpetells <strong>CP</strong> that the real devices you are defining are:BSC_ADAPTertells <strong>CP</strong> that you are defining one or more <strong>IBM</strong> Binary SynchronousTerminal Control Type II devices for a 3705, 3725, or 3745. (The BSCadapter is supported as dedicated-only.)<strong>IBM</strong>1_ADAPTertells <strong>CP</strong> that you are defining one or more <strong>IBM</strong> Terminal Adapter Type Iattaches a 2741 to a 3705, 3725, or 3745.TELE2_ADAPTertells <strong>CP</strong> that you are defining one or more <strong>CP</strong>T-TWX (Models 33 or 35)Terminal, 3101, 3151, 3161, 3162, or 3163 attaches to a Line InterfaceBase Type I in a 3705, 3725, or 3745.SET_ADDRess ntells <strong>CP</strong> which set address (SAD) comm<strong>and</strong> to enter for atelecommunication line attached to a control unit. The variable n is a1-character decimal number between 0 <strong>and</strong> 4, with a default of 4. Thevariable n can be:0 tells <strong>CP</strong> to enter a SADZERO comm<strong>and</strong>.1 tells <strong>CP</strong> to enter a SADONE comm<strong>and</strong>.2 tells <strong>CP</strong> to enter a SADTWO comm<strong>and</strong>.3 tells <strong>CP</strong> to enter a SADTHREE comm<strong>and</strong>.4 (the default) tells <strong>CP</strong> not to enter a SAD comm<strong>and</strong>.Chapter 6. The System Configuration File 193


RDEVICE (Communication Controllers)3705defines the base address used to load the 3705 communications controller.UsageNotes1. You must define the base (load) address of a 3705 communications controllerusing the RDEVICE TYPE 3705 statement, using the <strong>CP</strong> SET RDEVICE TYPE3705 comm<strong>and</strong>, or by genning the 3705 base address in H<strong>CP</strong>RIO. Although thisis not a requirement for the 3720, 3725, or 3745 base addresses (because theycan be sensed dynamically), you may also define the base addresses for thesedevices as TYPE 3705 in this same manner. For more information about the <strong>CP</strong>SET RDEVICE comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.2. For all emulated lines running EP or N<strong>CP</strong> (PEP), you must have an RDEVICEstatement for every line <strong>and</strong> the lines must be in the DEVICES NOT_SENSEDlist.If you do not want to use RDEVICE statements in your system configuration file,you can use the <strong>CP</strong> SET RDEVICE comm<strong>and</strong>. However, the emulated linesmust still be in the DEVICES NOT_SENSED list. If you fail to do this, the linesmay not come online <strong>and</strong> you will not be able to correct this situation withoutIPLing the system again.3. Because emulator lines cannot be sensed dynamically, you should define all EPor N<strong>CP</strong> (PEP) emulator lines using either an RDEVICE statement or the <strong>CP</strong>SET RDEVICE comm<strong>and</strong>. The valid line types are:vvvBSC_ADAPTER<strong>IBM</strong>1_ADAPTERTELE2_ADAPTERExamples1. To define an <strong>IBM</strong> Terminal Adapter Type 1 at device number 01F0, use thefollowing RDEVICE statement:Rdevice 01F0 Type <strong>IBM</strong>1_Adapter2. To define three BSC Terminal Control Type II adapters at device numbers 01F1,01F2, <strong>and</strong> 01F3, use one of the following RDEVICE statements:Rdevice 01F1-01F3 Type BSC_Adapter3. To define an <strong>IBM</strong> 3705 communication controller at device address 004, <strong>and</strong> 63161, 3162, <strong>and</strong> 3163 lines at device addresses 030 through 035, use thefollowing RDEVICE statements:Rdevice 004 Type 3705 /* 3705 load address */Rdevice 010-02F Type BSC_Adapter /* Bisync lines for P<strong>VM</strong> */Rdevice 030-035 Type TELE2_Adapter /* 316x ASCII lines */194 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


RDEVICE (DASD)RDEVICE Statement (DASD)►► RDEVice rdevrdev-rdevTYpeDASDSHAREdSHAREdNoYesMDCMDCMDCDFLTONOFFDFLTOFF►◄PurposeUse this RDEVICE statement to define one or more real direct access storagedevices (DASD) to <strong>CP</strong>. <strong>CP</strong> supports the following DASD:3380 3390 9336These DASD types do respond to the sense ID request instruction; you need tospecify RDEVICE statements for them only if you want to specify the SHAREDYES, the MDC OFF, or the MDC DFLTOFF options.A Note About the 3850 Mass Storage System<strong>VM</strong>/ESA Release 1.1 was the last release to support the <strong>IBM</strong> 3850 MassStorage System. Therefore, new function (like the system configuration file)does not support the 3850. When devices are no longer supported, you mayfind that the existing code has not be removed from the product. If you have a3850, you may still be able to use it by coding an RDEVICE macroinstructionin H<strong>CP</strong>RIO ASSEMBLE. For more information, see “DASD Types” on page746.Oper<strong>and</strong>srdevrdev-rdevis the real device number (or numbers) of the DASD that you want defined. Themaximum number of devices allowed within a range is 256. Each rdev must bea hexadecimal number between X'0000' <strong>and</strong> X'FFFF'.TYpe DASDtells <strong>CP</strong> that the real device (or devices) that you are defining are DASD.SHAREdtells <strong>CP</strong> whether you want the device or devices to be shared concurrentlyamong multiple real systems.No(the default) tells <strong>CP</strong> not to share the device or devices among multiple realsystems.Yestells <strong>CP</strong> to share the device or devices among multiple real systems. Formore information on sharing DASDs, see Chapter 21, “DASD Sharing,” onpage 619.Chapter 6. The System Configuration File 195


RDEVICE (DASD)UsageNotesMDCtells <strong>CP</strong> whether you want the device or devices to be cached in the minidiskcache.DFLTON(the default if the SHARED option is not specified or the SHARED NOoption is specified.) Tells <strong>CP</strong> to cache data on the real device in theminidisk cache except for minidisks that have caching specifically disabledby the MINIOPT NOMDC directory statement or the SET MDCACHEMDISK OFF comm<strong>and</strong>.OFF(the default if the SHARED YES option is specified.) Tells <strong>CP</strong> to not cachedata on the real device in the minidisk cache.DFLTOFFtells <strong>CP</strong> to not cache data on the real device in the minidisk cache exceptfor minidisks that have caching specifically enabled by the MINIOPT MDCdirectory statement or the SET MDCACHE MDISK ON comm<strong>and</strong>.1. Not all DASD types are eligible for caching in the minidisk cache. If you specifyMDC DFLTON or MDC DFLTOFF for a device that is not cache eligible, data onthat device will not be cached.Examples1. To define a shared DASD with minidisk caching off at device number 0410, usethe following RDEVICE statement:Rdevice 0410 Type DASD Shared yes2. To define 64 shared DASDs with minidisk caching off at device numbers 100through 13F <strong>and</strong> 32 shared DASDs at device numbers 140 through 15F, use thefollowing RDEVICE statements:Rdevice 100-13f Type Dasd Shared yes /* 3390 Dasd shared with *//* other 2064 ... */Rdevice 140-15f Type Dasd Shared yes /* 3380 Dasd shared with *//* 2064 ... */3. To define a non-shared DASD with minidisk caching on, no RDEVICE statementis necessary.4. To define a non-shared DASD at device number 500 with minidisk cachingenabled on a device only for those minidisks that have specifically enabledcaching, use the following RDEVICE statement:Rdevice 500 Type Dasd MDC DFLTOFF196 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


RDEVICE (Graphic Display Devices)RDEVICE Statement (Graphic Display Devices)►► RDEVice rdev TYpe TYPE Oper<strong>and</strong>srdev-rdev►◄TYPEOper<strong>and</strong>sMODel 23178 Options3179 MODel 2A3180 2C3190 33270 43278 532793290MODel 23270_DISPlay327732843286328732883289Options▼EMULATED_3270 NoEMULATED_3270YesOPER_IDENT_READerOPER_IDENT_READerHOLDHOLDNoYesNoYesPurposeOper<strong>and</strong>sUse this RDEVICE statement to define one or more graphic display devices to <strong>CP</strong>.rdevrdev-rdevis the real device number (or numbers) of the graphic display devices that youwant defined. The maximum number of devices allowed within a range is 256.Each rdev must be a hexadecimal number between X'0000' <strong>and</strong> X'FFFF'.TYpe 3178, 3179, 3180, 3190, 3270, 3278, 3279, or 3290tells <strong>CP</strong> that the real device (or devices) that you are defining are graphicdisplay devices. <strong>CP</strong> can determine dynamically all of these graphic displaydevices during initialization or when you vary on the device. You only need tospecify these graphic display devices if you want to specify the extendedattributes.Chapter 6. The System Configuration File 197


RDEVICE (Graphic Display Devices)MODel 2, 2A, 2C, 3, 4, or 5is the model number of the graphic display device. If omitted, the default isModel 2.TYpe 3270_DISPlay or 3277tells <strong>CP</strong> that the real device (or devices) that you are defining are graphicdisplay devices. <strong>CP</strong> can determine dynamically all of the 3270 graphic displaydevices during initialization or when you vary on the device. You only need tospecify the 3270 graphic display devices if you want to specify the extendedattributes.Note: The 3270-PC is supported in control-unit terminal mode <strong>and</strong>distributed-function terminal (DTF) mode when defined as a 3270.You must specify the 3277 display because its device type cannot bedetermined.MODel 2is the model number of the graphic display device. If omitted, the default isModel 2.TYpe 3284, 3286, 3287, 3288, or 3289tells <strong>CP</strong> that the real device (or devices) that you are defining are graphicprinter devices. <strong>CP</strong> can determine dynamically all of the graphic printer devicesduring initialization or when you vary on the device; therefore, you do not needto specify them.Note: <strong>CP</strong> cannot sense these devices when they are attached either to a 3174or a 3274 control unit. If these devices are attached to a 3174 or a 3274control unit, each device must be defined in the system configuration fileusing the RDEVICE statement.EMULATED_3270 No(the default) tells <strong>CP</strong> that this device (or devices) is not a TTY ASCII displayterminal connected to the system through a 7171 ASCII DACU or ASCIISubsystem (an emulated 3270).EMULATED_3270 Yestells <strong>CP</strong> that this device (or devices) is a TTY ASCII display terminal connectedto the system through a 7171 ASCII DACU or ASCII Subsystem (an emulated3270).Note: The 3101 must be connected to a 7171 Control Unit. You must alsospecify EMULATED_3270 YES.HOLD No(the default) tells <strong>CP</strong> not to keep the display terminal telecommunicationsconnection to the 7171 ASCII DACU or ASCII Subsystem after the virtualmachine logs off or disconnects.HOLD Yestells <strong>CP</strong> keep the display terminal telecommunications connection to the7171 ASCII DACU or ASCII Subsystem after the virtual machine logs off ordisconnects.OPER_IDENT_READer No(the default) tells <strong>CP</strong> that the 327x display does not have an operatoridentification card reader.OPER_IDENT_READer Yestells <strong>CP</strong> that the 327x display has an operator identification card reader. If you198 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


RDEVICE (Graphic Display Devices)UsageNotesspecify OPER_IDENT_READER YES, the virtual machine operator can gainaccess to the system (log on) only by inserting a magnetically encoded card.Use of a badge reader is optional for each user ID <strong>and</strong> not required for any ofthem. Use of a badge reader cannot replace entering a correct password butmay follow a correct password as an additional security measure. If you do notwant to have a card reader authorize access, do not specifyOPER_IDENT_READER YES, or specify OPER_IDENT_READER NO.1. For a complete list of all graphic displays <strong>and</strong> printers supported for this release,see Chapter 5, “Defining I/O Devices,” on page 45.2. You must ensure that the device numbers specified on the statementcorrespond to the device numbers required for the category of display terminalin the controller.3. Refer to the 7171 Device Attachment Control Unit Reference Manual <strong>and</strong>Programming Guide to determine which type of device (TYPE) to specify for aTTY ASCII terminal attached to a 7171 DACU or ASCII Subsystem.4. The 3178, 3179, 3180, 3190, 3278, 3279, 3284, 3486, 3287, 3288, 3289, <strong>and</strong>3290 devices are defined primarily for use with second-level systems. In asecond-level system, you can define a printer or display to be at a particulardevice number <strong>and</strong> then you can do a first-level define of the device number. Ifyou define the device in the system configuration file, the second-level systembrings that device online immediately rather than having you define a devicenumber first-level, issue the <strong>CP</strong> SET RDEVICE comm<strong>and</strong> second-level, <strong>and</strong>vary on the device second-level.Examples1. To define a 3277 display at device number 0210, use the following RDEVICEstatement:Rdevice 0210 Type 32772. To define three 3270 displays at device numbers 0211, 0212, <strong>and</strong> 0213, <strong>and</strong> toindicate that users should not be able to log on to them without an operatoridentification card, use the following RDEVICE statement:Rdevice 0211-0213 Type 3270_Display Oper_Ident_Reader yes3. To define:v 48 3270 displays at device numbers 800 through 82Fv 16 3277 displays at device numbers 830 through 83Fv 31 3278 displays at device numbers 970 through 98Ev One 3287 display at device number 98Fv One 3290 display at device number 1010v 15 3190 displays at device numbers 1011 through 101Fv 61 3278 displays at device numbers 200 through 23C, which are TTY ASCIIdisplay terminals connected to the system through 7171 ASCII DACU orASCII Subsystems, <strong>and</strong> which retain their connections after logging off ordisconnectinguse the following RDEVICE statements:Rdevice 800-82f Type 3270_Display /* 3174 controller *//* ... with 32 local ports */Rdevice 830-83f Type 3277 /* 3272 controller *//* ... with 16 3277 displays */Rdevice 970-98e Type 3278 /* 3274 controller *//* ... with 31 3178s <strong>and</strong> 3278s */Chapter 6. The System Configuration File 199


RDEVICE (Graphic Display Devices)Rdevice 98f Type 3287 /* 3287 printer *//* ... hung off 3274 port 32 */Rdevice 1010 Type 3290 /* 3290 information display on *//* ... port 0 of 3174 control *//* ... unit */Rdevice 1011-101f Type 3190 /* 15 3190s on *//* ... 3174 control unit */Rdevice 200-23c Type 3278, /* 7171 ports looking like */Emulated_3270 yes, /* ... 3278s to <strong>CP</strong> */Hold yes200 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


RDEVICE (Impact Printers)RDEVICE Statement (Impact Printers)►► RDEVice rdevrdev-rdevTYpeIMPact_printer32033211NO_SPOOLing▼AFP YesAFP NoCHARS ucsnameCLasses ACLasses classesDEST OFFDEST *►◄(1)▼ DEST destFCB fcbnameFOLDup NoFOLDup YesFOrm STANDARDFOrm formIMAGE_LIBrary imagelibINDex 1INDex nnLIMit NoneLIMit nnnnnnnnnnSEParator YesSEParator NoUNIVERSAL_CHARset NoUNIVERSAL_CHARset YesNotes:1 You cannot specify more than four output destinations.PurposeUse this RDEVICE statement to define the following system-managed,channel-attached impact printers to <strong>CP</strong>:3203 162623211 23262 4245 42481. Only the 3203 Model 5 is supported.2. 3211 printers are only supported as emulated by other printers.Oper<strong>and</strong>srdevrdev-rdevis the real device number (or numbers) of the impact printer that you wantdefined. The maximum number of devices allowed within a range is 256. Eachrdev must be a hexadecimal number between X'0000' <strong>and</strong> X'FFFF'.TYpe IMPact_printerTYpe 3202Chapter 6. The System Configuration File 201


RDEVICE (Impact Printers)TYpe 3211tells <strong>CP</strong> that the real device (or devices) that you are defining is one of theimpact printers listed above.NO_SPOOLingtells <strong>CP</strong> not to use the impact printer for spooling.AFP Yes(the default) tells <strong>CP</strong> that the impact printer can process files with advancedfunction printer (AFP) characteristics, XABs, or X'5A' CCWs.AFP Notells <strong>CP</strong> that the impact printer cannot process files with advanced functionprinter (AFP) characteristics, XABs, or X'5A' CCWs.CHARS ucsnameFor a printer with the UNIVERSAL_CHARSET feature, CHARS ucsnamespecifies the 1- to 4-character suffix of the name of the default universalcharacter set (UCS) buffer image. The variable ucsname must correspond toone of the UCS images stored in the image library. For example, if you specify:Rdevice 0003 Type 3203 Chars anThe image library must contain a member named 3203AN.CLasses classesdefines the output spooling class or classes that the impact printer can print.Each class is 1 alphanumeric character <strong>and</strong> you can specify up to 8 classes. Ifyou specify more than one class, do not include any blanks between theclasses (for example, CLASSES ABC). If omitted, the default is A. If specifiedas an asterisk (*), the printer can process any file, regardless of class.To change the spooling classes without having to re-IPL, use the <strong>CP</strong> STARTUR comm<strong>and</strong>. For more information about the <strong>CP</strong> START UR comm<strong>and</strong>, seethe z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.DEST OFFDEST *DEST destspecifies the output destination values the printer can print. Specify DEST inone of the following ways:v By default — if you omit the DEST oper<strong>and</strong>, DEST OFF is assumed.v You can specify as many as four destination values by entering four differentDEST oper<strong>and</strong>s, as follows:Dest printer1 Dest printer2 Dest printer3 Dest printer4v DEST * specifies that the printer should process files regardless ofdestination.To change the spooling destinations without having to re-IPL, use the <strong>CP</strong>START UR comm<strong>and</strong>. For more information about the <strong>CP</strong> START URcomm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.FCB fcbnamespecifies the 1- to 4-character alphanumeric suffix of the name of the defaultforms control buffer (FCB) <strong>CP</strong> should use after a cold start or force start. Thismust correspond to one of the FCB images added to an image library. Forexample, if you specify:Rdevice 0003 Type 3203 FCB fcb8The image library must contain a member named 3203FCB8.202 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


RDEVICE (Impact Printers)FOLDup No(the default) tells <strong>CP</strong> not to fold (translate) lowercase into uppercase.FOLDup Yestells <strong>CP</strong> to fold (translate) lowercase into uppercase.FOrm STANDARDFOrm formis the current spooling form number that the printer can process. This form isthe default operator form for the real printer when the operator starts the deviceafter a cold start without specifying a form. Specify FORM in one of thefollowing ways:v FORM form (form is a 1- to 8-character operator form number for the files theprinter can process)v FORM * indicates that the printer can process files regardless of formnumberv FORM STANDARD indicates that the type of paper to be mounted on theprinter is the type of paper that the installation has assigned the nameSTANDARD. Each installation establishes its own set of form names, assignsthose form names to types of paper, <strong>and</strong> informs the operations staff <strong>and</strong> endusers of the correlation between form names <strong>and</strong> types of paper.If omitted, the default is STANDARD.IMAGE_LIBrary imagelibtells <strong>CP</strong> which image library to use after a cold start. If omitted, the default isIMAGE_LIBRARY nnnn (nnnn is the device type number).INDex nnspecifies the position at which to start printing. The variable nn is a decimalnumber from 1 to 31. If omitted, the default is 1.Note: The INDEX oper<strong>and</strong> is only valid for 3211 printers. If you specify it foranother impact printer, <strong>CP</strong> ignores the oper<strong>and</strong>.LIMit None(the default) tells <strong>CP</strong> that this impact printer can print files with an unlimitednumber of records.LIMit nnnnnnnnnntells <strong>CP</strong> that this impact printer limits the size of files it can print. The variablennnnnnnnnn is a 1- to 10-digit decimal number that indicates the maximumnumber of records per file that this printer can print.SEParator Yes(the default) tells <strong>CP</strong> to print separator pages between output files.SEParator Notells <strong>CP</strong> not to print separator pages between output files.UNIVERSAL_CHARset No(the default) tells <strong>CP</strong> that this impact printer is not a universal character setprinter.UNIVERSAL_CHARset Yestells <strong>CP</strong> that this impact printer is a universal character set printer.Note: Although UNIVERSAL_CHARset Yes is accepted for TYpe IMPactprinter, it is only meaningful for TYpe 3203 <strong>and</strong> TYpe 3211 printers.Chapter 6. The System Configuration File 203


RDEVICE (Impact Printers)Examples1. To define a 3203 printer at device number 0110 that prints only class A spoolfiles (the default value), use the following RDEVICE statement:Rdevice 0110 Type Impact_Printer2. To define a 3262 printer at device number 0110 that will be dedicated to aguest, use the following RDEVICE statement:Rdevice 0110 Type Impact_Printer No_Spooling3. To define an impact printer at device number:v E0E that can print class 1, process “st<strong>and</strong>ard” forms, <strong>and</strong> use the “normal”output destination, forms control buffer FCB8, <strong>and</strong> image library 4245IMAGv 00E that can print class A files, use forms control buffer FCB8, <strong>and</strong> processFORM8 formsv 01E that can print class A files, use forms control buffer FCB8, <strong>and</strong> processFORM1 formsuse the following RDEVICE statements:Rdevice e0e Type Impact_Printer,Class 1,Dest normal,FCB fcb8,Image_Library 4245IMAG,Form st<strong>and</strong>ardRdevice 00e Type 3203,Class a,FCB fcb8,Form form8Rdevice 01e Type 3211, /* 4248 printer running in 3211 */Class a, /* compatibility mode */FCB fcb8,Form form1204 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


RDEVICE (Special Devices)RDEVICE Statement (Special Devices)►► RDEVice rdevrdev-rdevTYpeCTCaF<strong>CP</strong>HIPERSocketsLAN_ADAPTerOSA►◄PurposeOper<strong>and</strong>sUse this RDEVICE statement to define device addresses of certain types of devicesto <strong>CP</strong>.rdevrdev-rdevis the real device number (or numbers) of the devices that you want defined.The maximum number of devices allowed within a range is 256. Each rdevmust be a hexadecimal number between X'0000' <strong>and</strong> X'FFFF'.TYpe CTCatells <strong>CP</strong> that the real device (or devices) that you are defining is achannel-to-channel device.UsageNotesNote: Specify a 3737 Remote Channel-to-Channel Unit Model 2 as a CTCA.TYpe F<strong>CP</strong>tells <strong>CP</strong> that the real device (or devices) that you are defining is aFiber-Channel-Protocol device.TYpe HIPERSocketstells <strong>CP</strong> that the real device (or devices) that you are defining is a HiperSocketsdevice.TYpe LAN_ADAPTertells <strong>CP</strong> that the real device (or devices) that you are defining is achannel-attached 8232 or 3172 representing a local area network.TYpe OSAtells <strong>CP</strong> that the real device (or devices) that you are defining is anOpen-Systems-Adapter device.1. <strong>CP</strong> can sense 3172 <strong>and</strong> 8232 devices. Therefore you do not need to specifythem in the system configuration file, unless you are running programs in thedevice that do not respond to sense ID requests.Examples1. To define a channel-to-channel adapter at device number 0250, use thefollowing RDEVICE statement:Rdevice 0250 Type CTCA2. To define a local area network adapter at device number 0251, use the followingRDEVICE statement:Chapter 6. The System Configuration File 205


RDEVICE (Special Devices)Rdevice 0251 Type LAN_Adapter3. To define an Open-Systems-Adapter device at device number 0252, use thefollowing RDEVICE statement:Rdevice 0252 Type OSA4. The following RDEVICE statements define:v 48 channel-attached 3172s at device numbers 700 through 72Fv 48 channel-attached 8232s at device numbers 600 through 62Fv One channel-to-channel adapter at device address 250/*-------------------------------------------------------------------*//* 3172 LAN attached control unit - LAN adapter looks like a 3088 to *//* <strong>CP</strong>. Note: you do not have to have a statement for 3088 *//* looking devices ... *//*-------------------------------------------------------------------*/Rdevice 700-72f Type LAN_Adapter/*-------------------------------------------------------------------*//* 8232 LAN attached control unit - Note: 8232s look like 3088s to *//* <strong>CP</strong> but sometimes, the software does not respond correctly so *//* you can be assured it is a 3088 device if you gen it as *//* LAN_Adapter *//*-------------------------------------------------------------------*/Rdevice 600-62f Type LAN_Adapter/*-------------------------------------------------------------------*//* Real CTCA to 4381, 4381 owns CTCA *//*-------------------------------------------------------------------*/Rdevice 250 Type CTCA206 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


RDEVICE (Tape Units)RDEVICE Statement (Tape Units)►► RDEVice rdevrdev-rdevTYpe 3422TAPE►◄PurposeOper<strong>and</strong>sUse this RDEVICE statement to define one or more tape units to <strong>CP</strong>.rdevrdev-rdevis the real device number (or numbers) of the tape unit that you want defined.The maximum number of devices allowed within a range is 256. Each rdevmust be a hexadecimal number between X'0000' <strong>and</strong> X'FFFF'.TYpe 3422tells <strong>CP</strong> that the real device (or devices) that you are defining is an <strong>IBM</strong> 3422magnetic tape subsystem.TYpe TAPEspecifies an <strong>IBM</strong> tape unit that can be dynamically sensed by <strong>CP</strong> (such as an<strong>IBM</strong> 3424, 3480, 3490, 3590, or 9348 tape unit).UsageNotes1. <strong>CP</strong> can dynamically sense most tape units at IPL time (such as the <strong>IBM</strong> 3480<strong>and</strong> 3490 tape units), so there is no need for an RDEVICE statement for thoseunits. However, if you decide to define one of these type of tape units to <strong>CP</strong>without it being connected to the system at IPL time, you can use the RDEVICEstatement with the TYPE TAPE oper<strong>and</strong>.Examples1. To define a 3422 tape unit at device number 0310, use the following RDEVICEstatement:Rdevice 0310 Type 34222. To define eight 3422 tape drives at device numbers F10 through F17, use thefollowing RDEVICE statements:/*-------------------------------------------------------------------*//* We do not have to specify RDEVICE statements for our: *//* *//* 3490s at 100-10F because they answer with their device type *//* when asked (sensed). *//* *//* 3480s at 500-50F because they answer with their device type *//* when asked (sensed). *//* *//*-------------------------------------------------------------------*//*-------------------------*//* Define our eight 3422s: *//*-------------------------*/Rdevice f10-f17 Type 3422Chapter 6. The System Configuration File 207


RDEVICE (Tape Units)3. To define a tape unit which can be dynamically sensed by <strong>CP</strong> at device number0F20, use the following RDEVICE statement:Rdevice 0F20 Type Tape208 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


RDEVICE (Unsupported Devices)RDEVICE Statement (Unsupported Devices)►► RDEVice rdevrdev-rdevTYpe UNSUPported ►►DEVCLassDASD▼DPS NoDPS YesRESERVE_RELeaseNo►◄RESERVE_RELeaseYesPRINTerPUNchREADerSWITchDPS NoTAPeDPS YesTERMinal3270_DISPlay3270_PRINTerPurposeUse this RDEVICE statement to define one or more unsupported devices to <strong>CP</strong>.Note: When you define an unsupported device, you must dedicate the device to avirtual machine. To do this, specify the DEDICATE directory controlstatement in the virtual machine’s directory statement or issue the <strong>CP</strong>ATTACH comm<strong>and</strong>. For more information about the DEDICATE statement,see page 477. For more information about the <strong>CP</strong> ATTACH comm<strong>and</strong>, seethe z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book.Oper<strong>and</strong>srdevrdev-rdevis the real device number (or numbers) of the unsupported device that you wantdefined. The maximum number of devices allowed within a range is 256. Eachrdev must be a hexadecimal number between X'0000' <strong>and</strong> X'FFFF'.TYpe UNSUPportedtells <strong>CP</strong> that this is an unsupported device type.DEVCLassis the device class of the unsupported device. Valid classes are:Class Unsupported Device TypeDASDDirect access storage devicesChapter 6. The System Configuration File 209


RDEVICE (Unsupported Devices)PRINTerUnit record printer devicesPUNchUnit record punch devicesREADerUnit record input devicesSWITchDynamic switching devices.TAPe Tape devicesTERMinalTerminals3270_DISPlay3270 display devices3270_PRINTer3270 printer devicesDPS Yestells <strong>CP</strong> that the unsupported DASD or tape device supports the dynamic pathselection (DPS) function: CCW comm<strong>and</strong> codes X'34', Sense Path GroupIdentifier (SNID), <strong>and</strong> X'AF', Set Path Group Identifier (SPID).When you specify DPS YES, <strong>CP</strong> places <strong>VM</strong>’s path group identifier (PGID) inthe device’s control unit for each path to the control unit. This placementenables the use of a single PGID for all devices connected to the control unit,regardless of the number of guests that might be using the different devices onthe control unit, how many times a given guest is re-IPLed, or how a givendevice might be shifted from one guest to another over time. A guest operatingsystem, such as <strong>IBM</strong>’s MVS/XA or MVS/ESA , has an alternate-PGIDcapability so it can deal with the <strong>VM</strong> PGID on these channel paths.DPS No(the default) tells <strong>CP</strong> that the unsupported DASD or tape device does notsupport the dynamic path selection (DPS) function.When you specify DPS NO, <strong>VM</strong> takes no action with regard to path groups orPGIDs. It is the responsibility of the guest to which the unsupported DASD ortape device is dedicated or attached to form <strong>and</strong> maintain path groups, ifdesired, using the guest’s own PGID. The use of a guest’s PGID is oftencumbersome if not unworkable for DPS devices, because a PGID on a channelpath to a control unit applies to all devices connected to the control unit, <strong>and</strong> aPGID can only be changed after clearing any previous PGID with asystem-reset of the channel path or paths.If the guest operating system to which the device will be dedicated or attacheddoes not contain alternate PGID support, specify DPS NO.RESERVE_RELease Yestells <strong>CP</strong> that the unsupported DASD supports the reserve/release function:CCW comm<strong>and</strong> codes X'B4', Device Reserve (RES), X'94', Device Release(REL), <strong>and</strong> X'14', Unconditional Reserve (UR).When you specify RESERVE_RELEASE YES for an unsupported DASD, <strong>CP</strong>issues the DEVICE RELEASE CCW comm<strong>and</strong> to the device whenever thevirtual machine to which the device is dedicated or attached is reset by the <strong>CP</strong>SYSTEM CLEAR, SYSTEM RESET, or IPL comm<strong>and</strong>s.RESERVE_RELease No(the default) tells <strong>CP</strong> that the unsupported DASD does not support thereserve/release function. If you specify RESERVE_RELEASE NO for anunsupported DASD that contains support for the reserve/release function, a210 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


RDEVICE (Unsupported Devices)malfunction of the guest to which the device is dedicated or attached mightleave a device reservation held by the guest, preventing the device from beingaccessed by other sharing systems.Examples1. To define an unsupported DASD, use the following RDEVICE statement:Rdevice 0fff Type UnSupported DevClass DASD2. To define an unsupported DASD that supports dynamic path selection, use thefollowing RDEVICE statement:Rdevice 0fe0 Type UnSupported DevClass DASD DPS yes3. To define an unsupported DASD that supports both dynamic path selection <strong>and</strong>reserve/release, use the following RDEVICE statement:Rdevice 0fd0 Type UnSupported,DevClass DASD,DPS yes,Reserve_Release yes4. To define 4 unsupported tape devices <strong>and</strong> 23 unsupported DASD that supportboth dynamic path selection <strong>and</strong> reserve/release, use the following RDEVICEstatements:Rdevice 2040-2043 Type Unsupported, /* Unsupported tape */DevClass Tape /* device */Rdevice 1280-1296 Type Unsupported, /* Unsupported DASD supporting */DevClass DASD, /* reserve/release CCW <strong>and</strong> */DPS yes, /* dynamic path selection CCW */Reserve_Release yesChapter 6. The System Configuration File 211


RDEVICE (3800 Printers)RDEVICE Statement (3800 Printers)►► RDEVice rdevrdev-rdevTYpe 3800MODel 1(1)►◄MODel 13 (2)6 OptionsNO_SPOOLing8Options:AFP YesAFP No CHARS ffffCLassesCLassesAclassesDEST OFF(3)▼ DESTdestDPMSIZE 1DPMSIZEn►►FCB 6FCB lpi FLASH flashlibFOrmFOrmSTANDARDoperformIMAGE_LIBraryIMAGE_LIBraryIMAG3800imagelib►►LIMitLIMitNonennnnnnnnnnSEParatorSEParatorYesNoMARKYesMARK No (4)WCGM 24Notes:1 The defaults you receive appear above the line in the Options fragment.2 The following oper<strong>and</strong>s can be specified in any order.3 You cannot specify more than four output destinations.4 This oper<strong>and</strong> can only be specified for model 1.PurposeOper<strong>and</strong>sUse this RDEVICE statement to define 3800 <strong>and</strong> 3900 printers to <strong>CP</strong>.rdevrdev-rdevis the real device number (or numbers) of the 3800 printer that you wantdefined. The maximum number of devices allowed within a range is 256. Eachrdev must be a hexadecimal number between X'0000' <strong>and</strong> X'FFFF'.TYpe 3800tells <strong>CP</strong> that the real device (or devices) that you are defining is a 3800 printer.212 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


RDEVICE (3800 Printers)MODel 1, 3, 6, or 8tells <strong>CP</strong> the model number of the 3800 printer that you are defining. The defaultvalue is 1.Notes:1. The 3800 Models 3 <strong>and</strong> 6 are supported in Model 1 compatibility mode,defined as a Model 1, or by using the Advanced Function Printing licensedprogram, defined as a Model 3 or as a Model 6. If you are using them asadvanced function printers, specify AFP YES.2. The 3800 Model 8 is supported using an Advanced Function Printinglicensed program.NO_SPOOLingtells <strong>CP</strong> not to use the 3800 printer for spooling.AFP YesAFP Nospecifies whether the printer is to process files with advanced function printer(AFP ) characteristics, XABs, or X'5A' CCWs. The default is YES.CHARS ffffspecifies the name of a character-arrangement table for the separator page tobe used after a cold start. The default values for 3800 printers areFor Model 1, CHARS GF10.For Model 3 or Model 6, CHARS GF12.CLasses classesdefines the output spooling class or classes that the 3800 Model 1, Model 3, orModel 6 printer can print. Each class is 1 alphanumeric character <strong>and</strong> you canspecify up to 8 classes. If you specify more than one class, do not include anyblanks between the classes (for example, CLASSES ABC). If omitted, thedefault is A. If specified as an asterisk (*), the printer can process any file,regardless of class.To change the spooling classes without having to re-IPL, use the <strong>CP</strong> STARTUR comm<strong>and</strong>. For more information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.DEST OFFDEST destspecifies the output destination values the printer can print. Specify DEST inone of the following ways:v By default — if you omit the DEST oper<strong>and</strong>, DEST OFF is assumed.v You can specify as many as four destination values by entering four differentDEST oper<strong>and</strong>s, as follows:Dest printer1 Dest printer2 Dest printer3 Dest printer4v DEST * specifies that the printer should process files regardless ofdestination.To change the spooling destinations without having to re-IPL, use the <strong>CP</strong>START UR comm<strong>and</strong>. For more information about the <strong>CP</strong> START URcomm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.DPMSIZE nspecifies the maximum size of the delayed purge queue (see note 1) that the3800 Model 1, Model 3, or Model 6 printer uses after a cold start. The defaultvalue for n is 1, the maximum is 9. If 0 is specified, no delayed purge queue ismaintained (See note 2).Chapter 6. The System Configuration File 213


RDEVICE (3800 Printers)Notes:1. After the 3800 prints a file, <strong>CP</strong> places the file on the delayed purge queue ifa delayed purge queue is being maintained. When the queue is full, <strong>CP</strong>purges the oldest file. This delay helps ensure that the 3800 (a) transfersthe last page of the file from the page buffer in the 3800 printer to paper<strong>and</strong> (b) stacks the printed page. If the 3800 fails before <strong>CP</strong> purges a filefrom the delayed purge queue, <strong>CP</strong> places the file in system hold.2. Specifying 0 for DPMSIZE saves some spool DASD space because filesprinted on the 3800 are purged immediately. However, this decreases thepossibility of recovering a printer file which has failed during printing.FCB lpispecifies the name of the forms control buffer for the separator page to be usedafter a cold start. Note that you can override this value by naming a formscontrol buffer on the START comm<strong>and</strong>. The default value for lpi is 6.The number of lines to be printed on the separator page is determined by theFCB loaded on the printer. The default separator page contains 58 lines of data.If the page length defined by the FCB is less than the default separator pagelength, the separator page data must be customized in order to fit on a singlepage. This may be done using <strong>CP</strong> Exit points that are provided in separatorpage processing. See the z/<strong>VM</strong>: <strong>CP</strong> Exit Customization for details.FLASH flashlibspecifies the flash overlay for use with this device.FOrm operformis the current spooling form number that the printer can process. This form isthe default operator form for the real printer when the operator starts the deviceafter a cold start without specifying a form. Specify this parameter in one of thefollowing ways:v FORM operform, where operform specifies a one- to eight-character operatorform number for the files the printer can process.v FORM *, where the asterisk specifies that the printer can process filesregardless of form number.v FORM STANDARD, where STANDARD indicates that the type of paper to bemounted on the printer is the type of paper that the installation has assignedthe name STANDARD. Each installation establishes its own set of formnames, assigns those form names to types of paper, <strong>and</strong> informs theoperations staff <strong>and</strong> end users of the correlation between form names <strong>and</strong>types of paper.STANDARD is the default.IMAGE_LIBrary imagelibspecifies the name of the image library to be used after a cold start. Note thatyou can override this value by specifying an image library name on the STARTcomm<strong>and</strong>.The default value is IMAGE IMAG3800.LIMit None(the default) tells <strong>CP</strong> that this 3800 printer can print files with an unlimitednumber of records.LIMit nnnnnnnnnntells <strong>CP</strong> that this 3800 printer limits the size of files it can print. The variablennnnnnnnnn is a 1- to 10-digit decimal number that indicates the maximumnumber of records per file that this printer can print.214 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


RDEVICE (3800 Printers)SEParator YesSEParator Nospecifies whether a separator is desired for output files. The default value isSEPARATOR YES.MARK YesMARK Nospecifies whether a 3800 printer will mark separator trailer pages with separatorbars.When ’Mark Yes’ is in effect, 3 separator trailer pages are printed for each file.’Mark No’ causes only one trailer page to be printed, thus saving paper.However, using ’Mark No’ could also make it more difficult to separate 3800output, as there are no markings between files. The default is YES.WCGM 2WCGM 4specifies that the 3800 has either the 2-writable-character generation modulefeature or the 4-writable-character generation module feature.Note: You can only specify this option for a 3800 model 1.For a 3800 model 1, the default is WCGM 2. For 3800 models 3, 6, <strong>and</strong> 8, thedefault is WCGM 4.Examples1. To define a Model 3 3800 printer at device number 0500 to be dedicated to avirtual machine, use the following RDEVICE statement:Rdevice 0500 Type 3800 Model 32. To define three Model 8 3800 printers at device numbers 0501, 0502, <strong>and</strong> 0503to be dedicated to virtual machines, use the following RDEVICE statement:Rdevice 0501-0503 Type 3800 Model 83. To define a 3800:v Model 1 printer at device number 100 with a class of 1, the4-writable-character generation module, <strong>and</strong> an image library calledIMAG3800v Model 3 printer at device number 150 driven by AFPv Model 6 printer at device number 180 driven by AFPuse the following RDEVICE statements:/*-------------------------------------------------------------------*//* What you always wanted to know about our printers, but were *//* afraid to ask: *//* *//* 3800 Model 1 is a <strong>CP</strong> Spooling Printer *//* 3800 Model 3 is driven by the AFP Program Product *//* 3800 Model 6 is driven by the AFP Program Product */Chapter 6. The System Configuration File 215


RDEVICE (3800 Printers)/* *//* Note: 3800 Models 3, 6 <strong>and</strong> 8 can be specified as either: *//* Type 3800 *//* - or - *//* Type AFP *//*-------------------------------------------------------------------*/RDevice 100 Type 3800 Model 1,Class 1,WCGM 4,IMAGE_LibraryIMAG3800Rdevice 150 Type 3800 Model 3,AFP YesRdevice 180 Type AFP Model 6216 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SAYSAY Statement►►SAY►◄▼token'string'"string"PurposeUse the SAY statement to write a line of text to the operator’s console duringinitialization.How to SpecifyInclude as many statements as needed; they are optional. You can place SAYstatements anywhere in the system configuration file.Oper<strong>and</strong>stokenis the text to be displayed. Because the token is not delimited by quotationmarks, it will be converted to upper case when it is displayed.'string'"string"is the text to be displayed. The text inside the quotation marks is not convertedto upper case. The string is displayed unchanged <strong>and</strong> without the delimitingquotation marks.UsageNotes1. Multiple blanks not within quotation marks are compressed to a single blank.2. Multiple blanks within quotation marks are not compressed.3. Variable substitution does not occur for any token specified on the SAYstatement.4. A SAY statement that contains no text will cause a blank line to be displayed.5. Use two consecutive double quote marks (″″) to represent a ″ character within astring delimited by double quotation marks. Similarly, use two consecutive singlequotation marks (’’) to represent a ’ character within a string delimited by singlequotation marks.6. Each SAY statement shows up as a message on the operator’s console. Themessages are not displayed as they are encountered. These, as well as all theother initialization messages, are queued in storage until the operator isautologged.7. Messages that display the SAY statement text will also appear in a spooledconsole listing from the IPL. Use an appropriate text length on your SAYstatements to ensure the entire text is captured in the spooled console file.The text limit for a SAY statement is approximately 1900 characters. This is themaximum amount of data that will be displayed at the operator’s console. Fordata written to a console file, the existing limit is 299 characters. Because theChapter 6. The System Configuration File 217


SAYlogical record length of a console file is 132, also note that any data placed in aconsole file may be arbitrarily split into multiple lines.Examples1. If your system configuration file contains the following:SAY ’at line 100, a test of SAY:’SAY "Reading file" -system- configSAYSAY ’Here’’s my test’ a b cSAYSAY "Here’’s another test"Your operator would see:H<strong>CP</strong>ZPQ2780I At line 100, a test of SAY:H<strong>CP</strong>ZPQ2780I Reading file -SYSTEM- CONFIGH<strong>CP</strong>ZPQ2780IH<strong>CP</strong>ZPQ2780I Here’s my test A B CH<strong>CP</strong>ZPQ2780IH<strong>CP</strong>ZPQ2780I Here’’s another test218 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SETSET Statement►►30SET ▼ SHUTDOWNtime interval0SIGnal SHUTDOWNtime interval►◄PurposeOper<strong>and</strong>sUse the SET statement to define default system configuration values.SHUTDOWNtime intervaldefines the amount of time reserved for <strong>VM</strong> to shut down when a SHUTDOWNcomm<strong>and</strong> is issued or a hardware termination signal is received. The intervalspecifies a number of seconds in the range 0 to 32767. If SETSHUTDOWNTIME is not specified in the system configuration file, the default is30 seconds.SIGnal SHUTDOWNtime intervaldefines the duration of the default shutdown signal timeout interval in seconds.This value is used as the default timeout interval for SIGNAL, FORCE, <strong>and</strong>SHUTDOWN comm<strong>and</strong>s when no explicit interval is specified. The intervalspecifies a number of seconds in the range 0 to 32767. If SET SIGNALSHUTDOWNTIME is not specified in the system configuration file, the default is0, which suppresses guest shutdown signals.Chapter 6. The System Configuration File 219


START (Disk)START (Disk) Statement►► STArt DASd ▼ rdevrdev-rdevVOLid volidALL▼LInksPAgeSPolSPoolTDiskTDskTEmpdisk►◄PurposeUse the START statement to restart devices after they have been drained. You canalso use them to change the processing options currently in effect for the devices.How to SpecifyInclude as many statements as needed; they are optional. You can place STARTstatements anywhere in the system configuration file. If you specify more than onestatement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definition overrides anyprevious specifications.Oper<strong>and</strong>sDASd rdevis the real device number of the DASD you want started. The variable rdev is ahexadecimal number between X'0000' <strong>and</strong> X'FFFF'.DASd rdev-rdevis a range of real device numbers specifying the DASD you want started. Eachrdev is a hexadecimal number between X'0000' <strong>and</strong> X'FFFF'.VOLid volidis the volume serial number of the volume you want started.ALLtells <strong>CP</strong> to allow new operations on this device, including:v Writing pages during page-outv Allowing minidisk linkingv Allocating space for new spool records.v Allocating temporary disk space.LInkstells <strong>CP</strong> to start allowing users to link to minidisks on this device.PAgetells <strong>CP</strong> to start writing pages to this device during page-out operations.SPolSPooltells <strong>CP</strong> to allocate space on this device for new spool records.220 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


START (Disk)UsageNotesTDiskTDskTEmpdisktells <strong>CP</strong> to allocate temporary disk space on this device.1. <strong>CP</strong> processes the system configuration file during an IPL, which means <strong>CP</strong> hasnot attached any volumes to the system when processing your STARTstatements. Therefore, when you specify a START VOLID statement, you canonly use volumes that were previously specified in the system configuration fileusing <strong>CP</strong>_OWNED statements (page 73).Examples1. To have <strong>CP</strong> start allowing:v All new operations on all DASD at real devices numbers X'0700' throughX'07FF'v Spooling on DASD at real device number X'0800'v Paging on volume SYSPG1 (which was, of course, previously defined on a<strong>CP</strong>_OWNED statement)use the following START statements:Start DASD 0700-07ff All /* Allow all activity on these DASD */Start DASD 0800 Spool /* Allow spooling only on DASD 800 */Start VolID syspg1 Page /* Allow <strong>CP</strong> to allocate page space *//* on volume SYSPG1 */Chapter 6. The System Configuration File 221


STORAGESTORAGE Statement►► STORage Oper<strong>and</strong>s ►◄Oper<strong>and</strong>s:▼ SCMBK nnnnn Devices_extra TRACE optionsnnn Pages_extraTRACE options:TRace nnnn MegabytesMaster Pages Alternate mPercentPurposeUse the STORAGE statement to configure the use of real storage.How to SpecifyInclude as many statements as needed; they are optional. You can placeSTORAGE statements anywhere in the system configuration file. If you specifymore than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definitionoverrides any previous specifications.Oper<strong>and</strong>sSCMBK nnnnn Devices_extraSCMBK nnn Pages_extratells <strong>CP</strong> how much additional storage to allocate for subchannel measurementblocks (SCMBKs). <strong>CP</strong> allocates the SCMBK space in contiguous pages ofstorage. During initialization, <strong>CP</strong> allocates 1 SCMBK for every subchannel onthe system <strong>and</strong> rounds the amount of storage up to the nearest page. Thus,you have enough SCMBK space for every real device on your system plussome free SCMBK space. How much free SCMBK space you have will vary,depending upon how many real devices you have on your system.When you specify the SCMBK oper<strong>and</strong>, <strong>CP</strong> calculates the amount of SCMBKstorage exactly as if you had not specified the SCMBK oper<strong>and</strong>, <strong>and</strong> then <strong>CP</strong>adds on the extra storage you want.When you specify the DEVICES_EXTRA oper<strong>and</strong>, <strong>CP</strong> takes the number ofextra devices you specified, calculates the number of pages of storage that itneeds to reserve for those extra devices, <strong>and</strong> then adds the extra pages to thenumber of pages of SCMBK space that it originally calculated for the existingsubchannels on your system. The variable nnnnn must be a 1- to 5-digitdecimal number between 0 <strong>and</strong> 65535.When you specify the PAGES_EXTRA oper<strong>and</strong>, <strong>CP</strong> takes the number of pagesthat it originally calculated for the existing subchannels on your system <strong>and</strong>222 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


STORAGEUsageNotesadds to that the number of extra pages you specified. The variable nnn must bea 1- to 3-digit decimal number between 0 <strong>and</strong> 511.TRacetells <strong>CP</strong> how many 4 KB pages to allocate to the internal trace table for themaster processor <strong>and</strong> alternate processors in the configuration. For example, ifyou run z/<strong>VM</strong> on a uniprocessor <strong>and</strong> you specify:Storage Trace 100 Pages<strong>CP</strong> allocates 100 pages for the internal trace table. If you run z/<strong>VM</strong> on a dyadicprocessor <strong>and</strong> you specify:Storage Trace Master 100 Pages Alternate 90 Percent<strong>CP</strong> allocates 100 pages for the internal trace table of the master processor, <strong>and</strong>90 percent of the 100 pages (that is, 90 pages) as the internal trace table foreach of the other processors in the complex.If you omit the TRACE oper<strong>and</strong>, <strong>CP</strong> calculates the internal trace table storagesize by allocating 1 page of storage for every 64 pages (256 KB) of real storageor 100 pages, whichever is smaller.You can specify nnnn as any decimal number between 3 pages <strong>and</strong> less thanone fourth of real memory.1. What <strong>CP</strong> uses as the size of the real memory depends on what you have codedin H<strong>CP</strong>SYS <strong>and</strong> the amount of real storage installed on the system. If inH<strong>CP</strong>SYS you use the SYSSTORE macroinstruction to specify a real memorysize smaller than what is actually available, <strong>CP</strong> will use the size specified inH<strong>CP</strong>SYS. We recommend that you not use SYSSTORE, or that you code it totell <strong>CP</strong> that two gigabytes of memory (the largest amount possible) areavailable, so that <strong>CP</strong> itself can determine the actual amount of memory in thesystem. If you do not code the macroinstruction, <strong>CP</strong> will default to twogigabytes.2. You can override what you or <strong>CP</strong> has determined to be the amount of memoryavailable by using the IPL parameter screen of the St<strong>and</strong>-Alone Program Loader(SAPL) when you IPL the system.3. In storage configurations that have a large area of unaddressable storage (ahole) near the top of the storage address range, <strong>and</strong> with only a small amountof storage addressable after the hole, you may want to code the SYSSTOREmacro to limit the system’s use of storage to the large contiguous area belowthe hole. This will have two effects:a. the QUERY (real) STORAGE response will be closer to the actual usablestorage, <strong>and</strong>b. the system will not map the unaddressable area of storage with controlblocks which may use more storage than would be gained by the smallamount of usable storage that is available above the hole.One example of this type of storage configuration is a physically partitionedprocessor. The processor controller makes some of the storage available to onepartition, but it doesn’t always make contiguous address ranges available to oneside or the other.Note: Many processors do provide only contiguous storage ranges to eachpartition.Chapter 6. The System Configuration File 223


STORAGE4. The SCMBK oper<strong>and</strong> will be ignored when format-1 measurement blocks arebeing used.Examples1. The following STORAGE statement allocates:v 1 megabyte of storage for the internal trace tableStorage, /* Configure Use of Real Storage */Trace Master 1 M Alternate 90 Percent,/* Allocate 1 Megabyte of space *//* Master Processors trace table *//* <strong>and</strong> 90% of that amount for *//* each of the other processors *//* in the complex */224 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSTEM_DATEFORMATSYSTEM_DATEFORMAT Statement►► SYSTEM_DATEFormat SHOrtdateFULldateISOdate►◄PurposeUse the SYSTEM_DATEFORMAT statement to set the system-wide default dateformat for comm<strong>and</strong>s that provide multiple date formats.How to SpecifyInclude as many statements as needed; they are optional. You can placeSYSTEM_DATEFORMAT statements anywhere in the system configuration file. Ifyou specify more than one SYSTEM_DATEFORMAT statement, the last statementoverrides any previous specifications.Oper<strong>and</strong>sSHOrtdatespecifies that dates in comm<strong>and</strong> responses be displayed in mm/dd/yy, mm/dd,or yy/mm/dd format, where mm is the month, dd is the day of the month, <strong>and</strong> yyis the 2-digit year.FULldatespecifies that dates in comm<strong>and</strong> responses be displayed in mm/dd/yyyy oryyyy/mm/dd format, where mm is the month, dd is the day of the month, <strong>and</strong>yyyy is the 4-digit year.ISOdatespecified that dates in comm<strong>and</strong> responses be displayed in yyyy-mm-dd format,where yyyy is the 4-digit year, mm is the month, <strong>and</strong> dd is the day of the month.UsageNotes1. If the SYSTEM_DATEFORMAT statement is not in the system configuration file,then the system-wide default date format is SHORTDATE.2. The format of the dates, such as mm/dd/yy, mm/dd, <strong>and</strong> yy/mm/dd, aredependent upon the comm<strong>and</strong> or routine that displays or generates the date.Examples1. To define a default date format of mm/dd/yy, mm/dd, or yy/mm/dd, use thefollowing SYSTEM_DATEFORMAT statement:SYSTEM_DATEFORMAT SHORTDATE2. To define a default date format of mm/dd/yyyy or yyyy/mm/dd, use the followingSYSTEM_DATEFORMAT statement:SYSTEM_DATEFORMAT FULLDATE3. To define a default date format of yyyy-mm-dd, use the followingSYSTEM_DATEFORMAT statement:SYSTEM_DATEFORMAT ISODATEChapter 6. The System Configuration File 225


SYSTEM_IDENTIFIERSYSTEM_IDENTIFIER Statement►► SYSTEM_IDentifier model cpuid systemidGatewaygateid►◄PurposeUse the SYSTEM_IDENTIFIER statement to create a system identifier for theprocessor on which you run Z/<strong>VM</strong>. If your installation has several processors, youcan specify a SYSTEM_IDENTIFIER statement for each one. At initialization, <strong>CP</strong>matches the processor model <strong>and</strong> <strong>CP</strong>U identification numbers with those specifiedwith the SYSTEM_IDENTIFIER statements. The selected system identifier appearson printed output separator pages <strong>and</strong> in the status area of 3270 display screens.The SYSTEM_IDENTIFIER statement also identifies the system gateway name fora system. The system gateway is identified automatically when <strong>CP</strong> initializes on thesystem. A system gateway provides a way to access private or global resources ona specific system within a CS or TSAF collection. It also provides access to privateor global resources in a CS collection from an adjacent TSAF collection. Similarly,resources in a TSAF collection can be accessed from an adjacent CS collection.By default, the system gateway name is the same as the system ID for the system;this is the recommended naming convention. However, if this default conflicts withanother gateway name, you can use the SYSTEM_IDENTIFIER statement tospecify a unique system gateway name for the system.How to SpecifyInclude as many statements as needed; they are optional. You can placeSYSTEM_IDENTIFIER statements anywhere in the system configuration file. If youspecify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>smodelis a character string with a length from 1 to 4 that specifies the processor unitmodel number. <strong>CP</strong> evaluates the string using pattern matching rules that aredescribed below in Usage Note 2 on page 227. An asterisk (*) tells <strong>CP</strong> to matchany processor unit model number.cpuidis a character string with a length from 1 to 6 that specifies the processoridentification number of a <strong>CP</strong>U in the processor complex. <strong>CP</strong> evaluates thestring using pattern matching rules that are described below in Usage Note 2 onpage 227. An asterisk (*) tells <strong>CP</strong> to match any processor identification number.systemidis the 1- to 8-character system identification.Gateway gateidis the 1- to 8-character name of the system gateway that will be identified whenthis system initializes. The gateid name is optional; if not specified, the system226 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSTEM_IDENTIFIERUsageNotesgateway name defaults to the systemid for the system. ISFC will then use thisvalue as its node name within a CS collection.If you specify NOSYSGAT as the gateid value, a system gateway name is notidentified for the system. Also, the specified system cannot join a CS collection.1. The EQUATE statement (page 133) defines nicknames that you can use asrecord qualifiers. You can also use the systemid on the SYSTEM_IDENTIFIERstatement as a record qualifier. Just be sure to define the systemid in aSYSTEM_IDENTIFIER statement before you try to use it as a nickname.2. Pattern matching generally follows the rules used by the CMS LISTFILEcomm<strong>and</strong>. Use an asterisk (*) to match any number of characters; use apercent sign (%) to match any single character.Examples1. To define 3 9121 processors in a CSE complex with a system identifier ofBOSTON3, use the following SYSTEM_IDENTIFIER statements:System_Identifier 9121 020721 Boston3 /* Set Boston3 as our */System_Identifier 9121 120721 Boston3 /* system identifier */System_Identifier 9121 220721 Boston3 /* for processor 0/1/2 *//* in the complex */2. Here is another way to do what Example 1 does. In addition, this method tells<strong>CP</strong> to match any processor model <strong>and</strong> any processor in that complex, evenmore than the 3 processors shown in Example 1.System_Identifier * %20721 Boston3 /* Set Boston3as our *//* system identifier *//* for processor 0/1/2 *//* in the complex */Chapter 6. The System Configuration File 227


SYSTEM_IDENTIFIER_DEFAULTSYSTEM_IDENTIFIER_DEFAULT Statement►► SYSTEM_IDENTIFIER_DEFault systemidGatewaygateid►◄PurposeUse the SYSTEM_IDENTIFIER_DEFAULT statement to provide <strong>CP</strong> with a defaultsystem identifier. <strong>CP</strong> uses the SYSTEM_IDENTIFIER_DEFAULT statement whenZ/<strong>VM</strong> is loaded on a system whose model <strong>and</strong> <strong>CP</strong>U identification numbers do notcorrespond with any of those specified on SYSTEM_IDENTIFIER statements.The default system identifier then appears on printed output separator pages <strong>and</strong> inthe status area of 3270 display screens.The SYSTEM_IDENTIFIER_DEFAULT statement also identifies the system gatewayname for a system. The system gateway is identified automatically when <strong>CP</strong>initializes on the system. A system gateway provides a way to access private orglobal resources on a specific system within a CS or TSAF collection. It alsoprovides access to private or global resources in a CS collection from an adjacentTSAF collection. Similarly, resources in a TSAF collection can be accessed from anadjacent CS collection.By default, the system gateway name is the same as the system ID for the system;this is the recommended naming convention. However, if this default conflicts withanother gateway name, you can use the SYSTEM_IDENTIFIER_DEFAULTstatement to specify a unique system gateway name for the system.How to SpecifyInclude as many statements as needed; they are optional. You can placeSYSTEM_IDENTIFIER_DEFAULT statements anywhere in the system configurationfile. If you specify more than one statement with the same oper<strong>and</strong>s, the lastoper<strong>and</strong> definition overrides any previous specifications.Oper<strong>and</strong>sExamplessystemidis the 1- to 8-character system identifier.Gateway gateidis the 1- to 8-character name of the system gateway that will be identified whenthis system initializes. The gateid name is optional; if not specified, the systemgateway name defaults to the systemid for the system. ISFC will then use thisvalue as its node name within a CS collection.If you specify NOSYSGAT as the gateid value, a system gateway name is notidentified for the system. Also, the specified system cannot join a CS collection.1. To define a default system identifier of BOSTON3 for your system, use thefollowing SYSTEM_IDENTIFIER_DEFAULT statement:228 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSTEM_IDENTIFIER_DEFAULTSystem_Identifier_Default Boston3 /* No matter what machine *//* <strong>CP</strong> is IPLed on, let us *//* be known as BOSTON3 */Chapter 6. The System Configuration File 229


SYSTEM_RESIDENCESYSTEM_RESIDENCE Statement►► SYSTEM_RESidence ►► CHECKpoint Cylinder start n▼FRom FORWARMstart VOLid volid Page&SYSRES&SYSPARM►◄PurposeUse the SYSTEM_RESIDENCE statement to describe the layout of the <strong>CP</strong> systemresidence disk.How to SpecifyInclude as many statements as needed; they are optional. You can placeSYSTEM_RESIDENCE statements anywhere in the system configuration file. If youspecify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>sCHECKpointtells <strong>CP</strong> that you are defining the real starting location <strong>and</strong> the maximumnumber of pages or cylinders that the checkpoint process will use to preservesystem restart data.WARMstarttells <strong>CP</strong> that you are defining the real starting location <strong>and</strong> the maximumnumber of pages or cylinders that will be used for saving warm start data.VOLid volidtells <strong>CP</strong> the volume label of the device to use as the checkpoint or warm startdevice. If omitted, it defaults to the system residence volume.VOLid &SYSREStells <strong>CP</strong> that the system residence device is to be used as the checkpoint orwarm start device.VOLid &SYSPARMtells <strong>CP</strong> that the volume containing the active PARM disk is to be used as thecheckpoint or warm start device.FRom Cylinder startFRom Page starttells <strong>CP</strong> the real starting location (in cylinders or pages) where the checkpointor warm start information is saved. For CKD device types, start is a nonzerodecimal number from 1 to 65535. For FBA devices, startis a 1-to-6 digit 4 KBpage number that is greater than 3 (pages 0 through 3 are reserved).FOR ndefines the maximum number of cylinders or pages that <strong>CP</strong> should use for the230 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSTEM_RESIDENCEUsageNotescheckpoint or warm start area. For CKD device types, n is a 1-digit decimalnumber from 1 to 9 that represents cylinders. For FBA device types, n is adecimal number from 1 to 2000 that represents 4 KB pages.1. The checkpoint <strong>and</strong> warm start areas must not overlap.2. The system residence volume is the volume on which the <strong>CP</strong> module resides.This is usually the IPL volume, but may be another volume selected through thefull screen loader.3. The checkpoint <strong>and</strong> warm start areas must be on a <strong>CP</strong>_OWNED volume.4. Once you have IPLed the system with Checkpoint <strong>and</strong> warm start areasdefined, you cannot move them without doing a CLEAN START, therefore youshould allocate enough space to allow for expected growth.5. The checkpoint <strong>and</strong> warm start areas can be extended (in the same place) ifthere is room without doing a CLEAN START. For example, if your currentspecification is:SYSTEM_RESIDENCE CHECKpoint volid ESARES from Cyl 100 for 5you could change it to:SYSTEM_RESIDENCE CHECKpoint volid ESARES from Cyl 100 for 9if cylinders 105 – 108 are not in use for other purposes.Examples1. To define the system residence volume with the:v Checkpoint area starting at cylinder 101 <strong>and</strong> occupying 2 cylinders on DASDSYS002 <strong>and</strong>v Warm start area starting at cylinder 204 <strong>and</strong> occupying 1 cylinder on DASDSYS001,specify the following SYSTEM_RESIDENCE statement:System_Residence,CheckPoint VolID sys002 from Cylinder 101 for 2,WarmStart VolID sys001 from Cylinder 204 for 12. To define the system residence volume with the:v Checkpoint area starting at cylinder 568 <strong>and</strong> occupying 9 cylinders on DASDESARES <strong>and</strong>v Warm start area starting at cylinder 784 <strong>and</strong> occupying 9 cylinders on DASDESARES,specify the following SYSTEM_RESIDENCE statement:System_Residence,WarmStart VolID esares from Cylinder 568 for 9,CheckPoint VolID esares from Cylinder 784 for 9Chapter 6. The System Configuration File 231


SYSTEM_USERIDSSYSTEM_USERIDS Statement►►SYSTEM_USERids(1)▼ACCount1 OPERACCT AUTOlogAUTOlogACCount1 useridNOAUTOlogAUTOlogACCOUNT2 useridNOAUTOlogDUMP OPERATNSDUMP useridEREP1 OPEREREP AUTOlogAUTOlogEREP1 useridNOAUTOlogAUTOlogEREP2 useridNOAUTOlogOPERator OPERATOR DISConnectOPERator userid DISConnectNODISConnectSTARTup AUTOLOG1 AUTOlogAUTOlogSTARTup useridNOAUTOlogSYMPtom1 OPERSYMP AUTOlogAUTOlogSYMPtom1 useridNOAUTOlogAUTOlogSYMPTOM2 useridNOAUTOlog►◄Notes:1 You must specify at least one of the following oper<strong>and</strong>s.PurposeUse the SYSTEM_USERIDS statement to specify user IDs that will perform specialfunctions during <strong>and</strong> after IPL. These functions include accumulating accountingrecords, system dump files, EREP records, <strong>and</strong> symptom records, <strong>and</strong> specifyingthe primary system operator’s user ID <strong>and</strong> disconnect status.How to SpecifyInclude as many statements as needed; they are optional. You can placeSYSTEM_USERIDS statements anywhere in the system configuration file. If youspecify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>sACCount1 userid232 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSTEM_USERIDSUsageNotesACCOUNT2 useridspecifies the user IDs of the virtual machines for which the *ACCOUNT systemservice is to accumulate <strong>and</strong> checkpoint accounting records. You can specifyone or two user IDs. One or both of these virtual machines are automaticallylogged on during <strong>CP</strong> initialization. The user IDs are alphanumeric characterstrings of up to eight characters. OPERACCT is the default for ACCOUNT1.AUTOlogNOAUTOlogspecify whether <strong>CP</strong> should log on the indicated user ID at IPL.DUMP useridis the user ID of the virtual machine that receives spooled system dumps. Thevariable userid must be an alphanumeric character string of as many as eightcharacters. OPERATNS is the default.EREP1 useridEREP2 useridare the user IDs of the virtual machines for which the *LOGREC system serviceis to accumulate <strong>and</strong> checkpoint error records. You can specify one or two userIDs. EREP1 can be shortened to EREP. The variable userid must be analphanumeric string 1- to 8-characters long. These virtual machines areautomatically logged on during <strong>CP</strong> initialization. OPEREREP is the default forEREP1.OPERator useridis the primary system operator’s user ID. The variable userid is analphanumeric character string of as many as eight characters. The default isOPERATOR.DISConnectNODISConnectindicates whether <strong>CP</strong> should disconnect the primary system operator when asoftware-initiated IPL occurs <strong>and</strong> the primary system operator is not logged ontothe primary system console.If you specify DISCONNECT, <strong>and</strong> the primary system operator is not loggedonto the primary system console when a software-initiated IPL occurs, <strong>CP</strong>disconnects the primary system operator. If you specify NODISCONNECT, <strong>CP</strong>does not force the primary system operator to be disconnected. If you do notcode this oper<strong>and</strong>, DISCONNECT is assumed.Specifying NODISCONNECT may affect system security. For more information,see usage note 5 on page 234.STARTup useridspecifies the user ID that is to be logged on automatically at IPL to performfunctions you select. AUTOLOG1 is the default.SYMPtom1 useridSYMPTOM2 useridspecifies the user IDs of virtual machines for which the <strong>CP</strong> *SYMPTOM systemservice is to accumulate <strong>and</strong> checkpoint symptom records. One or two user IDscan be specified. The user IDs are alphanumeric strings of as many as eightcharacters each. OPERSYMP is the default for SYMPTOM <strong>and</strong> SYMPTOM1.1. If the user ID specified on the SYSTEM_USERIDS ACCOUNT statement has anentry in the user directory, that user ID is logged on at system initialization.Chapter 6. The System Configuration File 233


SYSTEM_USERIDS2. <strong>CP</strong> creates system dump files as a result of system abends <strong>and</strong> systemrestarts. You can also use the <strong>VM</strong>DUMP comm<strong>and</strong> to send virtual machinedumps to the virtual machine you specify in the SYSTEM_USERIDS statement.3. If the user ID specified on the SYSTEM_USERIDS EREP statement has anentry in the user directory at system initialization, the associated virtual machineis logged on to the system.4. <strong>CP</strong> logs on a system operator with the user ID you specify on the OPERATORoper<strong>and</strong>, regardless of whether that user ID has an entry in the user directory.5. If you specify NODISCONNECT, <strong>CP</strong> allows the primary system operator toremain logged onto the primary system console after all software-initiated IPLs.This makes the primary system operator’s user ID available to any user withaccess to the primary system console, which could lead to a system-widecompromise of security. If you specify NODISCONNECT, make sure that theprimary system console <strong>and</strong> all alternate system consoles are in a secureenvironment <strong>and</strong> are continuously monitored by authorized personnel.6. When the primary system operator logs off, the next user that logs on with atleast one of the privilege classes required for the system operator will becomethe primary system operator. However, this can be overridden by either:v Specifying alternate operators using the ALTERNATE_OPERATORSstatement in the system configuration filev Selecting a new operator using the SET SYSOPER comm<strong>and</strong>.For more information about the ALTERNATE_OPERATORS statement, see“ALTERNATE_OPERATORS Statement” on page 58. For more information ondefining operator privilege class, see the “PRIV_CLASSES Statement” on page184 or the “SYSFCN (Optional)” on page 673.7. If the user ID specified on the SYSSYMP statement has an entry in the userdirectory at system initialization, the virtual machine designated by that user IDis logged on to the system.8. If you are changing records relating to ACCOUNT, EREP or SYMPTOM, refer tothe following sections: “Disassociating a User ID from the Retrieval ofAccounting Records” on page 298, “Disassociating a User ID from the Retrievalof EREP Records” on page 317, <strong>and</strong> “Disassociating a User ID from theRetrieval of Symptom Records” on page 320.Examples1. The following SYSTEM_USERIDS statement specifies:v The system operator as user ID OPERATOR <strong>and</strong> to specify that <strong>CP</strong> shoulddisconnect the system operator when a software re-IPL occurs <strong>and</strong> thesystem operator is not logged on to the system consolev Dumps should go to the OPERATNS user IDv <strong>CP</strong> should automatically log the AUTOLOG1 user ID at IPLv One EREP user ID called EREP <strong>and</strong> to have <strong>CP</strong> automatically log on thatuser ID at IPLv One accounting user ID called DISKACNTv One symptom records user ID called OPERSYMPSystem_UserIDs,Operator operator, /* use OPERATOR ID as operator */Disconnect, /* If bounce, disconnect oper */Dump operatns, /* use OPERATNS ID for dump collection */StartUp autolog1, /* <strong>CP</strong> will XAUTOLOG this ID during init */234 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSTEM_USERIDSErep erep Autolog, /* Collect I/O error & Send to EREP ID */Account diskacnt, /* Send Accting Records to Diskacnt ID */Symptom opersymp /* Send Symptom Records to Opersymp ID */Chapter 6. The System Configuration File 235


THROTTLETHROTTLE Statement►► THROTtle ▼ rdevrdev1-rdev2RATE nnnnn ►◄PurposeUse the THROTTLE statement to limit (throttle) the number of I/O operations that aguest operating system can initiate to a specific real device. This prevents a guestfrom interfering with or dominating I/O resources.The THROTTLE statement adds real devices to the I/O throttling list. Afterinitialization completes, <strong>CP</strong> begins limiting (throttling) the guest’s I/O rate to thespecified device or devices.How to SpecifyInclude as many statements as needed; they are optional. You can placeTHROTTLE statements anywhere in the system configuration file. If you specifymore than one statement with the same device number, <strong>CP</strong> uses the I/O rate onthe last statement, <strong>and</strong> ignores all previous statements with that device number.Oper<strong>and</strong>srdevrdev1-rdev2identifies the real device or devices that you want to throttle. The variable rdevis the real device number of the device <strong>and</strong> must be a hexadecimal numberbetween X'0000' <strong>and</strong> X'FFFF'. You can specify a single device address, a rangeof device addresses, or any combination thereof.RATE nnnnnspecifies the I/O throttling rate (number of I/O operations per second that thisdevice can process from a guest operating system). The variable nnnnn mustbe a decimal number between 1 <strong>and</strong> 10,000.UsageNotes1. To add devices to or delete devices from the I/O throttling list after initialization,use the SET THROTTLE comm<strong>and</strong>. For more information about the SETTHROTTLE comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.2. To display the list of devices being throttled <strong>and</strong> their respective I/O rates, usethe QUERY THROTTLE comm<strong>and</strong>. For more information about the QUERYTHROTTLE comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.Examples1. To limit all guest operating systems using 1c10 to 1 I/O operations per second,use the following THROTTLE statement:Throttle 1c10 rate 1 */During initialization, <strong>CP</strong> responds:Device 1C10 added to throttle set. Rate = 1.236 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


TIMEZONE_BOUNDARYTIMEZONE_BOUNDARY Statement►►TIMEZONE_BoundaryONdateATtimeTOzoneid►◄PurposeUse the TIMEZONE_BOUNDARY statement to tell <strong>CP</strong> what time zone to choose atIPL so that it can determine the local time.How to SpecifyInclude as many statements as needed; they are optional. You can placeTIMEZONE_BOUNDARY statements anywhere in the system configuration file. Ifyou specify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>sON dateis the date, in the format yyyy-mm-dd, on which <strong>CP</strong> should begin using a giventime zone.ATtimeis the time, in the format hh:mm:ss, when <strong>CP</strong> should begin using a given timezone.TO zoneidis a 3-character time zone definition established by an earlierTIMEZONE_DEFINITION statement.UsageNotes1. Before you can use this statement, you must already have defined the timezoneto which you are changing. You can do so with TIMEZONE_DEFINITIONstatements in the system configuration file. For more information about theTIMEZONE_DEFINITION statement, see page 239.2. As its name suggests, this statement establishes the boundaries for the timezones that <strong>CP</strong> can use. You must specify at least one boundary that hasoccurred before the current date; otherwise, <strong>CP</strong> will use Coordinated UniversalTime (UTC) to determine the new time. For example, if you include the followingstatements in your system configuration file:TimeZone_Boundary on 1992-04-05 at 02:00:00 to edtTimeZone_Boundary on 1992-10-25 at 02:00:00 to estTimeZone_Boundary on 1993-04-04 at 02:00:00 to edtTimeZone_Boundary on 1993-10-31 at 02:00:00 to est<strong>CP</strong> determines the local time according to where the time of the system’s clockfits in to the boundaries. If you IPL the system before 02:00:00 UTC on April 5,1992, <strong>CP</strong> assumes that the local time is UTC, because nothing has told itotherwise. If you IPL between 02:00:00 UTC on April 5, 1992, <strong>and</strong> 02:00:00EDT on October 25, 1992, <strong>CP</strong> assumes that EDT is the local time. If you IPLafter 02:00:00 EDT on October 25, 1992, but before 02:00:00 EST April 4, 1993,<strong>CP</strong> takes EST as the local time; if you IPL any time after 02:00:00 EST on April4, 1993, <strong>CP</strong> assumes that the local time is EDT. <strong>CP</strong> determines which timeChapter 6. The System Configuration File 237


TIMEZONE_BOUNDARYzone 02:00:00 is in from the preceding TIMEZONE_BOUNDARY statement. Ifthere is no preceding statement, <strong>CP</strong> assumes that 02:00:00 is in UTC.3. After the system is up <strong>and</strong> running, you can issue the <strong>CP</strong> SET TIMEZONEcomm<strong>and</strong> to change the time zone of the running system. If you do so, you mayonly choose a time zone that has already been defined with either aTIMEZONE_DEFINITION statement or the <strong>CP</strong> DEFINE TIMEZONE comm<strong>and</strong>.For more information about the TIMEZONE_DEFINITION statement, see page239. For more information about the <strong>CP</strong> SET TIMEZONE comm<strong>and</strong>, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.Examples1. To define eastern daylight time (EDT) <strong>and</strong> eastern st<strong>and</strong>ard time (EST) throughthe year 1999, use the following TIMEZONE_BOUNDARY statements:/*---------- Timezone Boundary Condition Definitions ----------*/TimeZone_Boundary on 1992-04-05 at 02:00:00 to edtTimeZone_Boundary on 1992-10-25 at 02:00:00 to estTimeZone_Boundary on 1993-04-04 at 02:00:00 to edtTimeZone_Boundary on 1993-10-31 at 02:00:00 to estTimeZone_Boundary on 1994-04-03 at 02:00:00 to edtTimeZone_Boundary on 1994-10-30 at 02:00:00 to estTimeZone_Boundary on 1995-04-02 at 02:00:00 to edtTimeZone_Boundary on 1995-10-29 at 02:00:00 to estTimeZone_Boundary on 1996-04-07 at 02:00:00 to edtTimeZone_Boundary on 1996-10-27 at 02:00:00 to estTimeZone_Boundary on 1997-04-06 at 02:00:00 to edtTimeZone_Boundary on 1997-10-26 at 02:00:00 to estTimeZone_Boundary on 1998-04-05 at 02:00:00 to estTimeZone_Boundary on 1998-10-25 at 02:00:00 to estTimeZone_Boundary on 1999-04-04 at 02:00:00 to edtTimeZone_Boundary on 1999-10-31 at 02:00:00 to est238 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


TIMEZONE_DEFINITIONTIMEZONE_DEFINITION Statement►► TIMEZONE_DEFinition zoneid East+West−offset►◄PurposeUse the TIMEZONE_DEFINITION statement to define system time zones accordingto their difference from Coordinated Universal Time (UTC).How to SpecifyInclude as many statements as needed; they are optional. You can placeTIMEZONE_DEFINITION statements anywhere in the system configuration file. Ifyou specify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>szoneidis the 3-letter time zone ID that you are defining. The variable zoneid must be a1- to 3-character identifier.Important NoteThe zone IDs UTC <strong>and</strong> GMT are predefined. You cannot specify UTC orGMT as a zoneid.UsageNotesEast+ tells <strong>CP</strong> to add the value specified by offset to Coordinated Universal Time(UTC) to define this time zone ID. EAST is the same as +.West− tells <strong>CP</strong> to to subtract the value specified by offset from the CoordinatedUniversal Time (UTC) to define the time zone ID. WEST is the same as −.offsetis the difference between UTC <strong>and</strong> zoneid. You can enter offset as hh:mm:ss orhh.mm.ss, where hh is required <strong>and</strong> mm <strong>and</strong> ss are optional. You can specifyss only if you have specified mm.1. This statement defines the time zones that will always be available after an IPL.You can use the <strong>CP</strong> DEFINE TIMEZONE comm<strong>and</strong> to define additional timezones after the system is up <strong>and</strong> running. For more information about the <strong>CP</strong>DEFINE TIMEZONE comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.Examples1. To define time zone:v EDT as 4 hours west of UTCChapter 6. The System Configuration File 239


TIMEZONE_DEFINITIONv EST as 5 hours west of UTCv DRB as 5 ½ hours west of UTCv RFC as 4 ½ hours west of UTCv IKA as 3 ½ hours west of UTCv DAC as 4 ½ hours east of UTCv PDT as 7 hours west of UTCv PST as 8 hours west of UTCuse the following TIMEZONE_DEFINITION statements:TimeZone_Definition edt West 4.00.00 /* EDT is West 4 from UTC */TimeZone_Definition est West 5.00.00 /* EST is West 5 from UTC */TimeZone_Definition drb West 5.30.00 /* DRB is West 5 hrs, 30 *//* minutes from UTC */TimeZone_Definition rfc West 4.30.00 /* RFC is West 4 hrs, 30 *//* minutes from UTC */TimeZone_Definition ika West 3.30.00 /* IKA is West 3 hrs, 30 *//* minutes from UTC */TimeZone_Definition dac East 4.30.00 /* DAC is East 4 hrs, 30 *//* minutes from UTC */TimeZone_Definition pdt West 7.00.00 /* PDT is 7 West of UTC */TimeZone_Definition pst West 8.00.00 /* PST is 8 West of UTC */240 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


TOLERATE_CONFIG_ERRORSTOLERATE_CONFIG_ERRORS Statement►► TOLERATE_CONFIG_ERRors YesNo►◄PurposeUse the TOLERATE_CONFIG_ERRORS statement to mark sections of the systemconfiguration file that must be without errors when <strong>CP</strong> processes them.How to SpecifyInclude as many statements as needed; they are optional. You can placeTOLERATE_CONFIG_ERRORS statements anywhere in the system configurationfile.If you do not specify any TOLERATE_CONFIG_ERRORS statements, <strong>CP</strong> willtolerate errors in your system configuration file.The first statement you specify must be TOLERATE_CONFIG_ERRORS NO. Allsubsequent statements must alternate between YES <strong>and</strong> NO. You cannot have twoTOLERATE_CONFIG_ERRORS statements in a row with the same oper<strong>and</strong>. Thatis, you cannot tell <strong>CP</strong> to tolerate errors, process a few more statements, <strong>and</strong> thentolerate errors again.Oper<strong>and</strong>sYestells <strong>CP</strong> to begin tolerating errors in the system configuration file.Notells <strong>CP</strong> not to tolerating any errors in the system configuration file untilencountering a TOLERATE_CONFIG_ERRORS YES statement.UsageNotes1. When <strong>CP</strong> finds an error in a system configuration file statement that follows aTOLERATE_CONFIG_ERRORS NO statement, it remembers the erroroccurrence <strong>and</strong>, after displaying all the errors encountered, prompts theoperator with a question. The operator can respond to the question in one of thefollowing ways:v Stopping the IPL processv Continuing with the normal IPL processv Continuing with the normal IPL process but not automatically logging on anyvirtual machines.2. If <strong>CP</strong> does not find any errors while processing the system configuration file or ifall errors found are in sections of the system configuration file whereTOLERATE_CONFIG_ERRORS YES is in effect, the normal IPL processcontinues.3. If you are using the IMBED <strong>and</strong> the TOLERATE_CONFIG_ERRORSstatements, remember that <strong>CP</strong> processes the statements in an imbed file as ifthose statements were included in the master system configuration file. If youChapter 6. The System Configuration File 241


TOLERATE_CONFIG_ERRORSare not tolerating errors in the master file <strong>and</strong> then repeat the statement in theimbeded file, <strong>CP</strong> will flag the duplicate statement in the imbedded file as anerror.4. If you change a system configuration file, you should run the <strong>CP</strong>SYNTAX execto make sure there are no syntax errors in the system configuration file.Examples1. To tell <strong>CP</strong> not to ignore any syntax problems found in the processing of the<strong>CP</strong>_OWNED statements, use the following TOLERATE_CONFIG_ERRORSstatements:Tolerate_Config_Errors no /* Don’t ignore errors here */<strong>CP</strong>_Owned Slot 1 ESARES<strong>CP</strong>_Owned Slot 2 ESAP01<strong>CP</strong>_Owned Slot 3 ESAP02<strong>CP</strong>_Owned Slot 4 ESAP03<strong>CP</strong>_Owned Slot 5 ESAP04<strong>CP</strong>_Owned Slot 6 ESAP05Tolerate_Config_Errors yes /* Back to normal mode */2. To make sure <strong>CP</strong> does not ignore any errors when defining your checkpoint <strong>and</strong>warm start areas, use the following TOLERATE_CONFIG_ERRORS statements:Tolerate_Config_Errors no /* Don’t Ignore Any Errors in *//* the System Residence Stmt */System_Residence,CheckPoint VolID esares From Cylinder 784 For 9,WarmStart VolID esares From Cylinder 568 For 9Tolerate_Config_Errors yes /* From here on, errors are OK */242 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


TRANSLATE_TABLETRANSLATE_TABLE Statement►► TRANSLATE_TABle FILter GRAPHICS_APLGRAPHICS_NONAPLGRAPHICS_TextTRANSlate CMS_FILENAMEDISPlay_storageEXTERNAL_SYMBOLUSERID_CHARactersUSERID_PATTERNINputOUTputASCII_APLASCII_1977ASCII_19803277_APL3277_Text3278_APL3278_Textfn ft ►◄PurposeUse TRANSLATE_TABLE statements to specify replacements for the st<strong>and</strong>ardtranslation tables that <strong>CP</strong> uses to accomplish certain tasks.How to SpecifyInclude as many statements as needed; they are optional. You can placeTRANSLATE_TABLE statements anywhere in the system configuration file. If youspecify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>sFILtertells <strong>CP</strong> to use the specified file to filter out invalid characters.GRAPHICS_APLtells <strong>CP</strong> to use this translation table to filter out invalid characters <strong>and</strong> 3270orders out of a 3270 data stream destined for an APL display.GRAPHICS_NONAPLtells <strong>CP</strong> to use this translation table to filter invalid characters out of a 3270data stream destined for an EBCDIC (non-APL) display.GRAPHICS_Texttells <strong>CP</strong> to use this translation table to filter out invalid characters <strong>and</strong> 3270orders out of a 3270 data stream destined for an 3270 text display.TRANSlatetells <strong>CP</strong> to use the specified file to translate input or output characters.CMS_FILENAMEdefines which characters are acceptable to use when defining CMS filenames <strong>and</strong> file types.DISPlay_storagetells <strong>CP</strong> to use the hexadecimal-to-EBCDIC translation table when issuingthe <strong>CP</strong> DISPLAY comm<strong>and</strong> with the T option or the <strong>CP</strong>TYPE comm<strong>and</strong>.Chapter 6. The System Configuration File 243


TRANSLATE_TABLEFor more information about the <strong>CP</strong> DISPLAY <strong>and</strong> <strong>CP</strong>TYPE comm<strong>and</strong>s, seethe z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.EXTERNAL_SYMBOLdefines which characters are acceptable to use when defining entry pointnames.USERID_CHARactersdefines the translation test table used to validate user IDs in the systemconfiguration file. This statement overrides the table in H<strong>CP</strong>TBL. Indicatevalid characters by setting their positions in the translation test table toX'00'. A non-zero value means that the character is not valid in a user ID.If you change the USERID_CHARACTERS table, make correspondingchanges to the USERID_PATTERN table. See “USER Directory ControlStatement (Control)” on page 572 for points to consider in selecting validcharacters for user IDs.If the translation test table you define invalidates any characters from thedefault acceptable set:v Uppercase letters (A through Z)v Numbers (0 through 9)v Other (# $ @ _ -)then results are unpredictable.USERID_PATTERNdefines the translation test table used to validate user ID patterns in thesystem configuration file. This statement overrides the table in H<strong>CP</strong>TBL.Indicate valid characters by setting their positions in the translation testtable to X'00'. Any non-zero value means that the character is not valid in auser ID pattern.If you change the USERID_PATTERN table, make corresponding changesto the USERID_CHARACTERS table. Make sure the USERID_PATTERNtable includes the pattern-matching characters asterisk (*) <strong>and</strong> percent (%)as valid characters.INputOUTputtells <strong>CP</strong> to use the specified file to translate input or output characters.ASCII_1977defines the translation table used to translate input characters comingfrom a TTY UASCII-1977 level display to EBCDIC, or output EBCDICcharacters to those going to a TTY UASCII-1977 terminal.ASCII_1980defines the translation table used to translate input characters comingfrom a TTY UASCII-1980 level display to EBCDIC, or output EBCDICcharacters to those going to a TTY UASCII-1980 terminal.ASCII_APLdefines the translation table used to translate ASCII APL inputcharacters coming from an ASCII APL-capable display to EBCDIC APLcharacters, or to translate EBCDIC APL characters to those going to anASCII APL-capable display.3277_APLdefines the translation table used to translate input characters comingfrom a 3277 APL display, or output characters going to such a display.244 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


TRANSLATE_TABLEUsageNotes3278_APLdefines the translation table used to translate input characters comingfrom a 3278 APL display, or output characters going to such a display.3277_Textdefines the translation table used to translate input characters comingfrom a text-only 3277 display, or output characters coming from such adisplay.3278_Textdefines the translation table used to translate input characters comingfrom a text-only 3278 display, or output characters going to such adisplay.fn is the file name of the translation table file.ft is the file type of the translation table file.1. The specified file must reside on the same minidisk as the system configurationfile so that <strong>CP</strong> can find the file during IPL processing.2. As with the system configuration file, comments in the file containing thetranslation table must be delimited with a beginning /* <strong>and</strong> an ending */. A singlecomment may span multiple lines in the file.3. Data found outside the aforementioned comment delimiters must be EBCDIChexadecimal. Because each byte in the translation table is represented by 2hexadecimal digits, no token in the file can consist of an odd number ofcharacters. Translated characters may be grouped in clusters to improve thereadability of the table.4. Exactly 256 translated characters (512 data bytes) must exist in the file. If thenumber of characters specified does not equal 256, <strong>CP</strong> will generate an error<strong>and</strong> otherwise ignore the statement.Examples1. To display the underscore character (X'6D') as an underscore character ratherthan the period (X'4B') defined in the default translation table used by theDISPLAY comm<strong>and</strong>, use the following:/* Use the following translate table located in file, *//* DISPLAY STORAGE, as the hexadecimal to EBCDIC *//* translate table. */Translate_Table Translate Display_Storage display storageOn the same minidisk as the system configuration file, you would put a filecalled DISPLAY STORAGE containing the following information:/*----------------------------------------** Translate table for display of storage **----------------------------------------*/4B4B4B4B 4B4B4B4B 4B4B4B4B 4B4B4B4B /* .... .... .... ....*/4B4B4B4B 4B4B4B4B 4B4B4B4B 4B4B4B4B /* .... .... .... ....*/4B4B4B4B 4B4B4B4B 4B4B4B4B 4B4B4B4B /* .... .... .... ....*/4B4B4B4B 4B4B4B4B 4B4B4B4B 4B4B4B4B /* .... .... .... ....*/404B4B4B 4B4B4B4B 4B4B4B4B 4C4D4E4F /* .... .... ....


TRANSLATE_TABLE504B4B4B 4B4B4B4B 4B4B4B5B 5C5D5E5F /* &;.. .... ...$*);* */60614B4B 4B4B4B4B 4B4B4B6B 6C6D6E6F /* -/.. .... ..., %_>?*/4B4B4B4B 4B4B4B4B 4B4B7A7B 7C7D7E7F /* .... .... ..# @’=" */4B818283 84858687 88894B4B 4B4B4B4B /* .abc defg hi.. ....*/4B919293 94959697 98994B4B 4B4B4B4B /* .jkl mnop qr.. ....*/4B4BA2A3 A4A5A6A7 A8A94B4B 4B4B4B4B /* ..st uvwx yz.. ....*/4B4B4B4B 4B4B4B4B 4B4B4B4B 4B4B4B4B /* .... .... .... ....*/4BC1C2C3 C4C5C6C7 C8C94B4B 4B4B4B4B /* .ABC DEFG HI.. ....*/4BD1D2D3 D4D5D6D7 D8D94B4B 4B4B4B4B /* .JKL MNOP QR.. ....*/4B4BE2E3 E4E5E6E7 E8E94B4B 4B4B4B4B /* ..ST UVWX YZ.. ....*/F0F1F2F3 F4F5F6F7 F8F94B4B 4B4B4B4B /* 0123 4567 89.. ....*/<strong>CP</strong> reads the DISPLAY STORAGE file at IPL time <strong>and</strong> would replace the defaulttable used with the <strong>CP</strong> DISPLAY or <strong>CP</strong>TYPE comm<strong>and</strong>s with the table specifiedin the file.246 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


USERFORMUSERFORM Statement►► USERFOrm userform operformNARrow►◄PurposeUse the USERFORM statement to create a list of user form names <strong>and</strong> theircorresponding operator form numbers, <strong>and</strong> to specify forms as NARROW so that anarrow separator page is printed.How to SpecifyInclude as many statements as needed; they are optional. You can placeUSERFORM statements anywhere in the system configuration file. If you specifymore than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definitionoverrides any previous specifications.Oper<strong>and</strong>suserformis a 1- to 8-character alphanumeric name of a user form.operformis a 1- to 8-character alphanumeric operator form number.NARrowtells <strong>CP</strong> that the form is no more than 86 columns wide. If you specifyNARROW, separator information does not print beyond column 86.UsageNotes1. The userform <strong>and</strong> operform oper<strong>and</strong>s establish the correspondence betweenthe user form <strong>and</strong> operator form. If you do not specify any user form <strong>and</strong>operator form pairs, <strong>CP</strong> does not generate a form list <strong>and</strong> does not distinguishbetween user <strong>and</strong> operator forms.Examples1. To define three user form <strong>and</strong> operator form pairs with the followingcharacteristics:v User form DOCUMENT paired with operator form G1PN which are at most86 characters widev User form LISTING paired with operator form G1PWv User form PLAIN paired with operator form G1PN which are at most 86characters wideuse the following USERFORM statements:Userform document g1pn NarrowUserform listing g1pwUserform plain g1pn NarrowChapter 6. The System Configuration File 247


USER_DEFAULTSUSER_DEFAULTS System Configuration File Statement►► USER_DEFAULTS Oper<strong>and</strong>s ►◄Oper<strong>and</strong>s▼(1) LPP OFFLPPOFFnnnPOSIXOPT QUERYDB ALLOW EXEC_SETIDS DISALLOWQUERYDB ALLOW EXEC_SETIDS DISALLOWPOSIXOPTQUERYDB DISALLOW EXEC_SETIDS ALLOWMESSAGE_LEVel WNG MSG EMSG_CODE EMSG_TEST IMSGMESSAGE_LEVel<strong>CP</strong>LANGuage▼OFFlangidWNGMSGEMSG_CODEEMSG_TEXTIMSGNotes:1 You must specify at least one of the following oper<strong>and</strong>s. If you want to specify more than oneoper<strong>and</strong>, you can specify them in any order.PurposeUse the USER_DEFAULTS statement to define default attributes <strong>and</strong> permissionsfor all users on the system.How to SpecifyInclude as many statements as needed; they are optional. You can place theUSER_DEFAULTS statement anywhere in the system configuration file. If youspecify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>sLPPSets the default global lines per page value for all virtual printers <strong>and</strong> virtualconsoles defined on the system.The lines per page value is used by <strong>VM</strong> functions which generate virtual printer<strong>and</strong> console output. For <strong>CP</strong>, these include console spooling, SPXTAPE log files,<strong>CP</strong> dump <strong>and</strong> trace output, DDR, <strong>and</strong> load maps generated by H<strong>CP</strong>LDR. CMSfunctions which use the lines per page value for virtual printer output include thePRINT, ASSEMBLE, UPDATE, GENMSG, TAPE, FILEPOOL FORMAT AUDIT,<strong>and</strong> SET DOSLNCNT comm<strong>and</strong>s.248 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


USER_DEFAULTSLPP OFFIndicates that internal defaults will be used as the global value for lines perpage. The defaults are the same as those which have been used on priorreleases of <strong>VM</strong> for virtual printers <strong>and</strong> consoles.LPP nnnSets the default global lines per page value to nnn. nnn must be a decimalnumber with a range of 30 to 255.POSIXOPTdefines the default POSIX authorizations to permit or prohibit all users on thesystem from querying other users’ POSIX information or having their POSIXsecurity values changed.These authorizations can be overridden for a specific user by adding thePOSIXOPT directory control statement (“POSIXOPT Directory ControlStatement (General)” on page 548) to that users’ directory entry.QUERYDB ALLOW(the default) specifies by default, users are permitted to query other users’POSIX database information.QUERYDB DISALLOWspecifies that by default, users are not permitted to query other users’ POSIXdatabase information.EXEC_SETIDS DISALLOW(the default) specifies by default, users are not permitted to have their POSIXsecurity values changed on behalf of a POSIX exec() function call designating afile with the setuid or setgid attributes.EXEC_SETIDS ALLOWspecifies that by default, users are permitted to have their POSIX securityvalues changed on behalf of a <strong>CP</strong> exec() processing. The server requesting thechange must be authorized to do so by the SETIDS option of the POSIXOPTdirectory statement.MESSAGE_LEVELsets the default message level for a user who accesses the system, overridingthe default of WNG ON, MSG ON, <strong>and</strong> IMSG ON. At least one of the followingmessage levels must be specified:WNGenables the user to receive messages from other users issued by theWARNING or WNG comm<strong>and</strong>.MSGenables the user to receive messages from other users issued by theMESSAGE, MSG, or MSGNOH comm<strong>and</strong>.EMSG_CODEenables the user to receive the message code portion of error messages.EMSG_TEXTenables the user to receive the text portion of error messages.IMSGenables the user to receive informational messagesOFFprevents the user from receiving any messages, warnings, error messages,or informational messages.Chapter 6. The System Configuration File 249


USER_DEFAULTSUsageNotes<strong>CP</strong>LANGUAGE langidlangid is the system default language. langid must be 1 to 5 characters <strong>and</strong>must consist of CMS file system characters only. If the <strong>CP</strong>LANGUAGE oper<strong>and</strong>is not specified on any USER_DEFAULTS statement, <strong>CP</strong> uses the languagethat was built into the <strong>CP</strong> nucleus as the system default language.1. If the USER_DEFAULTS statement is not specified, or the POSIXOPT oper<strong>and</strong>is not specified, the defaults are to permit all users to query other users’ POSIXdatabase information, <strong>and</strong> prohibit all users from having their POSIX securityvalues changed on behalf of <strong>CP</strong> exec() processing. ESM (External SecurityManager) may override each user’s settings.2. If the USER_DEFAULTS statement is not specified, or the LPP oper<strong>and</strong> is notspecified, the default global value for lines per page is ’OFF’.3. The LPP option of the SPOOL comm<strong>and</strong> may be used to change the LPP valuefor individual virtual printers <strong>and</strong> consoles.Examples1. The following example shows how to specify the USER_DEFAULTS statement.Note that you can specify more than one oper<strong>and</strong> on a singleUSER_DEFAULTS statement.To specify that:v All users in the system can not query other users’ POSIX databaseinformation.v All users in the system are prohibited from having their POSIX securityvalues changed by other (authorized) users.use the following USER_DEFAULTS statement:User_Default posixopt Querydb disallow Exec_Setids disallow2. To specify that the default lines per page value for all virtual printers <strong>and</strong> virtualconsoles is 56, use the following USER_DEFAULTS statement:User_Defaults lpp 563. To specify that internal defaults should be used (as in prior releases of <strong>VM</strong>) asthe lines per page value for all virtual printers <strong>and</strong> virtual consoles, use thefollowing USER_DEFAULTS statement:User_Defaults lpp OFF250 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


USER_VOLUME_EXCLUDEUSER_VOLUME_EXCLUDE Statement►► USER_VOLUME_EXclude ▼ volid ►◄PurposeUse the USER_VOLUME_EXCLUDE statement to define volumes that are to beexcluded from the user volume list. (User volumes are those volumes that you useto contain minidisks.) During system IPL, <strong>CP</strong> attaches to the system any volumeswhose volume identifiers match a generic volume identifier specified in aUSER_VOLUME_INCLUDE statement unless the volume is also specified in aUSER_VOLUME_EXCLUDE statement.How to SpecifyThe USER_VOLUME_EXCLUDE statement is optional; if specified, you can includeas many statements as you need as long as the total number of volumes specifiedon a single statement does not exceed 500. If you specify a generic volumeidentifier, <strong>CP</strong> counts each volume that matches the pattern as one.You can place USER_VOLUME_EXCLUDE statements anywhere in the systemconfiguration file. If you specify more than one statement with the same oper<strong>and</strong>s,the last oper<strong>and</strong> definition overrides any previous specifications.Oper<strong>and</strong>svolidis a volume serial number or a generic volume serial number for a specificsubset of volumes. The variable volid is a 1- to 6-character alphanumeric stringwith no imbedded blanks. A generic volume serial number is a 1- to 6-characterstring with asterisks (*) in place of one or more arbitrary characters <strong>and</strong> percentsigns (%) in place of exactly one arbitrary character. For example:User_Volume_Excludees%vm*UsageNotescreates a list that includes all volumes whose volume serial number start withES <strong>and</strong> have <strong>VM</strong> as their fourth <strong>and</strong> fifth characters.A single asterisk (*) prevents <strong>CP</strong> from attaching all user volumes from thesystem that are also specified on any USER_VOLUME_EXCLUDE statements.1. If a volume identifier matches a volid pattern specified both inUSER_VOLUME_EXCLUDE <strong>and</strong> USER_VOLUME_INCLUDE statements, <strong>CP</strong>does not attach the volume to the system during initialization. A duplicate volidcauses the entire statement to be rejected. A volume is automatically attachedto the system if:It is explicitly listed in the USER_VOLUME_LIST statementIt is explicitly listed in the USER_VOLUME_INCLUDE statementIt satisfies a USER_VOLUME_INCLUDE pattern <strong>and</strong> does not satisfy aUSER_VOLUME_EXCLUDE statement.Chapter 6. The System Configuration File 251


USER_VOLUME_EXCLUDE2. Dedicated devices are not user volumes. They must be attached to the user towhich they are dedicated <strong>and</strong> not to the system. Therefore, if you specifyUSER_VOLUME_INCLUDE statements, you may want to specify dedicateddevices in USER_VOLUME_EXCLUDE statements.Examples1. To exclude volume XAUSRF from the user volume list, use the followingUSER_VOLUME_EXCLUDE statement:/* Exclude the following User Volume */User_Volume_Exclude xausrf /* from the System User Volume List. *//* NOTE: a previous USER_VOLUME_INCLUDE *//* XAUSR* would have caused this volume *//* to be mounted. */252 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


USER_VOLUME_INCLUDEUSER_VOLUME_INCLUDE Statement►► USER_VOLUME_INclude ▼ volid ►◄PurposeUse the USER_VOLUME_INCLUDE statement to define user volumes by a genericvolume identifier <strong>and</strong> to include those volumes in the user volume list. (Uservolumes are those volumes that you use to contain minidisks.) During system IPL,<strong>CP</strong> attaches to the system any volumes whose volume identifiers match a genericvolume identifier specified in a USER_VOLUME_INCLUDE statement. A volumemust be attached to the system before users can link to minidisks it contains.How to SpecifyThe USER_VOLUME_INCLUDE statement is optional; if specified, you can includeas many statements as you need as long as the total number of volumes specifiedon a single statement does not exceed 500. If you specify a generic volumeidentifier, <strong>CP</strong> counts each volume that matches the pattern as one.Oper<strong>and</strong>sYou can place USER_VOLUME_INCLUDE statements anywhere in the systemconfiguration file. If you specify more than one statement with the same oper<strong>and</strong>s,the last oper<strong>and</strong> definition overrides any previous specifications.volidis a volume serial number or a generic volume serial number for a specificsubset of volumes. The variable volid is a 1- to 6-character alphanumeric stringwith no imbedded blanks. A generic volume serial number is a 1- to 6-characterstring with asterisks (*) in place of one or more arbitrary characters <strong>and</strong> percentsigns (%) in place of exactly one arbitrary character. For example:User_Volume_Includees%vm*creates a list that includes all volumes whose volume serial number start withES <strong>and</strong> have <strong>VM</strong> as their fourth <strong>and</strong> fifth characters.A single asterisk (*) attaches all volumes to the system.UsageNotes1. You can specify volumes that you do not want defined as user volumes byspecifying them on USER_VOLUME_EXCLUDE statements (page 251).2. If a volume identifier matches a generic volume identifier specified in bothUSER_VOLUME_INCLUDE <strong>and</strong> USER_VOLUME_EXCLUDE statements, <strong>CP</strong>does not attach the volume to the system during initialization. A duplicate volidcauses the entire statement to be rejected. A volume is automatically attachedto the system if:It is explicitly listed in the USER_VOLUME_LIST statementIt is explicitly listed in the USER_VOLUME_INCLUDE statementChapter 6. The System Configuration File 253


USER_VOLUME_INCLUDEIt satisfies a USER_VOLUME_INCLUDE pattern <strong>and</strong> does not satisfy aUSER_VOLUME_EXCLUDE statement.3. If a volume is normally attached to the system using aUSER_VOLUME_INCLUDE statement, <strong>CP</strong> does not notify the operator if thevolume is not mounted. If a user volume is necessary for normal systemoperation, specify it with a USER_VOLUME_LIST statement (page 255) so thatthe operator is notified during system initialization that the volume is notmounted.Examples1. To include all volumes whose first 5 characters are XAUSR in the user volumelist, use the following USER_VOLUME_INCLUDE statement:/* Include the following User Volumes */User_Volume_Include xausr* /* on the System User Volume List.. *//* So, any volume starting with *//* XAUSR* will be mounted. */254 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


USER_VOLUME_LISTUSER_VOLUME_LIST Statement►► USER_VOLUME_List ▼ volid ►◄PurposeUse the USER_VOLUME_LIST statement to generate a list of user DASD volumes.(User volumes are those volumes you use to contain minidisks.) At system IPL, <strong>CP</strong>attaches the specified user volumes to the system. A volume must be attached tothe system before users can link to minidisks it contains.How to SpecifyThe USER_VOLUME_LIST statement is optional; if specified, you can include asmany statements as you need as long as the total number of volumes specified ona single statement does not exceed 500.Oper<strong>and</strong>sYou can place USER_VOLUME_LIST statements anywhere in the systemconfiguration file.volidis the volume serial number of the DASD that you want included in the uservolume list. The variable volid is a 1- to 6-character string where each charactercan be a letter, number, or hyphen.UsageNotes1. If you do not specify user volumes in any USER_VOLUME_LIST statements,you can still attach a volume to a virtual machine or system using the <strong>CP</strong>ATTACH comm<strong>and</strong>. For more information about the <strong>CP</strong> ATTACH comm<strong>and</strong>, seethe z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.2. If you specify a volume on a USER_VOLUME_LIST statement that is notmounted when you load <strong>CP</strong>, <strong>CP</strong> considers that volume unavailable. <strong>CP</strong> notifiesthe operator that the volume is not mounted <strong>and</strong> continues processing, ifpossible. The system operator can mount <strong>and</strong> attach the volume to the systemwhen it is needed using the <strong>CP</strong> ATTACH comm<strong>and</strong>. This provision leaves spacefor future growth.3. You can also define user volumes by specifying a generic volume identifier. Todo this, use the USER_VOLUME_INCLUDE statement (page 253).4. When more than one DASD volume is found at system initialization (IPL) tohave the same volume serial number (volid), <strong>and</strong> that volume serial number isin the <strong>CP</strong> or user volume list, the volume attached to the system is the one atthe lowest device number. This rule does not apply to duplicates of the systemresidence volume. For more information about the system residence volume,see note 2 on page 231.5. A duplicate volid causes the entire statement to be rejected.6. A volume is automatically attached to the system if:It is explicitly listed in the USER_VOLUME_LIST statementChapter 6. The System Configuration File 255


USER_VOLUME_LISTIt is explicitly listed in the USER_VOLUME_INCLUDE statementIt satisfies a USER_VOLUME_INCLUDE pattern <strong>and</strong> does not satisfy aUSER_VOLUME_EXCLUDE statement.Examples1. To add volumes USPK1, USPK2, USPK3, USPK4, <strong>and</strong> USPK5 to the userDASD volume list, use the following USER_VOLUME_LIST statements:User_Volume_List uspk1 /* Attach the following disks to the */User_Volume_List uspk2 /* system at IPL time. These disks */User_Volume_List uspk3 /* contain user minidisks. They */User_Volume_List uspk4 /* will be attached to the system */User_Volume_List uspk5 /* IPL time. */256 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


<strong>VM</strong>LAN<strong>VM</strong>LAN StatementPERSistent INFinitemaxcount►► <strong>VM</strong>LAN LIMit ▼ TRANSient INFinitemaxcount►◄ACNT ▼ SYSTEM OFFACCOUNTingONUSER OFFONMA<strong>CP</strong>REFIX macprefixMACIDRange SYSTEM xxxxxx-xxxxxxUSERxxxxxx-xxxxxxPurposeOper<strong>and</strong>sUse the <strong>VM</strong>LAN statement to set control global attributes for <strong>VM</strong> Guest LANsupport.PERSistent INFiniteindicates the number of PERSISTENT <strong>VM</strong> LAN segments <strong>and</strong> Virtual Switchesallowed on the <strong>CP</strong> Host system as infinite. This is the default.PERSistent maxcountis the maximum number of PERSISTENT <strong>VM</strong> LAN segments <strong>and</strong> VirtualSwitches allowed on the <strong>CP</strong> Host system at one time. The value maxcountmust be a decimal number in the range of 0 to 1024. If PERSistent maxcount isnot specified, the system default is INFinite.A persistent LAN is created when the DEFINE LAN statement is used to createa LAN during system initialization, or when a Class B user defines a SYSTEMowned LAN. A persistent Virtual Switch is created when the DEFINE VSWITCHstatement is used to create the switch during system initialization, or when aClass B user defines a Virtual Switch.TRANSient INFiniteindicates the number of TRANSIENT <strong>VM</strong> LAN segments allowed on the <strong>CP</strong>Host system as infinite. This is the default.TRANSient maxcountis the maximum number of TRANSIENT <strong>VM</strong> LAN segments allowed on the <strong>CP</strong>Host system at one time. The value maxcount must be a decimal number in therange of 0 to 1024. If TRANSient maxcount is not specified, the system defaultis INFinite.A transient LAN is created when the DEFINE LAN comm<strong>and</strong> is used to define ageneral user LAN.ACNT|ACCOUNTing SYSTEM ON|OFFSet the default accounting state for <strong>VM</strong> LAN segments owned by the SYSTEMuser ID. The default state of this attribute is OFF. Class B users are authorizedto override this setting on the DEFINE LAN <strong>and</strong> SET LAN comm<strong>and</strong>s.Chapter 6. The System Configuration File 257


<strong>VM</strong>LANUsageNotesACNT|ACCOUNTing USER ON|OFFSet the default accounting state for <strong>VM</strong> LAN segments owned by individualusers. The default state of this attribute is OFF. Class B users are authorized tooverride this setting on the DEFINE LAN <strong>and</strong> SET LAN comm<strong>and</strong>s.MA<strong>CP</strong>REFIX macprefixspecifies the three byte prefix (manufacturer ID) used when generating locallyadministered MAC addresses on the system. It must be 6 hexadecimal digitswithin the range of 020000 through 02FFFF (inclusive). In combination with theMAC ID used on the NICDEF directory statement, the MA<strong>CP</strong>REFIX allowsunique identification of virtual adapters within a network. If MA<strong>CP</strong>REFIX is notspecified, the default is 020000 (02–00–00).MACIDRange SYSTEM xxxxxx-xxxxxx USER xxxxxx-xxxxxxis the range of identifiers (up to six hexadecimal digits each) to be used by <strong>CP</strong>when generating the unique identifier part (last six hexadecimal digits) of avirtual adapter MAC address. If a SYSTEM MACIDRANGE is not specified, <strong>CP</strong>creates unique identifiers in any range (000001–FFFFFF).USER xxxxxx-xxxxxx is the subset of the SYSTEM range of identifiers that arereserved for user definition of MACIDs in the NICDEF directory statement.When specified, <strong>CP</strong> does not assign MACIDs within this USER range duringcreation of virtual adapters defined dynamically (DEFINE NIC) or with theNICDEF (or SPECIAL) directory statement without the MACID oper<strong>and</strong>. Inthese cases, <strong>CP</strong> generates a unique identifier for the adapter outside of theUSER range. Any MACID values specified on a NICDEF directory statementmust be within the USER range or the virtual adapter is not defined duringLOGON processing. If a USER MACIDRANGE is not specified, <strong>CP</strong> createsunique identifiers within the SYSTEM MACIDRANGE.1. Use the QUERY <strong>VM</strong>LAN comm<strong>and</strong> to find out the limits that have beenestablished for a running <strong>CP</strong> system.2. The limits established by the <strong>VM</strong>LAN statement only apply AFTER systeminitialization. The DEFINE LAN <strong>and</strong> DEFINE VSWITCH statements in SYSTEMCONFIG are not affected by these limits. Therefore, it is possible to find (usingQUERY <strong>VM</strong>LAN) that the current number of <strong>VM</strong> LAN segments is higher thanthe limit.3. To prohibit users from defining any <strong>VM</strong> LAN segments on a given system, setthe limit to zero (0). For example, ″<strong>VM</strong>LAN LIMIT TRANSIENT 0″ would preventgeneral users from creating <strong>VM</strong> LAN segments.4. Use the MA<strong>CP</strong>REFIX <strong>and</strong> MACIDRange parameters if you require a predictableMAC address assignment for virtual NICs on your system. When you combinesystems using a virtual switch, each host should define a unique MA<strong>CP</strong>REFIXin the SYSTEM CONFIG file to ensure that each host will generate unique MACaddresses.Examples1. To allow any number of PERSISTENT <strong>VM</strong> LAN segments, but set a limit of 20<strong>VM</strong> LAN segments for use on a transient basis, specify the following:vmlan limit persistent infinite transient 202. To enable accounting for every user-owned <strong>VM</strong> LAN segment, specify thefollowing:vmlan accounting user on258 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


XLINK_DEVICE_DEFAULTSXLINK_DEVICE_DEFAULTS Statement►► XLINK_DEVICE_DEFaults TYPe33803390CLass 3CLass 012CLass 1239▼CYLinder 0CYLinder nnnnnMAP_RECORDS nnMAP_RECORD_LengthTRack 1TRack nnnnnnn►◄PurposeUse the XLINK_DEVICE_DEFAULTS statement to change the defaults for the CSEtrack location <strong>and</strong> format for specific types of DASD.Note: Although this statement allows you to change the definitions of cylinder,track, record length, <strong>and</strong> map records for the CSE track, we do notrecommend that you do so. This allows you to provide link support for newdevices with new geometries, should that become necessary in the future.Attention: Current upper limits may exceed capacities of present devices <strong>and</strong>cause errors when attempting to access beyond a particular device limit. Therefore,any change of defaults should be done with caution.How to SpecifyInclude as many statements as needed; they are optional. You can placeXLINK_DEVICE_DEFAULTS statements anywhere in the system configuration file.If you specify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>sTYPe 3380tells <strong>CP</strong> that you want to change the defaults for a 3380 DASD. Optionally, youcan specify:CLass 0, 1, or 2tells <strong>CP</strong> that this 3380 DASD belongs in the 1770 cylinder size group.CLass 3(the default) tells <strong>CP</strong> that this 3380 DASD belongs in the 2655 cylinder sizegroup.If you are not sure which class to specify, we recommend that you choose acylinder size group which is larger than the actual number of cylinders on thedevice or choose the default.If you omit the CLASS oper<strong>and</strong> for 3380 devices, CSE uses a value of 2655cylinders for all 3380 type K devices <strong>and</strong> 1770 for for all 3380 non-type Kdevices.Chapter 6. The System Configuration File 259


XLINK_DEVICE_DEFAULTSTYPe 3390tells <strong>CP</strong> that you want to change the defaults for a 3390 DASD. Optionally, youcan specify:CLass 1tells <strong>CP</strong> that this 3390 DASD belongs in the 1113 cylinder size group.CLass 2tells <strong>CP</strong> that this 3390 DASD belongs in the 2226 cylinder size group.CLass 3tells <strong>CP</strong> that this 3390 DASD belongs in the 3339 cylinder size group.CLass 9tells <strong>CP</strong> that this 3390 DASD belongs in the 10017 or greater, cylinder sizegroup. This class supports the maximum number of cylinders on the 3390.If you are not sure which class to specify, we recommend that you choose acylinder size class larger than the actual number of cylinders on the device.CYLinder nnnnntells <strong>CP</strong> the number of the cylinder where the CSE track is located for thespecified DASD type. The variable nnnnn is a decimal number from 0 to themaximum number of cylinders on the DASD. If omitted, the default is 0.Note: Although this statement allows you to change the cylinder definition forthe CSE track, it is not recommended. This allows you to provide linksupport for new devices with new geometries, should that becomenecessary in the future.Attention: Current upper limits may exceed capacities of present devices <strong>and</strong>cause errors when attempting to access beyond a particular device limit.Therefore, any change of defaults should be done with caution.MAP_RECORD nndefines the number of map records on the CSE track. The variable nn is adecimal number from 2 to 56. Specify as many records as will fit on one track.Table 8 shows the map record defaults for each device type.Table 8. Map Record Defaults for Each DASD TypeDevice Type Number of Map Records Map Record Length3380 non-type K 11 17703380 type K 8 26553390-1 (native) 12 11133390-1 (emulated) 12 11133390-2 (native) 8 22263390-2 (emulated) 8 22263390-3 (native) 8 33393390-3 (emulated) 8 33393390-9 (native) 56 10017¹OTHER 8 1024¹Value can be up to the maximum number of cylinders on the DASD.260 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


XLINK_DEVICE_DEFAULTSUsageNotesNote: Although this statement allows you to change the definition of maprecords for the CSE track, it is not recommended. This allows you toprovide link support for new devices with new geometries, should thatbecome necessary in the future.Attention: Current upper limits may exceed capacities of present devices <strong>and</strong>cause errors when attempting to access beyond a particular device limit.Therefore, any change of defaults should be done with caution.MAP_RECORD_Length nnnnndefines the number of cylinders <strong>CP</strong> should make available for CSE to use. Thisvalue should be at least equal to the number of cylinders on the volume. Ifnnnnn is smaller than the number of cylinders on the volume <strong>CP</strong> denies links tominidisks on cylinders with a number higher than nnnnn. The variable nnnnn isa decimal number from 203 to the maximum number of cylinders on the DASD.Table 8 on page 260 shows the map record defaults for each device type.For CKD devices nnnnn also defines the record length of the map records. Onthese devices 1 byte in the map record corresponds to 1 cylinder. All cylindersare mapped in 1 physical record per system. On ECKD capable CKD devicesthere may be several physical records per system. One byte in the map recordcorresponds to 2 cylinders. Each physical record is 256 bytes <strong>and</strong> maps 512cylinders. The number of physical records needed depends on the number ofcylinders made available to CSE.Note: Although this statement allows you to change the definitions of recordlength for the CSE track, it is not recommended. This allows you toprovide link support for new devices with new geometries, should thatbecome necessary in the future.Attention: Current upper limits may exceed capacities of present devices <strong>and</strong>cause errors when attempting to access beyond a particular device limit.Therefore, any change of defaults should be done with caution.TRack nntells <strong>CP</strong> on which track of the specified CKD DASD to place the CSE track. Thevariable nn is a decimal number from 0 to 64, but you cannot specify TRACK 0if you also specified CYLINDER 0. If omitted, the default is TRACK 1.<strong>CP</strong> uses multiple tracks for ECKD capable CKD devices. The number of tracksused for ECKD capable CKD devices depends on the number of cylinders onthe volume. Thus, <strong>CP</strong> does not use the value specified in TRACK nn for anECKD capable CKD device.Note: Although this statement allows you to change the definition of track forthe CSE track, it is not recommended. This allows you to provide linksupport for new devices with new geometries, should that becomenecessary in the future.Attention: Current upper limits may exceed capacities of present devices <strong>and</strong>cause errors when attempting to access beyond a particular device limit.Therefore, any change of defaults should be done with caution.1. The CYLINDER, MAP_RECORD, MAP_RECORD_LENGTH, <strong>and</strong> TRACKoper<strong>and</strong>s let you specify CSE track values that are different from the defaultvalues associated with the device type. This is not recommended unless thereis a valid reason for doing so.Chapter 6. The System Configuration File 261


XLINK_DEVICE_DEFAULTS2. The default parameters for model K devices are those associated with 3380CLASS=3, which are 2655 cylinders <strong>and</strong> 12 map records. If you want to makeall 3380s use the same parameters as model Ks, add the three followingstatements to each system configuration file:Xlink_Device_Defaults Type 3380 Class 0,MAP_Record 8,MAP_Record_Length 2655Xlink_Device_Defaults Type 3380 Class 1,MAP_Record 8,MAP_Record_Length 2655Xlink_Device_Defaults Type 3380 Class 2,MAP_Record 8,MAP_Record_Length 2655Examples1. Normal defaults for the placement of the CSE cross system link protection(XLINK) map on cylinder 0 track 1. If this default is inappropriate for yourinstallation, you may specify a different DASD location on everyXLINK_VOLUME_INCLUDE statement (q.v.), or use theXLINK_DEVICE_DEFAULTS statement.For example, suppose that all of your 3390 devices, regardless of capacity,must reserve all tracks on cylinder 0 for other uses. Because of this, you decideto place the XLINK map on cylinder 5 track 0. Therefore, use the followingXLINK_DEVICE_DEFAULTS statement:Xlink_Device_Defaults Type 3390 Cylinder 5 Track 0Any individual volumes on 3390 devices could have their XLINK map placedelsewhere on the device by use of the XLINK_VOLUME_INCLUDE statement.262 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


XLINK_SYSTEM_EXCLUDEXLINK_SYSTEM_EXCLUDE Statement►► XLINK_SYSTEM_EXclude sysname ►◄PurposeUse the XLINK_SYSTEM_EXCLUDE statement to specify the systems that <strong>CP</strong> is toexclude from cross system link (prevent from accessing each other’s minidisksusing cross system link). This statement has no effect on systems’ participation incross system spooling or cross system comm<strong>and</strong>s.How to SpecifyInclude as many statements as needed; they are optional. You can placeXLINK_SYSTEM_EXCLUDE statements anywhere in the system configuration file.If you specify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>ssysnameis the 1- to 8-character name of a system that <strong>CP</strong> is to exclude from crosssystem link. This statement has no effect on a system’s participation in crosssystem spooling or cross system comm<strong>and</strong>s.UsageNotes1. If a system name is specified on both an XLINK_SYSTEM_EXCLUDEstatement <strong>and</strong> an XLINK_SYSTEM_INCLUDE statement, <strong>CP</strong> will ignore theXLINK_SYSTEM_EXCLUDE statement.2. Fixed-Block Architecture (FBA) devices are supported by the CSE function forspooling only. The cross system link function of CSE is not supported for FBAdevices.Examples1. To exclude systems <strong>VM</strong>1, <strong>VM</strong>2, <strong>VM</strong>3, <strong>and</strong> <strong>VM</strong>4 from cross system link, use thefollowing XLINK_SYSTEM_EXCLUDE statements:Xlink_System_Exclude vm1 /* Exclude the following systems from */Xlink_System_Exclude vm2 /* cross system links so that no one */Xlink_System_Exclude vm3 /* on the other CSE systems will have */Xlink_System_Exclude vm4 /* access to them. */Chapter 6. The System Configuration File 263


XLINK_SYSTEM_INCLUDEXLINK_SYSTEM_INCLUDE Statement►► XLINK_SYSTEM_INclude Slot n sysname ►◄PurposeUse the XLINK_SYSTEM_INCLUDE statement to specify the systems that <strong>CP</strong> is toinclude in cross system link. None of these systems need to share spool file accesswith any other system in the complex, nor need they send or receive cross systemcomm<strong>and</strong>s.How to SpecifyInclude as many statements as needed; they are optional. You can placeXLINK_SYSTEM_INCLUDE statements anywhere in the system configuration file. Ifyou specify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>sSlot ntells <strong>CP</strong> what position this system will hold in the list of systems participating inCSE cross system link. The maximum value of n depends on the type of DASDunder CSE cross system link protection.sysnameis the 1- to 8-character name of a system to be included in cross system linkonly.UsageNotes1. If a system name is specified on both an XLINK_SYSTEM_EXCLUDEstatement <strong>and</strong> an XLINK_SYSTEM_INCLUDE statement, <strong>CP</strong> ignores theXLINK_SYSTEM_EXCLUDE statement.2. If you specify any systems on the XLINK_SYSTEM_INCLUDE orXLINK_SYSTEM_EXCLUDE statements <strong>and</strong> the system that you IPL is inneither list, <strong>CP</strong> prompts the operator with a warning that this omission maycause the loss of data integrity. The operator can choose to stop the systeminitialization process, continue as normal, or allow system initialization tocontinue but have <strong>CP</strong> skip the normal process of autologging users.3. The order of system names in XLINK_SYSTEM_INCLUDE statements for allsystems participating in CSE cross system link must be identical. That is, thesystem name for all XLINK_SYSTEM_INCLUDE SLOT 1 statements must bethe same for all systems.Examples1. To include systems BOSTON3, NEWYORK, <strong>and</strong> BOSTON4 in cross system linkin slots 1, 2, <strong>and</strong> 3 (respectively), use the following XLINK_SYSTEM_INCLUDEstatements:/*---------------------------------------------------*//* Include the BOSTON3, NEWYORK, <strong>and</strong> BOSTON4 systems *//* in cross system linking. Note: Non of these *//* systems have to share spool or comm<strong>and</strong>s. *//*---------------------------------------------------*/264 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


XLINK_SYSTEM_INCLUDEXlink_System_Include Slot 1 boston3Xlink_System_Include Slot 2 newyorkXlink_System_Include Slot 3 boston4Chapter 6. The System Configuration File 265


XLINK_VOLUME_EXCLUDEXLINK_VOLUME_EXCLUDE Statement►► XLINK_VOLUME_EXclude volid ►◄PurposeUse the XLINK_VOLUME_EXCLUDE statement to define DASD volumes to beexcluded from the cross system link operation. The volumes specified are not to beshared through cross system link. These volumes, if mounted <strong>and</strong> shared amongsystems, have no extended link protection.How to SpecifyInclude as many statements as needed; they are optional. You can placeXLINK_VOLUME_EXCLUDE statements anywhere in the system configuration file.If you specify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>svolidis a volume serial number or a generic volume serial number for a specificsubset of volumes to be excluded from sharing by cross system link. Thevariable volid is a 1- to 6-character alphanumeric string with no imbeddedblanks. A generic volume serial number is a 1- to 6-character string withasterisks (*) in place of one or more arbitrary characters <strong>and</strong> percent signs (%)in place of exactly one arbitrary character. For example:Xlink_Volume_Excludees%vm*UsageNotesexcludes all volumes whose volume serial number start with ES <strong>and</strong> have <strong>VM</strong>as their fourth <strong>and</strong> fifth characters.1. If you do not specify XLINK_VOLUME_EXCLUDE <strong>and</strong> the system that you areIPLing has been specified in an XLINK_SYSTEM_INCLUDE statement, allDASD volumes are included in cross system link protection.2. If you do not specify XLINK_VOLUME_EXCLUDE <strong>and</strong>XLINK_VOLUME_INCLUDE (page 268) statements, <strong>and</strong> the system that youare IPLing is specified on an XLINK_SYSTEM statement, all DASD volumes areincluded in cross system link protection.3. A volume is included in cross system link protection if it is:v Explicitly listed on an XLINK_VOLUME_INCLUDE statement, orv Matched by a generic volume identifier on an XLINK_VOLUME_INCLUDEstatement <strong>and</strong> not found (either explicitly or generically) on anXLINK_VOLUME_EXCLUDE statement.Examples1. To exclude volumes <strong>VM</strong>USR4, <strong>VM</strong>USR7, <strong>and</strong> <strong>VM</strong>USR9 from cross systemlinking, use the following XLINK_VOLUME_EXCLUDE statements:266 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


XLINK_VOLUME_EXCLUDEXlink_Volume_Exclude vmusr4 /* Exclude <strong>VM</strong>USR4, <strong>VM</strong>USR7, <strong>and</strong> */Xlink_Volume_Exclude vmusr7 /* <strong>VM</strong>USR9 from cross system */Xlink_Volume_Exclude vmusr9 /* link operations ... */Chapter 6. The System Configuration File 267


XLINK_VOLUME_INCLUDEXLINK_VOLUME_INCLUDE Statement►► XLINK_VOLUME_INclude volid►◄▼ CYLinder nnnnnMAP_RECORDS nnMAP_RECORD_LengthTRack nnnnnnnPurposeUse the XLINK_VOLUME_INCLUDE statement to define the DASD volumes to beincluded in the cross system link operation. If you do not use this statement, allvolumes are included.How to SpecifyInclude as many statements as needed; they are optional. You can placeXLINK_VOLUME_INCLUDE statements anywhere in the system configuration file. Ifyou specify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>svolidis a volume serial number or a generic volume serial number for a specificsubset of volumes to be included in sharing by cross system link. The variablevolid is a 1-character to 6-character alphanumeric string with no imbeddedblanks. A generic volume serial number is a 1-character to 6-character stringwith asterisks (*) in place of one or more arbitrary characters <strong>and</strong> percent signs(%) in place of exactly one arbitrary character. For example:Xlink_Volume_Includees%vm*includes all volumes whose volume serial number start with ES <strong>and</strong> have <strong>VM</strong>as their fourth <strong>and</strong> fifth characters.CYLinder nnnnndefines the cylinder where the CSE track is located for every volid. The variablennnnn is a decimal number from 0 to the maximum number of cylinders on theDASD. If omitted, the default is 0. If <strong>CP</strong> is to use a volume that is to beincluded in cross system link as an IPL device for the st<strong>and</strong>-alone dump utility,you must specify a cylinder other than the default of 0 for that volume.MAP_RECORDS nndefines the number of map records on the CSE track. The variable nn shouldnot be smaller than the number of systems that share the volume. If it is, thenall links to minidisks on this volume are denied. We recommend that you use asmany records as can fit on one track. See Table 9 on page 269 for the defaultvalues.MAP_RECORD_Length nnnnndefines the number of cylinders made available for CSE use. This value shouldnot be smaller than the number of cylinders on the volume. If it is, links tominidisks starting on a cylinder with a number higher than nnnnn are denied.268 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


XLINK_VOLUME_INCLUDEUsageNotesThe variable nnnnn is a decimal number from 203 to the maximum number ofcylinders on the DASD. See Table 9 for the default values.For CKD devices, nnnnn also defines the record length of the map records. Onthese devices, one byte in the map record corresponds to one cylinder. Allcylinders are mapped in one physical record per system. On ECKD-capableCKD devices, there may be several physical records per system, as one byte inthe map record corresponds to two cylinders. Each physical record is 256 bytes<strong>and</strong> maps 512 cylinders. The number of physical records needed depends onthe number of cylinders made available to CSE.TRack nndefines the track number on which the CSE track is located for every CKDDASD volume matching volidn. The variable nn is a decimal number from 0 to64, but it cannot be 0 if the value of CYLINDER is 0. If omitted, the default is 1.For ECKD-capable CKD devices, multiple tracks are used. The number oftracks used for ECKD-capable CKD devices depends on the number ofcylinders on the volume. The value specified in TRACK nn is not used for anECKD-capable CKD device matching volidn.1. If you do not specify XLINK_VOLUME_INCLUDE <strong>and</strong>XLINK_VOLUME_EXCLUDE (page 266) statements, <strong>and</strong> the system that youare IPLing is specified on an XLINK_SYSTEM statement, all DASD volumes areincluded in cross system link protection.2. A volume is included in cross system link protection if it is:v Explicitly listed on an XLINK_VOLUME_INCLUDE statement, orv Matched by a generic volume identifier on an XLINK_VOLUME_INCLUDEstatement <strong>and</strong> not found (either explicitly or generically) on anXLINK_VOLUME_EXCLUDE statement.3. The values you choose for CYLINDER <strong>and</strong> TRACK must be valid for the devicetype or types on which the specified volumes reside. This statement does notmake sure that your values are valid, because when it is processed, the devicetypes are not yet known.4. Although the XLINK_VOLUME_INCLUDE enables you to change the definitionsof cylinder, track, record length, <strong>and</strong> map records for the CSE track, we do notrecommend that you do so. We have included this capability to provide linksupport for new devices with new geometries, should that support becomenecessary in the future. Table 9 shows the map record defaults for each devicetype.Table 9. Map Record Defaults for Each Device TypeDevice Type Number of Map Records Map Record Length3380 non-type K 11 17703380 type K 8 26553390-1 (native) 12 11133390-1 (emulated) 12 11133390-2 (native) 8 22263390-2 (emulated) 8 22263390-3 (native) 8 33393390-3 (emulated) 8 3339Chapter 6. The System Configuration File 269


XLINK_VOLUME_INCLUDETable 9. Map Record Defaults for Each Device Type (continued)Device Type Number of Map Records Map Record Length3390-9 (native) 56 10017¹OTHER 8 1024¹Value can be up to the maximum number of cylinders on the DASD.5. These defaults support the current CKD <strong>and</strong> ECKD-capable CKD DASD. Thelength of each map record is the maximum number of cylinders on any currentlyexisting model of that device type. The number of records defined for otherdevices is 8, but the actual number of records used is limited to the number thatfits on a track of such “other” device.Examples1. To include DASD volumes USRPK1, USRPK2, <strong>and</strong> USRPK3 in cross systemlinking, use the following XLINK_VOLUME_INCLUDE statements:Xlink_Volume_Include usrpk1 /* Include USERPK1, USERPK2 <strong>and</strong> */Xlink_Volume_Include usrpk2 /* USERPK3 in cross system link */Xlink_Volume_Include usrpk3 /* operations ... */270 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


XSPOOL_SYSTEMXSPOOL_SYSTEM Statement►► XSPOOL_SYStem Slot nRESERVEd►◄sysname▼Alias aliasCOMMunications_useridP<strong>VM</strong>COMMunications_useridSHARE_SPool YesuseridSHARE_SPool NoTIMEout 12 SECondsTIMEoutnnnnnSECondsPurposeUse the XSPOOL_SYSTEM statement to specify the systems that are to participatein cross system comm<strong>and</strong>s <strong>and</strong> spooling operations.How to SpecifyInclude as many statements as needed; they are optional. You can placeXSPOOL_SYSTEM statements anywhere in the system configuration file. If youspecify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>sSlot ntells <strong>CP</strong> what position this system will hold in the list of systems participating inCSE cross system link. The variable n is a decimal number from 1 to 4 <strong>and</strong> themaximum value of n depends on the type of DASD under CSE cross systemlink protection.RESERVEdtells <strong>CP</strong> to reserve the slot for future use.sysnameis the 1- to 8-character system name.Alias aliasis a 1- to 8-character nickname for sysname that people can use in <strong>CP</strong>comm<strong>and</strong>s instead of sysname to identify the system.COMMunications_userid useridis the 1- to 8-character user ID of the communication virtual machine (C<strong>VM</strong>) forsharing spool files <strong>and</strong> cross system comm<strong>and</strong>s. If omitted, the default is P<strong>VM</strong>.SHARE_SPool Yes(the default) tells <strong>CP</strong> that the specified system can share spool files with thesystem you are IPLing.Chapter 6. The System Configuration File 271


XSPOOL_SYSTEMUsageNotesNote: If you have DIRMAINT Release 5 operating in your CSE complex <strong>and</strong>you specify SHARE_SPOOL YES, you must specifyGLOBAL_SMSG=NO in the DIRMAINT DATA file.SHARE_SPool Notells <strong>CP</strong> that the specified system is excluded from sharing spool systemcontinues to participate in cross system link <strong>and</strong> cross system comm<strong>and</strong>s.TIMEout nnnnn SECondstells <strong>CP</strong> how many seconds to wait for a response from another system. Thiswaiting (or timeout) period applies to the overall status of the communicationlink, rather than being associated with a particular transaction. When the systemyou are IPLing sends a request to another system, <strong>CP</strong> waits for a response. If<strong>CP</strong> does not get a response before the timeout period expires, <strong>CP</strong>:v Terminates the request with an error,v Assumes that the C<strong>VM</strong> link to that system (or the system itself) is down, <strong>and</strong>v Notifies the system operator (by message) of this event.Until the system operator restores the connection, no cross system spoolprocessing can take place between these two systems.The variable nnnnn is any decimal number from 1 to 65535. If omitted, thedefault is 12 seconds.1. A system name, sysname, must have the same slot number in all the lists on allthe systems using cross system comm<strong>and</strong>s <strong>and</strong> shared spool operations.2. Because some system in the list may not be using a particular slot number, youcan use the RESERVED oper<strong>and</strong> reserve a slot that is not used on the systemthat you are IPLing, but is used elsewhere in the complex.Examples1. To define two systems (BOSTON <strong>and</strong> NEWYORK) that will participate in crosssystem comm<strong>and</strong>s <strong>and</strong> spooling operations, use the followingXSPOOL_SYSTEM statements:XSpool_System Slot 1 bostonXSpool_System Slot 2 newyork272 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


XSPOOL_TRACEXSPOOL_TRACE Statement►► XSPOOL_TRace nnnPages►◄PurposeUse the XSPOOL_TRACE statement to define the number of pages of storage that<strong>CP</strong> should allocate for the cross system spool (XSPOOL) trace tables.How to SpecifyInclude as many statements as needed; they are optional. You can placeXSPOOL_TRACE statements anywhere in the system configuration file. If youspecify more than one statement with the same oper<strong>and</strong>s, the last oper<strong>and</strong>definition overrides any previous specifications.Oper<strong>and</strong>snnn Pagestells <strong>CP</strong> how many pages to allocate for the XSPOOL trace tables when youinitialize the system. The variable nnn is a decimal number from 0 to 255. Ifomitted, <strong>CP</strong> allocates 4 pages. If specified as 0, <strong>CP</strong> does not allocate anypages for XSPOOL trace tables.UsageNotes1. The first trace table has enough space to hold 16 synchronization requests <strong>and</strong>111 C<strong>VM</strong> communication requests. Each additional page has space for 127more C<strong>VM</strong> communication requests. When this number is exceeded, the tracetables wrap around, <strong>and</strong> the previously recorded entries are overwritten.Examples1. To have <strong>CP</strong> allocate 10 pages of storage for the XSPOOL trace tables, use thefollowing XSPOOL_TRACE statement:XSpool_Trace 10 Pages /* Allow for 10 CSE Trace Frames *//* Each frame holds 16 Sync Requests *//* <strong>and</strong> 111 C<strong>VM</strong> communication requests. */Chapter 6. The System Configuration File 273


XSPOOL_XLIST_INPUTXSPOOL_XLIST_INPUT Statement►► XSPOOL_XLIST_INput ▼ userid ►◄PurposeUse the XSPOOL_XLIST_INPUT statement to specify virtual machines whose inputspool files will not participate in cross system spooling <strong>and</strong> cross system message<strong>and</strong> query comm<strong>and</strong>s. The other systems in the shared spool complex will not haveaccess to input (reader) spool files owned by the user IDs specified in thesestatements.How to SpecifyThe XSPOOL_XLIST_INPUT statement is optional; if specified, you can include asmany statements as you need as long as the total number of user IDs does notexceed 500. If you specify a generic user ID, <strong>CP</strong> counts each user that matches thepattern as one.Oper<strong>and</strong>sYou can place XSPOOL_XLIST_INPUT statements anywhere in the systemconfiguration file. If you specify more than one statement with the same oper<strong>and</strong>s,the last oper<strong>and</strong> definition overrides any previous specifications.useridis the 1- to 8-character user ID or generic user ID of a virtual machine whoseinput files are to be excluded from access to cross system spooling. A genericuser ID is a 1- to 8-character string with asterisks (*) in place of one or morearbitrary characters <strong>and</strong> percent signs (%) in place of exactly one arbitrarycharacter. For example:Xspool_Xlist_Inputus%vm*creates a list that includes all user IDs that start with US <strong>and</strong> have <strong>VM</strong> as theirfourth <strong>and</strong> fifth characters.UsageNotes1. If your installation uses DIRMAINT Release 5, the DIRMAINT user ID <strong>and</strong>satellite machine user IDs must not be coded in XSPOOL_XLIST_INPUTstatements.2. User IDs listed in XSPOOL_XLIST_INPUT statements have operationalcharacteristics that are different from the characteristics of those that are notlisted. The users associated with the listed user IDs:v Can log on to more than one system in the complex at the same time. Userswhose user IDs are not listed here cannot.v Receive messages generated by the <strong>CP</strong> MSG, MSGNOH, WNG, <strong>and</strong> SMSGcomm<strong>and</strong>s, but only from users on the same system they are on, unless theuser entering the <strong>CP</strong> comm<strong>and</strong> specifies the AT parameter.Also, when these users:274 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


XSPOOL_XLIST_INPUTv Enter a <strong>CP</strong> QUERY userid or QUERY NAMES comm<strong>and</strong>, only the system onwhich the comm<strong>and</strong> was entered is queried, unless the issuer specifies theAT parameter.v Are the target of a <strong>CP</strong> QUERY userid comm<strong>and</strong>, only the system on whichthe comm<strong>and</strong> was entered is queried, unless the issuer specifies the ATparameter.3. <strong>CP</strong> automatically excludes the:v Default system operatorv Communication virtual machine (C<strong>VM</strong>).Do not code any XSPOOL_XLIST_INPUT statements for these virtualmachines. You may decide that other virtual machines should also be excluded,but for ease of operation <strong>and</strong> administration of the shared spool complex, keepexclusions to a minimum.4. The XSPOOL_XLIST_INPUT list for every system in the shared spool complexmust be the same; the XSPOOL_XLIST_OUTPUT list for every system in theshared spool complex must be the same.Examples1. To specify that the input spool files of user IDs OPERATOR, MAINT, DAWN,<strong>and</strong> RICH are excluded from cross system spooling <strong>and</strong> cross system message<strong>and</strong> query comm<strong>and</strong>s, use the following XSPOOL_XLIST_INPUT statements:Xspool_Xlist_Input Operator /* Userid Operator, Maint, Dawn */Xspool_Xlist_Input Maint /* <strong>and</strong> Rich’s input files will */Xspool_Xlist_Input Dawn /* not participate in CSE */Xspool_Xlist_Input Rich /* spooling. */Chapter 6. The System Configuration File 275


XSPOOL_XLIST_OUTPUTXSPOOL_XLIST_OUTPUT Statement►► XSPOOL_XLIST_OUTput ▼ userid ►◄PurposeUse the XSPOOL_XLIST_OUTPUT statement to specify virtual machines whoseoutput spool files will not participate in cross system spooling <strong>and</strong> cross systemmessage <strong>and</strong> query comm<strong>and</strong>s. The other systems in the shared spool complex willnot have access to output (printer <strong>and</strong> punch) spool files owned by the user IDsspecified in these statements.How to SpecifyThe XSPOOL_XLIST_OUTPUT statement is optional; if specified, you can includeas many statements as you need as long as the total number of user IDs does notexceed 500. If you specify a generic user ID, <strong>CP</strong> counts each user that matches thepattern as one.Oper<strong>and</strong>sYou can place XSPOOL_XLIST_OUTPUT statements anywhere in the systemconfiguration file. If you specify more than one statement with the same oper<strong>and</strong>s,the last oper<strong>and</strong> definition overrides any previous specifications.useridis the 1- to 8-character user ID or generic user ID of a virtual machine whoseoutput files are to be excluded from access to cross system spooling. A genericuser ID is a 1- to 8-character string with asterisks (*) in place of one or morearbitrary characters <strong>and</strong> percent signs (%) in place of exactly one arbitrarycharacter. For example:Xspool_Xlist_Outputus%vm*creates a list that includes all user IDs that start with US <strong>and</strong> have <strong>VM</strong> as theirfourth <strong>and</strong> fifth characters.UsageNotes1. If you have DIRMAINT Release 5 installed, you cannot specify the DIRMAINTuser ID <strong>and</strong> satellite machine user IDs on the XSPOOL_XLIST_OUTPUTstatement.2. User IDs you specify on the XSPOOL_XLIST_OUTPUT statement haveoperational characteristics that are different from the characteristics of the userIDs that are not listed. The users associated with these user IDs:v Can log on to more than one system in the complex at the same time. Userswhose user IDs are not listed here cannot.v Receive messages generated by the <strong>CP</strong> MSG, MSGNOH, WNG, <strong>and</strong> SMSGcomm<strong>and</strong>s, but only from users on the same system they are on, unless theuser entering the <strong>CP</strong> comm<strong>and</strong> specifies the AT oper<strong>and</strong>.Also, when these users:276 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


XSPOOL_XLIST_OUTPUTv Enter a <strong>CP</strong> QUERY userid or QUERY NAMES comm<strong>and</strong>, <strong>CP</strong> only queriesthe system on which the comm<strong>and</strong> was entered, unless the user specifies theAT oper<strong>and</strong>.v Are the target of a <strong>CP</strong> QUERY userid comm<strong>and</strong>, <strong>CP</strong> only queries the systemon which the comm<strong>and</strong> was entered, unless the person who issued thecomm<strong>and</strong> specified the AT oper<strong>and</strong>.3. <strong>CP</strong> automatically excludes the:v Default system operatorv Communication virtual machine (C<strong>VM</strong>).Do not specify any XSPOOL_XLIST_OUTPUT statements for these virtualmachines. Your installation may decide that other virtual machines should alsobe excluded, but for ease of operation <strong>and</strong> administration of the shared spoolcomplex, keep exclusions to a minimum.4. The XSPOOL_XLIST_INPUT list for every system in the shared spool complexmust be the same; the XSPOOL_XLIST_OUTPUT list for every system in theshared spool complex must be the same.Examples1. To specify that the output spool files of user IDs OPERATOR, KERRY, DAVID,<strong>and</strong> MAINT are excluded from cross system spooling <strong>and</strong> cross systemmessage <strong>and</strong> query comm<strong>and</strong>s, use the following XSPOOL_XLIST_OUTPUTstatements:Xspool_Xlist_Output Operator /* Userid Operator, Kerry, David */Xspool_Xlist_Output Kerry /* <strong>and</strong> Maint’s output spool files */Xspool_Xlist_Output David /* will not participate in CSE */Xspool_Xlist_Output Maint /* spooling. */Chapter 6. The System Configuration File 277


XSPOOL_XLIST_OUTPUT278 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 7. The Logo Configuration FileThis chapter:v Provides a summary of logo configuration file statementsv Provides general rules for coding the logo configuration filev Describes each logo configuration file statement in detailUsing a Logo Configuration FileCreating a logo configuration file allows you to change features of logos that appearon the screen or on separator pages of printed output. The logo configuration fileoverrides the default logo information, which is defined in the H<strong>CP</strong>BOX ASSEMBLEfile included in the <strong>CP</strong> module. For example, you can:v Have certain logo picture files appear on certain terminalsv Include your own information in status <strong>and</strong> online fieldsv Place often-used comm<strong>and</strong> text in the comm<strong>and</strong> input field on the logo screenThe name of the logo configuration file defaults to LOGO CONFIG unless youspecify a different name on the LOGO_CONFIG statement in the systemconfiguration file. You must place the logo configuration file <strong>and</strong> the files to which itrefers on the parm disk, the CMS minidisk that <strong>CP</strong> will access at IPL time.Summary of Logo Configuration File StatementsTable 10 lists all the logo configuration file statements, gives you a brief descriptionof each statement, <strong>and</strong> points you to where you can get more information abouteach statement.Table 10. Logo Configuration File Statements (LOGO CONFIG)Statement Description PageCHOOSE_Logo Defines the logo picture files that <strong>CP</strong> uses for specified terminals <strong>and</strong> for separator pages 285of printed output.INPUT_AREA Defines which file <strong>CP</strong> uses when displaying the input area of the logo. 291ONLINE_MESSage Specifies the file whose text <strong>CP</strong> should use for the online message area of the logo. 292STATUS Defines the text of the status fields displayed in the bottom right corner of the screen. 293General Rules for Coding a Logo Configuration FileWhen creating or updating a logo configuration file, you must follow some generalsyntax rules.FormatCommentsThe logo configuration file can be a fixed or variable length record file. No individualrecord in the file should be longer than 4000 characters. No individual statement inthe file should be longer than 4000 characters after all continuations of thestatement have been resolved.You can add comments to the file by delimiting them with /* <strong>and</strong> */. A singlecomment may span multiple records in the file. Thus,© Copyright <strong>IBM</strong> Corp. 1991, 2004 279


Logo Configuration File/*-------------------------------------------------** The following section defines the status areas **-------------------------------------------------*/is valid. As many comments as necessary may be entered on a single record in thefile. For example,Choose_logo default /* fn ft */ LOGO DEFAULT /* Default cmd */ ’DIAL P<strong>VM</strong>’is allowed.ContinuationsTo put a statement in more than one record of the configuration file, place a commaat the ends of all but the last line of the statement. For example, you can code theCHOOSE_LOGO statement as follows:Choose_logo Local ,Address 100-200 ,Screen_size 27x132 ,MODEL5 LOGO ,’DIAL VTAM’A comma at the end of a line indicates that the statement is not yet complete. Youshould not code a comma if the statement information is complete but a commentcontinues to the next record.Choose_logo Local ,Address 100-200 ,Screen_size 27x132 ,MODEL5 LOGO ,'DIAL VTAM' /* Go to VTAM if user entersnothing for user or password */is valid, but a comma after 'DIAL VTAM' would make the statement invalid, as youhave specified no subsequent options. The comma can be placed directly after thelast entry on the line. Thus, the example above would also be valid if specified asChoose_logo Local,Address 100-200,Screen_size 27x132,MODEL5 LOGO,'DIAL VTAM' /* Go to VTAM if user entersnothing for user or password */Finally, a blank line does not cause a continuation to be terminated. You couldspecifyChoose_logo Local,Address 100-200,Screen_size 27x132,MODEL5 LOGO,'DIAL VTAM' /* Go to VTAM if user entersnothing for user or password */because <strong>CP</strong> ignores any blank lines in the configuration file.CaseIn general, it does not matter whether information in the logo configuration file isentered in upper case or mixed case. Most entries in the configuration file areconverted to upper case before they are processed. Thus,Status Running Running280 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Logo Configuration File<strong>and</strong>Status Running RUNNINGwould have the same results. An exception to this rule occurs when <strong>CP</strong> encountersa quoted string in the file. A quoted string is any string enclosed within singlequotation marks; the string may contain blanks <strong>and</strong> special character sequencessuch as /* <strong>and</strong> */ that are not usually permitted in a single token. Where quotedstrings are allowed <strong>and</strong> a quoted string is specified in the configuration file, the textinside the quotation marks is not converted to upper case. In the following example,the specified status area would remain in mixed case:Status Running 'Running'CategoriesPrecedenceEach of the four statements in a logo configuration file modifies a different part ofthe screen.v CHOOSE_LOGO defines the logo picture that occupies the center of a screen.v INPUT_AREA defines the input area that contains the user ID, password, <strong>and</strong>comm<strong>and</strong> areas.v ONLINE_MESSAGE defines the online message that appears at the top of thescreen.v STATUS defines the status area in the lower right h<strong>and</strong> portion of the screen.You can include more than one INPUT_AREA or ONLINE_MESSAGE statement inthe configuration file, but <strong>CP</strong> will use only the last occurrence of a given statementduring logo processing. For example,Input_Area INPUT FILEfollowed byInput_Area INPUT AREAwould cause <strong>CP</strong> to use the file INPUT AREA instead of INPUT FILE.You can code a STATUS statement for each of the different oper<strong>and</strong>s. You cancode multiple STATUS statements with the same oper<strong>and</strong>, but <strong>CP</strong> will use only thelast one with a given oper<strong>and</strong>. For example,Status Running ’Going ’followed byStatus Running ’Gone ’would cause <strong>CP</strong> to use Gone instead of Going.You should code CHOOSE_LOGO statements in three separate groups, one foreach of the following categories:v Locally attached terminalsv Terminals logging on through logical devicesv Terminals managed by a VSM.Chapter 7. The Logo Configuration File 281


Logo Configuration FileWithin these groups, you should code statements in the order of least specific tomost specific. Statements that choose logo picture files for certain terminals within agroup should occur after statements that choose files for all the terminals in thatgroup.<strong>CP</strong> puts the information specified on each group of CHOOSE_LOGO statementsinto separate search chains, which it searches from the bottom up. When <strong>CP</strong>encounters a terminal, it goes through the search chain established for similarterminals until it finds a statement that applies to the specific terminal. Thus, for agiven terminal, <strong>CP</strong> uses the last statement in the logo configuration file that applies.SelectionThe type of terminal determines the process that <strong>CP</strong> uses to select a logo picturefile. <strong>CP</strong> supports three types of terminals:v Terminals directly managed by <strong>CP</strong>v Terminals logging on through logical devicesv Terminals managed by a VTAM service machine (VSM)Creating Logo ScreensFor each type, <strong>CP</strong> looks at a series of CHOOSE_LOGO statements to find outwhich logo picture file to use for a terminal.v For terminals that <strong>CP</strong> manages directly, <strong>CP</strong> searches through CHOOSE_LOGOstatements with the LOCAL oper<strong>and</strong>.v For terminals represented by logical devices, it searches throughCHOOSE_LOGO statements with the LDEV oper<strong>and</strong>.v For terminals managed by a VSM, it searches through CHOOSE_LOGOstatements with the VSM oper<strong>and</strong>.In all three cases, if <strong>CP</strong> cannot find a statement that applies to a given terminal, itwill use the file specified on the CHOOSE_LOGO DEFAULT statement, if there isone.If <strong>CP</strong> finds a statement that applies to a terminal, but the logo picture file it specifiesis too large for the screen, <strong>CP</strong> will skip the statement <strong>and</strong> try the next one in thesearch order.When <strong>CP</strong> gets to the end of the search order, the last file it will try to use is eitherthe one specified on a CHOOSE_LOGO DEFAULT statement, or, if there is no suchstatement, the default logo in H<strong>CP</strong>BOX. If the default logo picture file (from eithersource) is too large, <strong>CP</strong> will use the file specified on the CHOOSE_LOGOMINIMUM statement, if there is such a statement.If all else fails, <strong>CP</strong> will use the logos defined in H<strong>CP</strong>BOX.You can use the DRAWLOGO sample utility program to create logo screens foryour system. DRAWLOGO invokes the X$DRWL$X sample XEDIT macro. With thisutility, you can edit the text of the logo file <strong>and</strong> modify the 3270 screen attributes ofthe logo components in a logo file:v The online messagev The picturev The input area282 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Logo Configuration FileDRAWLOGO creates these logo files on the first CMS minidisk accessed in R/Wmode. By default, the file type is LOGO. For example, assuming file mode A isaccessed in read/write mode, to create LOCOTERM LOGO A, enter:drawlogo locotermIn addition to using XEDIT comm<strong>and</strong>s, you can use special functions that aredefined for the PF keys:v Insert 3270 attributes (for colors, highlighting, <strong>and</strong> so on) When you insert anattribute into your logo, a special symbol appears on your screen to mark theposition of the attribute. This symbol does not appear when the logo is put intoproduction <strong>and</strong> displayed by <strong>CP</strong>.v Change attributesv Insert input field markers.v Display your logo as you are creating it.For the complete description of DRAWLOGO, see “DRAWLOGO” on page 642.DRAWLOGO creates a new logo configuration file, but it does not put it intoproduction. To replace the current system logo configuration file with LOCOTERMLOGO, use the <strong>CP</strong> REFRESH comm<strong>and</strong>:1. Put LOCOTERM LOGO on a CMS-formatted minidisk accessed by <strong>CP</strong>.2. Enter:refresh logoinfo locoterm logoFor information about the REFRESH comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong>Utilities Reference.Special Considerations When Creating LogosYou can use certain special characters to add color anywhere in theONLINE_MESSAGE <strong>and</strong> CHOOSE_LOGO files. If you do so, be careful when youuse the INPUT_AREA file, as the screen cursor will be tabbed to the stringsdefining the beginning of the color fields as well as to the various INPUT_AREAfields.Other special characters are defined for use in building an INPUT_AREA file. Theinput area consists of the user ID, password, <strong>and</strong> comm<strong>and</strong> areas.The use of four colors is supported. PF (program function) keys are defined to allowthe insertion of the correct hexadecimal values. The colors defined are as follows:Table 11. Colors for the CHOOSE_LOGO <strong>and</strong> ONLINE_MESSAGE FilesColor Hexadecimal RepresentationBlueGreenRed1DF01D401DC8White, highlighting 1DF8Protected field 1D70The input area comprises three input fields, user ID, password, <strong>and</strong> comm<strong>and</strong>areas. Customarily they appear in this order; the user ID area must precede thepassword area. The fields may all appear on the same line or on different lines.Chapter 7. The Logo Configuration File 283


Logo Configuration FilePF (program function) keys are also defined to assist in their use. A table of thedifferent fields <strong>and</strong> their values follows.Table 12. Input Area FieldsField ID Hexadecimal RepresentationUser ID 1D4013PasswordComm<strong>and</strong>1D4C1D40The above values are the same as in H<strong>CP</strong>BOX. Logo processing scans the inputarea for these values in order to determine where to read from the screen. For thelogon process to operate correctly, these values must be used.284 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


CHOOSE_LOGOCHOOSE_LOGO Statement►►CHOOSE_LogoDEFaultLDEV▼MODel 2345SCReen_size rowsXcolumnsUSERid useridFilefnft'text'(1)►◄LOCal▼ADDRessMINimumPRINT_SEParatorVSMUSERidMODel 2345SCReen_sizeuseridrdevrdev-rdevrowsXcolumnsNotes:1 If you specified MINIMUM, PRINT_SEPARATOR, or VSM, you cannot specify text.PurposeUse the CHOOSE_LOGO statement to tell <strong>CP</strong> which logo picture files to use forterminals <strong>and</strong> printer separator pages. You can have separate logo picture files for:v All terminals logging on to a systemv Terminals directly attached to a particular systemv Locally-attached terminals at certain device addressesv Terminals logging on through a logical devicev Terminals too small to accommodate files selected for them by anotherCHOOSE_LOGO statementv Separator pages of printed output from spooling printersv Terminals logging on through a particular VTAM service machine (VSM) user ID.How to SpecifyInclude as many statements as needed; they are optional. You can placeCHOOSE_LOGO statements anywhere in the LOGO CONFIG file. Be aware thatwhen looking for the proper logo picture file to display, <strong>CP</strong> starts at the bottom ofyour LOGO CONFIG file <strong>and</strong> works its way up until it finds the firstCHOOSE_LOGO statement that applies. Therefore, when specifying multipleCHOOSE_LOGO statements, put the generic ones at the top of the file <strong>and</strong> put thespecific ones at the bottom.Chapter 7. The Logo Configuration File 285


CHOOSE_LOGOOper<strong>and</strong>sDEFaulttells <strong>CP</strong> which logo picture file to use when no other CHOOSE_LOGOstatements apply to a specific terminal.LDEVtells <strong>CP</strong> which logo picture file to use for terminals logging on to the systemthrough a logical device. You can choose to have one logo picture file for allterminals or you can choose a specific model number, screen size, or user ID:MODeltells <strong>CP</strong> the model number of the terminal. The table below shows thescreen size associated with each model:Model Equivalent Screen Size2 24 by 803 32 by 804 43 by 805 27 by 132Note: MODEL oper<strong>and</strong>s only apply to terminals with at least as many rows<strong>and</strong> columns as the screen size that the model number implies. Forexample, if you had the following statements in your LOGO CONFIGfile:Choose_Logo Default File DEFAULT LOGOChoose_Logo Ldev Model 3 File P<strong>VM</strong> LOGO<strong>and</strong> a user with a 24 by 80 terminal used the P<strong>VM</strong> logical device toget to your system, that user would be looking at the DEFAULTLOGO, not the P<strong>VM</strong> LOGO. The user needs at least a 32 by 80terminal to see the P<strong>VM</strong> LOGO..SCReen_size rowsXcolumnstells <strong>CP</strong> the screen size of the terminal. SCREEN_SIZE oper<strong>and</strong>s onlyapply to terminals with at least as many rows <strong>and</strong> columns as the user’sactual screen size.USERid useridtells <strong>CP</strong> to use a specific logo picture file for a specific user ID that createsthe logical device (for example, P<strong>VM</strong> or T<strong>CP</strong>/IP). You can use this oper<strong>and</strong>to tell <strong>CP</strong> to use a certain logo picture file for terminals logging on throughcertain types of logical devices.LOCaltells <strong>CP</strong> which logo picture file to use for devices attached directly to thesystem. You can choose to have one logo picture file for all locally-attacheddevices, or you can choose a specific address, a specific address range, themodel number, or the screen size:ADDRess rdevADDRess rdev-rdevtells <strong>CP</strong> which logo picture file to use for a specific device address (orrange of device addresses) for terminals that <strong>CP</strong> manages directly. rdevmust be a hexadecimal number between X'0000' <strong>and</strong> X'FFFF'.MODeltells <strong>CP</strong> the model number of the terminal. The table below shows thescreen size associated with each model:286 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


CHOOSE_LOGOModel Equivalent Screen Size2 24 by 803 32 by 804 43 by 805 27 by 132Note: MODEL oper<strong>and</strong>s only apply to terminals with at least as many rows<strong>and</strong> columns as the screen size that the model number implies. Forexample, if you had the following statements in your LOGO CONFIGfile:Choose_Logo Default File DEFAULT LOGOChoose_Logo Local Model 4 File LOCAL LOGO<strong>and</strong> someone used a locally-attached terminal with 32 rows <strong>and</strong> 80columns, that user would be looking at the DEFAULT LOGO, not theLOCAL LOGO. The user needs at least a 43 by 80 terminal to seethe LOCAL LOGO.SCReen_size rowsXcolumnstells <strong>CP</strong> the screen size of the terminal. SCREEN_SIZE oper<strong>and</strong>s onlyapply to terminals with at least as many rows <strong>and</strong> columns as the user’sactual screen size.MINimumtells <strong>CP</strong> which logo picture file to use when the file specified on anotherCHOOSE_LOGO statement is too large to fit on that terminal’s screen.PRINT_SEParatortells <strong>CP</strong> which logo picture file to use on separator pages of output printed onspooling printers.VSMtells <strong>CP</strong> which logo picture file to use for people logging on through VTAMservice machines (VSMs). You can choose to have one logo picture file for allVSMs, or you can choose a specific user ID:USERid useridtells <strong>CP</strong> the user ID of the VSM through which the user is logging on. Youcan use this oper<strong>and</strong> to tell <strong>CP</strong> to use a specific logo picture file forterminals logging on through a specific VSM.fn ftFile fn fttells <strong>CP</strong> the file name <strong>and</strong> file type of the logo picture file. The FILE keyword isoptional, unless you gave the logo picture file a name that <strong>CP</strong> might mistake fora different oper<strong>and</strong>. For example, use FILE if the logo picture file’s name isMOD LOGO, because <strong>CP</strong> interprets the file name MOD as an abbreviation ofthe MODEL keyword.'text'Tells <strong>CP</strong> what text to display in the comm<strong>and</strong> area of the logo’s area. Enclosethe text in single or double quotation marks, so that <strong>CP</strong> does not mistake animbedded blank as the end of the text. If the text is longer than the input area,<strong>CP</strong> truncates the text.If you need to include a single quotation mark in the title, enclose the wholestring with double quotation marks. If you need to include a double quotationmark in the title, enclose the whole string with single quotation marks. Also, youmay use two consecutive double quote marks ("") to represent a " characterChapter 7. The Logo Configuration File 287


CHOOSE_LOGOUsageNoteswithin a string delimited by double quotation marks. Similarly, you may use twoconsecutive single quotation marks ('') to represent a ' character within a stringdelimited by single quotation marks.Notes for Logo Picture Selection on Terminals:For terminal picture selection, <strong>CP</strong> determines the amount of space that remains onthe screen after accommodating the online message (at the top of the screen), theinput area (at the bottom of the screen) <strong>and</strong> leaving one reserved line. For example,if the screen on which a logo is to be displayed measures 32 rows by 80 columns<strong>and</strong> the input area contains 6 records, the picture must fit in the remaining space:remaining rows = 32 (rows in screen)- 6 (rows in input area)- 1 (rows in online message)- 1 (reserved row)= 24Thus, the picture file selected for this screen can measure no more that 24 rows by80 columns.A Note about Picture WidthsFor VSM logos, the screen is assumed to be 24 rows by 78 columns <strong>and</strong> theinput area need not be accommodated within the 24 rows. Thus, a VSM logopicture file can never contain more than 22 rows or be wider than 78characters.No matter how large a screen is on which <strong>CP</strong> is to display a logo, the number ofrows in the logo picture file multiplied by the logical record length of the picture filecannot exceed 3000 characters.The type of terminal on which the logo is to be displayed determines the processthat <strong>CP</strong> uses to select a logo picture file. For each type of terminal, <strong>CP</strong> looks at aseries of CHOOSE_LOGO statements to find out which logo picture file to use forthe terminal:v For terminals that <strong>CP</strong> manages directly, <strong>CP</strong> searches through CHOOSE_LOGOstatements with the LOCAL oper<strong>and</strong>.v For terminals represented by logical devices, it searches throughCHOOSE_LOGO statements with the LDEV oper<strong>and</strong>.v For terminals managed by a VSM, it searches through CHOOSE_LOGOstatements with the VSM oper<strong>and</strong>.In all three cases, <strong>CP</strong> attempts to find a CHOOSE_LOGO statement that applies tothe screen <strong>and</strong> for which the picture file exists on a <strong>CP</strong>-accessed disk <strong>and</strong> fits inthe space remaining on the screen. The CHOOSE_LOGO statements are scannedin reverse order of their specification in the logo configuration file.If no CHOOSE_LOGO statement meets the aforementioned criteria, the next steptaken by <strong>CP</strong> will depend on whether or not a CHOOSE_LOGO DEFAULT statementwas specified in the logo configuration file.v If CHOOSE_LOGO DEFAULT was specified, <strong>CP</strong> will attempt to read the filespecified on the statement <strong>and</strong> will check if the picture in the file fits in the spaceremaining on the screen. The maximum width (logical record length) of a default288 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


CHOOSE_LOGOlogo file is 78 characters. If the file does not exist on a <strong>CP</strong>-accessed minidisk orthe file is too large to fit on the screen, <strong>CP</strong> will move on to minimum logoprocessing.v If CHOOSE_LOGO DEFAULT was not specified, <strong>CP</strong> will check to see if the logopicture specified at H<strong>CP</strong>BOXNS in H<strong>CP</strong>BOX fits on the space remaining on thescreen. If the picture at H<strong>CP</strong>BOXNS is too large to fit on the screen, <strong>CP</strong> willmove on to minimum logo processing.As the minimum logo screen does not include an input area, <strong>CP</strong> determines theamount of rows remaining for a logo picture as:(number of rows in screen) - 1 (for online message) - 2 (reserved lines)Thus, our example above would now read:remaining rows = 32 (rows in screen)- 1 (rows in online message)- 2 (reserved rows)= 29Thus, the minimum logo picture used for this screen can measure no more than 29rows by 78 columns. Minimum logo processing proceeds as follows:v If CHOOSE_LOGO MINIMUM was specified, <strong>CP</strong> will attempt to read the filespecified on the statement <strong>and</strong> will check if the picture in the file fits in the spaceremaining on the screen. The maximum width (logical record length) of aminimum logo file is 78 characters. If the file does not exist on a <strong>CP</strong>-accessedminidisk or the file is too large to fit on the screen, <strong>CP</strong> will move on to basic logoprocessing.v If CHOOSE_LOGO MINIMUM was not specified, <strong>CP</strong> will check to see if the logopicture specified at H<strong>CP</strong>BOXMS in H<strong>CP</strong>BOX fits on the space remaining on thescreen. If the picture at H<strong>CP</strong>BOXMS is too large to fit on the screen, <strong>CP</strong> willmove on to basic logo processing.Finally, if no suitable logo picture has been found for the screen, <strong>CP</strong> will use thebasic logo picture defined at H<strong>CP</strong>BOXBS in H<strong>CP</strong>BOX. This logo contains nopicture; only an online message will be displayed at the top of the screen <strong>and</strong> astatus area at the bottom of the screen. This logo is guaranteed to fit on allscreens.Notes for Separator Pages of Printed Output:1. Files containing logo pictures for separator pages should have no more than 16records, each of which should not be longer than 49 characters.2. If you do not code a CHOOSE_LOGO PRINT_SEPARATOR statement, or if thefile specified is too large to fit on a separator page, then <strong>CP</strong> will use thespooling logo defined at H<strong>CP</strong>BOXBX or, failing that, H<strong>CP</strong>BLKDB. If you changethe logo picture file for the separator pages, enter the <strong>CP</strong>ACCESS comm<strong>and</strong> tohave <strong>CP</strong> re-access the minidisk where the separator logo is stored. Use theREFRESH comm<strong>and</strong> to activate the changes.ExamplesDefaultsChoose_Logo Default CAMB<strong>VM</strong>3 DEFAULTspecifies that <strong>CP</strong> should use the file CAMB<strong>VM</strong>3 DEFAULT to create default logos.Choose_Logo Minimum CAMB<strong>VM</strong>3 MINIMUMChapter 7. The Logo Configuration File 289


CHOOSE_LOGOspecifies that <strong>CP</strong> should use the file CAMB<strong>VM</strong>3 MINIMUM as the logo picture filewhen no other picture file can be found to fit on the terminal screen.Logical DevicesChoose_Logo LDEV LDEVS LOGOspecifies that <strong>CP</strong> should use the logo picture file LDEVS LOGO for all terminalslogging on through logical devices.Choose_Logo LDEV Model 3 CAMB<strong>VM</strong>3 MOD3LOGOspecifies that <strong>CP</strong> should use the logo picture file CAMB<strong>VM</strong>3 MOD3LOGO for all theModel 3 terminals that log on through logical devices. Model 3 terminals have 32rows <strong>and</strong> 80 columns.Choose_Logo LDEV Model 3 Userid P<strong>VM</strong> P<strong>VM</strong> LOGOspecifies that <strong>CP</strong> should use the logo picture file P<strong>VM</strong> LOGO for all terminals thathave at least 32 rows <strong>and</strong> 80 columns <strong>and</strong> that log in through P<strong>VM</strong>.Locally Attached Terminals:Choose_Logo Local CAMB<strong>VM</strong>3 LOCALspecifies that <strong>CP</strong> should display the file CAMB<strong>VM</strong>3 LOCAL on all locally attachedterminals.Choose_Logo Local Address 0010-001F CAMB<strong>VM</strong>3 LOCAL2 'DIAL VTAM'specifies that for terminals attached locally between the addresses X'0010' <strong>and</strong>X'001F', <strong>CP</strong> should use the logo picture file CAMB<strong>VM</strong>3 LOCAL2, <strong>and</strong> place thecomm<strong>and</strong> DIAL VTAM on the comm<strong>and</strong> line.Choose_Logo Local Address 0200-02FF Screen_size 27X132 CAMB<strong>VM</strong>3 LOCMOD5specifies that <strong>CP</strong> should display the file CAMB<strong>VM</strong>3 LOCMOD5 on all the Model 5terminals (terminals that have 27 rows <strong>and</strong> 132 columns) between addressesX'0200' <strong>and</strong> X'02FF'.Separator PagesChoose_Logo Print_separator PRINTSEP LOGOspecifies that <strong>CP</strong> should use the logo picture file PRINTSEP LOGO on separatorpages of printed output.Terminals Logging on through a VSMChoose_Logo VSM Userid VTAM CAMB<strong>VM</strong>3 VTAMspecifies that <strong>CP</strong> should use the logo picture file CAMB<strong>VM</strong>3 VTAM on all screensmanaged by the VSM named VTAM.290 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


INPUT_AREAINPUT_AREA Statement►► INPUT_AREA fn ft ►◄PurposeUse the INPUT_AREA statement to define a file whose contents will be used inplace of the input area provided in H<strong>CP</strong>BOX ASSEMBLE. This input area containsthe input fields for a user ID, password, <strong>and</strong> comm<strong>and</strong> text.How to SpecifyYou can place INPUT_AREA statements anywhere in the logo configuration file. Ifyou specify more than one INPUT_AREA statement, the last overrides any previousspecifications.Oper<strong>and</strong>sfn tells <strong>CP</strong> the file name of the file containing the input area text.ft tells <strong>CP</strong> the file type of the file containing the input area text.UsageNotes1. If the input area file contains more than 6 records or is wider than 80characters, <strong>CP</strong> will use the input area in H<strong>CP</strong>BOX instead of the one specifiedin the file.2. If more than one version of the file exists on the disks accessed by <strong>CP</strong>, <strong>CP</strong> willuse the file on the lowest accessed minidisk.3. Although you can use different logo pictures for different terminals, you c<strong>and</strong>efine only one input area, which will be displayed on all terminals.4. <strong>CP</strong> is shipped with a sample utility program, DRAWLOGO, <strong>and</strong> a sample XEDITmacro, X$DRWL$X, to help you construct the input area file. Refer toAppendix A, “Sample Utility Programs,” on page 641 for more information onDRAWLOGO <strong>and</strong> X$DRWL$X.5. Within the file, you can choose to place more than one input field on one line.Examples1. To use the <strong>VM</strong>1 INPUT file to define the input area, use the followingINPUT_AREA statement:Input_Area <strong>VM</strong>1 INPUT /* Use the Input Area defined in *//* file, "<strong>VM</strong>1 INPUT" */Chapter 7. The Logo Configuration File 291


ONLINE_MESSAGEONLINE_MESSAGE Statement►► ONLINE_MESSage fn ft ►◄PurposeUse the ONLINE_MESSAGE statement to change what appears in the onlinemessage section, which always appears at the top of the logo screen. If you omitthis statement, <strong>CP</strong> uses the default online message defined in H<strong>CP</strong>BOXASSEMBLE.How to SpecifyYou can place ONLINE_MESSAGE statements anywhere in the logo configurationfile. If you specify more than one ONLINE_MESSAGE statement, the last overridesany previous specifications.Oper<strong>and</strong>sfn tells <strong>CP</strong> the file name of the file containing the online message text.ft tells <strong>CP</strong> the file type of the file containing the online message text.UsageNotes1. If the online message file contains more than one record or is wider than 78characters, <strong>CP</strong> will use the online message defined in H<strong>CP</strong>BOX instead of theone defined in the file.2. If the online message text is wider than the screen on which it will be displayed,<strong>CP</strong> truncates it.Examples1. To use the TOP MESSAGE file to define the online message section, use thefollowing ONLINE_MESSAGE statement:Online_Message Top Message /* The Online Message Can be found *//* in file "TOP MESSAGE" */292 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


STATUSSTATUS Statement►► STATUS <strong>CP</strong>_Read 'string'▼'<strong>CP</strong> READ''HOLDING'HOLDing 'string''MORE... 'MORe 'string''NOT ACCEPTED'NOT_ACCepted 'string''RUNNING'RUNning 'string''<strong>VM</strong> READ'<strong>VM</strong>_Read 'string'►◄PurposeUse the STATUS statement to redefine the default text of the status fields displayedin the bottom right corner of the screen.How to SpecifyInclude as many statements as needed; they are optional. You can place STATUSstatements anywhere in the logo configuration file. If you specify more than onestatement with the same oper<strong>and</strong>s, the last oper<strong>and</strong> definition overrides anyprevious specifications.Oper<strong>and</strong>s<strong>CP</strong>_Read stringidentifies the string to be displayed in the status area when a virtual machinehas issued a <strong>CP</strong> read. The string can be as long as eight characters. Thedefault string is '<strong>CP</strong> READ'.HOLDing stringidentifies the string to be displayed in the status area when there is moreinformation to be displayed <strong>and</strong> the current screen cannot be cleared becausehighlighted output appears on it, or when the user presses ENTER when thescreen is in MORE... status. The string can be as long as eight characters. Thedefault string is 'HOLDING'.MORe stringidentifies the string to be displayed in the status area when there is moreinformation to be displayed <strong>and</strong> there is no highlighted text on the currentscreen. The string can be as long as eight characters. The default string is'MORE... '.NOT_ACCepted stringidentifies the string to be displayed in the status area when <strong>CP</strong> is executing acomm<strong>and</strong> that prevents it from accepting any more input from the comm<strong>and</strong>line. The string can be as long as 12 characters. The default string is 'NOTACCEPTED'.Chapter 7. The Logo Configuration File 293


STATUSUsageNotesRUNning stringidentifies the string to be displayed in the status area when none of the otherstatus conditions exists. The string can be as long as eight characters. Thedefault string is 'RUNNING'.<strong>VM</strong>_Read stringidentifies the string to be displayed in the status area when a virtual machinehas issued a <strong>VM</strong> read. The string can be as long as eight characters. Thedefault string is '<strong>VM</strong> READ'.1. You may have applications that depend on the default status fields. Changingthe values of the fields may cause these applications to fail.2. If you want to include imbedded blanks or preserve mixed case in yourcharacter strings, enclose the strings in single quotation marks.3. The string may be enclosed in single or double quotation marks un it is a singleword entered with no imbedded blanks, in which case the entire word will becapitalized.If you need to include a single quotation mark in the string, enclose the wholestring with double quotation marks. If you need to include a double quotationmark in the string, enclose the whole string with single quotation marks. Also,you may use two consecutive double quote marks ("") to represent a " characterwithin a string delimited by double quotation marks. Similarly, you may use twoconsecutive single quotation marks ('') to represent a ' character within a stringdelimited by single quotation marks.Examples1. You can code the following STATUS statement to change all of the status fieldsto mixed case:Status <strong>CP</strong>_Read '<strong>CP</strong> Read',Holding 'Holding',More 'More... ',Not_Accepted 'Not accepted',Running 'Running',<strong>VM</strong>_Read '<strong>VM</strong> Read'294 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 8. Setting Up Service Virtual MachinesThis chapter describes how to set up virtual machines for:v Accounting, error recording, <strong>and</strong> symptom record recordingv Communication controller supportv Service pool virtual machinesv Print Services Facility/<strong>VM</strong>v Data storage management.Notes:1. All virtual machines that contain data retrieval applications <strong>and</strong> use the IUCVfacility to connect to the <strong>CP</strong> accounting, error recording, or symptom recordrecording system services must include an IUCV user directory controlstatement that identifies the appropriate <strong>CP</strong> recording system service. Inaddition, when the virtual machine user ID is identified to <strong>CP</strong> in the appropriateSYSTEM_USERIDS system configuration file statement (ACCOUNT1,ACCOUNT2, EREP1, EREP2, SYMPTOM1, or SYMPTOM2), data is queued forthe application even when the virtual machine is not logged on <strong>and</strong> <strong>CP</strong> isstarted with the COLD option. <strong>CP</strong> logs on these virtual machines as part of itsinitialization.2. Consider adding a LOGONBY statement to the user directory entry for servicemachines. It lets the system administrators <strong>and</strong> system programmers log on tothe service machine using their own log on password rather than that of theservice virtual machine. This eliminates the need for many users to know theservice virtual machine’s log on password.3. Consider adding the STGEXEMPT oper<strong>and</strong> to the OPTION directory controlstatement for service virtual machines. This oper<strong>and</strong> ensures that the user ID isnot subject to being stopped or forced due to the amount of free storage itcauses <strong>CP</strong> to consume. STGEXEMPT is recommended to protect specialpurpose user IDs which are vital to the installation, user IDs running trustedcode, <strong>and</strong> user IDs which should never be forced off the system.Setting Up Virtual Machines for AccountingThe z/<strong>VM</strong> System DDR tapes or CD-ROM include:v A sample directory entry for an accounting virtual machine. This entry containsthe required IUCV authorization for connecting to the <strong>CP</strong> accounting systemservice.v A sample system configuration file that defines the user ID for the accountingvirtual machine as DISKACNT. The user ID for the accounting virtual machine isdefined as part of the SYSTEM_USERIDS statement in the system configurationfile so that it is automatically logged on by <strong>CP</strong>.v A sample PROFILE EXEC for the accounting virtual machine.Note: One or two virtual machines can be set up as accounting virtual machines.To set up a virtual machine to begin recording accounting information automatically,you must have the proper PROFILE EXEC <strong>and</strong> user directory set up. The followingsteps show this procedure:1. Log on as MAINT. If you did this step as part of installation, you may alreadybe logged on as MAINT, or the user ID you are installing with on your currentoperating system.© Copyright <strong>IBM</strong> Corp. 1991, 2004 295


Setting Up S<strong>VM</strong>s2. Determine the write password of the accounting virtual machine’s 191disk. The accounting virtual machine has been specified in either theSYSTEM_USERIDS ACCOUNT1 or ACCOUNT2 system configuration filestatement or the SYSACNT macroinstruction. Before linking to the accountingvirtual machine’s 191 disk, find out its write password by examining its userdirectory entry. (As MAINT, you usually have access to the user directory.)If the accounting virtual machine’s 191 disk does not have a write password,you must supply one <strong>and</strong> update the directory.Notes:a. To set up virtual machines for error recording <strong>and</strong> for symptom recordrecording, you must determine the write password of the 191 disk of theerror recording virtual machines <strong>and</strong> symptom record recording virtualmachines. To avoid having to update the directory three times, check thewrite password of the error recording virtual machine’s <strong>and</strong> symptom recordrecording virtual machine’s 191 disk at the same time you check the writepassword of the accounting virtual machine’s 191 disk.b. Verify that the directory entry for this virtual machine contains the requiredIUCV authorization for connecting to the <strong>CP</strong> accounting system service. Forexample, IUCV *ACCOUNT.3. Link to the accounting virtual machine’s 191 disk. To do this, enter:link to diskacnt 191 as 391 wrWhen <strong>CP</strong> responds with ENTER WRITE PASSWORD: enter:wpasswhere wpass is the write password of the accounting virtual machine.The accounting virtual machine’s 191 disk is now your 391 disk.4. Access the 391 disk. To do this, enter:access 391 xIf you receive a message that says X'391' DEVICE ERROR, you must format the391 disk. To do this, enter:format 391 xCMS responds with FORMAT WILL ERASE ALL FILES ON DISK X (391). DO YOUWISH TO CONTINUE? (YES|NO). You should enter:yesWhen <strong>CP</strong> responds with ENTER DISK LABEL, enter:acntor any 1- to 6-character label name.5. Copy a file named D<strong>VM</strong> PROFILE from MAINT’s 191 disk to the 391 disk.(D<strong>VM</strong> PROFILE is the PROFILE EXEC for the accounting, symptom recordrecording, <strong>and</strong> error recording virtual machines). The RETRIEVE utility, whichdoes the IUCV connect to the *ACCOUNT system service, is invoked from thisPROFILE EXEC. To do this, enter:copyfile dvm profile a profile exec x6. Release <strong>and</strong> detach the 391 disk. To do this, enter:release x (det7. If the accounting virtual machine is not logged on, use the XAUTOLOGcomm<strong>and</strong> to log on the accounting virtual machine automatically. To dothis for the diskacnt user ID, enter:.xautolog diskacnt296 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Setting Up S<strong>VM</strong>sSetting Up Virtual Machines to Collect Accounting RecordsYour installation can set up multiple virtual machines to collect the accountingrecords. There are two methods that you can use to specify to <strong>CP</strong> which virtualmachines will be used to retrieve accounting data. These are as follows:v At <strong>CP</strong> generation time in the system configuration file, code theSYSTEM_USERIDS statement or the SYSACNT macroinstruction to specify thevirtual machine IDs (up to two) for which the <strong>CP</strong> accounting system service(*ACCOUNT) is to accumulate records. If these users have an entry in the userdirectory, they will be logged on as part of <strong>CP</strong> initialization. See“SYSTEM_USERIDS Statement” on page 232 for information about theSYSTEM_USERIDS statement or “SYSACNT (Optional)” on page 661 forinformation about the SYSACNT macroinstruction.v Additional virtual machines can also collect accounting records by following theinstructions in sections:– See “Specifying a New Accounting Virtual Machine.”– See “Starting Manual Retrieval of Accounting Records.”Specifying a New Accounting Virtual MachineNormally your installation sets up particular virtual machines to be the accountingvirtual machines. If you want to have additional virtual machines collect accountingrecords, do the following:v Make sure the new accounting virtual machine has an A-disk available to receivethe accounting records.v Make sure the system programmer authorizes the new virtual machine to receivethe records in the IUCV directory statement.The user entering the RETRIEVE utility must have a directory entry containing anIUCV directory control statement authorizing the virtual machine to connect to the<strong>CP</strong> system service which supports the type of record being collected.*ACCOUNT must be specified for ACCOUNT records.v Follow the steps outlined in “Starting Manual Retrieval of Accounting Records.”Starting Manual Retrieval of Accounting RecordsOrdinarily, the accounting virtual machine starts retrieving automatically when youbring up z/<strong>VM</strong>. But there may be times when you need to start retrieval manually.For example, you may find out through error messages or by entering the QUERYRECORDING comm<strong>and</strong> that the accounting virtual machine has stopped retrieving.Or your installation may not set up the accounting virtual machine to start retrievalautomatically. In either case, you may start retrieval manually, as follows:1. If necessary, disconnect from the operator’s virtual machine by entering:disconnect2. Log on the accounting virtual machine.3. Clear any activity in the virtual machine (including retrieval) by entering:#cp system reset4. Load CMS into storage by entering:ipl 190or, if your installation has installed CMS in a named saved system,ipl cmsnamewhere cmsname is the name of your CMS system.Chapter 8. Setting Up Service Virtual Machines 297


Setting Up S<strong>VM</strong>s5. Make sure there is room on the accounting virtual machine’s A-disk for moreaccounting records. To find out how full the A-disk is, enter:query disk aIf the A-disk is almost full, process some of the accounting records. Then erasethe old files to free space on the A-disk.6. Start retrieval of accounting records by entering:retrieve account7. Disconnect the accounting virtual machine by entering:#cp disconnectYou may now use the display for another virtual machine.8. If necessary, reconnect the operator’s virtual machine.Disassociating a User ID from the Retrieval of Accounting Records1. Stop the recording of ACCOUNT records for this user ID. To do this from a userID authorized for the class A or B version of the <strong>CP</strong> RECORDING comm<strong>and</strong>,enter:recording account off qid useridOr, the user ID being removed (must be authorized for the class C, E, or Fversion of the recording comm<strong>and</strong>), enter:recording account off2. If there are accounting records queued in <strong>CP</strong> storage for this user ID <strong>and</strong> youwant to save the data, log on the user ID to be deleted <strong>and</strong> enter:retrieve accountThis will place the accounting records in the proper file for later processing.Disconnect this user by entering:#cp disconnectLog back on the authorized user ID.3. If the accounting records queued in <strong>CP</strong> storage for this user ID are not wanted,they may be purged. To do this from a user ID authorized for the class A or Bversion of the <strong>CP</strong> RECORDING comm<strong>and</strong>, enter:recording account purge qid useridOr, the user ID being removed (must be authorized for the class C, E, or Fversion of the recording comm<strong>and</strong>), enter:recording account purgeThis will PURGE all the accounting records queued in <strong>CP</strong> storage for this userID.4. Verify the record count is zero <strong>and</strong> recording is off for this user ID. To do this,enter:query recordingNote: The deleted user ID remains in the warm start data <strong>and</strong> in the output ofthe QUERY RECORDING comm<strong>and</strong> until <strong>VM</strong> is restarted with the COLDoption.5. If the user ID is specified on the SYSTEM_USERIDS statement in the systemconfiguration file, remove that user ID.298 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Setting Up S<strong>VM</strong>sAccounting Record Formats▌PI▐Note: The user ID OPERACCT is the default if the SYSACNT macroinstructionis omitted <strong>and</strong> no user ID for accounting is specified in the systemconfiguration file.<strong>CP</strong> produces the following types of accounting records:v Virtual machine user records (record type 1).v Records for devices dedicated to a virtual machine user (record type 2).v Records for temporary disk space dedicated to a virtual machine user (recordtype 3).v Records that are written when <strong>CP</strong> detects that a user has entered enoughLOGON, AUTOLOG, XAUTOLOG, or APPC<strong>VM</strong> CONNECT invocations with aninvalid password to reach or exceed an installation-defined threshold value(record type 04).v Records that are written when <strong>CP</strong> detects that a user has successfully entered aLINK comm<strong>and</strong> to a protected minidisk not owned by the user (record type 05).v Records that are written when <strong>CP</strong> detects that a user has entered enough LINKcomm<strong>and</strong>s with an invalid password to reach or exceed an installation-definedthreshold value (record type 06).v Records generated whenever a user logs off or disconnects from a devicecontrolled by the VCNA or VSCS (record type 07).v Records that are written when <strong>CP</strong> detects that a user has successfully entered aLINK comm<strong>and</strong> to a protected minidisk not owned by that user’s virtual machine(record type 08). Record type 08 is also generated when the user logs off ordisconnects or when a SHUTDOWN or FORCE comm<strong>and</strong> causes a logged-onvirtual machine to be forced off the system. Disconnected virtual machines do nothave another 08 record generated for them if they are forced off.v Records generated about ISFC (record type 09).v Records logging changes to a user’s privilege class (record type 0A)v Records for virtual disk in storage space (record type B)v Records for Network Data Transmissions (record type C)v Records generated as a result of a user-initiated DIAGNOSE X'4C' instruction(record type C0).Note: Record types 04, 05, 06, <strong>and</strong> 08 are generated only when LOGON,AUTOLOG, XAUTOLOG, LINK, <strong>and</strong> CONNECT journaling is on.These records are all 80-character card images.The size of the fields in the accounting records restricts the data limit that each fieldcan contain. To find the available field size, refer to each record type. Since thefields are limited in their capacity, it is recommended that you cut accountingrecords at least once a day.Accounting Records for Virtual Machine Resource Usage(Record Type 1)A type 1 accounting record is produced whenever a user logs off or whenever theACNT comm<strong>and</strong> is entered. Columns 1 through 28 <strong>and</strong> 79 <strong>and</strong> 80 of this recordcontain character data; all other data is in hexadecimal form (the hexadecimal datais unprintable).Chapter 8. Setting Up Service Virtual Machines 299


Setting Up S<strong>VM</strong>sColumn Contents1–8 User ID9–16 Account number17–28 Date <strong>and</strong> time of accounting (mmddyyhhmmss)29–32 Number of seconds connected to <strong>CP</strong>33–36 Milliseconds of processor time used, including time for supervisorfunctions37–40 Milliseconds of virtual <strong>CP</strong>U time used41–44 Number of page reads45–48 Number of page writes49–52 Number of requested virtual I/O starts for non-spooled I/O53–56 Number of virtual punch cards sent to a virtual punch57–60 Number of virtual print lines sent to a virtual printer (this includesone line for each carriage control comm<strong>and</strong>)61–64 Number of virtual punch cards received from a virtual reader65–68 Milliseconds of total Vector time69–72 Milliseconds of virtual Vector time73–76 Number of completed virtual I/O starts for non-spooled I/O (exceptDIAGNOSE X'58' <strong>and</strong> DIAGNOSE X'98')77–78 <strong>CP</strong>U address (for the SYSTEM <strong>VM</strong>DBK, this is the real processoraddress)79 Card generator field (C if Diag 4C has been issued, 0 otherwise)80 Accounting record identification code (1)Note: User virtual machine time may be recorded in more than one record entry.For example:v Processor time is accumulated under connect time (bits 29 - 32) <strong>and</strong>processor time (bits 33 - 40)v Vector processing time is accumulated under connect time (bits 29 - 32),processor time (bits 33 - 40), <strong>and</strong> vector time (bits 65 - 72).Accounting Records for Dedicated Devices (Record Type 2)A type 2 accounting record is produced whenever a virtual machine user releases apreviously dedicated device. Columns 1 through 28 <strong>and</strong> 79 <strong>and</strong> 80 of this recordcontain character data; all other data is in hexadecimal form (the hexadecimal datais unprintable). Translation codes for columns 33 through 36 can be found inAppendix E, “Device Class <strong>and</strong> Type Codes,” on page 773. See the documentationfor each specific device for more complete information on model numbers.Column Contents1–8 User ID9–16 Account number17–28 Date <strong>and</strong> time of accounting (mmddyyhhmmss)29–32 Number of seconds since the virtual disk was created or thenumber of seconds since the last accounting record was cut for thisvirtual disk33 Device class34 Device type35 Device model (if any)36 Device features (if any)37–78 Reserved79 Card generator field (C if Diag 4C has been issued, 0 otherwise)80 Accounting record identification code (2)300 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Setting Up S<strong>VM</strong>sAccounting Records for Temporary Disk Space (Record Type 3)A type 3 accounting record is produced whenever a virtual machine user releasestemporary disk space. Columns 1 through 28 <strong>and</strong> 79 <strong>and</strong> 80 of this record containcharacter data; all other data is in hexadecimal form (the hexadecimal data isunprintable). See Appendix E, “Device Class <strong>and</strong> Type Codes,” on page 773 forinformation about translation codes for columns 33 through 36. See thedocumentation for each device for more information on model numbers.Column Contents1–8 User ID9–16 Account number17–28 Date <strong>and</strong> time of accounting (mmddyyhhmmss)29–32 Number of seconds since the TDISK was created or the number ofseconds since the last accounting record was cut for this TDISK33 Device class34 Device type35 Device model (if any)36 Device features (if any)37–38 CKD <strong>and</strong> ECKD Only Number of cylinders of temporary disk spaceused (only present for CKD or ECKD architected device types)39–40 CKD <strong>and</strong> ECKD Only Reserved37–40 FBA Only Number of FBA blocks used (only present for FBAarchitected device types)41–44 Number of 4K pages used (present for all device types)45–78 Reserved79 Card generator field (C if Diag 4C has been issued, 0 otherwise)80 Accounting record identification code (3)Accounting Records for Journaling (Record Types 04, 05, 06, 08,<strong>and</strong> 0I)When LOGON, AUTOLOG, XAUTOLOG, LINK, or APPC<strong>VM</strong> CONNECT journalingis on, <strong>CP</strong> may create type 04, type 05, type 06, type 08, <strong>and</strong> type 0I accountingrecords.A type 04 accounting record is written whenever <strong>CP</strong> detects that a user has issuedenough LOGON, AUTOLOG, XAUTOLOG, or APPC<strong>VM</strong> CONNECT invocations withan invalid password to reach or exceed an installation-defined threshold value. Thisrecord has the following format:Column Contents1–8 User ID specified on the comm<strong>and</strong>9–16 Reserved for <strong>IBM</strong> use17–28 Date <strong>and</strong> time of accounting (mmddyyhhmmss)29–32 Terminal address (see Note 1 on page 303)33–40 Invalid password (see Note 2 on page 303)41–48 User ID that entered AUTOLOG, XAUTOLOG, APPC<strong>VM</strong>CONNECT, or the BYUSER ID that entered LOGON (see Note 4 onpage 303).49–51 Reserved for <strong>IBM</strong> use52–53 Current invalid password count in hexadecimal54–55 Accounting record limit in hexadecimal56 Blank57–62 Reserved63–70 Network qualifier for SNA terminal. Host virtual machine name forT<strong>CP</strong>/IP terminal.71–78 LUNAME for SNA terminal. IP address for T<strong>CP</strong>/IP terminal (seeNote 5 on page 303).Chapter 8. Setting Up Service Virtual Machines 301


Setting Up S<strong>VM</strong>s79–80 Accounting card identification code (04)A type 05 accounting record is produced whenever <strong>CP</strong> detects that a user hassuccessfully entered a LINK comm<strong>and</strong> to a minidisk protected by a password <strong>and</strong>not owned by that user. This record is always produced when an external securitymanager authorizes the link. This record has the following format:Column Contents1–8 User ID that entered the comm<strong>and</strong>9–16 Account number17–28 Date <strong>and</strong> time of accounting (mmddyyhhmmss)29–32 Terminal address (see Note 1 on page 303)33–40 Reserved for <strong>IBM</strong> use41–48 User ID of the user that owns the minidisk49–52 The minidisk address for which the LINK comm<strong>and</strong> was entered53 Type of minidisk linked (see Note 3 on page 303)54–55 Reserved for <strong>IBM</strong> use56–57 Blank58–62 Reserved63–70 Network qualifier for SNA terminal. Host virtual machine name forT<strong>CP</strong>/IP terminal.71–78 LUNAME for SNA terminal. IP address for T<strong>CP</strong>/IP terminal (seeNote 5 on page 303).79–80 Accounting card identification code (05)A type 06 accounting record is produced whenever <strong>CP</strong> detects that a user hasentered enough LINK comm<strong>and</strong>s with an invalid password to reach or exceed aninstallation-defined threshold value. This record has the following format:Column Contents1–8 User ID that entered the comm<strong>and</strong>9–16 Account number17–28 Date <strong>and</strong> time of accounting (mmddyyhhmmss)29–32 Terminal address (see Note 1 on page 303)33–40 Invalid password (see Note 2 on page 303)41–48 User ID of the user that owns the minidisk49–51 Reserved for <strong>IBM</strong> use52–53 Invalid password count in hexadecimal54–55 Invalid password limit in hexadecimal56 Blank57–60 Minidisk address for which the LINK comm<strong>and</strong> was entered61–62 Reserved63–70 Network qualifier for SNA terminal. Host virtual machine name forT<strong>CP</strong>/IP terminal.71–78 LUNAME for SNA terminal. IP address for T<strong>CP</strong>/IP terminal (seeNote 5 on page 303).79–80 Accounting card identification code (06)A type 08 record is generated when a user logs off or disconnects or when aSHUTDOWN or FORCE comm<strong>and</strong> causes that logged-on user to be forced off thesystem. Disconnected users do not have another 08 record generated for them ifthey are forced off. This record has the following format:Column Contents1–8 User ID9–16 Account number17–28 Date <strong>and</strong> time of accounting (mmddyyhhmmss)302 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Setting Up S<strong>VM</strong>s29–48 Reserved49–56 LUNAME for SNA terminal. IP address for T<strong>CP</strong>/IP terminal (seeNote 5).57–64 Network qualifier for SNA terminal. Host virtual machine name forT<strong>CP</strong>/IP terminal.65–72 Terminal identification (logical device number, real device number,LUNAME for SNA terminal or NONE)73–78 Reserved79–80 Accounting record identification code (08)Notes:1. For the terminal address, columns 29 through 32 may contain one of thefollowing:v NONE—if no terminal is foundv SNA—if terminal is SNA (LUNAME is in columns 71–78)v A real or logical device number in the form Lnnn, where nnn is the logicaldevice number, for all other cases.2. For the invalid password, columns 33 through 40 may contain one of thefollowing:v Incorrect passwordv TOO LONG—if entered password is more than 8 characters.3. For the type of minidisk linked, column 53 may contain one of the following:v X'00'–if the link is to a user’s minidiskv X'10'–if the link is to a full-pack overlay minidisk.4. A by-user is a user who logs on to a virtual machine using the BY oper<strong>and</strong> ofthe LOGON comm<strong>and</strong>. The by-user’s own password is used for LOGONauthorization checking for the virtual machine, so the invalid password attemptsare counted against the by-user ID, not the user ID of the virtual machine.5. IP addresses are normally written in dotted-decimal format (for example,9.130.58.78). In journal records, each segment of the IP address is converted toa two-digit hexadecimal value. For example, 9 is converted to 09, <strong>and</strong> 130 isconverted to 82. The result is an eight-byte string of four two-digit hexadecimalnumbers in character form. So, 9.130.58.78 becomes the character string09823A4E.A type 0I record is generated when the user is logged on through a logical devicewith an associated IPv6 address. This record has the following format:Column Contents1–8 <strong>VM</strong> user ID9–16 Account number17–28 Date <strong>and</strong> time of accounting (mmddyyhhmmss)29–36 Host virtual machine name37–68 IPv6 address (see note 1)69–78 Reserved79–80 Accounting record identification code (0I)Notes:1. IPv6 addresses are normally written in hexadecimal text representation.Example: 0123:4567:89AB:CDEF:FEDC:BA98:7654:3210In type 0I records, each segment of the IP address is converted from binary tocharacter form. The result is a 32-byte string of sixteen two-digit hexadecimalnumbers in character form. So, the address shown above becomes0123456789ABCDEFFEDCBA9876543210.Chapter 8. Setting Up Service Virtual Machines 303


Setting Up S<strong>VM</strong>sAccounting Records for SNA/CCS (Record Type 07)A type 07 accounting record is produced whenever a user logs off or disconnectsfrom a device controlled by VCNA or VSCS. The record indicates the user’s shareof the VCNA/VSCS resource used. Columns 1 through 16 <strong>and</strong> 79 <strong>and</strong> 80 of thisrecord contain character data. See the VCNA Installation <strong>and</strong> Terminal Use Guidefor details of <strong>VM</strong>/VCNA accounting records <strong>and</strong> the ACF/VTAM* <strong>Planning</strong> <strong>and</strong>Installation book for details of VSCS accounting records.Column Contents1–8 User ID9–16 Account number17–78 VSCS/VCNA accounting data79–80 Accounting record identification code (07)Accounting Records for Inter-System Facility forCommunications (Record Type 09)A type 09 accounting record is produced when the ALL option of the ACNTcomm<strong>and</strong> is entered. Accounting records are generated for all active conversations<strong>and</strong> all active links.There are four different categories of ISFC accounting records:v Initialization accounting recordsv Conversation accounting recordsv Link statistics accounting recordsv Termination accounting records.ISFC produces the initialization accounting record during its initialization on thez/<strong>VM</strong> system. This record, along with the termination accounting record indicatesthe time frame in which ISFC was active on the z/<strong>VM</strong> system.The format of the initialization accounting record is:Column Contents1–8 SYSISFC, indicating that this record was created by the z/<strong>VM</strong>domain controller9–12 Initialization record identifier, ISFI13–16 Reserved for <strong>IBM</strong> use17–28 Date <strong>and</strong> time the accounting record is generated29–78 Reserved for <strong>IBM</strong> use79–80 ISFC accounting record identifierThe format of the conversation start accounting record is:Column Contents1–8 SYSISFC, indicating that this record was created by the z/<strong>VM</strong>domain controller9–12 Conversation start accounting record identifier, ISFS13–16 Conversation ID17–28 Date <strong>and</strong> time the accounting record is generated29–36 User ID of the user that initiated the conversation37–59 Reserved for <strong>IBM</strong> use60 Type of name in bytes 61–68. R indicates a global resource. Gindicates a gateway name. U indicates a private resource servervirtual machine or workstation user ID. I indicates IUCV.304 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Setting Up S<strong>VM</strong>s61–68 Resource name, a gateway name, the user ID of the privateresource server virtual machine or workstation, or target userid foran IUCV CONNECT.69–78 Reserved for <strong>IBM</strong> use79–80 ISFC accounting record identifierThe format of the conversation active <strong>and</strong> conversation end accounting records is:Column Contents1–8 SYSISFC, indicating that this record was created by the z/<strong>VM</strong>domain controller9–12 Conversation record identifier. ISFA indicates a conversation activeaccounting record; ISFE, a conversation end accounting record.13–16 Conversation ID17–28 Date <strong>and</strong> time the accounting record is generated29–32 Number of bytes received from the remote domain controller sincethe conversation started or since the last conversation activeaccounting record was issued.33–36 Number of bytes sent to the remote domain controller since theconversation started or since the last conversation activeaccounting record was issued.37–78 Reserved for <strong>IBM</strong> use.79–80 ISFC accounting record identifierThe format of the link statistics accounting records is:Column Contents1–8 SYSISFC, indicating that this record was created by the z/<strong>VM</strong>domain controller9–12 Link statistics record identifier, ISFL13–16 Reserved for <strong>IBM</strong> use17–28 Date <strong>and</strong> time the accounting record is generated29–32 Number of bytes of data received (unsigned binary fullword)33–36 Number of bytes of data sent since the link came up or since thelast accounting record was generated for this link (unsigned binaryfullword)37–40 Unit address of the link41–44 Number of attention interrupts45–48 Number of write operations that result in collisions49–52 Number of successful write operations53–56 Number of successful read operations57–78 Reserved for <strong>IBM</strong> use.79–80 ISFC accounting record identifierThe format of the termination accounting record is:Column Contents1–8 SYSISFC, indicating that this record was created by the z/<strong>VM</strong>domain controller9–12 Termination record identifier, ISFT.13–16 Reserved for <strong>IBM</strong> use17–28 Date <strong>and</strong> time the accounting record was generated29–78 Reserved for <strong>IBM</strong> use79–80 ISFC accounting record identifierChapter 8. Setting Up Service Virtual Machines 305


Setting Up S<strong>VM</strong>sAccounting Records for logging changes to a user’s privilege(Record Type 0A)A type 0A accounting record is produced whenever a SET PRIVCLASS comm<strong>and</strong> issuccessfully issued. The record tracks changes to a user’s privilege class <strong>and</strong> theirability to change their privilege class settings.There are 4 subtypes of this record.Subtype DescriptionL SET PRIVCLASS LOCK has been issuedU SET PRIVCLASS UNLOCK has been issuedC The user’s privilege class(es) have been changed via the SETPRIVCLASS comm<strong>and</strong>.R SET PRIVCLASS RESET has been issuedThe format for subtypes ’L’ (SET PRIVCLASS LOCK) <strong>and</strong> ’U’ (SET PRIVCLASSUNLOCK) appears below. Columns 1 through 36 <strong>and</strong> 78 through 80 of this recordcontain character data; all other data is in hexadecimal form (the hexadecimal datais unprintable).Column Contents1–8 User ID of the issuer of the SET PRIVCLASS comm<strong>and</strong>.9–16 Account number17–28 Date <strong>and</strong> time of accounting (mmddyyhhmmss)29–36 Target user ID. User ID that is the target of the SET PRIVCLASSlock or unlock37–77 Reserved78 SubtypeCharacter Subtype MeaningL SET PRIVCLASS LOCK has been issuedU SET PRIVCLASS UNLOCK has been issued79–80 Accounting record identification code (0A)The format for subtypes ’C’ (SET PRIVCLASS change) <strong>and</strong> ’R’ (SET PRIVCLASSRESET) appears below. Columns 1 through 36 <strong>and</strong> 78 through 80 of this recordcontain character data; all other data is in hexadecimal form (the hexadecimal datais unprintable). The privilege class information consists of bits representing privilegeclasses A-Z, <strong>and</strong> 1-6 respectively. The bit definitions are defined in H<strong>CP</strong>CLASSCOPY.Column Contents1–8 User ID of the issuer of the SET PRIVCLASS comm<strong>and</strong>9–16 Account number17–28 Date <strong>and</strong> time of accounting (mmddyyhhmmss)29–36 Target user ID. User ID whose settings are being changed37–40 User privilege classes before the change or reset41–44 User privilege classes after the change or reset45–48 User privilege classes as indicated in the directory49–77 Reserved78 SubtypeCharacter Subtype MeaningC The User’s privilege class has been changedR The User’s privilege class has been reset79–80 Accounting record identification code (0A)306 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Accounting Records for virtual disk in storage space (RecordType B)A type B accounting record is produced for a virtual disk in storage. Columns 1through 28 <strong>and</strong> 79 <strong>and</strong> 80 of this record contain character data; all other data is inhexadecimal form (the hexadecimal data is unprintable). Translation codes forcolumns 33 through 36 can be found in Appendix E, “Device Class <strong>and</strong> TypeCodes,” on page 773. See the documentation for each specific device for morecomplete information on model numbers.Column Contents1–8 User ID. This user ID is defined as follows:v If the virtual disk in storage is defined in the directory, this is theuser ID which contains the MDISK definition for this virtual disk instorage.v If the virtual disk in storage was defined using the <strong>CP</strong> DEFINEcomm<strong>and</strong>, this is the user ID that issued the DEFINE comm<strong>and</strong>.9–16 Account number17–28 Date <strong>and</strong> time of accounting (mmddyyhhmmss)29–32 Number of seconds connected to <strong>CP</strong>33 Device class34 Device type35 Device model (if any)36 Device features (if any)37–40 Number of FBA blocks used41–44 Number of 4K pages used (present for all device types)45 Sub-type of virtual disk accounting record. The only volume definedis zero. If non-zero, the contents of bytes 1-44 <strong>and</strong> 46-78 areundefined.46–78 Reserved79 Card generator field (C if Diag 4C has been issued, 0 otherwise)80 Accounting record identification code (B)Accounting Records Network Data Transmissions (Record TypeC)Type C accounting records may be produced for any virtual machine user withNETAccounting or NETRouter specified as an option in its user directory. Theaccount records are produced when accounting is performed (<strong>CP</strong> ACNT comm<strong>and</strong>),or when a field in the accounting record is about to overflow, <strong>and</strong> the user has sentor received data from a Network device. These records are only produced whenfields containing byte counters for a device are non-zero.Network devices to be included in these counts are:v Virtual Network Interface Cards (NIC)v Virtual Channel to Channel Adaptersv IUCV <strong>and</strong> APPC/<strong>VM</strong> connection pathsSetting Up S<strong>VM</strong>sThe contents of Network Data Transmission accounting records depends on thetype of Network device being used. There are 3 different formats, designated bya subtype in byte 78. For subtype 00 (Virtual NIC records), an additional 4subformats, designated in byte 77, indicate what type of network data is countedin the record.Type C account record describing data transfer involving routers through a VirtualNIC (Network device type 00). Columns 1 through 28, 35 through 50, <strong>and</strong> 79through 80 of this record contain character data; all other data is in hexadecimalform (the hexadecimal data is unprintable.)Chapter 8. Setting Up Service Virtual Machines 307


Setting Up S<strong>VM</strong>sColumnContents1-8 <strong>VM</strong> Userid (Owner of the Virtual NIC)9-16 Account number17-28 Date <strong>and</strong> time of accounting (mmddyyhhmmss)29-30 Base VDEV address of the Virtual NIC.31-34 Default IP Address for this network adapter.35-42 LAN or Virtual Switch Owner43-50 LAN Name or Virtual Switch Name51-58 Bytes Sent (See Data Descriptor).59-66 Bytes Received (See Data Descriptor).67-76 Reserved77 Data Descriptor:00 - Bytes sent to or received from Routers01 - Bytes sent to or received from non-Routers02 - Bytes sent to or received via Broadcast03 - Bytes sent to or received via Multicast78 Network device type (00) Virtual NIC79 Card generator field (C if Diag 4C has been issued, 0 otherwise)80 Accounting record identification code (C)Notes:1. Hardware headers which appear before the IP Header are not included in thebyte counts reported for simulated network adapters.2. IP addresses are normally written in dotted-decimal format (for example,9.130.58.78). In journal records, each segment of the IP address is convertedto a two-digit hexadecimal value. For example, 9 is converted to 09, <strong>and</strong> 130is converted to 82. The result is an eight-byte string of four two-digithexadecimal numbers in character form. So, 9.130.58.78 becomes thecharacter string 09823A4E.TYPE C accounting record for data transfer with a Virtual Channel to ChannelAdapter. Columns 1 through 28, 35 through 42, <strong>and</strong> 79 through 80 of this recordcontain character data; all other data is in hexadecimal form (the hexadecimaldata is unprintable.)Column308 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Contents1-8 <strong>VM</strong> Userid (owner of the local CTCA)9-16 Account number17-28 Date <strong>and</strong> time of accounting (mmddyyhhmmss)29-30 VDEV address of the local CTCA31-34 Reserved35-42 Userid of the owner of the remote CTCA43-44 VDEV address of the remote CTCA45-50 Reserved51-58 Number of bytes sent to the remote CTCA.


Setting Up S<strong>VM</strong>s59-66 Number of bytes received from the remote CTCA.67-77 Reserved78 Network device type (01) virtual CTCA79 Card generator field (C if Diag 4C has been issued, 0 otherwise)80 Accounting record identification code (C)TYPE C account record for data transfer with an IUCV or APPC/<strong>VM</strong> connection.Columns 1 through 28, 35 through 42, <strong>and</strong> 79 through 80 of this record containcharacter data; all other data is in hexadecimal form (the hexadecimal data isunprintable.)ColumnContents1-8 <strong>VM</strong> Userid (Owner of the local connection.)9-16 Account number17-28 Date <strong>and</strong> time of accounting (mmddyyhhmmss)29-34 Reserved35-42 Connected <strong>VM</strong> Userid (remote)43-50 Reserved51-58 Number of bytes sent to the remote user.59-66 Number of bytes received from the remote user.67-77 Reserved78 Network device type (02) IUCV or APPC path79 Card generator field (C if Diag 4C has been issued, 0 otherwise)80 Accounting record identification code (C)Notes:1. Byte count values are reset to zero after an accounting record is created.2. Byte count values represent data read or written to the device. They will nottypically contain bytes transferred as a result of initialization, termination, orerror recovery.3. Accounting for a particular LAN may be controlled by the DEFINE LAN, <strong>and</strong>SET LAN comm<strong>and</strong>s, <strong>and</strong> default settings may be set by the <strong>VM</strong>LANcomm<strong>and</strong> or <strong>VM</strong>LAN statement in the system config file.Accounting Records for <strong>CP</strong>U Capability (Record Type D)A Type D accounting record is produced to record the <strong>CP</strong>U capability of theprocessors in the system. A record is generated during <strong>VM</strong> system initialization <strong>and</strong>whenever the <strong>CP</strong>U capability changes.All fields of the record contain character data.ColumnContents1-16 Reserved17-28 Date <strong>and</strong> time of accounting (mmddyyhhmmss)29-36 <strong>CP</strong>U capability37-38 Reserved79 Card generator field (0)Chapter 8. Setting Up Service Virtual Machines 309


Setting Up S<strong>VM</strong>s80 Accounting record identification code (D)Adding Your Own Accounting Records <strong>and</strong> Source Code<strong>CP</strong> allows you to customize the way it collects accounting records in two ways:v A virtual machine can use the DIAGNOSE instruction to initiate the generation ofa virtual machine accounting record.v You can add your own source code to the <strong>CP</strong> accounting exit module.User-Initiated Accounting Records (Record Type C0)A virtual machine user can initiate the creation of an accounting record that containsup to 70 bytes of information of the user’s choosing. To do this, the user enters aDIAGNOSE code X'4C' instruction with the following oper<strong>and</strong>s (the z/<strong>VM</strong>: <strong>CP</strong>Programming Services book describes how to enter a DIAGNOSE code):v The address of a data area in virtual storage that contains the information thatthe user wants in columns 9 through 78 of the card image record. (Thisinformation is placed in the accounting record exactly as it appears in the dataarea. If more than 70 bytes of data are included, only the first 70 bytes appear inthe accounting record.)v A function code of X'10'.v The length of the data area in bytes.The information on this type of accounting record is as follows:Column Contents1–8 User ID9–78 User-formatted data79–80 Accounting record identification code (C0)▌PIend▐File spool service virtual machines can generate accounting records in thiscategory. For details, see the z/<strong>VM</strong>: CMS File Pool <strong>Planning</strong>, <strong>Administration</strong>, <strong>and</strong>Operation book.<strong>CP</strong> Accounting Exit (Module H<strong>CP</strong>ACU)▌PI▐You can make system-wide changes to the accounting records that <strong>CP</strong> collects byadding source code to module H<strong>CP</strong>ACU. H<strong>CP</strong>ACU is an installation-wide exit.H<strong>CP</strong>ACU supports installation-supplied code for the <strong>IBM</strong> 3277 OperatorIdentification Card Reader feature <strong>and</strong> for examining <strong>and</strong> modifying <strong>CP</strong> accountingrecords. H<strong>CP</strong>ACU is included in the <strong>CP</strong> nucleus at system generation. Later, duringsystem operation, the <strong>CP</strong> accounting function calls H<strong>CP</strong>ACU whenever any of thefollowing occurs:v A virtual machine is started or stoppedv Accounting comm<strong>and</strong>s are entered by an operator or a virtual machinev <strong>CP</strong> does checkpointing operations.However, if you do not add any code to H<strong>CP</strong>ACU, the module performs nomeaningful function.310 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Setting Up S<strong>VM</strong>sH<strong>CP</strong>ACU contains two entry points, H<strong>CP</strong>ACUON <strong>and</strong> H<strong>CP</strong>ACUOF. Figure 4provides an overview of the <strong>IBM</strong>-supplied H<strong>CP</strong>ACU module, showing the entrypoints <strong>and</strong> the areas where you can add your own source code.COPY H<strong>CP</strong>OPTNSH<strong>CP</strong>ACU H<strong>CP</strong>PROLG ATTR=(RESIDENT),BASE=(R12)*COPY AOFPARM parameter list for H<strong>CP</strong>ACUOFCOPY AONPARM parameter list for H<strong>CP</strong>ACUONCOPY H<strong>CP</strong>EQUAT common system equatesCOPY H<strong>CP</strong>PFXPG prefix pageCOPY H<strong>CP</strong>SAVBK savearea block*H<strong>CP</strong>USING PFXPG,0*H<strong>CP</strong>ACUON H<strong>CP</strong>ENTER CALL,SAVE=DYNAMICH<strong>CP</strong>USING AONPARM,R1****************************************************************** Installation-supplied code can be inserted here.*****************************************************************H<strong>CP</strong>DROP R1SLR R15,R15 Set return code of 0ACUONEXT DS 0HST R15,SAVER15 Store return codeL R11,SAVER11 Restore register 11H<strong>CP</strong>EXIT EP=H<strong>CP</strong>ACUONH<strong>CP</strong>DROP R13*H<strong>CP</strong>ACUOF H<strong>CP</strong>ENTER CALL,SAVE=PFXBALSVH<strong>CP</strong>USING AOFPARM,R1LA R13,PFXBALSV Establish savearea addressH<strong>CP</strong>USING SAVBK,R13****************************************************************** Installation-supplied code can be inserted here.*****************************************************************H<strong>CP</strong>DROP R1SLR R15,R15 Set return code of 0ACUOFEXT DS 0HST R15,SAVER15 Store return code* L R11,SAVER11 H<strong>CP</strong>EXIT does actual loadH<strong>CP</strong>EXIT EP=H<strong>CP</strong>ACUOFH<strong>CP</strong>DROP R0,R13*H<strong>CP</strong>EPILGFigure 4. Module H<strong>CP</strong>ACU OverviewH<strong>CP</strong>ACU has the following requirements <strong>and</strong> restrictions:1. H<strong>CP</strong>ACU is written in Assembler H coding language.2. H<strong>CP</strong>PROLG, H<strong>CP</strong>USING, H<strong>CP</strong>ENTER, H<strong>CP</strong>DROP, H<strong>CP</strong>EXIT, <strong>and</strong> H<strong>CP</strong>EPILGare <strong>IBM</strong>-supplied macros (in H<strong>CP</strong>PSI MACLIB) that must be preserved inH<strong>CP</strong>ACU <strong>and</strong> used only as shown.3. The attributes of H<strong>CP</strong>ACU must be REENTRANT <strong>and</strong> RESIDENT, becauseH<strong>CP</strong>ACU is called during <strong>CP</strong> initialization <strong>and</strong> during <strong>CP</strong> checkpointingoperations.4. Links <strong>and</strong> accesses from H<strong>CP</strong>ACU to other modules, data areas, <strong>and</strong> controlblocks are not supported.Chapter 8. Setting Up Service Virtual Machines 311


Setting Up S<strong>VM</strong>s5. <strong>IBM</strong> reserves the right to modify the code associated with this exit. <strong>IBM</strong> willattempt to make any changes as transparent as possible to the customer.6. Upon entry to both H<strong>CP</strong>ACUON <strong>and</strong> H<strong>CP</strong>ACUOF, register 13 points to a savearea mapped by H<strong>CP</strong>SAVBK, shown in Figure 5. The caller’s registers aresaved in the save area. A ten-fullword work area, beginning at label SAVEWRK,is available for use by installation-supplied code.7. Register 11, which points to the address of the dispatched <strong>VM</strong>DBK, <strong>and</strong>Register 13, which points to the address of the save area, must not be modifiedby installation-supplied code.SAVBK DSECTDS 6F Reserved for <strong>IBM</strong> useSAVEREGS DS 0XL64 CALLER’S REGISTERS - R0 to R15SAVER0 DS F CALLER’S SAVED REGISTER 0SAVER1 DS F CALLER’S SAVED REGISTER 1SAVER2 DS F CALLER’S SAVED REGISTER 2SAVER3 DS F CALLER’S SAVED REGISTER 3SAVER4 DS F CALLER’S SAVED REGISTER 4SAVER5 DS F CALLER’S SAVED REGISTER 5SAVER6 DS F CALLER’S SAVED REGISTER 6SAVER7 DS F CALLER’S SAVED REGISTER 7SAVER8 DS F CALLER’S SAVED REGISTER 8SAVER9 DS F CALLER’S SAVED REGISTER 9SAVER10 DS F CALLER’S SAVED REGISTER 10SAVER11 DS F CALLER’S SAVED REGISTER 11SAVER12 DS F CALLER’S SAVED REGISTER 12SAVER13 DS F CALLER’S SAVED REGISTER 13SAVER14 DS F CALLER’S SAVED REGISTER 14SAVER15 DS F CALLER’S SAVED REGISTER 15SAVEWRK DS 0XL40 WORKAREA FOR CALLEESAVEWRK0 DS F WORKAREA FOR CALLEESAVEWRK1 DS F WORKAREA FOR CALLEESAVEWRK2 DS F WORKAREA FOR CALLEESAVEWRK3 DS F WORKAREA FOR CALLEESAVEWRK4 DS F WORKAREA FOR CALLEESAVEWRK5 DS F WORKAREA FOR CALLEESAVEWRK6 DS F WORKAREA FOR CALLEESAVEWRK7 DS F WORKAREA FOR CALLEESAVEWRK8 DS F WORKAREA FOR CALLEESAVEWRK9 DS F WORKAREA FOR CALLEEFigure 5. H<strong>CP</strong>SAVBK Save AreaEntry Point H<strong>CP</strong>ACUON: Entry point H<strong>CP</strong>ACUON supports installation-suppliedcode for the <strong>IBM</strong> 3277 Operator Identification Card Reader feature. You can addcode to examine or validate the data read from an identification card <strong>and</strong> to acceptor reject operator connection to the system.H<strong>CP</strong>ACUON is called when a LOGON comm<strong>and</strong> is entered from a virtual machine,or during autolog processing.The <strong>CP</strong> accounting function uses general-purpose register 1 for input to entry pointH<strong>CP</strong>ACUON. Register 1 contains the address of a parameter list, called AONPARM,that is described in Figure 6 on page 313. The DSECT for this parameter list mustbe preserved as shown.312 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Setting Up S<strong>VM</strong>sAONPARM DSECT ,**** AONPARM -** ┌-─-─-─-─-─-─-─-─-─-─-─┐* 0 | AONBUFF |* └-─-─-─-─-─-─-─-─-─-─-─┘* 8***** AONPARM -**************************************************************** ** Parameters for <strong>IBM</strong> 3277 Operator Identification Card ** Reader Feature. ** ****************************************************************AONBUFF DC F’0’ Contains one of the following:** - Address of a buffer containing* up to 130 bytes of data that* has been read from the <strong>IBM</strong> 3277* Operator Identification Card* Reader Feature. The data is* user-defined for terminal* operator identification.** - 0, if the reader feature was* not available** - 4, if an unsuccessful attempt* to read this reader feature* was made.*AONSIZE EQU (*-AONPARM+7)/8 AONPARM size in doublewordsFigure 6. AONPARM Parameter List for Entry Point H<strong>CP</strong>ACUONUpon return to the <strong>CP</strong> accounting function from entry point H<strong>CP</strong>ACUON,general-purpose register 15 must contain one of the following return codes:ValueMeaningX'00000000' Normal processing continues.X'00000004' The terminal operator should be forced off the system. However, if theterminal operator was automatically logged on during initialization, youcannot force the operator off the system.Entry Point H<strong>CP</strong>ACUOF: H<strong>CP</strong>ACUOF supports the addition ofinstallation-supplied code for examining <strong>and</strong> modifying accounting records.H<strong>CP</strong>ACUOF is called when any of the following occurs:v A virtual machine operator or system operator enters a LOGOFF or FORCEcomm<strong>and</strong>v The system operator enters an ACNT or SET ACCOUNT comm<strong>and</strong>v <strong>CP</strong> starts the checkpointing functionv A virtual machine issues DIAGNOSE code X'4C' to create a user-initiatedaccounting record.For the first three conditions listed above, <strong>CP</strong> generates accounting record type 1,2, 3, B, or C. For the last condition, <strong>CP</strong> generates type C0 accounting records.H<strong>CP</strong>ACUOF is not called during the generation of other types of accountingrecords.Chapter 8. Setting Up Service Virtual Machines 313


Setting Up S<strong>VM</strong>sThe <strong>CP</strong> accounting function uses general-purpose register 1 for input to entry pointH<strong>CP</strong>ACUOF. Register 1 contains the address of a parameter list, called AOFPARM,that is described in Figure 7. The DSECT for this parameter list must be preservedas shown.AOFPARM DSECT ,**** AOFPARM -** ┌-─-─-─-─-─-─-─-─-─-─-─┐* 0 │ AOFAREC │* └-─-─-─-─-─-─-─-─-─-─-─┘* 8***** AOFPARM -**************************************************************** ** ACCOUNTING RECORD. ** ****************************************************************AOFAREC DC F’0’ Contains the address of a* completed accounting record.AOFSIZE EQU (*-AOFPARM+7)/8 AOFPARM size in doublewordsFigure 7. AOFPARM Parameter List for Entry Point H<strong>CP</strong>ACUOFUpon return to the <strong>CP</strong> accounting function from entry point H<strong>CP</strong>ACUOF,general-purpose register 15 must contain following return code:ValueMeaningX'00000000' Normal processing continues▌PIend▐Setting Up Virtual Machines for Error RecordingSetting up virtual machines for error recording is similar to setting up virtualmachines for accounting. (One or two virtual machines can be used for errorrecording.) The z/<strong>VM</strong> System DDR tapes or CD-ROM include:v A sample directory entry for one error recording virtual machine.v A sample system configuration file that defines the user ID for an error recordingvirtual machine as OPEREREP. The user ID for an error recording virtualmachine is defined as part of the SYSTEM_USERIDS statement in the systemconfiguration file. Records are queued for it <strong>and</strong> it is automatically logged on by<strong>CP</strong> initialization.v A sample PROFILE EXEC for one error recording virtual machine.Note: The sample directory entry for an error recording virtual machine(OPEREREP) supplied on the z/<strong>VM</strong> System DDR tapes or CD-ROMcontains the required IUCV authorization to connect to the <strong>CP</strong> *LOGRECsystem service.To set up a virtual machine to begin error recording automatically, you must havethe proper PROFILE EXEC <strong>and</strong> user directory set up. The following steps show thisprocedure:314 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Setting Up S<strong>VM</strong>s1. Log on as MAINT. If you did this step as part of installation, you may alreadybe logged on as MAINT, or the user ID you are installing with on your currentoperating system.2. Determine the write password of the error recording virtual machine’s 191disk. Before you can link to the error recording virtual machine’s 191 disk, youneed to know its write password. To find out the write password, examine theuser directory entry of the error recording virtual machine. (As MAINT, youusually have access to the user directory.)If the error recording virtual machine’s 191 disk does not have a write password,you must supply one <strong>and</strong> update the directory.Note: Verify that the directory entry for this virtual machine contains therequired IUCV authorization for connecting to the <strong>CP</strong> error recordingsystem service. For example, IUCV *LOGREC.3. Link to the error recording virtual machine’s 191 disk. To do this, enter:link to opererep 191 as 391 wrWhen <strong>CP</strong> responds with ENTER WRITE PASSWORD: enter:wpasswhere wpass is the write password of the error recording virtual machine.4. Access the 391 disk. To do this, enter:access 391 xIf you receive a message that says X'391' DEVICE ERROR, you must format the391 disk. To do this, enter:format 391 xCMS responds with FORMAT WILL ERASE ALL FILES ON DISK X (391). DO YOUWISH TO CONTINUE? (YES|NO). You should enter:yes<strong>CP</strong> responds with ENTER DISK LABEL. You should enter:erepor any 1- to 6-character label name.5. Copy a file named D<strong>VM</strong> PROFILE from MAINT’s 191 disk to the 391 disk.(D<strong>VM</strong> PROFILE is the PROFILE EXEC for the accounting <strong>and</strong> error recordingvirtual machines). The RETRIEVE utility, which does the IUCV connect to the*LOGREC system service, is invoked from this PROFILE EXEC. To do this,enter:copyfile dvm profile a profile exec x6. Release <strong>and</strong> detach the 391 disk. To do this, enter:release x (det7. If the error recording virtual machine is not logged on, use theXAUTOLOG comm<strong>and</strong> to automatically log on the error recording virtualmachine. To do this for the opererep user ID, enter:xautolog opererepSetting Up Virtual Machines to Collect EREP RecordsYour installation can set up multiple virtual machines to collect the EREP records.There are two methods that you can use to specify to <strong>CP</strong> which virtual machineswill be used to retrieve error recording data. These are as follows:Chapter 8. Setting Up Service Virtual Machines 315


Setting Up S<strong>VM</strong>sv At <strong>CP</strong> generation time in the system configuration file, code theSYSTEM_USERIDS statement or the SYSEREP macroinstruction to specify thevirtual machine IDs (up to two) for which the <strong>CP</strong> accounting system service(*LOGREC) is to accumulate records. If these users have an entry in the userdirectory, they will be logged on as part of <strong>CP</strong> initialization. See“SYSTEM_USERIDS Statement” on page 232 for information about theSYSTEM_USERIDS statement or “SYSACNT (Optional)” on page 661 forinformation about the SYSEREP macroinstruction.v Additional virtual machines can also collect error recording data by following theinstructions in sections:– See “Specifying a New EREP Virtual Machine.”– See “Starting EREP Record Retrieval Manually.”Specifying a New EREP Virtual MachineNormally, your installation sets up particular virtual machines to be the EREP virtualmachines. If you want to have additional virtual machines collect EREP records,then you must do the following:1. Make sure the new EREP virtual machine has an A disk available to receive theEREP records.2. Make sure the system programmer had authorized the new virtual machine toreceive the records in the IUCV directory statement.The directory entry of the user entering the RETRIEVE utility must have anIUCV directory control statement authorizing the virtual machine to connect tothe <strong>CP</strong> system service which supports the type of record being collected.*LOGREC must be specified for EREP records.3. Follow the steps outlined in the next section, “Starting EREP Record RetrievalManually.”Starting EREP Record Retrieval ManuallyOrdinarily, the EREP virtual machine starts retrieving automatically when you bringup z/<strong>VM</strong>. But there may be times when you need to start retrieval manually. Forexample, you may find out through error messages or by entering the QUERYRECORDING comm<strong>and</strong> that the EREP virtual machine has stopped retrieving. Oryour installation may not set up the EREP virtual machine to start retrievalautomatically. In either case, you can start retrieval manually, as follows:1. If necessary, disconnect from the operator’s virtual machine by entering:disconnect2. Log on the EREP virtual machine.3. Clear any activity in the virtual machine (including retrieval) by entering:#cp system reset4. Load CMS into storage by entering:ipl 190or, if your installation has installed CMS in a named saved system:ipl cmsnamewhere cmsname is the name of your CMS system.5. Make sure there is room on the EREP virtual machine’s A disk for more EREPrecords. To find out how full the A disk is, enter:query disk a316 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Setting Up S<strong>VM</strong>sIf the A disk is almost full, process some of the EREP records. Then erase theold files to free space on the A disk.6. Start EREP record retrieval by entering:retrieve erep7. Disconnect the EREP virtual machine by entering:#cp disconnectYou may now use the display for another virtual machine.8. If necessary, reconnect the operator’s virtual machine.Disassociating a User ID from the Retrieval of EREP Records1. Stop the recording of EREP records for this user ID. To do this from a user IDauthorized for the class A or B version of the <strong>CP</strong> RECORDING comm<strong>and</strong>,enter:recording erep off qid useridOr, the user ID being removed (must be authorized for the class C, E, or Fversion of the recording comm<strong>and</strong>), enter:recording erep off2. If there are EREP records queued in <strong>CP</strong> storage for this user ID <strong>and</strong> you wantto save the data, log on the user ID to be deleted <strong>and</strong> enter:retrieve erepThis will place the EREP records in the proper file for later processing.Disconnect this user by entering:#cp disconnectLog back on the authorized user ID.3. If the EREP records queued in <strong>CP</strong> storage for this user ID are not wanted, theymay be purged. To do this from a user ID authorized for the class A or Bversion of the <strong>CP</strong> RECORDING comm<strong>and</strong>, enter:recording erep purge qid useridOr, the user ID being removed (must be authorized for the class C, E, or Fversion of the recording comm<strong>and</strong>), enter:recording erep purgeThis will PURGE all the accounting records queued in <strong>CP</strong> storage for this userID.4. Verify the record count is zero <strong>and</strong> recording is off for this user ID. To do this,enter:query recordingNote: The deleted user ID remains in the warm start data <strong>and</strong> in the output ofthe QUERY RECORDING comm<strong>and</strong> until <strong>VM</strong> is restarted with the COLDoption.5. If the user ID is specified on the SYSTEM_USERIDS statement in the systemconfiguration file, remove that user ID.Note: The user ID OPEREREP is the default if the SYSEREP macroinstructionis omitted <strong>and</strong> no user ID for EREP is specified in the systemconfiguration file.Chapter 8. Setting Up Service Virtual Machines 317


Setting Up S<strong>VM</strong>sSetting Up Virtual Machines for Symptom Record RecordingSymptom record recording support allows your installation to record symptomrecords in CMS files separate from dumps or processor <strong>and</strong> I/O (LOGREC) errors.<strong>CP</strong> provides additional information in a symptom record when appropriate. You canuse the Dump Viewing Facility VIEWSYM comm<strong>and</strong> to view, compare, <strong>and</strong> selectmultiple symptom records in CMS files.A data retrieval application can connect to the <strong>CP</strong> *SYMPTOM system servicethrough the IUCV facility to collect symptom records. A virtual machine that containssuch an application must have an IUCV directory control statement in its userdirectory entry that identifies the <strong>CP</strong> *SYMPTOM system service. In addition, whenyou identify the virtual machine user ID to <strong>CP</strong> in either the SYSTEM_USERIDSSYMPTOM1 or SYMPTOM2 statement in the system configuration file, data isqueued for the virtual machine even when the virtual machine is not logged on <strong>and</strong>the z/<strong>VM</strong> system is started with the COLD option. The virtual machine is alsologged on by z/<strong>VM</strong> as part of initialization.Setting up virtual machines for symptom record recording is similar to setting upvirtual machines for accounting <strong>and</strong> error recording. (One or two virtual machinescan be used for symptom record recording.) The z/<strong>VM</strong> System DDR tapes orCD-ROM include:v A sample directory entry for one symptom record recording virtual machine thatcontains the required IUCV authorization to connect to the <strong>CP</strong> *SYMPTOMsystem service. (The user ID for the virtual machine is OPERSYMP.)v A sample system configuration file that does not define the user ID for asymptom record recording virtual machine. The user ID for the symptom recordrecording virtual machine therefore defaults to OPERSYMP.v A sample PROFILE EXEC for one symptom record recording virtual machine.To set up a virtual machine so that it automatically begins symptom recordrecording, you must have the proper PROFILE EXEC <strong>and</strong> user directory set up.The following steps show this procedure:1. Log on as MAINT. If you did this step as part of installation, you may alreadybe logged on as MAINT, or the user ID you are installing with on your currentoperating system.2. Determine the write password of the symptom record recording virtualmachine’s 191 disk. Before you can link to the symptom record recordingvirtual machine’s 191 disk, you need to know its write password. To find out thewrite password, examine the user directory entry of the symptom recordrecording virtual machine. (As MAINT, you usually have access to the userdirectory.)If the symptom record recording virtual machine’s 191 disk does not have awrite password, you must supply one <strong>and</strong> update the directory.Note: Verify that the directory entry for this virtual machine contains therequired IUCV authorization for connecting to the <strong>CP</strong> accounting systemservice. For example, IUCV *SYMPTOM.3. Link to the symptom record recording virtual machine’s 191 disk. To dothis, enter:link to opersymp 191 as 391 wrWhen <strong>CP</strong> responds with ENTER WRITE PASSWORD: enter:wpass318 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Setting Up S<strong>VM</strong>swhere wpass is the write password of the symptom record recording virtualmachine.4. Access the 391 disk. To do this, enter:access 391 xIf you receive a message that says X'391' DEVICE ERROR, you must format the391 disk. To do this, enter:format 391 xCMS responds with FORMAT WILL ERASE ALL FILES ON DISK X (391). DO YOUWISH TO CONTINUE? (YES|NO). You should enter:yes<strong>CP</strong> responds with ENTER DISK LABEL. You should enter:symptomor any 1- to 6-character label name.5. Copy a file named D<strong>VM</strong> PROFILE from MAINT’s 191 disk to the 391 disk.(D<strong>VM</strong> PROFILE is the PROFILE EXEC for the accounting, error recording, <strong>and</strong>symptom record recording virtual machines.) The RETRIEVE utility, which doesthe IUCV connect to the *SYMPTOM system service, is invoked from thisPROFILE EXEC. To do this, enter:copyfile dvm profile a profile exec x6. Release <strong>and</strong> detach the 391 disk. To do this, enter:release x (det7. If the symptom record recording virtual machine is not logged on, use theXAUTOLOG comm<strong>and</strong> to automatically log on the symptom recordrecording virtual machine. To do this for the opersymp user ID, enter:xautolog opersympSetting Up Virtual Machines to Collect Symptom RecordsYour installation can set up multiple virtual machines to collect the symptomrecords. There are two methods that you can use to specify to <strong>CP</strong> which virtualmachines will be used to retrieve symptom data. These are as follows:v At <strong>CP</strong> generation time in the system configuration file, code theSYSTEM_USERIDS statement or the SYSSYMP macroinstruction to specify thevirtual machine IDs (up to two) for which the <strong>CP</strong> symptom system service(*SYMPTOM) is to accumulate records. If these users have an entry in the userdirectory, they will be logged on as part of <strong>CP</strong> initialization. See“SYSTEM_USERIDS Statement” on page 232 for information about theSYSTEM_USERIDS statement or “SYSACNT (Optional)” on page 661 forinformation about the SYSSYMP macroinstruction.v Additional virtual machines can also collect symptom records by following theinstructions in sections:– See “Specifying a New Symptom Record Recording Virtual Machine.”– See “Starting Manual Retrieval of Symptom Records” on page 320.Specifying a New Symptom Record Recording Virtual MachineNormally your installation sets up particular virtual machines to be the symptomvirtual machines. If you want to have additional virtual machines collect symptomrecords, do the following:v Make sure the new symptom virtual machine has an A-disk available to receivethe symptom records.Chapter 8. Setting Up Service Virtual Machines 319


Setting Up S<strong>VM</strong>sv Make sure the system programmer authorizes the new virtual machine to receivethe records in the IUCV directory statement.The user entering the RETRIEVE utility must have a directory containing anIUCV directory control statement authorizing the virtual machine to connect to the<strong>CP</strong> system service which supports the type of record being collected.*SYMPTOM must be specified for SYMPTOM records.v Follow the steps outlined in “Starting Manual Retrieval of Symptom Records.”Starting Manual Retrieval of Symptom RecordsOrdinarily, the symptom virtual machine starts retrieving automatically when youbring up z/<strong>VM</strong>. But there may be times when you need to start retrieval manually.For example, you may find out through error messages or by entering the QUERYRECORDING comm<strong>and</strong> that the recording virtual machine has stopped retrieving.You may also start retrieval manually, as follows:1. If necessary, disconnect from the operator’s virtual machine by entering:disconnect2. Log on the symptom virtual machine.3. Clear any activity in the virtual machine (including retrieval) by entering:#cp system reset4. Load CMS into storage by entering:ipl 190or, if your installation has installed CMS in a named saved system,ipl cmsnamewhere cmsname is the name of your CMS system.5. Make sure there is room on the symptom virtual machine’s A-disk for moresymptom records. To find out how full the A-disk is, enter:query disk aIf the A-disk is almost full, process some of the symptom records. Then erasethe old files to free space on the A-disk.6. Start retrieval of symptom records by entering:retrieve symptom7. Disconnect the symptom virtual machine by entering:#cp disconnectYou may now use the display for another virtual machine.8. If necessary, reconnect the operator’s virtual machine.Disassociating a User ID from the Retrieval of Symptom Records1. Stop the recording of SYMPTOM records for this user ID. To do this from a userID authorized for the class A or B version of the <strong>CP</strong> RECORDING comm<strong>and</strong>,enter:recording symptom off qid useridOr, the user ID being removed (must be authorized for the class C, E, or Fversion of the recording comm<strong>and</strong>), enter:recording symptom off320 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Setting Up S<strong>VM</strong>s2. If there are symptom records queued in <strong>CP</strong> storage for this user ID <strong>and</strong> youwant to save the data, log on the user ID to be deleted <strong>and</strong> enter:retrieve symptomThis will place the symptom records in the proper file for later processing.Disconnect this user by entering:#cp disconnectLog back on the authorized user ID.3. If the symptom records queued in <strong>CP</strong> storage for this user ID are not wanted,they may be purged. To do this from a user ID authorized for the class A or Bversion of the <strong>CP</strong> RECORDING comm<strong>and</strong>, enter:recording symptom purge qid useridOr, the user ID being removed (must be authorized for the class C, E, or Fversion of the recording comm<strong>and</strong>), enter:recording symptom purgeThis will PURGE all the symptom records queued in <strong>CP</strong> storage for this user ID.4. Verify the record count is zero <strong>and</strong> recording is off for this user ID. To do this,enter:query recordingNote: The deleted user ID remains in the warm start data <strong>and</strong> in the output ofthe QUERY RECORDING comm<strong>and</strong> until <strong>VM</strong> is restarted with the COLDoption.5. If the user ID is specified on the SYSTEM_USERIDS statement in the systemconfiguration file, remove that user ID.Note: The user ID OPERSYMP is the default if the SYSSYMP macroinstructionis omitted <strong>and</strong> no user ID for SYMPTOM is specified in the systemconfiguration file.Setting Up a Virtual Machine for Communication Controller Support forEmulator Program (EP)To manage a 3705, 3720, or 3725 communication controller, set up a specialservice virtual machine. Unlike other service virtual machines such as theaccounting virtual machine, the z/<strong>VM</strong> System DDR tapes or CD-ROM do notinclude a sample directory entry for a communication controller virtual machine.This support requires that Advanced Communications Function for Systems SupportPrograms (ACF/SSP) be installed on your system.The networking facilities available with communication controllers are providedthrough <strong>VM</strong>/Pass-Through (P<strong>VM</strong>) licensed program. P<strong>VM</strong> requires a separatevirtual machine to perform the loading <strong>and</strong> dumping of communication controllers.The CCLOAD utility, which can be issued by the disconnected service machine,provides automatic loading for the communication controller. The CCDUMP utilitycan be used to format a communication controller dump file produced by CCLOAD.For the complete syntax of these utilities, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.Chapter 8. Setting Up Service Virtual Machines 321


Setting Up S<strong>VM</strong>sCCLOAD requires access to the read/write A disk. Loading requires space forSYSIN <strong>and</strong> SYSPRINT files. If CCLOAD is used for dumping the communicationcontroller either automatically or by user request, it requires enough disk space forthe dump files. For direct access storage device (DASD) requirements, see thenetwork program products publications.Use CCDUMP to format <strong>and</strong> print the dump files produced by CCLOAD. If youprovide another user with shared access to the A disk of the service machine,CTLR dump files can be printed offline while the service machine monitors theCTLR. If you specify DISK, you must have enough space on the A disk for theformatted output file. Refer to the network program products publication for DASDrequirements. When you format the dump on a printer (PRINTER option),messages do not appear on your console but are included in the SYSPRINT file. Ifyou specify DISK, messages included in the SYSPRINT file are displayed on theconsole.To erase the input dump file, you must have write access to the disk where itresides. Do not specify the ERASE option if you are sharing access to files onanother user’s A disk (for example, those generated by the CCLOAD EXEC on adisconnected service machine).The following examples show you how to set up a service virtual machine toperform utility functions for a communication controller:1. Create a directory entry for each communication controller. Use the directoryentry in Figure 8 on page 323 as a sample, but make sure you tailor thedirectory statements to match your system configuration <strong>and</strong> network licensedprogram requirements.322 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Setting Up S<strong>VM</strong>sUSER EP0F7 NOPASS 1M 4M G** This virtual machine requires only a minimal amount** of storage <strong>and</strong> the G privilege class.**ACCOUNT 10AUTOLOG AUTOLOG1 P<strong>VM</strong> OP1 MAINT** Depending on how you set up your network, you will want** this virtual machine to be autologged by either the** system or another service virtual machine such as** <strong>VM</strong>/Pass-Through (P<strong>VM</strong>).**IPL CMSCONSOLE 01F 3215 T OP1** If you want the capability to interrupt the service** virtual machine to manually dump <strong>and</strong> then reload the** communication controller, or to terminate the service** virtual machine, specify a secondary user ID (OP1) on** the CONSOLE statement.**SPOOL 00C 2540 READER ASPOOL 00D 2540 PUNCH ASPOOL 00E 1403 A**DEDICATE 0F7 0F7** Dedicates the communication controller to this user.**LINK MAINT 343 343 RR RMAINT** Provides access to ACF/SSP.**MDISK 191 3380 900 40 XADISK MR** Provides space for dumps of the communication controller.Figure 8. Sample Directory Entry for a Communication Controller2. Set up a PROFILE EXEC for the EP0F7 user ID. Use the sample in Figure 9 asa guideline.access 343 b/a** Access the ACF/SSP disk.**queue ’RUN0F7’** Stack a comm<strong>and</strong> to execute the CCLOAD comm<strong>and</strong>.**P<strong>VM</strong>ExampleFigure 9. Sample PROFILE EXEC for EP0F7 User ID3. Set up the RUN0F7 EXEC to run the CCLOAD EXEC <strong>and</strong> inform the<strong>VM</strong>/Pass-Through virtual machine that the communication controller is active, asfollows:/**/’exec ccload 0f7 ep0f7 cmd(smsg pvm exec ep0f7)’Note: You may need to stop CCLOAD processing while the service virtual machineis disconnected. For example, you may need to free space for dump files. Tohave the service virtual machine resume monitoring the communicationcontroller, have the secondary user ID (OP1 in this case) issue SENDEP0F7 RUN0F7.The following examples illustrate a possible use of the service virtual machine.Refer to P<strong>VM</strong> publications for details.Chapter 8. Setting Up Service Virtual Machines 323


Setting Up S<strong>VM</strong>sThe P<strong>VM</strong> configuration file shown in Figure 10 contains definition of EP (emulatorprogram) lines....** BSC lines on the EP communications controller* whose base subchannel address is 0F7*LINK 030 B0F7A R3270...LINK 031 B0F7B R3270...LINK 032 B0F7C R3270...LINK 033 B0F7D R3270...LINK 034 B0F7E R3270...LINK 035 B0F7F R3270...LINK 036 B0F7G R3270...LINK 037 B0F7H R3270...Figure 10. Sample P<strong>VM</strong> Configuration FilePROFILE P<strong>VM</strong> additions to use this support are shown in Figure 11.* For each EP communications controller, whose lines are* owned by P<strong>VM</strong>, authorize its utility service virtual* machine to send comm<strong>and</strong>s to P<strong>VM</strong> <strong>and</strong> AUTOLOG the user ID.*AUTHORIZ EP0F7<strong>CP</strong> XAUTOLOG EP0F7...Figure 11. PROFILE P<strong>VM</strong> AdditionsThe EP0F7 P<strong>VM</strong> file shown in Figure 12 on page 325 is used to start the EP linesautomatically.324 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Setting Up S<strong>VM</strong>s* START LINE comm<strong>and</strong>s for P<strong>VM</strong> to execute when signalled* by EP0F7 userid executing CCLOAD for CTLR device 0F7*<strong>CP</strong> VARY ON 030<strong>CP</strong> ATTACH 030 *START LINE 030<strong>CP</strong> VARY ON 031<strong>CP</strong> ATTACH 031 *START LINE 031<strong>CP</strong> VARY ON 032<strong>CP</strong> ATTACH 032 *START LINE 032<strong>CP</strong> VARY ON 033<strong>CP</strong> ATTACH 033 *START LINE 033<strong>CP</strong> VARY ON 034<strong>CP</strong> ATTACH 034 *START LINE 034<strong>CP</strong> VARY ON 035<strong>CP</strong> ATTACH 035 *START LINE 035<strong>CP</strong> VARY ON 036<strong>CP</strong> ATTACH 036 *START LINE 036<strong>CP</strong> VARY ON 037<strong>CP</strong> ATTACH 037 *START LINE 037Figure 12. Sample EP0F7 FileWhen the 37xx is first loaded by the service machine <strong>and</strong> P<strong>VM</strong> issues the VARY<strong>and</strong> ATTACH comm<strong>and</strong>s, the following response is displayed:xxxx varied onlineLine xxxx attached to P<strong>VM</strong> xxxxFollowing recovery of a 37xx failure, where the EP control program has beenreloaded, <strong>CP</strong> still considers the EP lines online <strong>and</strong> attached. When the same P<strong>VM</strong>comm<strong>and</strong> list is executed by the service machine, the VARY comm<strong>and</strong> displays thefollowing response message:xxxx already onlineATTACH displays the following error message for each line:H<strong>CP</strong>ATR122E Line xxxx already attached to P<strong>VM</strong>Setting Up Service Pool Virtual MachinesYou can establish a collection of virtual machines that are logged on over extendedperiods. Certain applications use this collection to create tasks on behalf of a user.Such a collection is called a service pool.The pool of virtual machines, each initialized by an application running on CMS, isavailable to h<strong>and</strong>le requests for services from programmable workstations. Theapplication makes a logical connection between the functions the virtual machinesare executing. These services are managed through a VTAM application running onthe Advanced Program-to-Program Communications/<strong>VM</strong> VTAM Support (AVS) ofz/<strong>VM</strong>. The VTAM application uses an LU 6.2 APPC/<strong>VM</strong> session to invoke theseservices. For additional information on AVS, see the z/<strong>VM</strong>: Connectivity book. Theapplication that controls the service pool is called the service pool manager. TheChapter 8. Setting Up Service Virtual Machines 325


Setting Up S<strong>VM</strong>sservice pool manager provides services such as autologging the service pool virtualmachines <strong>and</strong> selecting one to h<strong>and</strong>le a request from a workstation.To define a range of virtual machines to be defined as a pool, code the POOL userdirectory control statement. This assigns a directory entry for each virtual machineto be included in the pool. See “POOL Directory Control Statement (General)” onpage 540 for information on coding the POOL user directory control statement. Ifyou code the POOL statement in a user’s directory entry, it is assigned the onlycontrol statement other than a USER statement in that user’s directory entry. Eachvirtual machine in the pool must have the same first three characters in its user ID,followed by a number in the range specified in the POOL statement.You must code other user directory control statements that apply to the range ofvirtual machines in the pool in a profile entry in the directory (see “PROFILEDirectory Control Statement (Control)” on page 551). The pool definition uses thePROFILE statement as the common user definition information. The PROFILEname must have been defined in the directory before any POOL statement thatrefers to it.A password (AUTOONLY) specifies that a virtual machine can only be autologged.Thus, a user at a terminal cannot enter a LOGON comm<strong>and</strong> for a virtual machinewith the AUTOONLY password. This provides a security <strong>and</strong> data integrity functionfor service pool virtual machines without having to administer different, changingpasswords for the pool of virtual machines.Setting Up Print Services Facility/<strong>VM</strong> Virtual MachinesThe Print Services Facility/<strong>VM</strong> (PSF/<strong>VM</strong>) licensed program processes the spooledoutput for advanced function printers. It also uses defaults <strong>and</strong> options specified ina PSF comm<strong>and</strong> <strong>and</strong> <strong>CP</strong> SPOOL comm<strong>and</strong> to generate printer comm<strong>and</strong>s toproduce formatted output. PSF/<strong>VM</strong> supports the following printers:v 3800 Printing Subsystem Models 3 <strong>and</strong> 8v 3812 Page Printer Model 2v 3820 Page Printerv 3827 Page Printerv 3835 Page Printerv 4224 Printer.PSF/<strong>VM</strong> is composed of the following components:v The PSF comm<strong>and</strong>, which places a print file <strong>and</strong> resource files in a printer spoolfile for a page printer <strong>and</strong> places the processing options in an external attributebuffer (XAB).v The spool file conversion machine (SFCM), which converts the spooled print filesinto the relevant printer comm<strong>and</strong> stream for a specified type of printer drivermachine (PDM) (for example, a 3800 PDM or a 3820 PDM) <strong>and</strong> builds a set ofcontrol files for use during processing of the print file.v The 3800 PDM, which drives a 3800 using the printer comm<strong>and</strong> stream <strong>and</strong>control files created by the SFCM.v The 3820 PDM, which processes files either for a 3820 or for one or moreprinters attached through RSCS. For the 3820, the 3820 PDM drives the printerusing the printer comm<strong>and</strong> stream created by the SFCM.v The Group3 PDM, which processes files for a Group3 printer using the printercomm<strong>and</strong> stream <strong>and</strong> control files created by the SFCM.326 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Setting Up S<strong>VM</strong>sYou must define one virtual machine for the SFCM <strong>and</strong> for each PDM. Dependingon the requirements of your installation, you might define a virtual machine ownedby the system programmer for maintaining PSF/<strong>VM</strong>.For more information about PSF/<strong>VM</strong> <strong>and</strong> how to set up the virtual machinesrequired for this product, see the Print Services Facility/<strong>VM</strong> System Programmer’sGuide.Setting Up Virtual Machines for Data Storage ManagementThe DFSMS/<strong>VM</strong>* is the foundation for system-managed storage in the <strong>VM</strong>environment. A DFSMS/<strong>VM</strong> service machine uses the Interactive StorageManagement Facility (ISMF) to reduce the amount of manual work that must beperformed when data is migrating to newly installed DASD. ISMF automaticallyformats new minidisks, updates user directories, <strong>and</strong> automates other functions,providing both speed <strong>and</strong> predictability during data migration activities.You can use a DFSMS/<strong>VM</strong> service virtual machine to provide information aboutother storage management tasks. For example, you can use DIAGNOSE X'08' todetermine the devices allocated to the system. The <strong>VM</strong>UDQ macroinstructionqueries user directory minidisk definitions.You can configure a DFSMS/<strong>VM</strong> virtual machine to ensure data integrity <strong>and</strong>security when you move data to new storage locations. ISMF provides a checkutility that performs an integrity evaluation of a CMS minidisk to verify whether itsfile structure is intact. To ensure data security during <strong>and</strong> after move operations, aDFSMS/<strong>VM</strong> machine can rely on the usual access authority checking mechanisms,such as ACI <strong>and</strong> password validation, as well as stable <strong>and</strong> exclusive link accessoptions that require specific authorization to allow user access to data.The LNKSTABL <strong>and</strong> LNKEXCLU options, specified with the OPTION user directorycontrol statement for a particular virtual machine, give that machine authority tospecify access modes that limit the ability of other users to obtain link access to aminidisk while the service machine is linked to that disk. However, the use of theseaccess-mode options can potentially tie up the system if improperly orindiscriminately used <strong>and</strong> should be treated as a special resource.These options are described in more detail in “Using Link Access Control Options”on page 387. In addition, further information on access modes can be found in“LINK Directory Control Statement (Device)” on page 500 <strong>and</strong> “MDISK DirectoryControl Statement (Device)” on page 513. The <strong>VM</strong>UDQ macroinstruction isdescribed in z/<strong>VM</strong>: <strong>CP</strong> Programming Services.Chapter 8. Setting Up Service Virtual Machines 327


328 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 9. <strong>Planning</strong> for SNA Console CommunicationServices (SNA/CCS)The Systems Network Architecture console communication services (SNA/CCS)provide a total data communication structure for transmitting information by using acommunications network. SNA communication products perform functionstraditionally h<strong>and</strong>led by the main processor (for example, management ofcommunication lines, device-dependent characteristics <strong>and</strong> control, <strong>and</strong> dataformatting).SNA/CCS provides full z/<strong>VM</strong> console capabilities to operators on SNA/CCSterminals. You can use SNA/CCS terminals as virtual machine consoles. Theinformation is transparent. If you are planning to use SNA/CCS processing, youmust consider the topics discussed in this chapter.This chapter describes the SNA environment <strong>and</strong> tells you how to:v Establish the SNA/CCS terminal environmentv Do tracing for SNA/CCS.Structure of the SNA EnvironmentThree major components contribute to SNA/CCS terminal support:v SNA console communication services (SNA/CCS)v Inter-user communication vehicle (IUCV)v One of the following:– VTAM SNA Console Support (VSCS)– VTAM Communications Network Application (VCNA) licensed program.IUCV <strong>and</strong> SNA/CCS are part of z/<strong>VM</strong>.SNA/CCS terminal support is provided through a virtual machine. The VTAM servicemachine (VSM) is the virtual machine that acts as an interface between SNA/CCS<strong>and</strong> the SNA network. It runs either VSCS or VCNA. VSCS <strong>and</strong> VCNA both workwith the Advanced Communications Function for Virtual Telecommunications AccessMethod (ACF/VTAM) in doing their job.Usually, ACF/VTAM is also in the VTAM service machine. VSCS, however, may bein a different virtual machine. ACF/VTAM manages the SNA network, <strong>and</strong> VSCS orVCNA acts as the interface to <strong>CP</strong>.A VCNA VTAM service machine also requires one of the following operatingsystems with External Interrupt Support (EIS):v VSE/Advanced Functions licensed program (latest level)v OS/VS1 with Basic Programming Extensions licensed program.VSCS does not require a guest operating system but does require GCS.© Copyright <strong>IBM</strong> Corp. 1991, 2004 329


<strong>Planning</strong> for SNA/CCSEstablishing the SNA/CCS Terminal EnvironmentTo allow SNA/CCS terminals to access z/<strong>VM</strong>:v VSM must be defined to the systemv SNA/CCS must be defined to the VSMv SNA communications must be enabledv VSM must be started in its own virtual machinev VSM must establish a global IUCV connection with SNA/CCS.After these tasks are accomplished, individual SNA terminal users may accessz/<strong>VM</strong> through the terminals managed by that VSM.Defining the VSM to z/<strong>VM</strong>The directory entry for the virtual machine that contains the VSM:v Must authorize the VSM to use IUCV to communicate with SNA/CCS using theIUCV directory control statement.v Should specify PRIORITY on the IUCV directory statement to allow the use ofIUCV priority messages.v May specify how many IUCV connections are allowed by using the MAXCONNoper<strong>and</strong> on the OPTION control statement. Note that the MAXCONN oper<strong>and</strong>determines how many SNA/CCS terminal users may access z/<strong>VM</strong> through theVSM.v May specify that the virtual machine can be automatically logged on by othervirtual machines using the XAUTOLOG control statement.v May specify that a named saved system or device is to be loaded when thevirtual machine is logged on using the IPL control statement.v May specify a secondary user ID on the CONSOLE directory control statement ifsecondary console support is to be used in the operation of the VSM.Defining Logos Used by VSMsLogos used by VSMs are selected via the logo configuration file. You can choose tohave one logo picture file for all VSMs, or you can choose a different logo picturefor each VSM in your system. You use CHOOSE_LOGO statements in the logoconfiguration file to tell <strong>CP</strong> which logos to use for terminals logging on throughVSMs.For more information about logos used by VSMs, refer to Chapter 7, “The LogoConfiguration File,” on page 279; for details, see “CHOOSE_LOGO Statement” onpage 285.Defining SNA/CCS to VCNAThe VCNA START parameters that relate to SNA/CCS are described below. Theyare all oper<strong>and</strong>s of the DTIGEN macroinstruction, which is optional.CCSMLMspecifies the <strong>CP</strong> message limit. This is the maximum number of messages tobe specified on the IUCV ACCEPT request.LGNCMDSspecifies the <strong>CP</strong> comm<strong>and</strong>s that are valid before logon.PACEspecifies the pacing value for communication between <strong>VM</strong>/VCNA <strong>and</strong> <strong>CP</strong>. This330 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


<strong>Planning</strong> for SNA/CCSvalue is the maximum number of I/O requests per terminal from <strong>CP</strong> to<strong>VM</strong>/VCNA before <strong>VM</strong>/VCNA must return a pacing response. It is provided toprevent a buffer overrun in <strong>VM</strong>/VCNA.RDSPTMRspecifies the redisplay timer value in sixteenths of a second. <strong>CP</strong> uses this valueto force <strong>VM</strong>/VCNA to redisplay data entered <strong>and</strong> to unlock the keyboard afterthe prescribed time has elapsed.TIMEINTspecifies an interval in seconds that <strong>VM</strong>/VCNA uses to determine how oftentimer functions such as MORE, HOLDING, <strong>and</strong> NOT ACCEPTED are to beperformed. A smaller value gives greater accuracy with more timer overhead.VCNAMLMspecifies the IUCV <strong>VM</strong>/VCNA message limit. This limit is the maximum numberof messages specified by <strong>VM</strong>/VCNA on the IUCV CONNECT request.Defining SNA/CCS to VSCSThe VSCS START parameters that relate to SNA/CCS are described below. Theyare all oper<strong>and</strong>s on the DTIGEN macroinstruction, which is optional.LGNCMDSspecifies the <strong>CP</strong> comm<strong>and</strong>s that are valid before logon.RDSPTMRis the redisplay timer value. <strong>CP</strong> uses this value to force VSCS to redisplayentered data <strong>and</strong> to unlock the keyboard after the prescribed time.W3767Lis the default line size for 3767 <strong>and</strong> 3777 terminals. This value is the initialsetting of the <strong>CP</strong> TERMINAL LINESIZE comm<strong>and</strong> when the user logs on with a3767 or 3777 terminal.W2741Lis the default line size for 2741 terminals. This value is the initial setting of the<strong>CP</strong> TERMINAL LINESIZE comm<strong>and</strong> when the user logs on with a 2741terminal.WTWXLis the line length for teletype keyboard printers.VSAMLMis the maximum number of messages specified on IUCV ACCEPT <strong>and</strong>CONNECT requests.DPACEis the pacing value to be used with display terminals.KPACEis the pacing value to be used with keyboard terminals <strong>and</strong> printers.Enabling SNA CommunicationBefore a VSM can establish communication with SNA/CCS, you must enable SNAcommunication. In a multiple VSM environment, you must selectively enable ordisable SNA communication for a particular VSM. Use the <strong>CP</strong> ENABLE <strong>and</strong>DISABLE comm<strong>and</strong>s to enable <strong>and</strong> disable SNA communications.Chapter 9. <strong>Planning</strong> for SNA Console Communication Services (SNA/CCS) 331


<strong>Planning</strong> for SNA/CCSStarting the VTAM Service MachineThe VSM operator must initialize the VSM before a user can log on to a terminalcontrolled by the VSM. The VSM operator logs on to z/<strong>VM</strong> from a nativelycontrolled terminal to create a virtual machine in which the VSM can be initialized.The VSM consists of the programs loaded into this virtual machine: the operatingsystem, the access method, <strong>and</strong> <strong>VM</strong>/VCNA or VSCS. After the VSM is operational,the VSM operator can disconnect, <strong>and</strong> further comm<strong>and</strong>s to the VSM can beentered from a secondary console (perhaps the system operator’s console), freeingthe virtual machine terminal.An alternative method, also using secondary console support, does not require avirtual machine terminal that is dedicated to VSM. The VSM is automatically loggedon in disconnected mode during <strong>CP</strong> initialization using XAUTOLOG. Then aPROFILE EXEC (VCNA) or a PROFILE GCS EXEC (VSCS) can bring up thesystem (saved or newly IPLed), <strong>and</strong> the VSM can be operated from the designatedsecondary console from the start.Improving SNA/CCS PerformanceBecause SNA/CCS is implemented using a service virtual machine, you canimprove the performance of the SNA/CCS environment by allocating more realprocessor resources to the VSMs that control the terminals connected to <strong>CP</strong>. Usethe <strong>CP</strong> SET SRM comm<strong>and</strong> or the SHARE directory statement to do this. Thisperformance consideration is not specific to SNA/CCS VSMs but applies to allservice virtual machines. For more information on the <strong>CP</strong> SET SRM comm<strong>and</strong>, seethe z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference. For more information on theSHARE statement, see page 555. For more information on performance <strong>and</strong> theuse of the <strong>CP</strong> SET SRM comm<strong>and</strong> <strong>and</strong> the SHARE statement, see the z/<strong>VM</strong>:Performance book.Some installations may see a performance benefit by using the IPOLL function withGCS to poll for pending replies <strong>and</strong> messages. By allowing GCS to retrieve up to102 interrupts on each IPOLL, a significant reduction in the number of interrupts toVSCS when it is flooded with incoming IUCVs can be expected. The benefit isgreatest when the VSCS virtual machine is loaded with work. The GCS comm<strong>and</strong>SET IPOLL ON enables this function.VSMTerminationYou can shut down a VSM in the following ways:v You can use normal <strong>CP</strong> shutdown processing.v You can terminate VTAM by using the VTAM HALT comm<strong>and</strong>.v You can deactivate VCNA or VSCS by using the ACF/VTAM comm<strong>and</strong>s.v The VSM operator can enter the VCNA or VSCS QUIT comm<strong>and</strong> to terminateVCNA or VSCS.v The z/<strong>VM</strong> operator or the VSM operator (if authorized) can enter a <strong>CP</strong> FORCEcomm<strong>and</strong> to remove individual users. This, combined with entering the DISABLESNA comm<strong>and</strong> to prevent any new SNA/CCS connections, in effect shuts downthe VSM.332 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 10. Setting Up Cross System Extensions (CSE)OverviewThis chapter contains an overview of cross system extensions (CSE) <strong>and</strong> tells howto:v Plan for CSEv Enable CSEv Administer CSEv Define a virtual CSE system to be used during hardware outages.<strong>VM</strong> provides programming support for cross system extension (CSE). With CSE,end users can participate in a multisystem environment. This environment caninclude up to four z/<strong>VM</strong> systems connected in a complex. Systems running differentreleases of z/<strong>VM</strong> may be connected in the same CSE complex.Figure 13 depicts an example of a CSE complex consisting of four z/<strong>VM</strong> systems.System1CSE SystemDASDDASDDASDSystem4CSE SystemSystem2<strong>VM</strong>/ISF SystemSystem3<strong>VM</strong>/ISF SystemFigure 13. A Four-System CSE ComplexCSECapabilitiesCSE consists of three related, but independent, parts:v Cross system linkThis facility extends <strong>CP</strong> link protocols across the CSE complex. It controlsnormal, stable, <strong>and</strong> exclusive read or read/write access across multiple <strong>VM</strong>© Copyright <strong>IBM</strong> Corp. 1991, 2004 333


CSE Overviewsystems for minidisks on shared count-key-data direct access storage devices(CKD DASD), including those devices that accept the extended-count-key-data(ECKD) channel program protocol.v Cross system spoolThis facility extends <strong>CP</strong> spooling capabilities. It contains <strong>and</strong> manages spool filesfor users across multiple <strong>VM</strong> systems by using shared DASD <strong>and</strong> acommunication vehicle. The communication vehicle is the VirtualMachine/Pass-Through Facility with modifications. You can set up your system tohave cross system linking without cross system spooling.v Cross system MESSAGE <strong>and</strong> QUERY comm<strong>and</strong>s.With CSE, MESSAGE <strong>and</strong> QUERY comm<strong>and</strong> support is extended to allow theiruse across multiple <strong>VM</strong> systems. Refer to “Supported Features” on page 335 forfeatures of z/<strong>VM</strong> that are supported across system boundaries.Cross system spool is supported among all CSE systems. The maximum number ofsystems which may be coupled using CSE functions depends on the specificfunctions being used:v Shared spool: 4v Shared minidisks: up to 56, depending on the physical devicesv Shared source directory: 4UsersSupportedA CSE complex can support 95% of the total number of users that could besupported by each system without CSE. For example, if each system could support1000 users, a four-system CSE complex could support 3800 users, as shown bythe equation:1000 x .95 x 4 = 3800(users) (percent) (systems) (users supported)For general users, this CSE complex functions as a single larger system. Forsystem operators, programmers, <strong>and</strong> administrators, the single image is lesspronounced. These users tend to view the CSE complex as up to four systems thatmust be managed as before.Setting Up a CSE ComplexSetting up a CSE complex consists of:<strong>Planning</strong> for CSEv Providing the hardware connections between the processorsv Installing the <strong>IBM</strong> <strong>VM</strong>/Pass-Through Facility licensed programv Configuring z/<strong>VM</strong> <strong>and</strong> the supporting programs with the information they need torun the CSE complex.Before you install CSE, you need to identify the requirements unique to yourinstallation in a detailed plan.RequirementsUsing CSE requires the following:v A single source directory. A single source directory requires z/<strong>VM</strong> DirectoryMaintenance Facility (DirMaint) to synchronize the user directories of all systemsin the CSE complex. You may, if you wish, choose another means of creating asingle source directory, but that is outside the scope of CSE.334 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


<strong>Planning</strong> CSEv A single version of DIRECTXA. The most current version of DIRECTXA must beused on all systems in the CSE complex.v Multiple z/<strong>VM</strong> systems.v The systems in the complex must be connected by means of channel-to-channeladapters (CTCA) or an <strong>IBM</strong> 3088 Multisystem Channel Communications Unit.The <strong>VM</strong>/Pass-Through Facility virtual machines used by CSE communicate overthese connections.v The systems must share CKD-formatted DASDs. Fixed block architecture (FBA)devices are not supported by the cross system link facility.v The same release of the <strong>IBM</strong> <strong>VM</strong>/Pass-Through Facility (Program Number5684-100) licensed program must be installed on all systems in the complex. The<strong>VM</strong>/Pass-Through Facility is needed to support cross system spool <strong>and</strong> CSEmessage support among all systems.You need detailed information about z/<strong>VM</strong>. (See the “Bibliography” on page 787 fora list of z/<strong>VM</strong> books.)RestrictionsSystem paging space <strong>and</strong> minidisks cannot reside on the same DASD device. Thiswill avoid a possible deadlock situation.An installation should not define users with a password of LBYONLY, unless allsystems in the CSE complex support the LBYONLY oper<strong>and</strong> of the USER directorycontrol statement. For more information about this function, see the “USERDirectory Control Statement (Control)” on page 572 <strong>and</strong> the LOGON comm<strong>and</strong> inthe z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.SupportedFeaturesCSE supports the following features of z/<strong>VM</strong> across system boundaries:v LINK comm<strong>and</strong> for count-key-data (CKD) DASD, including those DASD thataccept the extended-count-key-data (ECKD) channel program protocolv Spool filesv Special message function (SMSG)v Message (MSG, MSGNOH) <strong>and</strong> warning (WNG) comm<strong>and</strong>sv RACF( ) licensed program for <strong>VM</strong>Note: If the RACF licensed program is on one system in the complex, it must beon all systems in the complex.v QUERY comm<strong>and</strong>s– QUERY LINKS– QUERY NAMES– QUERY USERS– QUERY USERS useridv DIRMAINT support for general usersv Other comm<strong>and</strong>s– CHANGE– INDICATE LOAD– ORDER– PURGE– TAGChapter 10. Setting Up Cross System Extensions (CSE) 335


<strong>Planning</strong> CSE– TRANSFER.Some features of z/<strong>VM</strong>, although unchanged within any system in the CSEcomplex, are not supported across system boundaries by CSE. These are:v Virtual machine communication facility (<strong>VM</strong>CF)v Inter-user communication vehicle (IUCV)– Monitoring data collectors– Accountingv Virtual reserve/releasev System data filesv Virtual disks in storage.Applications that contain the Transparent Services Access Facility (TSAF) can useTSAF functions within a CSE complex.Note: The <strong>VM</strong>UDQ macro, used to query the <strong>CP</strong> user directory, examines only theobject directory of the system on which it is being run. For DASD that arenot totally shared <strong>and</strong> globally defined among member systems of a CSEcomplex, you must run <strong>VM</strong>UDQ on each of those systems to obtain acomplete picture of the target volume. For more information about the<strong>VM</strong>UDQ macro, see the z/<strong>VM</strong>: <strong>CP</strong> Programming Services book.Sharing DASD VolumesDevice I/O activity may increase significantly when DASD are shared amongmultiple <strong>VM</strong> systems. Devices can serve only one system at any given instant. Iftwo systems require service at the same time, one system will find the device busy<strong>and</strong> must wait. The length of this wait depends upon the type of I/O request alreadyin progress. If the first I/O is limited to a single track, as are most read <strong>and</strong> writeoperations on behalf of the CMS file system, the wait is not long. If the I/Opotentially affects all tracks on the same cylinder, for such activity as dumping,restoring, CMS <strong>and</strong> <strong>CP</strong> formatting, or <strong>CP</strong> paging <strong>and</strong> spooling, the time spentwaiting can seriously affect the performance of the second system.Furthermore, if additional work is queued for the device in the first system (forexample, during periods of heavy <strong>CP</strong> paging <strong>and</strong> spooling loads), when the currentI/O operation ends, both systems race to engage the device <strong>and</strong> start the nextoperation. The second system is at a disadvantage in this race because it mustexecute a longer code path. That is, fewer instructions are required to redrive adevice with an already-queued I/O request after the operation in progressterminates than are required to recognize that the busy device is now free <strong>and</strong> thatanother I/O operation can be started for it.An additional complication arises because DASD control units do not, in general,respond to each of their channel interfaces in a round-robin or fair-share manner.Thus, the system connected to the highest-priority channel interface of the controlunit receives more service than any other during periods of high contention. Inextreme cases, this can result in a lockout.Because of these considerations, you should follow these general guidelines:v Assign storage devices, control units, <strong>and</strong> channel paths to avoid unnecessaryCSE I/O contention.336 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


<strong>Planning</strong> CSEv Cable the fastest system to the lowest priority port <strong>and</strong> the slowest system to thehighest priority port on the control units when DASD is shared among systems ofunequal power.v Check that all devices are online after the system is IPLed.Avoiding Shared DASD I/O BottlenecksSince multiple systems can now cause I/O operations on the same devices <strong>and</strong>control units, bottlenecks that did not exist (or that were not obvious) in a singlesystem can cause serious performance complications in a CSE environment.Careful planning will eliminate unnecessary performance problems by preventingundue I/O interference caused by CSE activity. In general, the aim of such planningis to isolate I/O operations by type <strong>and</strong> by system.The kinds of shared DASD that you should consider when planning for CSE areDASD for:v Shared spool filesv Backup <strong>and</strong> recoveryv Shared access to minidisks.Each of these has somewhat different characteristics, which are explained asfollows.DASD for Shared Spool Files: For shared access to spool files, all <strong>CP</strong>-ownedDASD on which spooling space has been allocated must be physically <strong>and</strong> logicallyshared by all systems in the complex. Proper cabling of channels <strong>and</strong> control unitscreates physical sharing. The volume ID of each spooling DASD in each system’slist of <strong>CP</strong>-owned DASD (created by the <strong>CP</strong>_OWNED statement in the systemconfiguration file) creates logical sharing.Performance Considerations: To reduce the performance impact of DASD sharingfor spool files:v Isolate by system–Do not intermix the <strong>CP</strong>-owned spooling DASD of differentsystems on the same string, control unit, or channel path. If this rule is followed,systems will not compete with each other when writing, checkpointing, or purgingspool files. CSE contention is possible only when systems are reading spool filesother than their own.v Isolate by type–Do not mix DASD spooling space with other high-activity DASDspace, either on the same device or on the same control unit. Paging space,temporary disk space, <strong>and</strong> frequently used CMS minidisks should not be allowedto contend with spooling.v Review how you have organized your <strong>CP</strong>-owned DASD.Each system has its own spooling volumes. In the list of each system’s<strong>CP</strong>-owned volumes, you must include the volumes used for spooling in the othersystems, but you must designate them as shared volumes.Use the SHARED option on <strong>CP</strong>_OWNED statements in your systemconfiguration file. You do not have to list the volumes in any particular order aslong as you use the SLOT oper<strong>and</strong> to give the same slot number to the samevolume on each system.DASD for Backup <strong>and</strong> Recovery: When one system in the CSE complex is downfor scheduled or unscheduled maintenance, spool files created on that system canbe made available to users on other systems by operating CSE in a virtualmachine. Refer to the z/<strong>VM</strong>: System Operation book.Chapter 10. Setting Up Cross System Extensions (CSE) 337


<strong>Planning</strong> CSEFor this to be effective, the spooling <strong>and</strong> paging DASD owned by the system mustbe available to at least one other system in the complex. Spooling DASD areshared as a matter of course <strong>and</strong> do not present a problem. Paging space,temporary disk space, <strong>and</strong> the system residence volume should not be online to(logically shared by) any other system during normal operation. Since I/Ooperations to these spaces are initiated only by the system to which the space isdedicated, intermixing paging or T-disk space belonging to different systems on thesame device, control unit, or channel path introduces unnecessary CSE contention.Such contention could degrade the performance of all systems without providingany compensating functional benefit.To allow DASD sharing for backup <strong>and</strong> recovery without creating performanceproblems, try to:v Share physically the DASD required for backup operation. To provide the mostflexibility, all DASD should be accessible by all systems in the complex.v Isolate the DASD that is dedicated to a single system. Do not intermix such aDASD on the same device, control unit, or channel path with shared DASDs.v Avoid logically sharing DASD space that is dedicated to a particular systemduring normal operation. DASD that contain the following should be online to thesystem where used <strong>and</strong> offline to all others:– Paging space– Directory space– T-disk space– System residence volume.When the required DASD is operating in backup mode, it should be switched <strong>and</strong>varied online to the backup system.DASD for Shared Access to Minidisks: For CSE to control links between themultiple <strong>VM</strong> systems in the complex, the real volumes on which the minidisks residemust be physically <strong>and</strong> logically shared by all systems. Physical sharing is providedby having the disk drives accessible to all systems. Logical sharing is assured bycorresponding I/O device specifications (in system configuration files <strong>and</strong> IO<strong>CP</strong>s ifneeded), <strong>and</strong> identical lists of DASD volumes (in XLINK_VOLUME_INCLUDE <strong>and</strong>EXCLUDE statements in system configuration files) of all systems.Maximum Number of Systems Supported for Cross System Link: The maximumnumber of systems supported for cross system link is 56 if the CSE complex usesonly shared ECKD capable CKD devices. If any shared CKD devices are used,then the maximum number of systems supported depends on the device type. SeeTable 13 on page 365 for the maximum number of systems supported for each CKDdevice type. See “Default Values for the CSE Area” on page 365 for furtherexplanation.Choosing Which Minidisks to Share: When multiple systems access the same realdisks, the probability that <strong>CP</strong> will find the device busy when an I/O comm<strong>and</strong> isentered is increased. Therefore, heavily accessed disks like the CMS S <strong>and</strong> Y disksshould not be shared by all systems. Multiple copies of these minidisks (onseparate real volumes) can be provided so that each system can access its own Sor Y disk without CSE contention. These volumes can still be included in crosssystem link for maintenance, but general users cannot share them across <strong>VM</strong>systems.338 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


<strong>Planning</strong> CSEPerformance Considerations for CMS Minidisks: In a CSE environment, thechance of having high contention volumes is increased because potentially moreusers have access to one or more minidisks on the same volume.To achieve better I/O performance:1. Use 4 KB blocking on all CMS minidisks. Since the block size used by the CMSFORMAT comm<strong>and</strong> defaults to 2 KB for 3350s <strong>and</strong> 4 KB for 3380s, you musttake positive action to achieve 4 KB blocking on 3350s.2. Use a 3880-13, 3880-23, or 3990-3,6 to cache heavily used read-only minidisksin the controller. This should dramatically reduce the volume’s busy time.3. Put heavily used minidisks on separate volumes <strong>and</strong> assign users to theseminidisks so that the load is primarily from a single system. For example, as youplan the use of the CMS Y disk, consider creating the <strong>CP</strong> directory entries forMAINT 19E on each system that point to a different real device <strong>and</strong> cylinderoffset, so that each system uses a different Y disk. Another user ID —CMSMAINT, for example — could have minidisk entries defined for all the Ydisks in the complex. You would link to the CMSMAINT entries to update all theY disks from one system.4. Avoid using the minidisk caching feature for minidisks on shared DASDs. Inprinciple, all general-user minidisks should be shared through cross systemlinking in the CSE environment. Minidisks that contain the single sourcedirectory <strong>and</strong> serve as preliminary A disks for user IDs such as OPERATORmust be shared throughout the complex. Consider minidisks owned by servicemachines individually, depending on the activity level of each minidisk <strong>and</strong> howit is used.Note: Using MDC with CSE may cause data integrity problems. See MinidiskCaching Feature (MDC) below.MDISK Statements in the <strong>CP</strong> User Directory: The <strong>CP</strong> user directory defines thelocation <strong>and</strong> extent of all minidisks. For two or more systems to link to the sameminidisks, the MDISK directory entries for all shared volumes must be identical onevery system in the complex. <strong>CP</strong> <strong>and</strong> the directory program do not prevent youfrom defining minidisks that overlap. A <strong>CP</strong> system in a CSE complex is completelyunable to recognize overlapping minidisks on other systems because the minidisksare known solely by their starting cylinders. If you define such overlap, you assumeresponsibility for data integrity.Correctly protecting an installation’s minidisks across a CSE complex meanskeeping <strong>CP</strong> directory entries for shared volumes exactly synchronized. This supportis provided by DIRMAINT Release 5 with multiple <strong>CP</strong>U support.Minidisk Caching Feature (MDC): <strong>CP</strong> can cache CMS minidisks in Exp<strong>and</strong>ed orMain Storage. This is a definite performance advantage in a CMS-intensiveenvironment. However, because MDC does not address cross-cache invalidation,the scope of caching is limited to one system only. The MDC feature is thereforeincompatible with DASD sharing in any form, with or without CSE. Using MDC withCSE may cause data integrity problems.Since CACHING=ON is the default, the real devices on which all shared minidisksreside can be identified by the SHARED YES specification on their RDEVICEstatements in the system configuration file. This specification prevents MDC forthese devices. Alternatively, you can suppress MDC at a more granular level byspecifying NOMDC on the MINIOPT statement for shared minidisks in the directory<strong>and</strong> also by using the SET MDC comm<strong>and</strong>.Chapter 10. Setting Up Cross System Extensions (CSE) 339


<strong>Planning</strong> CSEPlacing of the CSE AreaCSE keeps control information about the state of CSE links to minidisks on aspecial area (called the CSE area) of the real volume where the minidisks reside.(In earlier releases this area was referred to as the CSE track.) During installation,the XLINK utility initializes this area. This information must be updated only whenthe first link to that minidisk occurs, when a link higher than any other links to thatminidisk occurs, or when the last link of that type disappears. It is important that thisarea not be inadvertently updated by any program other than <strong>CP</strong>.If you do not specify a particular location during system definition, CSE initializesthe CSE area starting on cylinder 0, track 1, when you enter the XLINK FORMATcomm<strong>and</strong>. This is described under “Generating the Cross System Link Facility” onpage 349. Since <strong>CP</strong> keeps the volume label <strong>and</strong> allocation maps on cylinder 0,track 0, the default location for the CSE area should be available. Allocate thelocation you choose for the CSE area as PERM space with the Device SupportFacilities program (ICKDSF). The XLINK FORMAT comm<strong>and</strong> allows these volumesto be shared by formatting the CSE area. For more information about the XLINKFORMAT comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book.Note: Do not define user minidisks in the space reserved for the CSE area, exceptfor the purpose described under “Generating the Cross System Link Facility”on page 349. For some device types, the CSE area resides on multiplecylinders. See Table 13 on page 365 describing the number of cylindersused for each device. When reserving space for the CSE area, thesecylinders must also be considered.Defining Volumes Containing Minidisks to be SharedYou can include <strong>and</strong> exclude volumes containing minidisks to be shared. Use theXLINK_VOLUME_INCLUDE statement (see page 268) to include volumes <strong>and</strong> theXLINK_VOLUME_EXCLUDE statement (see page 266) to exclude volumes.Cross System Linking <strong>and</strong> Synchronization of DirectoriesTo protect your installation’s minidisks across the CSE complex, the <strong>CP</strong> directoryentries for shared DASD volumes must be kept exactly synchronized. One methodfor synchronizing these directories is with the <strong>IBM</strong> z/<strong>VM</strong> Directory MaintenanceFacility (DirMaint).So that all CSE systems can link to the same minidisks, the MDISK directoryentries for all shared volumes must be identical on all systems in the CSE complex.Directory entries for user IDs that are allowed to be simultaneously logged on toevery system should not contain MDISK or LINK statements with an access modeof multiwrite (M/W) if these minidisks are used by CMS. When a hardware pathfrom each system to the proper device is defined, <strong>and</strong> identical minidisk extents inthe <strong>VM</strong> directory are also defined, minidisks become available to every system.You can use the OPTION, MDISK, or LINK directory control statements to give aspecified user sole write access to a minidisk for a limited period of time, thusoffering increased data integrity in cases where the stability of a given minidisk isrequired. The LNKSTABL <strong>and</strong> LNKEXCLU oper<strong>and</strong>s of the OPTION directorycontrol statement authorize a user to use the stable <strong>and</strong> exclusive link modes of theLINK comm<strong>and</strong> <strong>and</strong> DIAGNOSE code X'E4'. This global authority allows a virtualmachine to perform a stable link to any minidisk to which it has password-levelauthorization. You can also specify stable <strong>and</strong> exclusive authority to a specificminidisk using the mode suffix letter (S or E) on the MDISK or LINK directorycontrol statements. While stable or exclusive links to a minidisk are in effect, accessto that minidisk by any other user will be restricted or denied. For more information340 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


<strong>Planning</strong> CSEabout the LNKSTABL <strong>and</strong> LNKEXCLU options, see the “OPTION Directory ControlStatement (General)” on page 533. For more information about link accesses, see“LINK Directory Control Statement (Device)” on page 500 or “MDISK DirectoryControl Statement (Device)” on page 513.Spool File Directory StatementsIn a CSE complex, the MAXSPOOL oper<strong>and</strong> of the SPOOLFILE directory statementlimits the number of spool files that a user may have on any given system. Sincethe CSE complex operates on a single source directory, this limit is the same for allsystems. To define different MAXSPOOL limits for different systems, use the systemaffinity records.The maximum number of spool files that a user may create on each system in thecomplex is determined by dividing the number of files declared with MAXSPOOL bythe number of systems in the complex. For example, if the MAXSPOOL oper<strong>and</strong> isdefined as 300 on a three-system complex, that user may create 100 spool files oneach of the three systems. If that user uses the conditional statement facilities <strong>and</strong>chooses to define MAXSPOOL limits of 150 spool files on the first system, 210spool files on the second system, <strong>and</strong> 300 spool files on the third system, that usermay create up to 50 on the first system, 70 on the second system, <strong>and</strong> 100 on thethird system.Preparing for CSETo prepare for CSE, you must:v Cable the systems’ hardware paths.v Prepare the existing directories for a merger into a single source directory.v Put the same version of DIRECTXA on every system in the CSE complex.v Define user IDs that concurrently log onto all systems so that they have onedirectory entry (for example, OPERATOR).v Decide which volumes should be shared. See “Sharing DASD Volumes” on page336.v Decide where to place the CSE area on each of the shared volumes. (Thedefault is cylinder 0, track 1.)v Plan how to set up the communication virtual machine (C<strong>VM</strong>). See “Installing the<strong>VM</strong>/Pass-Through Facility <strong>and</strong> Its Modifications” on page 345 <strong>and</strong> “Preparing theCommunication Virtual Machine (C<strong>VM</strong>)” on page 350.v Prepare to deal with outages. Each system should have a properly configuredvirtual machine in its user directory able to run a guest system in the eventanother system is disabled. See the z/<strong>VM</strong>: System Operation book for anexample.Cabling the HardwareUse the operator’s guides for your hardware devices to plan the best cabling foryour hardware. Ensure that shared volumes are accessible to all the systems in theCSE complex.Preparing for a Single Source DirectoryReview the directories of the current systems. Minidisks that are defined in all thedirectories must have identical volume identifiers <strong>and</strong> cylinder extents, since onlyone definition of them is in the single source directory. To avoid overlapping extents,you need to:v Identify identical virtual machines in existing directoriesv Define a policy for managing identical identifiers in the existing directories.Chapter 10. Setting Up Cross System Extensions (CSE) 341


<strong>Planning</strong> CSENote: When using different levels of CMS, it may be necessary to generate CMSon a disk other than the st<strong>and</strong>ard 190 disk.Nonshared Directory EntriesSome directory entries define user IDs that may be logged on to more than onesystem within the CSE complex at the same time. These user IDs include:v The system operatorv The communication virtual machine (C<strong>VM</strong>)v The service machines that have identical names <strong>and</strong> run concurrently on morethan one system.Refer to the z/<strong>VM</strong> Directory Maintenance (DirMaint) library for information <strong>and</strong>examples of directory entries.Example of a Directory Entry: Figure 14 is an example of a directory entry. Thisentry is appropriate for the system operator user ID in each system in the CSEcomplex. The format is st<strong>and</strong>ard for any similar user IDs.Note: You can use either the pre-PROFILE EXECs (see Figure 15 on page 343<strong>and</strong> Figure 16 on page 344) or the SYSAFFIN control statement ofDIRMAINT Release 5 to set up your directory statements.**************************************** SYSTEM OPERATOR ****************************************USER OPERATOR XXXXXX 4M 16M ABCDEGACCOUNT ACT1 35H:0253CONSOLE 009 3215SPOOL 00C 2540 READER ASPOOL 00D 2540 PUNCH ASPOOL 00E 1403 ALINK CMSPACKS 190 190 RRLINK CMSPACKS 19E 19E RRLINK ADISKS 207 191 RRLINK ADISKS 204 204 MRLINK ADISKS 304 304 MRLINK ADISKS 404 404 MRLINK ADISKS 504 504 MRFigure 14. Example of a Directory EntryThe ADISKS user ID is an arbitrarily chosen name for the entry that defines the poolof read/write (R/W) CMS minidisks from which each of the common user IDsreceives a particular minidisk.Note: The preliminary A disk, linked as 191, will be in read-only (R/O) mode, buteach of the real A disks, linked initially as 204, 304, 404, <strong>and</strong> 504, will belinked in R/W mode (unless some other user already has them in R/Wmode). Only one of these disks is required, depending upon which system isbeing logged on to. The secondary pre-PROFILE EXEC for this user shoulddetach the disks that are not required, so that the disks can be used by thesame user ID on an associated system.Example of a Pre-PROFILE EXEC: Figure 15 on page 343 is an example of apre-PROFILE EXEC for a four-system complex. This sample exec configuresOPERATOR <strong>and</strong> other common user IDs.342 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


<strong>Planning</strong> CSE/*---------------------------------------------------------------------*//* Definitions for this installation follow. These names are the *//* same as those used in the combination of XSPOOL_SYSTEM, *//* XLINK_SYSTEM_INCLUDE, XLINK_SYSTEM_EXCLUDE statements in a system *//* configuration file. *//* *//**/ sysname1 = "SYSTEM1" /**//**/ sysname2 = "SYSTEM2" /**//**/ sysname3 = "SYSTEM3" /**//**/ sysname4 = "SYSTEM4" /**//* *//**/ userid1 = "OPERATOR" /**//**/ userid2 = "P<strong>VM</strong>" /**//**/ userid3 = "none" /**//*---------------------------------------------------------------------*/MAKEBUF’EXECIO * <strong>CP</strong> (STRING QUERY USERID’PULL userid junk sysidSAY userid junk sysidIF sysid = sysname1 THEN DO; CALL CSE1; EXIT; END;IF sysid = sysname2 THEN DO; CALL CSE2; EXIT; END;IF sysid = sysname3 THEN DO; CALL CSE3; EXIT; END;IF sysid = sysname4 THEN DO; CALL CSE4; EXIT; END;CALL sysname_bad;CSE1:IF userid = userid1 THEN DO; ’EXEC CSE1USR1’ ; RETURN; END;IF userid = userid2 THEN DO; ’EXEC CSE1USR2’ ; RETURN; END;IF userid = userid3 THEN DO; ’EXEC CSE1USR3’ ; RETURN; END;CALL userid_bad;CSE2:IF userid = userid1 THEN DO; ’EXEC CSE2USR1’ ; RETURN; END;IF userid = userid2 THEN DO; ’EXEC CSE2USR2’ ; RETURN; END;IF userid = userid3 THEN DO; ’EXEC CSE2USR3’ ; RETURN; END;CALL userid_bad;CSE3:IF userid = userid1 THEN DO; ’EXEC CSE3USR1’ ; RETURN; END;IF userid = userid2 THEN DO; ’EXEC CSE3USR2’ ; RETURN; END;IF userid = userid3 THEN DO; ’EXEC CSE3USR3’ ; RETURN; END;CALL userid_bad;CSE4:IF userid = userid1 THEN DO; ’EXEC CSE4USR1’ ; RETURN; END;IF userid = userid2 THEN DO; ’EXEC CSE4USR2’ ; RETURN; END;IF userid = userid3 THEN DO; ’EXEC CSE4USR3’ ; RETURN; END;CALL userid_bad;Figure 15. Example of a Pre-PROFILE EXEC (Part 1 of 2)Chapter 10. Setting Up Cross System Extensions (CSE) 343


<strong>Planning</strong> CSE/*---------------------------------------------------------------------*//* System name not recognized - Cannot continue. *//*---------------------------------------------------------------------*/Sysname_bad:SAY "ERROR IN INITIALIZATION OF "||userid||" VIRTUAL MACHINE: "SAY "CSE SYSTEM NAME "||sysid||" IS UNDEFINED IN THIS PROFILE."EXIT 999/*---------------------------------------------------------------------*//* User ID not recognized - Cannot continue. *//*---------------------------------------------------------------------*/Userid_bad:SAY "ERROR IN INITIALIZATION OF "||userid||" VIRTUAL MACHINE: "SAY "USER ID "||userid||" IS UNDEFINED IN THIS PROFILE."EXIT 998Figure 15. Example of a Pre-PROFILE EXEC (Part 2 of 2)Example of a Secondary Pre-PROFILE EXEC: Figure 16 is an example of asecondary pre-PROFILE EXEC for a four-system complex. This entry is appropriatefor the user ID OPERATOR on system SYSTEM1 defined in Figure 15 on page343./*--------------------------------------------------------------------*//* Secondary pre-PROFILE EXEC for OPERATOR on system SYSTEM1. *//* *//* The purpose of this EXEC is to link to <strong>and</strong> access the proper *//* R/W A disk for the above user ID <strong>and</strong> system. To tailor this *//* EXEC, perform the following 3 steps: *//* *//* 1). Modify the following <strong>CP</strong> LINK comm<strong>and</strong> to link to the *//* proper R/W A disk as defined in the single source directory *//* for the CSE complex. For SYSTEM2, SYSTEM3, <strong>and</strong> SYSTEM4, *//* make comparable changes. *//* *//**/’<strong>CP</strong> LINK * 204 204 MR’ /* System SYSTEM1 OPERATOR’s A disk *//* *//* 2). The following statement will retry the step if the link *//* was not obtained. *//* *//**/ IF rc 0 THEN DO;’<strong>CP</strong> SLEEP 5 SEC’; PUSH ’PROFILE’; EXIT; END /**//* *//* 3). Modify the following <strong>CP</strong> DETACH comm<strong>and</strong>s to detach the other *//* user’s R/W A disks that were also defined in the single *//* source directory entry for this user ID. These disks were *//* defined as multiaccess (MR) to eliminate the need for *//* passwords in this EXEC, <strong>and</strong> may have been linked R/W when *//* this user ID logged on. They belong to the same user ID on *//* another system, <strong>and</strong> must be detached from this one. Make *//* comparable changes for SYSTEM2, SYSTEM3, <strong>and</strong> SYSTEM4. *//* *//**/’<strong>CP</strong> DETACH 304’ /* System SYSTEM2 OPERATOR’s A disk *//**/’<strong>CP</strong> DETACH 404’ /* System SYSTEM3 OPERATOR’s A disk *//**/’<strong>CP</strong> DETACH 504’ /* System SYSTEM4 OPERATOR’s A disk *//*--------------------------------------------------------------------*/’RELEASE 191 (DET’ /* Detach the preliminary A disk. */’<strong>CP</strong> DEFINE 204 191’ /* Make the "real" A disk 191. */’ACCESS 191 A’ /* Make it the A disk. */’EXEC PROFILE’ /* Execute the "real" profile. */Figure 16. Secondary Pre-PROFILE EXEC for System1344 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Enabling CSEEnabling CSETo enable CSE:1. Create the single source directory (page 341).2. Install tapes (page 345):a. <strong>VM</strong>/Pass-Through Facility (Release 4 with modifications, or later)b. If using DIRMAINT, refer to the z/<strong>VM</strong>: Directory Maintenance FacilityComm<strong>and</strong>s Reference book.3. Create or update the system configuration file (page 346). Add XLINK familystatements (<strong>and</strong> possibly XSPOOL family statements) to the systemconfiguration file for each system. Add SHARED oper<strong>and</strong>s to appropriate<strong>CP</strong>_OWNED statements.4. Initialize the volumes for linking (page 349):a. Generate the XLINK utility program.b. Initialize the CSE areas.Note: If you wish to initialize the CSE areas to something other than thedefaults, you must IPL the system prior to running XLINK format.5. Prepare the communication virtual machine (page 350).6. Perform an initial program load.7. Verify the cross system links (page 353).8. Optionally initialize cross system spool:a. Join the systems (page 353).b. Verify the cross system spool status (page 354).9. Phase CSE into the production environment (page 356).Installing the <strong>VM</strong>/Pass-Through Facility <strong>and</strong> Its ModificationsThe communication virtual machine (C<strong>VM</strong>) is the means by which the <strong>VM</strong> controlprograms communicate within a CSE complex. The C<strong>VM</strong> runs the<strong>VM</strong>/Pass-Through Facility licensed program.The C<strong>VM</strong> requires 3 MB for two systems plus 1 MB for each additional system inthe complex.To provide general functions of a pass-through virtual machine, you may use theC<strong>VM</strong>, or you may use a copy of the <strong>VM</strong>/Pass-Through Facility running in anothervirtual machine.If you use the C<strong>VM</strong> to provide general pass-through services <strong>and</strong> CSEcommunications, you can assign to it the customary user ID for the pass-throughvirtual machine, P<strong>VM</strong>. If you use a virtual machine other than the C<strong>VM</strong> to providegeneral pass-through services, you should give the user ID P<strong>VM</strong> to that virtualmachine <strong>and</strong> select another user ID for C<strong>VM</strong>.Specify the user ID of the C<strong>VM</strong> using the COMMUNICATIONS_USERID oper<strong>and</strong> ofthe XSPOOL_SYSTEM statement (page 271). Install <strong>VM</strong>/Pass-Through FacilityVersion 2 Release 1.1 or later. Although the procedures include all the informationyou need, you must be aware of the layout of the CSE complex <strong>and</strong> may need tomodify:v The P<strong>VM</strong> CONFIG statementv The PROFILE P<strong>VM</strong> statementChapter 10. Setting Up Cross System Extensions (CSE) 345


Enabling CSEv The entry in the directory that defines the C<strong>VM</strong>v The PROFILE EXEC of the C<strong>VM</strong>.Defining <strong>CP</strong> for Each SystemNote: All systems in the CSE complex must run the same level of P<strong>VM</strong>.These modifications must be completed before the systems in the CSE complexcan communicate. Procedures for establishing communication are described under“Preparing the Communication Virtual Machine (C<strong>VM</strong>)” on page 350.System Definition for CSEIf CSE is not being used, system definition from the user’s point of view iscompletely unchanged. A default set of CSE tables that define a one-systemcomplex is generated automatically when the H<strong>CP</strong>SYS ASSEMBLE file isprocessed.Note: This is the only way that a one-system complex can be defined. If the XLINKor XSPOOL families of statements are used in a system configuration file,the CSE complex must be composed of at least two systems.If CSE is used, you must make the following entries in the system configuration file:v The <strong>CP</strong>_OWNED statement must be coded to identify each <strong>CP</strong>-owned volumethat will contain spool space that belongs to any associated system in the CSEcomplex.v XLINK_SYSTEM_INCLUDE statements are required.v The following statements are optional. They may be coded as needed for aparticular installation. (Notice that cross system spooling has been separatedfrom cross system linking; separate statements now control these functions.)XLINK_DEVICE_DEFAULTSmodifies certain attributes of the cross system link operation on adevice-type basis. (See page 259.)XLINK_SYSTEM_EXCLUDEidentifies a system to be excluded from the CSE complex. (See page263.)XLINK_VOLUME_INCLUDEidentifies which DASD volumes will be controlled by the cross system linkfeature of CSE. (See page 268.)XLINK_VOLUME_EXCLUDEidentifies which DASD volumes will be excluded from control by the (Seepage 266.) cross system link feature of CSE.XSPOOL_TRACEcontrols the number of free storage pages to be allocated <strong>and</strong> used forthe CSE trace tables. (See page 273.)XSPOOL_XLIST_INPUTidentifies certain virtual machines whose input files will not participate incross system spooling <strong>and</strong> cross system message <strong>and</strong> query comm<strong>and</strong>s.(See page 274.)346 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Enabling CSEXSPOOL_XLIST_OUTPUTidentifies certain virtual machines whose output files will not participate incross system spooling <strong>and</strong> cross system message <strong>and</strong> query comm<strong>and</strong>s.(See page 276.)<strong>CP</strong>_OWNED StatementsThe specific DASD volumes to be used for spool file space are described by<strong>CP</strong>_OWNED statements.Code <strong>CP</strong>_OWNED statements to define a list of up to 255 <strong>CP</strong>-owned DASDvolumes. <strong>CP</strong>-owned volumes are the <strong>CP</strong> system residence volume <strong>and</strong> volumesthat contain real system paging, spooling, dump, directory, or temporary disk space.When CSE is not used, all the volumes listed on <strong>CP</strong>_OWNED statements thatcontain spool space may be used to read <strong>and</strong> write spool files. (Spool files arewritten only once, when they are created.)When CSE is active, shared access to spool files for all systems in the complex isprovided by physically sharing the spooling DASD. Although physically this is bothread <strong>and</strong> write sharing, logically the sharing is on a read-only basis. Thus, somevolumes must be identified as available for writing the spool files created on thissystem, <strong>and</strong> others must be identified as available only for reading spool filescreated on other systems. To do this, specify the <strong>CP</strong>_OWNED oper<strong>and</strong>s OWN <strong>and</strong>SHARED as needed.Attention: It is recommended that the system residence volumes <strong>and</strong> pagingvolumes not be shared among systems in a CSE complex. If you share systemresidence <strong>and</strong> paging volumes, results are unpredictable.For the format <strong>and</strong> complete description of the <strong>CP</strong>_OWNED statement, refer to“<strong>CP</strong>_OWNED Statement” on page 73.Example of a System Configuration FileFigure 17 on page 348 shows portions of a system configuration file for afour-system complex that includes significant information for CSE.Chapter 10. Setting Up Cross System Extensions (CSE) 347


Enabling CSE/**********************************************************************//* Timezone Definitions *//**********************************************************************/Timezone_Definition EDT West 04.00.00/**********************************************************************//* Checkpoint <strong>and</strong> Warmstart Information *//**********************************************************************/System_Residence ,Checkpoint Volid KS3RES From Cylinder 2 For 2 ,Warmstart Volid KS3RES From Cylinder 4 For 2/**********************************************************************//* <strong>CP</strong>_Owned Volume Statements *//**********************************************************************/<strong>CP</strong>_Owned Slot 1 KS3RES OWN<strong>CP</strong>_Owned Slot 2 MD-SP0 Share<strong>CP</strong>_Owned Slot 3 SPOOL0 Share<strong>CP</strong>_Owned Slot 4 MD-SP1 Share<strong>CP</strong>_Owned Slot 5 SPOOL1 Share<strong>CP</strong>_Owned Slot 6 MD-SP2 OWN<strong>CP</strong>_Owned Slot 7 SPOOL2 OWN<strong>CP</strong>_Owned Slot 8 LDUMP0 Share<strong>CP</strong>_Owned Slot 9 LDUMP1 Share<strong>CP</strong>_Owned Slot 10 LDUMP2 OWN<strong>CP</strong>_Owned Slot 11 LDUMP3 Share/**********************************************************************//* System_Identifier Information *//**********************************************************************/System_Identifier_Default KEN3/**********************************************************************//* User_Volume_List *//**********************************************************************/User_Volume_List KLS191User_Volume_List CMS55User_Volume_List UTOOLSUser_Volume_List CMS195User_Volume_List XSPACEUser_Volume_List P<strong>VM</strong>DSKUser_Volume_List P<strong>VM</strong>191User_Volume_List TEMPUser_Volume_List MD-SP3Figure 17. Portions of a Configuration File for a CSE Four-System Complex (Part 1 of 2)348 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Enabling CSE/**********************************************************************//* XSPOOL_System Statements *//**********************************************************************/XSPOOL_System Slot 1 KEN1 Alias K1 ,Communications_Userid P<strong>VM</strong> Timeout 20 Seconds Share_Spool YesXSPOOL_System Slot 2 KEN2 Alias K2 ,Communications_Userid P<strong>VM</strong> Timeout 20 Seconds Share_Spool YesXSPOOL_System Slot 3 KEN3 Alias K3 ,Communications_Userid P<strong>VM</strong> Timeout 20 Seconds Share_Spool YesXSPOOL_System Slot 4 KEN4 Alias K4 ,Communications_Userid P<strong>VM</strong> Timeout 20 Seconds Share_Spool No/**********************************************************************//* XLINK_Volume_Include Information *//**********************************************************************/XLINK_Volume_Include MD1XLINK_Volume_Include MD2XLINK_Volume_Include MD3XLINK_Volume_Include MD-SP*/**********************************************************************//* XLINK_Volume_Exclude Information *//**********************************************************************/XLINK_Volume_Exclude MD-SP3/**********************************************************************//* XSPOOL_Userid_Input Information *//**********************************************************************/XSPOOL_Xlist_Input OPERATNS MAINT KEN IN/**********************************************************************//* XSPOOL_Userid_Output Information *//**********************************************************************/XSPOOL_Xlist_Output OPERATNS MAINT KEN OUT/**********************************************************************//* XLINK_Device_Defaults *//**********************************************************************/XLINK_Device_Defaults Type 3390 Class 3,Cylinder 300 Track 12 Map_Record_Length 203 Map_Records 2/**********************************************************************//* System Userids *//**********************************************************************/System_Userids ,Operator OPERATOR disconnect ,Dump OPERATNSFigure 17. Portions of a Configuration File for a CSE Four-System Complex (Part 2 of 2)Initializing the Volumes for Cross System LinkThe CSE area on each DASD volume contains link information about the minidiskon that volume. You need to format this area to prepare DASD for sharing.Generating the Cross System Link FacilityThe cross system link facility utility contains the XLINK DISPLAY <strong>and</strong> XLINKFORMAT comm<strong>and</strong>s. To ensure that the DASD parameters used by thesecomm<strong>and</strong>s are the same as those used by <strong>CP</strong>, you should generate a separateversion of XLINK for each system in the CSE complex. Use the following comm<strong>and</strong>to generate the XLINK MODULE for each system:<strong>VM</strong>FBLD PPF ppfname compname H<strong>CP</strong>XLOAD XLINK (ALLChapter 10. Setting Up Cross System Extensions (CSE) 349


Enabling CSEppfnameis the name of the product parameter filecompnmameis the name of the componentSee the z/<strong>VM</strong>: <strong>VM</strong>SES/E Introduction <strong>and</strong> Reference book for information about the<strong>VM</strong>FBLD EXEC.Now that the XLINK MODULE has been generated, it may be used to format theCSE areas on the DASD volumes that cross system link will control. You mustformat the areas before the cross system link facility can be activated.Note: The XLINK MODULE should be placed on a nonshared minidisk of the userwho will enter the XLINK FORMAT or XLINK DISPLAY comm<strong>and</strong> from theCSE system.For more information about the XLINK FORMAT or XLINK DISPLAY comm<strong>and</strong>s,see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book.Initializing the CSE Area on Shared Minidisk VolumesTo initialize the CSE area on shared minidisk volumes:1. Connect the volume to be formatted to the virtual machine by one of thefollowing methods:a. LINK, in R/W mode–to link to a minidisk that defines a portion of the volumefrom cylinder 0 to where the CSE area is assigned. The default assignmentfor the CSE area is on cylinder 0. Since this method does not expose anydata beyond the CSE area, it is preferred.Note: The CSE area on some devices will reside on multiple cylinders. Ifyou are using one of those devices, your minidisk must include all ofthose cylinders. See Table 13 on page 365 for devices that usemultiple cylinders for the CSE area.b. ATTACH–to attach the real volume to the virtual machine.c. LINK, in R/W mode–to link to a minidisk that defines the entire real volume(a full-pack minidisk).2. Enter an XLINK FORMAT comm<strong>and</strong> that specifies the virtual address <strong>and</strong> thereal volume identification of the volume to be formatted. The volume label onthe disk must match the volume name given on the comm<strong>and</strong>. This comm<strong>and</strong> isrun under CMS. Therefore, it does not require that you have any special <strong>CP</strong>privilege class. It does require, however, write access to the device as vdev.You should run XLINK FORMAT before you load the new <strong>CP</strong> module. However, ifyou wish to initialize the CSE areas to something other than the defaults, you mustIPL the system prior to running XLINK format.For the format, description, <strong>and</strong> responses of XLINK FORMAT, refer to the z/<strong>VM</strong>:<strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book.Preparing the Communication Virtual Machine (C<strong>VM</strong>)To establish proper connections between the C<strong>VM</strong> of one system in the CSEcomplex <strong>and</strong> the C<strong>VM</strong> of the other systems in the CSE complex, you need to definethe addresses of the channel-to-channel links that connect them.350 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Enabling CSENote: When using the 3088 Multisystem Channel Communications Unit, refer tothe <strong>VM</strong>/Pass-Through Facility library.Figure 18 shows an example that is based on channel-to-channel linking for afour-system complex.┌────────┐ vdev1 ┌────────┐│sysname1├─────────────────┤sysname2│└───┬─┬──┘└───┬─┬──┘│ │ vdev6 │ ││ └──────────────────────┐ │ │vdev3 │ │ │ │ vdev2│ vdev5 │ │ ││ ┌──────────────────────┼─┘ ││ │ │ │┌───┴─┴──┐ vdev4 ┌─┴───┴──┐│sysname3├─────────────────┤sysname4│└────────┘└────────┘Figure 18. Connecting the Communication Virtual MachinesFor the example shown in Figure 18, the directory entry for the C<strong>VM</strong> user ID shouldinclude:DEDICATE vdev1 rdev1DEDICATE vdev2 rdev2DEDICATE vdev3 rdev3DEDICATE vdev4 rdev4DEDICATE vdev5 rdev5DEDICATE vdev6 rdev6Modify the P<strong>VM</strong> CONFIG <strong>and</strong> PROFILE P<strong>VM</strong> from each system to include thenecessary statements.For the first system:v P<strong>VM</strong> CONFIG should include:LOCAL sysname1LANG AMENGLINK vdev1 sysname2 CTCALINK vdev3 sysname3 CTCALINK vdev6 sysname4 CTCAv PROFILE P<strong>VM</strong> should include:START LINE vdev1START LINE vdev3START LINE vdev6For the second system:v P<strong>VM</strong> CONFIG should include:LOCAL sysname2LANG AMENGLINK vdev1 sysname1 CTCALINK vdev5 sysname3 CTCALINK vdev2 sysname4 CTCAv PROFILE P<strong>VM</strong> should include:Chapter 10. Setting Up Cross System Extensions (CSE) 351


Enabling CSESTART LINE vdev1START LINE vdev2START LINE vdev5For the third system:v P<strong>VM</strong> CONFIG should include:LOCAL sysname3LANG AMENGLINK vdev3 sysname1 CTCALINK vdev5 sysname2 CTCALINK vdev4 sysname4 CTCAv PROFILE P<strong>VM</strong> should include:START LINE vdev3START LINE vdev4START LINE vdev5For the fourth system:v P<strong>VM</strong> CONFIG should include:LOCAL sysname4LANG AMENGLINK vdev6 sysname1 CTCALINK vdev2 sysname2 CTCALINK vdev4 sysname3 CTCAv PROFILE P<strong>VM</strong> should include:START LINE vdev2START LINE vdev4START LINE vdev6where (as shown in Figure 18 on page 351):sysname1is the name of the first system.sysname2is the name of the second system.sysname3is the name of the third system.sysname4is the name of the fourth system.vdev1 is the 1- to 3-character virtual device number of the channel-to-channel linkfor sysname1 <strong>and</strong> sysname2.vdev2 is the 1- to 3-character virtual device number of the channel-to-channel linkfor sysname2 <strong>and</strong> sysname4.vdev3 is the 1- to 3-character virtual device number of the channel-to-channel linkfor sysname1 <strong>and</strong> sysname3.vdev4 is the 1- to 3-character virtual device number of the channel-to-channel linkfor sysname3 <strong>and</strong> sysname4.352 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Enabling CSEvdev5 is the 1- to 3-character virtual device number of the channel-to-channel linkfor sysname2 <strong>and</strong> sysname3.vdev6 is the 1- to 3-character virtual device number of the channel-to-channel linkfor sysname1 <strong>and</strong> sysname4.rdev1 is the 1- to 4-character real device number of the channel-to-channel linkfor sysname1 <strong>and</strong> sysname2.rdev2 is the 1- to 4-character real device number of the channel-to-channel linkfor sysname2 <strong>and</strong> sysname4.rdev3 is the 1- to 4-character real device number of the channel-to-channel linkfor sysname1 <strong>and</strong> sysname3.rdev4 is the 1- to 4-character real device number of the channel-to-channel linkfor sysname3 <strong>and</strong> sysname4.rdev5 is the 1- to 4-character real device number of the channel-to-channel linkfor sysname2 <strong>and</strong> sysname3.rdev6 is the 1- to 4-character real device number of the channel-to-channel linkfor sysname1 <strong>and</strong> sysname4.For more information about routing, links, the START <strong>and</strong> DROP comm<strong>and</strong>s, <strong>and</strong>3088 connections, refer to the <strong>VM</strong>/Pass-Through Facility Managing <strong>and</strong> Using bookfor Release 4 of the <strong>VM</strong>/Pass-Through Facility.Verifying Your CSE Configuration1. IPL your z/<strong>VM</strong> system.2. Perform your installation’s customary verification testing.Verifying Cross System LinkUse the XLINK CHECK comm<strong>and</strong> when you want to know whether one or morevolumes are under cross system link control. You can execute this comm<strong>and</strong> afteryou have completed the IPL of the CSE system. For the format <strong>and</strong> a completedescription of this comm<strong>and</strong>, refer to the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference book.Enabling Cross System SpoolStarting CSE CommunicationTo initialize CSE <strong>and</strong> bring it into full operation, you need to join each system toCSE by following these procedures:1. IPL the system <strong>and</strong> continue with initialization as described in the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book.Note: Do not start the output spooling devices <strong>and</strong> do not enable userterminals now.2. XAUTOLOG the C<strong>VM</strong>.3. Use the SMSG comm<strong>and</strong> to inform the C<strong>VM</strong> to start the CSECOM task.CSECOM is the task that joins the systems together. Your installation may havean exec you can invoke to enter this comm<strong>and</strong> with fewer keystrokes.Use the START comm<strong>and</strong> to start a CSE communication task.Chapter 10. Setting Up Cross System Extensions (CSE) 353


Enabling CSE►► START CSEcom system ►◄CSEcomindicates that the CSE communication task is to be started.Note: To join any two systems in the CSE complex, the CSECOM task must bestarted from each of those systems specifying the system to be joined asthe target system.systemindicates the target system with which the session is to be initiated. The targetfor START CSECOM must be another CSE system.In the examples that follow, these are sysname1, sysname2, sysname3, <strong>and</strong>sysname4, which specify the names of the systems in the CSE complex definedin the system configuration file. In these examples, cvm is the user ID of thecommunication virtual machine as defined in the system configuration file.Example: The following is an example for the four-system complex shown inFigure 18 on page 351:1. From the first system, enter the following comm<strong>and</strong>s to join the appropriatesystems to the CSE complex:SMSG cvm START CSECOM sysname2SMSG cvm START CSECOM sysname3SMSG cvm START CSECOM sysname42. From the second system, enter the following comm<strong>and</strong>s to join the appropriatesystems to the CSE complex:SMSG cvm START CSECOM sysname1SMSG cvm START CSECOM sysname3SMSG cvm START CSECOM sysname43. From the third system, enter the following comm<strong>and</strong>s to join the appropriatesystems to the CSE complex:SMSG cvm START CSECOM sysname1SMSG cvm START CSECOM sysname2SMSG cvm START CSECOM sysname44. From the fourth system, enter the following comm<strong>and</strong>s to join the appropriatesystems to the CSE complex:SMSG cvm START CSECOM sysname1SMSG cvm START CSECOM sysname2SMSG cvm START CSECOM sysname35. After you have started the CSECOM task, enable the lines <strong>and</strong> terminals <strong>and</strong>then start the output spooling devices, if any.Responses: The normal responses to a START CSECOM comm<strong>and</strong> are:D<strong>VM</strong>CSE0851I CSE sysnamex CONNECTED TO NODE sysnamey useridD<strong>VM</strong>CSE0853I SYSTEM sysnamex SYNCHRONIZED WITH SYSTEM sysnameyuseridVerifying Cross System SpoolUse the XSPOOL QUERY comm<strong>and</strong> to request system spool status.354 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Enabling CSE►► XSpool QueryALLsysnameNOMSG►◄sysnameis the name of the CSE system. If you specify a system name, the status of thatsystem is displayed.ALLdisplays the status of all the cross system spool systems. ALL is the default.NOMSGsuppresses the normal comm<strong>and</strong> response; however, any error messages aredisplayed.Responses: The normal response to the XSPOOL QUERY comm<strong>and</strong> is:H<strong>CP</strong>XXS2987I Associated system sysname is activeIf any of the systems is not active, the response for that system is:H<strong>CP</strong>XXS2982I Associated system sysname is not activeIf the C<strong>VM</strong> link used by CSE is not in operation, the response is:H<strong>CP</strong>XXS2980I The CSE Communication Virtual Machine is not activeNote: For a system to be listed as active, the CSECOM task must be started fromboth the system issuing the XSPOOL QUERY comm<strong>and</strong> <strong>and</strong> the systembeing queried.Activating Spool for Systems Not Active after Start CSECOMUse the following comm<strong>and</strong>s to activate cross system spool for systems that arelisted as not active after starting the CSECOM task for that system.The following is an example of how to activate the C<strong>VM</strong> in a four-system complex(shown in Figure 18 on page 351):1. From sysname1, enter the following comm<strong>and</strong>s for the systems that are notactive:smsg cvm drop line vdev1smsg cvm drop csecom sysname2smsg cvm start line vdev1smsg cvm start csecom sysname2smsg cvm drop line vdev3smsg cvm drop csecom sysname3smsg cvm start line vdev3smsg cvm start csecom sysname3smsg cvm drop line vdev6smsg cvm drop csecom sysname4smsg cvm start line vdev6smsg cvm start csecom sysname42. From sysname2, enter the following comm<strong>and</strong>s for the systems that are notactive:smsg cvm drop line vdev1smsg cvm drop csecom sysname1smsg cvm start line vdev1smsg cvm start csecom sysname1Chapter 10. Setting Up Cross System Extensions (CSE) 355


Enabling CSEsmsg cvm drop line vdev5smsg cvm drop csecom sysname3smsg cvm start line vdev5smsg cvm start csecom sysname3smsg cvm drop line vdev2smsg cvm drop csecom sysname4smsg cvm start line vdev2smsg cvm start csecom sysname43. From sysname3, enter the following comm<strong>and</strong>s for the systems that are notactive:smsg cvm drop line vdev3smsg cvm drop csecom sysname1smsg cvm start line vdev3smsg cvm start csecom sysname1smsg cvm drop line vdev5smsg cvm drop csecom sysname2smsg cvm start line vdev5smsg cvm start csecom sysname2smsg cvm drop line vdev4smsg cvm drop csecom sysname4smsg cvm start line vdev4smsg cvm start csecom sysname44. From sysname4, enter the following comm<strong>and</strong>s for the systems that are notactive:smsg cvm drop line vdev6smsg cvm drop csecom sysname1smsg cvm start line vdev6smsg cvm start csecom sysname1smsg cvm drop line vdev2smsg cvm drop csecom sysname2smsg cvm start line vdev2smsg cvm start csecom sysname2smsg cvm drop line vdev4smsg cvm drop csecom sysname3smsg cvm start line vdev4smsg cvm start csecom sysname3Note: If you find a problem using the START <strong>and</strong> DROP process <strong>and</strong> the lines arestill not active, you can use another method to activate cross system spool.To use this alternative method, use the <strong>CP</strong> FORCE comm<strong>and</strong> with the C<strong>VM</strong>user ID <strong>and</strong> then re-XAUTOLOG each C<strong>VM</strong> user ID on all systems.Phasing CSE into the Production EnvironmentYou should introduce CSE into your environment in a manner that builds confidencein the stability of the complex before you create dependencies on its functions <strong>and</strong>capabilities.The following steps may vary according to installation policy <strong>and</strong> experience:1. IPL one system in the complex but do not activate cross system link <strong>and</strong> spool.To keep from activating cross system link:v Do not start the CSECOM task of the communication virtual machine.v Do not bring any shared minidisk volumes online to the other systems in theCSE complex.356 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Enabling CSEv Ensure that the current non-CSE system has the same list of <strong>CP</strong>-ownedvolumes with dummy volumes replacing those volumes having the shareoption. (This list is from the <strong>CP</strong>_OWNED statements in the systemconfiguration file).2. When you have confidence in the stability of the system:a. IPL <strong>CP</strong> on each of the systems.b. Introduce the cross system link facility by bringing online all shared minidiskvolumes, after they have been formatted by the cross system link facilityutility program.c. Start the CSECOM task in the C<strong>VM</strong>s of all the systems in the CSE complexto initiate the cross system spool facility.Note: You may place the START CSECOM comm<strong>and</strong> in the PROFILE P<strong>VM</strong>file on the C<strong>VM</strong> user ID at a later time.Networking Implications of CSEA single <strong>VM</strong> system may be a node in many different kinds of networks, all of whichrequire their own independent form of definition <strong>and</strong> control. CSE does notintroduce any new networking mechanism, but it does have an effect on thedefinition of network nodes. In general terms, the following kinds of networks aretypically found on <strong>VM</strong> systems:vvvRSCSP<strong>VM</strong>SNA.RSCS Networks: Users communicate with each other over an RSCS network byusing RSCS service virtual machines, <strong>and</strong> they communicate with these servicevirtual machines by means of spool files <strong>and</strong> the SMSG mechanism. Since both ofthese modes are supported across systems by CSE, an entire CSE complex mayappear as a single node on an RSCS network.Users can enter CMS comm<strong>and</strong>s such as SENDFILE <strong>and</strong> TELL to communicateconveniently with users on the same node or on different nodes in an RSCSnetwork. These comm<strong>and</strong>s <strong>and</strong> RSCS network communicating programs use theIDENTIFY comm<strong>and</strong> to determine the user ID of the RSCS virtual machine <strong>and</strong> theRSCS node name of the system on which they are operating. The source of thedata supplied by the IDENTIFY comm<strong>and</strong> is a CMS file, usually found on the Sdisk, named SYSTEM NETID. If your installation uses a single RSCS node, this fileis the same for all systems in the CSE complex. Comm<strong>and</strong>s <strong>and</strong> programs such asSENDFILE <strong>and</strong> TELL operate the same way in the complex as they do on a singlesystem.There is no systematic relationship between the RSCS node name (as specified inSYSTEM NETID) <strong>and</strong> any of the node name specifications of the other networkingmechanisms that may be in use, or any of the CSE complex system names.P<strong>VM</strong> Networks: P<strong>VM</strong> uses the logical device facility to allow users to log on tohost machines. Since this mode is not supported across a CSE complex, eachsystem in the complex appears to the P<strong>VM</strong> network as a single node. In otherwords, for P<strong>VM</strong> purposes the CSE complex does not exist.Network node definitions for P<strong>VM</strong> are in the P<strong>VM</strong> CONFIG file on the P<strong>VM</strong> servicemachine’s A disk. Again, there is no systematic relationship between the P<strong>VM</strong> nodename <strong>and</strong> any of the node name specifications of the other networkingChapter 10. Setting Up Cross System Extensions (CSE) 357


Enabling CSEmechanisms, or any of the CSE complex system names. It does make sense,however, to define the P<strong>VM</strong> node names for the systems in a CSE complex so thatthey are the same as their CSE system names.SNA Networks: <strong>VM</strong>/VTAM uses <strong>CP</strong> console services (CCS) to allow users to logon to host machines. Since this mode is not supported across a CSE complex,each system in the complex appears to the SNA network as a single node, <strong>and</strong> forSNA purposes the CSE complex does not exist.Network node definitions for SNA are contained in data files managed by VTAM <strong>and</strong>have no systematic relationship with any of the node name specifications of othernetworking mechanisms or with any of the CSE complex system names. As in thecase of P<strong>VM</strong>, it makes sense to define the SNA node names for the systems in aCSE complex so that they are the same as their CSE system names.AdministeringCSEThis section is to help you manage CSE as part of your system resources. Theinformation describes the cross system link, the CSE area, <strong>and</strong> cross systemspooling.How Linking Works in z/<strong>VM</strong>The unit of data control on z/<strong>VM</strong> systems is the minidisk. A minidisk is defined to<strong>CP</strong> by specifying in the <strong>CP</strong> directory the DASD volume on which it is located, thecylinder on which it starts, <strong>and</strong> the number of cylinders it encompasses. You shouldavoid defining minidisk extents that overlap.The <strong>CP</strong> directory controls access to all minidisks. The <strong>CP</strong> LINK comm<strong>and</strong> is themechanism by which virtual machines are connected to a particular minidisk.Access may be read-only (R/O) or read/write (R/W). A user with the necessaryauthorization may use stable read, stable write, exclusive read, or exclusive writeaccess.By linking to another user’s minidisk, users can share data, usually CMS files. Theaccess method that controls the updating of data on the minidisk is not part of <strong>CP</strong>,but runs in each user’s virtual machine. That access method does not support datasharing. Therefore, any updating of data on minidisks can result in read or writefailures or even data loss.When a link is requested, <strong>CP</strong> finds the status of existing links. It then grants ordenies the requested new link depending on <strong>CP</strong> link protocols. <strong>CP</strong> checks all linksto that same minidisk <strong>and</strong> all minidisks that overlap the cylinders of the requestedminidisk with these exceptions:v If you are requesting a full-pack minidisk, <strong>CP</strong> ignores any smaller minidisks thatmay be active on that same DASD.v If you are requesting a smaller-than-full-pack minidisk, <strong>CP</strong> ignores any full-packminidisks that may be active on that same DASD.Defining full-pack/smaller-than-full-pack minidisk overlap compromises the dataintegrity otherwise guaranteed by the stable <strong>and</strong> exclusive link access modes,because a full-pack minidisk can be exclusive write at the same time that a smallerminidisk on that same DASD is exclusive write. If you define such overlap, youassume responsibility for data integrity.358 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Administering CSEDASD RESERVE/RELEASE processing is not designed to h<strong>and</strong>le overlappingminidisks <strong>and</strong> will issue a virtual reserve for each of the two overlapping minidisks.If you define such overlap, you assume responsibility for data integrity.To maintain data integrity you must control the use of the comm<strong>and</strong> DEFINEMDISK <strong>and</strong> of DIAGNOSE code X'E4' for full-pack overlay. These are two powerfulvariants of LINK which must be used carefully or not at all to maintain data integrity.How CSE Extends LinkingCross system link extends the <strong>CP</strong> LINK comm<strong>and</strong>. When multiple <strong>VM</strong> systems areconnected in a CSE complex, <strong>CP</strong> LINK protection includes all minidisks defined incommon across the CSE complex. Thus, users on any of these systems can enterLINK comm<strong>and</strong>s without regard to which system they are actually logged on to.From the general user’s point of view, cross system link functions in the samemanner that the current <strong>CP</strong> LINK comm<strong>and</strong> does <strong>and</strong> is therefore transparent.To record <strong>and</strong> interrogate the types of links outst<strong>and</strong>ing on all interconnectedsystems, CSE uses channel programs that work with CKD DASD, including ECKDcapable CKD DASD. Cross system link does not work with fixed-block architecture(FBA) DASDs.The hardware facility reserve/release is not used.It is important that the CSE area not be updated inadvertently by any program otherthan <strong>CP</strong>. If you do not specify a particular location in the system configuration file,CSE initializes the CSE area starting on cylinder 0, track 1, when you enter theXLINK FORMAT comm<strong>and</strong>. This is described under “Generating the Cross SystemLink Facility” on page 349. Since <strong>CP</strong> keeps the volume label <strong>and</strong> allocation mapson cylinder 0, track 0, the default location for the CSE area should be available.Allocate the location you choose for the CSE area as PERM space with the DeviceSupport Facilities program (ICKDSF). The XLINK FORMAT comm<strong>and</strong> allows thesevolumes to be shared by assigning <strong>and</strong> formatting the CSE area.Note: For some device types, the CSE area resides on multiple cylinders. SeeTable 13 on page 365 describing the number of cylinders used for eachdevice. Be careful not to define user minidisks in the space reserved for theCSE area, except for the purpose described under “Generating the CrossSystem Link Facility” on page 349.Controlling Cross System LinkThe lists of shared <strong>and</strong> excluded volumes reside in the system configuration file.The list of shared volumes is in the XLINK_VOLUME_INCLUDE statements. Thelist of volumes to be excluded from sharing is in the XLINK_VOLUME_EXCLUDEstatements.The XLINK RESET comm<strong>and</strong> is provided to recover links <strong>and</strong> prevent lockouts ifone of the systems in the CSE complex fails. This should be used with the cautionsdescribed in the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book.CSEAreaInformation about the state of current links is kept on special tracks (called the CSEarea) on each DASD volume being shared. To see these link indicators, use theXLINK DISPLAY comm<strong>and</strong> (see the z/<strong>VM</strong>: CMS Comm<strong>and</strong>s <strong>and</strong> Utilities Referencebook).Chapter 10. Setting Up Cross System Extensions (CSE) 359


Administering CSEThe CKD cross system link support uses a single track on each real DASD volumeto hold information about the status of links to each of the minidisks contained onthat volume. This information is contained in map records. There is one map recordfor each system in the complex <strong>and</strong> one byte in each map record for each cylinderon the volume. Since CKD minidisks always begin on a cylinder boundary, aparticular byte in a particular map record can represent the status of a particularsystem’s links to a particular minidisk on that real DASD volume. A single channelprogram is used to interrogate <strong>and</strong> update the map records for each link mode. SeeFigure 19 on page 362 for an example of the format of a CKD formatted CSE area,<strong>and</strong> see Figure 20 on page 363 for an example of map records for a CKD formattedCSE area.The ECKD cross system link support uses multiple tracks on each real DASDvolume to hold information about the status of links to each of the minidiskscontained on that volume. This information is contained in link records. There is onelink record for each system in the complex on each track <strong>and</strong> one half byte in eachlink record for each cylinder on the volume. Each link record is 256 bytes long <strong>and</strong>contains link information for 512 cylinders. Multiple cylinders will be used if thenumber of tracks needed for the CSE area is greater than the number of tracks percylinder. For more details on the XLINK FORMAT comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book. A series of channel programs are used tointerrogate <strong>and</strong> update the link flag. See Figure 21 on page 363 for an example ofan ECKD-formatted CSE area, <strong>and</strong> Figure 22 on page 364 for an example of linkrecords for an ECKD-formatted CSE area.Each link state is signified by the following flags:v A NOLINK flag indicates that no links exist for the minidisk.v A READ flag indicates that read links exist for the minidisk, but write links do not.v A WRITE flag indicates that at least one write link, <strong>and</strong> possibly one or moreread links, exist for the minidisk.v A STABLE READ flag indicates that at least one stable read link, <strong>and</strong> possiblyone or more read links exist for the minidisk. No write links will be granted whilethe STABLE READ flag exists for the minidisk.v A STABLE WRITE flag indicates that one stable write link, <strong>and</strong> possibly one ormore read links exist for the minidisk. No write links will be granted while theSTABLE WRITE flag exists for the minidisk.v An EXCLUSIVE READ flag indicates that one exclusive read link exists for theminidisk. No links will be granted while the EXCLUSIVE READ flag exists for theminidisk.v An EXCLUSIVE WRITE flag indicates that one exclusive write link exists for theminidisk. No links will be granted while the EXCLUSIVE WRITE flag exists for theminidisk.To operate cross system link, the CSE area must be formatted properly. You canuse cross system link only with volumes that are currently attached to the systemby <strong>CP</strong> <strong>and</strong> that have been formatted by the cross system link facility utility (XLINKFORMAT comm<strong>and</strong>). Cross system link cannot support DASD that have not beenformatted by this program or that are attached to virtual machines.The cross system link facility utility writes the map records <strong>and</strong> other controlinformation on the CSE area of each volume. The cylinder containing the CSE areamust have been allocated as PERM space. Make sure that no user minidisks are360 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Administering CSEallocated on that cylinder. No program other than <strong>CP</strong> should have write access tothe CSE area of any volume attached to the system, lest it be inadvertentlychanged.Since the CSE area for each shared volume is on that volume, any damage to thevolume results in a loss of access to that volume only. A DASD hardware failure ona CSE complex has no greater impact than that on a single <strong>VM</strong> system withoutCSE.Location of the CSE AreaThe CSE area may be placed at any unused location on a volume. If no other areawas specified, <strong>CP</strong> uses the default location of cylinder 0, track 1, for the CSE area.<strong>CP</strong> keeps the volume label <strong>and</strong> allocation maps on cylinder 0, track 0. Therefore,the remaining tracks on cylinder 1 are available. Regardless of the location of theCSE area, it should be allocated as PERM space. For some device types, the CSEarea resides on multiple cylinders. See Table 13 on page 365 describing thenumber of cylinders used for each device.CSE needs to update information about links only when the first link to that minidiskoccurs, when a link higher than any other links to that minidisk occurs, or the lastlink of that type is detached. Thus, the first link to a minidisk causes the disk arm tomove to the CSE area, but subsequent links may not.To reduce the need for, <strong>and</strong> frequency of, input/output (I/O) to CSE areas, theprimary read-only (RR) link mode should be used in LINK comm<strong>and</strong>s <strong>and</strong> directorycontrol statements whenever possible. Since RR links are always granted once anynonexclusive link exists on a given system, CSE is not concerned with theinformation on the CSE area.If the disk arm does move, it moves to the CSE area, which defaults to track 1 ofcylinder 0. If a minidisk is frequently linked (more than once a second) in a modeother than RR, or if the type of access changes frequently from R/O to R/W, it maybe useful to move that minidisk as close to the CSE area as possible. This avoidslong seeks on every LINK comm<strong>and</strong>. Alternatively, the CSE area could be moved toa different position on the volume, closer to the high-usage minidisk.Protecting the CSE AreaTo protect the CSE areas from inadvertent assignment as user’s minidisk space, itmay be helpful to assign a NOLOG user ID to the cylinder on which the arearesides. Access to the cylinder containing the CSE area must be strictly controlled.Placing of the CSE AreaFigure 19 on page 362 illustrates the general format of a CKD-formatted CSE areain an n-system complex.Chapter 10. Setting Up Cross System Extensions (CSE) 361


Administering CSE┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐ ┌───────┐ ┌───────┐ ┌───────┐│ │ │ │ │ │ │ │ ││ │ ... │ │ │ │ │ │ ... │ │ │ │ │└──────┘ │ └──────┘ └──────┘ │ │└──────┘ └──────┘ │ │ └───────┘ └───────┘ │ └───────┘Header │ System 1 ... System n │ │System 1 System n │ │ │ ClearRecord │ │ │ │ │ │ Record│ │ │ │ │ ││ │ │ │ │ │└───────────────────────┘ └──────────────────────┘ └─────────────────────────┘Map Records Key Records Flag RecordsFigure 19. Format of a CKD-Formatted CSE Area for an n-System Complex1 Header Record Contains 240 bytes of cross system link generalinformation.n Map Records One record per system, each containing linkinformation for a cylinder on the volume. The lengthof the data area is greater than or equal to thenumber of cylinders on the volume.n Key Records One record per system, each containing 1 byte ofirrelevant information. The key area is used as acomparison argument.7 Flag Records Each record contains a byte representing NOLINK,READ, WRITE, STABLE READ, STABLE WRITE,EXCLUSIVE READ, or EXCLUSIVE WRITE linkflags.1 Clear Record Contains in all bytes NOLINK link flags. The lengthis the same as a map record.n is the number of map records on this track. The number of sharing systemscannot exceed this value. The recommended value for n is equal to themaximum track capacity. If it is necessary to change this value, use the RECS=oper<strong>and</strong> on the XLINK_DEVICE_DEFAULTS statement (page“XLINK_DEVICE_DEFAULTS Statement” on page 259) <strong>and</strong> the CYLINDERoper<strong>and</strong> on the XLINK_VOLUME_INCLUDE statement (page“XLINK_VOLUME_INCLUDE Statement” on page 268).The number of map records used should equal the number of systems that yourCSE complex supports.Map records show the state of the existing links on the CSE systems. Figure 20 onpage 363 is an example.362 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Administering CSE┌──────────────────────────────────────────Byte │ 0 │1 │2Position │ 0 1 2 3 4 5 6 7 8 9│0 1 2 3 4 5 6 7 8 9│0└─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │Map record 1, for system1: 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 ...Map record 2, for system2: 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 3 1 1 1 1 1 ...Map record 3, for system3: 0 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 ...Map record 4, for system4: 4 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 6 1 ...0 is the READ flag.1 is the NOLINK flag.2 is the WRITE flag.3 is the STABLE READ flag.4 is the STABLE WRITE flag.5 is the EXCLUSIVE READ flag.6 is the EXCLUSIVE WRITE flag.Figure 20. Sample Map Records for a CKD-Formatted CSE Area for a Four-System ComplexThese map records show that:v System1 has write links to a minidisk beginning at cylinder 3 <strong>and</strong> stable readlinks to a minidisk beginning at cylinder 15.v System2 has an exclusive read link to a minidisk beginning at cylinder 6 <strong>and</strong>stable read links to a minidisk beginning at cylinder 15.v System3 has read links to minidisks beginning at cylinders 0, 3, <strong>and</strong> 11.v System4 has a stable write link to a minidisk beginning at cylinder 0, write linksto minidisks beginning at cylinder 11, <strong>and</strong> an exclusive write link to a minidiskbeginning at cylinder 19.Figure 21 illustrates the general format of an ECKD-formatted CSE area in ann-system complex.TRACK 1 ┌────────────┐│ │ Header Record└────────────┘───┐TRACK 2 ┌────────────┐ ┌────────────┐ ││ │ .... │ │ │└────────────┘ └────────────┘ │. System 1 System n │. │ LINK. │ RecordsTRACK i ┌────────────┐ ┌────────────┐ ││ │ .... │ │ │└────────────┘ └────────────┘ │System 1 System n ───┘Figure 21. Format of a CKD-Formatted CSE Area for an n-System Complex1 Header Record Contains 56 bytes of cross system link generalinformation.n*i LINK Records Of length 256 bytes. Contains link information for512 cylinders on the volume. Record X on track 2Chapter 10. Setting Up Cross System Extensions (CSE) 363


Administering CSErepresents cylinders 0–511 for system X. Record Xon track 3 represents cylinders 512–1023 forsystem X.n is the number of link records on each track, which is the number of systemsdefined as sharing minidisks with cross system link. If it is necessary to changethis value, use the RECS= oper<strong>and</strong> on the XLINK_DEVICE_DEFAULTSstatement (page “XLINK_DEVICE_DEFAULTS Statement” on page 259) <strong>and</strong>the MAP_RECORDS oper<strong>and</strong> on the XLINK_VOLUME_INCLUDE statement(page “XLINK_VOLUME_INCLUDE Statement” on page 268).Note: For some devices, the CSE area does not fit on one cylinder so multiplecylinders are used. See Table 13 on page 365 describing the number ofcylinders used for each device.i is the number of tracks needed to hold link records with link information for atleast the number of cylinders on this volume. If it is necessary to change thisvalue, use the RECL= oper<strong>and</strong> on the XLINK_DEVICE_DEFAULTS statement(page “XLINK_DEVICE_DEFAULTS Statement” on page 259) <strong>and</strong> theMAP_RECORD_LENGTH oper<strong>and</strong> on the XLINK_VOLUME_INCLUDEstatement (page “XLINK_VOLUME_INCLUDE Statement” on page 268).Figure 22 is an example of link records for an ECKD-formatted CSE area.┌────────────────────────────────────────────Byte │ 0 │Position │ 0 1 2 3 4 5 6 7 8 9 │└─────┬───┬───┬───┬───┬───┬───┬───┬───┬──────│ │ │ │ │ │ │ │ │Link record 1, for system1: 0 0 0 4 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 ...Link record 2, for system2: 0 0 0 0 0 0 5 0 0 0 0 0 0 0 0 2 0 0 0 0 ...Link record 3, for system3: 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 ...Link record 4, for system4: 3 0 0 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 6 ...0 is the NOLINK flag.1 is the READ flag.4 is the WRITE flag.2 is the STABLE READ flag.3 is the STABLE WRITE flag.5 is the EXCLUSIVE READ flag.6 is the EXCLUSIVE WRITE flag.Figure 22. Sample Link Records for an ECKD-Formatted CSE Area for a Four-SystemComplexThese LINK records are on track 2 of the CSE area <strong>and</strong> show that:v System1 has write links to a minidisk beginning at cylinder 3 <strong>and</strong> stable readlinks to a minidisk beginning at cylinder 15.v System2 has an exclusive read link to a minidisk beginning at cylinder 6 <strong>and</strong>stable read links to a minidisk beginning at cylinder 15.v System3 has read links to minidisks beginning at cylinders 0, 3, <strong>and</strong> 11.v System4 has a stable write link to a minidisk beginning at cylinder 0, write linksto a minidisk beginning at cylinder 11, <strong>and</strong> an exclusive write link to a minidiskbeginning at cylinder 19.364 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Administering CSEDefault Values for the CSE Area: The defaults in the CSE system tables aresuch that the cross system link facility utility formats each volume with themaximum number of map records that can be recorded on 1 track forCKD-formatted DASDs. The same defaults are used for ECKD capable CKDDASDs even though the maximum number allowed is higher. Table 13 shows, bydevice type, the default number of map records, (which is also the number ofsystems that can be supported for cross system link) <strong>and</strong> the default map recordlengths.Table 13. Defaults for the CSE AreaDevice Type Number of MapRecords3330 (3350 in 3330compatibility mode)Map Record Length Number ofcylinders neededfor CSE area8 808 13340 4 696 13350 15 555 13375 12 959 13380 type K 8 2655 13380 non-type K 11 1770 13390-1 12 1113 13390-2 8 2226 13390-3 8 3339 13390-9 56 65520 99345-1 12 1440 19345-2 8 2156 1Other 8 1024 1Note: These defaults support CKD <strong>and</strong> ECKD capable CKD DASDs. FBA is not supported.The length of each map record is the maximum number of cylinders on any currentlyexisting model of that device type.Note: The NUMBER OF CYLINDERS NEEDED FOR CSE AREA is for ECKD-capableDASD only. If the last cylinder on the volume is specified for the CSE area <strong>and</strong> multiplecylinders are needed, the CSE area will not wrap to the beginning of the volume for theother CSE area cylinders.Eight records are defined for other devices, but the actual number of records usedis limited to the number that fit on a track of such other device.<strong>VM</strong> I/O Performance Measurement for Shared DASDThe z/<strong>VM</strong>: Performance book describes <strong>CP</strong> monitoring in detail. When you areusing CSE, the information received when you request seek domain monitoring maybe misleading. To measure use of a shared DASD accurately, you need to usehardware measuring methods.<strong>CP</strong> monitor can function on only one system; it cannot determine the effect thatrequests for shared DASD made by each system in a CSE complex have on thatdevice.Except for DASD performance, measuring performance within a CSE complex isthe same for the same systems operating independently.Chapter 10. Setting Up Cross System Extensions (CSE) 365


Administering CSEComplexes with 3380-13 <strong>and</strong> 3380-23 cache controllers installed should considersharing minidisks, even heavily used ones, by caching them. These cachecontrollers reduce mechanical I/O activity <strong>and</strong> therefore device contention that maybe caused by either cross-system or single-system activity.What Is Cross System Spool?Figures 23 through 25 show how cross system spool works in a four-systemcomplex.System1System2 System3 System4OriginalSpoolFileThe user:1. Logs on to system12. Creates a reader spool file on system1.Figure 23. Cross System Spool–Step 1366 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Administering CSESystem1OriginalSpoolFileSystem2 System3 System4CopySpoolFileBlockThe user:1. Logs off from system1.2. Logs on to system4. System1 sends system4 a copy of the spool file block fromthe original spool file.3. Sees the spool file as being on system4. The user can process the spool file.Figure 24. Cross System Spool–Step 2System1OriginalSpoolFileSystem2 System3 System4CopySpoolFile BlockDeletedThe user:1. Logs off from system42. Logs on to system13. Processes the reader spool file on system1 again.The copy of the spool file block on system4 is deleted.Figure 25. Cross System Spool–Step 3How CSE Extends SpoolingWith cross system spool, the <strong>CP</strong> spooling system can include up to four z/<strong>VM</strong>systems connected in a CSE complex. The connection mechanism used requiresshared DASD hardware <strong>and</strong> a <strong>VM</strong>/Pass-Through Facility network.Chapter 10. Setting Up Cross System Extensions (CSE) 367


Administering CSEWithin the CSE complex, users have a single logical view of all their spool files.Spooling devices (such as printers) are still controlled by the spooling operatorlogged on to the system that physically controls those devices. Users logged on toone of these systems can access all of their spool files regardless of which systemthey have logged on to for that session. They can transfer these files to other usersor to service virtual machines anywhere in the CSE complex. They can selectprinters <strong>and</strong> other spool output devices for processing spool files created by anyuser in the CSE complex. Thus, end-user view of spooling is nearly transparent.Although the <strong>CP</strong> comm<strong>and</strong>s that manipulate spool files operate differently internally,additional user options or parameters are not required.Cross system spooling enables <strong>CP</strong> spooling functions on each system in thecomplex to manage <strong>and</strong> share spool files cooperatively. Because of this, when allthe systems are operating normally, there is little awareness of CSE <strong>and</strong> no specialmeasures are required either for users or for operators. For example, a printer poolthat might formerly have resided on one system <strong>and</strong> have been reached by userson other systems over a network connection appears local to each user, regardlessof which system in the CSE complex that user is on. The files to be printed appearto the spooling operator to be local to the system on which the printers are active.Operator intervention is required for proper h<strong>and</strong>ling of scheduled or unscheduledsystem outages.Cross system spool is concerned only with closed spool files <strong>and</strong> not with theallocation of <strong>CP</strong> spool space. Each system has its own set of spooling disks toallocate from exclusively. All other <strong>CP</strong> systems within the CSE complex have read<strong>and</strong> write access to these spool disks because they are on shared DASDs. Theseother systems, however, cannot allocate or release space on these volumes.The system on which a spool file is created owns the spool space. The spooldescriptor on the system where the file was created is called an original spooldescriptor. The identity of the originating system, the one that owns the spool spacethe file occupies, is kept in the spool descriptor. Another system may receive a copyof the original spool descriptor, which is known as a copy spool descriptor. Copyspool descriptors may be deleted by any of the sharing systems, but the actualreturning of spool file resources is performed by the originating system. Eachsystem has peer status. This means that each system has responsibility for itsoriginal spool descriptors <strong>and</strong> for keeping the other systems’ copy spool descriptorsup to date.CSE tries to minimize the number of copy spool descriptors by capitalizing on theinherent differences between input <strong>and</strong> output spool files. Output spool files must beavailable on all systems so that they can be h<strong>and</strong>led by real printers or punches.Input spool files must be available only on the system where their owning user ID isactive.Because more users are involved, the number of spool file blocks in a CSEcomplex may easily exceed the number normally expected on a single system.Across the CSE complex, the total amount of main storage required for original <strong>and</strong>copy spool file blocks increases each time a system receives a copy spool fileblock.z/<strong>VM</strong> Spooling Comm<strong>and</strong>s Extended by CSECross system spool extends the scope of the following <strong>CP</strong> comm<strong>and</strong>s to apply tospool files anywhere in the CSE complex:vvCHANGEORDER368 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Administering CSEvPURGEv QUERY FILESv QUERY { READER │ PRINTER │ PUNCH } ALTIDv QUERY { READER │ PRINTER │ PUNCH } XFERvvTAGTRANSFER.The syntax <strong>and</strong> oper<strong>and</strong>s of these comm<strong>and</strong>s are unchanged by CSE.<strong>CP</strong> spooling comm<strong>and</strong>s, such as PURGE <strong>and</strong> CHANGE, normally access only filesthat are not locked at all or that are locked by the system on which the comm<strong>and</strong>was entered. For example, suppose that the system on which a comm<strong>and</strong> has beenissued is referred to as systemA. Suppose that another system involved in theexecution of the comm<strong>and</strong> is referred to as systemB.Most spooling comm<strong>and</strong>s directly process only original spool files, that is, spool filescreated on systemA. Comm<strong>and</strong>s, such as TRANSFER <strong>and</strong> CHANGE, that try tomodify the status of copy spool descriptors are sent to the system that originatedthe spool file, systemB, for processing. (Copy spool descriptors are those createdby another system in the CSE complex.) These comm<strong>and</strong>s are executed onsystemB exactly as they were entered on systemA, as if the user had actuallyentered the comm<strong>and</strong> on systemB.A copy of the spooling comm<strong>and</strong> is sent to another system whenever a c<strong>and</strong>idatespool file is found that is a copy of an original spool file owned by that system. Thisconcept reduces the amount of additional CSE processing necessary to process <strong>CP</strong>spooling comm<strong>and</strong>s across the CSE complex.The TAG <strong>and</strong> PURGE comm<strong>and</strong>s are exceptions. TAG information is not kept in thespool descriptor but is on a DASD. Also, all systems actually have shared R/Waccess to that DASD. Thus, systemA performs the comm<strong>and</strong> directly, whether it isthe originating system or not. PURGE does not modify the spool descriptor, butmerely obtains the file’s lock <strong>and</strong> deletes the file.SPOOL comm<strong>and</strong>s, such as SPOOL PRINTER HOLD, that refer to virtual devicesrather than to spool files are executed only on the system on which they areentered.Copy Input (Reader) Spool FilesWhen an original spool descriptor is closed <strong>and</strong> placed on the input queue <strong>and</strong> theowner is logged on to the same system, a copy spool descriptor is not sent toanother system. There is just one original spool descriptor for this spool file. If theowner is logged on to another system but is not logged on to the originatingsystem, a copy input spool descriptor is sent to the system that the user is currentlylogged on to. In this case, the original spool descriptor <strong>and</strong> one copy spooldescriptor exist. If the owner is not logged on, only the original spool descriptor onthe originating system exists.When a user logs on, all other systems in the CSE complex send a copy of anyavailable input (reader) spool descriptors owned by the user to the system wherethe user is logged on. A copy input spool descriptor exists on a system as long asthe owner remains logged on to that system, assuming nothing is done to changeits place in the input queue. When a user logs off, all copy input spool descriptorson that system will be deleted. Only the original spool descriptors remain on theoriginating system.Chapter 10. Setting Up Cross System Extensions (CSE) 369


Administering CSENote: If a reader spool file is being dumped to tape by the SPXTAPE DUMPcomm<strong>and</strong> on the originating system, <strong>and</strong> the owner of the file is logged on toanother system in the CSE complex, there is no indication to the ownerduring the dump that the file is not available.Copy Output (Print <strong>and</strong> Punch) Spool FilesA copy spool descriptor is sent to all the other systems when an original spool file isadded to the output queue. The spool descriptor remains on each system until it isprocessed, purged, or transferred to the input queue. When a copy output spooldescriptor is transferred to the input queue <strong>and</strong> the owner is logged on to thesystem that initiated the transfer, the copy output spool descriptor becomes a copyinput spool descriptor <strong>and</strong> the original output spool descriptor becomes an originalinput spool descriptor. If the owner is not logged on to the system that originatedthe transfer, the copy output spool descriptor is deleted <strong>and</strong> the original outputspool descriptor becomes an original input spool descriptor.When a system receives a copy spool descriptor, it allocates the same spool ID forthe file as the original, or it does not allow the copy spool descriptor to remain onthis system. A file’s spool ID is always the same throughout the complex. Since anysystem can process an output spool file, whether the user is logged on or not,output spool files always exist on all the systems in the CSE complex.Spool File NumberingSee “Spool File Directory Statements” on page 341 for a description of how themaximum number of spool files is determined.Spool files for any given user are assigned spool ID numbers starting from 0001<strong>and</strong> proceeding to 9999, or to the MAXSPOOL limit if a SPOOLFILE statement wasspecified in that user’s directory entry. In a z/<strong>VM</strong> system without CSE, these spoolID numbers start at 1 <strong>and</strong> increment by 1 for each new spool file owned by thatuser. When CSE is installed, the increment <strong>and</strong> the initial value of the spool IDnumbers depend on the relative position of the system on which the spool file iscreated in the list of systems in the CSE complex. This is done so that no user hasmore than one spool file with any given spool ID number.If only two systems are in the CSE complex, spool files created on one system areassigned all the odd numbers from 0001 to MAXSPOOL, <strong>and</strong> those created on theother system are assigned all the even numbers in the same range. If threesystems are specified, spool ID numbers for spool files created on any system1start at 0001, on system2 at 0002, <strong>and</strong> on system3 at 0003. If four systems arespecified, spool ID numbers for spool files created on any system1 start at 0001, onsystem2 at 0002, on system3 at 0003, <strong>and</strong> on system4 at 0004.The number by which the spool ID number is incremented is the same as thenumber of systems in the complex. For example, in a two-system complex, 2 isadded to each spool ID number to create the next; in a three-system complex, 3 isadded to that number, <strong>and</strong> so on.Access to Spool FilesPrivileged users have access to all output spool files from any of the coupledsystems. Privileged users can access the reader files of other users only on thesystem where the owner is logged on <strong>and</strong> on the system having the original spooldescriptor.However, since privileged users need access only to the spool files that the systemcan process or to the input files that exist on their system, this is not a limitation.370 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


<strong>VM</strong>/Pass-Through Facility Functions for Cross System SpoolThe <strong>VM</strong>/Pass-Through Facility is used to communicate among systems within theCSE complex. The virtual machine that runs the <strong>VM</strong>/Pass-Through Facility for thispurpose is called the communication virtual machine (C<strong>VM</strong>). The <strong>VM</strong>/Pass-ThroughFacility supports either binary synchronous communication (BSC) lines orchannel-to-channel adapters (CTCAs). Though CSE supports BSC for itsoperations, BSC lines are not recommended, because they are too slow.Each C<strong>VM</strong> is a <strong>VM</strong>/Pass-Through Facility virtual machine. There is a control task,CSECOM, in each C<strong>VM</strong> for each system within the CSE complex. When foursystems are connected <strong>and</strong> accessing each other’s spool files, three CSECOMtasks are started <strong>and</strong> active on each system. A CSECOM task may be started byan authorized <strong>VM</strong>/Pass-Through Facility user or as part of the <strong>VM</strong>/Pass-ThroughFacility virtual machine initialization.A CSECOM task:v Synchronizes spool filesv Communicates with <strong>CP</strong>v Sends data to, <strong>and</strong> receives data from, another CSECOM task.<strong>CP</strong> communicates with the <strong>VM</strong>/Pass-Through Facility virtual machine using theVirtual Machine Communication Facility (<strong>VM</strong>CF).Synchronization takes place:v Each time the CSECOM task starts upv When another system requests synchronizationAdministering CSEv When a <strong>CP</strong> spool comm<strong>and</strong> detects a problem requiring synchronization.CSE queues requests to be sent to the other systems, such as requests to lock,unlock, or delete spool files. The CSECOM task associated with a particular systemwithin the CSE complex is posted when a request item is queued to be sent to thatsystem. The CSECOM task reads the request <strong>and</strong> then sends it to the CSECOMtask on the other system. There the requests are received by the CSECOM task,passed to <strong>CP</strong>, <strong>and</strong> serviced.The <strong>VM</strong>/Pass-Through Facility virtual machine controls the CTCA line hardware thatconnects the systems. This minimizes the communication hardware necessary tocouple systems <strong>and</strong> allows the sharing of any existing hardware connection withother <strong>VM</strong>/Pass-Through Facility tasks. The <strong>VM</strong>/Pass-Through Facility virtualmachine h<strong>and</strong>les the connection, reconnection, rerouting, <strong>and</strong> the other lineproblems associated with communication service.Spool Synchronization Request TracingCSE maintains a trace of requests to synchronize spool files among systems withinthe CSE complex. The trace entries record why the synchronization was requested<strong>and</strong> which module caused it. A synchronization request can be lost because ofprogramming errors or hardware problems in the link between C<strong>VM</strong>s. The traceentries identify the source of the error.Multiple Concurrent Logon SessionsCSE prevents a user from logging on with the same user ID concurrently on morethan one system within the CSE complex. However, sometimes (primarily whenoperational <strong>and</strong> service virtual machines are involved) multiple concurrent logonsessions with the same user ID are useful. Excluding a user ID from cross systemChapter 10. Setting Up Cross System Extensions (CSE) 371


Administering CSEspooling is done using the XSPOOL_XLIST_INPUT statement (page 274) <strong>and</strong> theXSPOOL_XLIST_OUTPUT statement (page 276).The user IDs specified are excluded from cross system spooling but can log on tomultiple systems.Note: The lists of excluded user IDs must be the same for every system in theCSE complex.For information about creating a single source directory for a CSE complex, refer toz/<strong>VM</strong>: Directory Maintenance Facility Comm<strong>and</strong>s Reference.Preparing to Deal with OutagesIf the hardware of a system in the CSE complex should fail, both the users of thatsystem <strong>and</strong> other users throughout the CSE complex may be affected. If the outageis a long one, the option to continue service should be available by operating thefailed system’s software in a virtual machine on a remaining system.You should be aware that virtual operation makes spool files created on the downsystem available to all users of the CSE complex. For performance, during thisbackup mode of service, users should use <strong>and</strong> applications should run on, the othersystems within the CSE complex whenever that is practical.For each system in the CSE complex, an entry in the single source directory shouldbe created with the following information:v Full-pack minidisk definitions should be included for each volume in the list of<strong>CP</strong>-owned volumes.v Full-pack minidisk definitions should be included for each volume containingminidisks required during the period of virtual operation. If the number of users<strong>and</strong> applications supported during this period is limited, not all minidisk volumesmay be required.v DEDICATE directory control statements should be included for the realchannel-to-channel adapters (CTCAs) or <strong>IBM</strong> 3088 ports used to connect thedown hardware with the other systems within the CSE complex. If the realhardware is not available when virtual operation is required, virtual CTCAs canbe defined to connect the virtual system with its host. If more than two systemsare in the complex, you may have to change P<strong>VM</strong> CONFIG files of some C<strong>VM</strong>s.v Terminal definitions, as required, should be included if users are to be permittedto use the DIAL comm<strong>and</strong> to access this system from the host.The z/<strong>VM</strong>: System Operation book describes how to respond to outages.Returning to Non-CSE OperationIf you disable CSE from your complex, you must do the following:v Distribute spool files to their owners using RSCS or the SPXTAPE comm<strong>and</strong>.v Assign users to one particular system.v Duplicate the once-common source directory, <strong>and</strong> provide a copy for each of thenow separate systems.v If you are using DIRMAINT Release 5 to synchronize directories, define a servicevirtual machine using that program for each system.v Delete MDISK statements defining minidisks that will not exist on a particularsystem from that system’s user directory.372 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 11. Customizing the <strong>CP</strong> Message Function▌PI▐You can customize the <strong>CP</strong> message function for your installation by adding code tomodule H<strong>CP</strong>MSU, as described in this chapter. H<strong>CP</strong>MSU is an installation-wideexit.<strong>CP</strong> Exit 1210 is provided to allow that same tailoring of the system. If this exit pointis activated then the H<strong>CP</strong>MSU installation code will not be invoked. For moreinformation on <strong>CP</strong> Exit 1210, see the z/<strong>VM</strong>: <strong>CP</strong> Exit Customization book.H<strong>CP</strong>MSUModuleModule H<strong>CP</strong>MSU allows alteration of the following message function comm<strong>and</strong>s:MESSAGE, MSGNOH, SMSG, <strong>and</strong> WARNING. You can include code in thismodule to do any of the following:v Add further verificationv Change the format or context of the messagev Alter parameters that control the way the message is displayed on the screenv Process installation-defined message comm<strong>and</strong> options.H<strong>CP</strong>MSU is included in the <strong>CP</strong> module at system generation. Later, during systemoperation, when a user issues a message comm<strong>and</strong>, the <strong>CP</strong> message function callsH<strong>CP</strong>MSU before sending the formatted message to the designated receiver. If nocode has been added to H<strong>CP</strong>MSU, the module performs no meaningful function.H<strong>CP</strong>MSU contains one entry point, H<strong>CP</strong>MSUEX. Figure 26 provides an overview ofthe <strong>IBM</strong>-supplied H<strong>CP</strong>MSU module, showing the entry point <strong>and</strong> the area whereyou can add your own source code.COPY H<strong>CP</strong>OPTNSH<strong>CP</strong>MSU H<strong>CP</strong>PROLG ATTR=(RESIDENT),BASE=(R12)*COPY H<strong>CP</strong>EQUAT common system equatesCOPY H<strong>CP</strong>SAVBK savearea block*H<strong>CP</strong>MSUEX H<strong>CP</strong>ENTER CALL,SAVE=DYNAMIC****************************************************************** Installation-supplied code can be inserted here.*****************************************************************SLR R15,R15 Set return code of 0MSUEXEND DS 0H Load regs <strong>and</strong> exitST R15,SAVER15 Store return codeL R11,SAVER11 Restore register 11H<strong>CP</strong>EXIT EP=H<strong>CP</strong>MSUEXH<strong>CP</strong>DROP R13*H<strong>CP</strong>EPILGFigure 26. Module H<strong>CP</strong>MSU OverviewH<strong>CP</strong>MSU has the following requirements <strong>and</strong> restrictions:1. H<strong>CP</strong>MSU is written in Assembler H coding language.© Copyright <strong>IBM</strong> Corp. 1991, 2004 373


Customizing Messages2. H<strong>CP</strong>PROLG, H<strong>CP</strong>ENTER, H<strong>CP</strong>DROP, H<strong>CP</strong>EXIT, <strong>and</strong> H<strong>CP</strong>EPILG are<strong>IBM</strong>-supplied macros (in H<strong>CP</strong>PSI MACLIB) that must be preserved in H<strong>CP</strong>MSU<strong>and</strong> used only as shown.3. The attributes of H<strong>CP</strong>MSU must be REENTRANT <strong>and</strong> RESIDENT.4. Links <strong>and</strong> accesses from H<strong>CP</strong>MSU to other modules, data areas, <strong>and</strong> controlblocks are not supported.5. <strong>IBM</strong> reserves the right to modify the code associated with this exit. <strong>IBM</strong> willattempt to make any changes as transparent as possible to the customer.6. Upon entry to H<strong>CP</strong>MSUEX, register 13 points to a save area mapped byH<strong>CP</strong>SAVBK, shown in Figure 5 on page 312. The caller’s registers are saved inthe save area. A ten-fullword work area, beginning at label SAVEWRK, isavailable for use by installation-supplied code.7. Register 11, which points to the address of the dispatched <strong>VM</strong>DBK, <strong>and</strong>Register 13, which points to the address of the save area, must not be modifiedby installation-supplied code.Entry Point H<strong>CP</strong>MSUEXEntry point H<strong>CP</strong>MSUEX supports installation modifications to the MESSAGE,MSGNOH, WARNING, <strong>and</strong> SMSG comm<strong>and</strong>s. If the specified receiver of amessage from one of these comm<strong>and</strong>s is logged on <strong>and</strong> has not turned off displayof that message type (using the SET MSG OFF, SET SMSG OFF, or SET WNGOFF comm<strong>and</strong>), the <strong>CP</strong> message function verifies <strong>and</strong> formats the message, setsup the proper sending parameters, <strong>and</strong> calls H<strong>CP</strong>MSUEX before sending themessage.The <strong>CP</strong> message function uses general-purpose register 1 for input to entry pointH<strong>CP</strong>MSUEX. Register 1 contains the address of a PLIST, which contains a list ofaddresses. Each fullword address points to a parameter being passed to themodule. See “Parameter Values.”Upon return to the <strong>CP</strong> message function from entry point H<strong>CP</strong>MSUEX,general-purpose register 15 must contain one of the following return codes:ValueMeaning0 Normal processing continues.nnnn An error was detected during H<strong>CP</strong>MSUEX exit processing. Theinstallation-defined return code nnnn can be in the range of 0001 to 9999. The<strong>CP</strong> message function stops processing <strong>and</strong> issues the following message:H<strong>CP</strong>MFS6600E An error was detected by installation-wide exitH<strong>CP</strong>MSU — return code nnnn.See z/<strong>VM</strong>: System Messages <strong>and</strong> Codes - <strong>CP</strong> for further information on thismessage.Parameter ValuesGeneral-purpose register 1 contains the address of a PLIST that contains a list ofaddresses, each pointing to a parameter, as shown in the following figure.┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐R1 ──►│ addr. 1 │ addr. 2 │ addr. 3 │ addr. 4 │ addr. 5 │ addr. 6 │ addr. 7 │└────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┘ parm. 1 parm. 2 parm. 3 parm. 4 parm. 5 parm. 6 parm. 7The parameters contain the following values:374 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Customizing Messages1. The first 8 bits of this 32-bit field control the way the message is displayed.More than one bit may be set. You can change the settings to change the waythe message is displayed. The possible values are:ValueMeaningX'80______' A time stamp is appended to the message.X'40______' No time stamp is appended to the message.X'20______' The message is highlighted when displayed.X'10______' The console alarm sounds when the message isdisplayed.X'08______' This is a high-priority message <strong>and</strong> is displayedimmediately.X'04______'–X'______01' Reserved for <strong>IBM</strong> use.Note: If neither of the first two bits, which control the time stamp, are set, thereceiving user’s value is used. If both bits are set, a time stamp isappended.The supplied display values for the message comm<strong>and</strong>s are:Comm<strong>and</strong> Value MeaningMESSAGE X'B0' Time stamp is appended; message is highlighted;console alarm sounds.MSGNOH X'70' No time stamp is appended; message is highlighted;console alarm sounds.SMSG X'00' This type of message is not displayed.WARNING X'B8' Time stamp is appended; message is highlighted;console alarm sounds; message is high-priority,displayed immediately.2. This 32-bit field consists of three subfields:a. The first 8 bits indicate the type of message being processed. You canchange the setting to change the way the message is processed. Note thatif you change this setting, you might also need to change other parameters.The possible values are:ValueMeaningX'80' MESSAGE comm<strong>and</strong> processingX'40' MSGNOH comm<strong>and</strong> processingX'20' SMSG comm<strong>and</strong> processingX'10' WARNING comm<strong>and</strong> processingX'08'–X'01' Reserved for <strong>IBM</strong> useNote: If none of these bits are set, the message type defaults to MESSAGEcomm<strong>and</strong> processing. If more than one bit is set, the messageprocessing is set to the type indicated by the first bit set.b. The next 8 bits indicate which <strong>IBM</strong> class comm<strong>and</strong>s the issuer of themessage is allowed to execute. More than one bit may be set. The settingsare dependent on the privilege class of the issuer of the message as well asthe privilege class of the comm<strong>and</strong> entered. This field is included forreference only. Changes made to this field do not affect the way thecomm<strong>and</strong> is processed. The possible values are:Chapter 11. Customizing the <strong>CP</strong> Message Function 375


Customizing MessagesValueMeaningX'80' <strong>IBM</strong> class A comm<strong>and</strong>sX'40' <strong>IBM</strong> class B comm<strong>and</strong>sX'20' <strong>IBM</strong> class C comm<strong>and</strong>sX'10' <strong>IBM</strong> class D comm<strong>and</strong>sX'08' <strong>IBM</strong> class E comm<strong>and</strong>sX'04' <strong>IBM</strong> class F comm<strong>and</strong>sX'02' <strong>IBM</strong> class G comm<strong>and</strong>sX'01' <strong>IBM</strong> class H comm<strong>and</strong>sX'00' <strong>IBM</strong> class ANYc. The final 16 bits are reserved for <strong>IBM</strong> use.3. This 8-byte field contains the user ID of the issuer of the comm<strong>and</strong>. This field isincluded for reference only. Changes made to this field do not affect the way thecomm<strong>and</strong> is processed.4. This 32-bit field contains the length of the message being processed. It includesthe length of any installation-defined option that has been specified. Changes tothis field might affect the way the message is displayed.5. This 32-bit field contains the address of the message being processed. Foreach type of message, the message buffer looks as follows:Message Type Buffer ContentsMESSAGE * MSG FROM userid : textMSGNOHtextSMSGtextWARNING * WNG FROM userid : textNote: The MESSAGE <strong>and</strong> WARNING messages always contain an initial blank<strong>and</strong> provide eight spaces for the user ID before the colon regardless ofthe actual length of the user ID.Following the text is 100 bytes of unused space which can be used to add to ormodify the existing text. If the length of the message is changed, the length fielddescribed above should be changed to reflect this or not all text will bedisplayed.You can change the address of the message (<strong>and</strong> also the length of themessage, if needed) for such purposes as, for example, pointing around themessage header so it is not displayed. However, when the <strong>CP</strong> messagefunction releases the storage it uses for the message, it releases the storagebased on the address passed to H<strong>CP</strong>MSUEX, not the updated value.6. This 8-byte field contains the user ID of the receiver of the message. If thevalue of the receiver’s user ID is changed, the message is sent to the newreceiver. However, if an error message is issued during normalmessage-function processing, <strong>and</strong> the error message includes the receiver’suser ID, the user ID used in the error message is the one that was passed toH<strong>CP</strong>MSUEX, not the changed value.7. This 32-bit field contains the length of the header for the message beingprocessed. Each message is made up of a header <strong>and</strong> a text portion. Theheader includes the header information <strong>and</strong> the blank delimiter which precedesthe text.The header length is used by the message processing function when messagesare sent across the *MSG, *MSGALL, <strong>and</strong> <strong>VM</strong>CF services. Only the text of the376 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Customizing Messagesmessage is sent. The header is discarded. The header length allows themessage function to determine where the message text begins.Each message type is considered to have a header. For MESSAGE <strong>and</strong>WARNING types, the header length on entry to H<strong>CP</strong>MSUEX is 22 characterslong. For MSGNOH <strong>and</strong> SMSG, the header length on entry to H<strong>CP</strong>MSUEX is 0characters long.The header can be increased or decreased by this exit or by later messageprocessing (for example, when a time stamp is added). SMSG never transmitsthe header while the other types display a header at the terminal if one ispresent.Changing <strong>and</strong> Adding to the <strong>CP</strong> Message FunctionThere are two categories of <strong>CP</strong> message comm<strong>and</strong> modifications:v A global change is one that takes effect each time the comm<strong>and</strong> is used.v A local change is an installation-defined comm<strong>and</strong> option, which takes effect onlywhen the option is used. If you define a new option, you determine where youwant the option to appear in the comm<strong>and</strong> string. For example:MESSAGE userid option textThe <strong>CP</strong> message function processes the option as part of the text <strong>and</strong> passes itto H<strong>CP</strong>MSUEX as such.┌──────────────────────────────────┐ ┌──────────────────────────────────┐│ Message Comm<strong>and</strong> Processor │ ┌►│ H<strong>CP</strong>MSUEX │├──────────────────────────────────┤ │ ├──────────────────────────────────┤│ Do normal processing │ │ │ Check for installation-defined ││ Set up the parameters for the │ │ │ option <strong>and</strong> process accordingly ││ exit call (values set depend │ │ │ Modify parameters as needed, ││ on the message type) │ │ │ such as: ││ Call H<strong>CP</strong>MSUEX to allow │ │ │ - change values of parameters ││ installation modifications │─┘ │ - modify the message format ││ If return code is > 0, issue │◄┐ │ - set appropriate return code ││ error message <strong>and</strong> exit │ │ │ Return ││ Otherwise send the message │ │ └──────────────────────────────────┘│ to the receiver │ │ ││ Return │ └───┘└──────────────────────────────────┘Figure 27. Flow of <strong>CP</strong> Message Function CustomizationFigure 27 illustrates the process of customizing the <strong>CP</strong> message function. Thisprocess is described in the following steps:1. The message comm<strong>and</strong> processor sets up the parameters for the exit call.General-purpose register 1 contains the address of a PLIST that contains a listof addresses, each pointing to a parameter. Parameter values depend on themessage type.2. The message comm<strong>and</strong> processor calls entry point H<strong>CP</strong>MSUEX:a. If you have defined a new message comm<strong>and</strong> option, add code toH<strong>CP</strong>MSUEX to parse the option from the message text <strong>and</strong> process itaccordingly.b. Add code to H<strong>CP</strong>MSUEX to do your global modifications. The processingrequired might depend on the values of the parameters passed toH<strong>CP</strong>MSUEX, which are dependent on the type of message beingChapter 11. Customizing the <strong>CP</strong> Message Function 377


Customizing Messagesprocessed. You can change these values, reformat the message, <strong>and</strong> doadditional verification. See “Parameter Values” on page 374 for a descriptionof each field <strong>and</strong> possible values.c. Set the appropriate return code in general-purpose register 15.d. Return to the message comm<strong>and</strong> processor.3. If general-purpose register 15 is zero, the message is sent to the receiver.4. If general-purpose register 15 is nonzero, the message is not sent to thereceiver <strong>and</strong> error message 6600E is issued.▌PIend▐378 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 12. Security <strong>and</strong> Integrity in z/<strong>VM</strong>Protection against attempts to breach the security of your system <strong>and</strong> againstinadvertently compromising the integrity of your system <strong>and</strong> data should be part ofthe planning <strong>and</strong> administration for your z/<strong>VM</strong> system. z/<strong>VM</strong> has built-in facilities<strong>and</strong> support for products to aid you in this task. This chapter gives you some pointsto consider <strong>and</strong> recommendations to follow that will help you to improve yoursystem security <strong>and</strong> integrity. In particular, this chapter discusses:v <strong>IBM</strong> software products available to enhance the security <strong>and</strong> integrity of yourz/<strong>VM</strong> systemv Points <strong>and</strong> recommendations to consider in enhancing the security <strong>and</strong> integrityof your z/<strong>VM</strong> systemv z/<strong>VM</strong> facilities available for detecting <strong>and</strong> foiling attempts to break systemsecurityv Considerations for maintaining system integrity.Note that these recommendations are optional <strong>and</strong> whether you follow themdepends on the level of security that your installation requires.Security-EnhancingProductsThe following <strong>IBM</strong> software products supported by z/<strong>VM</strong> can be used to enhancethe security <strong>and</strong> integrity of your system:v Resource Access Control Facility (RACF) for <strong>VM</strong>v Directory Maintenance licensed program (DIRMAINT)v Interactive System Productivity Facility (ISPF)Resource Access Control Facility (RACF) for <strong>VM</strong>:v Helps your installation implement its security policyv Identifies <strong>and</strong> authenticates each userv Controls each user’s access to sensitive datav Logs <strong>and</strong> reports events that are relevant to the system’s security.For detailed information on RACF for <strong>VM</strong>, see the following manuals:RACF General InformationSystem Programming Library: RACFRACF Comm<strong>and</strong> Language ReferenceRACF Security Administrator’s GuideRACF Auditor’s GuideRACF Diagnosis GuideDirectory Maintenance Licensed Program (DIRMAINT):DIRMAINT provides a safe, efficient, <strong>and</strong> interactive way to maintain the z/<strong>VM</strong> userdirectory. You can manage the directory with DIRMAINT through the use of itscomm<strong>and</strong>s. Thus, with DIRMAINT, you avert errors that are often made duringdirect updating of the directory source file. You can also use DIRMAINT to auditsecurity of relevant tasks that it performs.Interactive System Productivity Facility (ISPF):© Copyright <strong>IBM</strong> Corp. 1991, 2004 379


Security <strong>and</strong> Integrity in z/<strong>VM</strong>ISPF manages interactive applications <strong>and</strong> provides services to them. It does thisby controlling the interactions of a dialog. In z/<strong>VM</strong>, it can be used to manageDIRMAINT <strong>and</strong> RACF dialogs.Security Considerations <strong>and</strong> GuidelinesTo enhance the security <strong>and</strong> integrity of your z/<strong>VM</strong> system, consider the followingpoints <strong>and</strong> recommendations:v Limit access to READ/WRITE saved segments.v Between the time you initialize z/<strong>VM</strong> <strong>and</strong> the time you initialize RACF/<strong>VM</strong>, thereis a lapse in security. In particular, the OPERATOR <strong>and</strong> AUTOLOG1 virtualmachines run totally unrestrained <strong>and</strong> without audit. To prevent anyone fromtaking advantage of this, take the following precautions:– Initialize RACF/<strong>VM</strong> immediately after you initialize z/<strong>VM</strong>.– Make sure that AUTOLOG1 enables only the RACF service virtual machine<strong>and</strong> no other. Any other virtual machine that must be autologged can beenabled by AUTOLOG2 (for example, the DATAMOVR virtual machine, whichis part of DIRMAINT).– Do not enable general-use console terminals until after you install <strong>and</strong>initialize RACF/<strong>VM</strong>. Enable only the system console <strong>and</strong> keep it under strictphysical security.– Do not perform any major tasks until you install <strong>and</strong> initialize RACF/<strong>VM</strong>.v Use the AUTOLOG function to log on the DATAMOVR virtual machine. When aminidisk is detached by its owner, it still contains data the owner placed on it.Before you reallocate the same minidisk space to another user, this residual datashould be removed. The DATAMOVR virtual machine automates this process.Make sure that the DATAMOVR virtual machine is logged on whenever z/<strong>VM</strong> isinitialized. Place the <strong>CP</strong> AUTOLOG comm<strong>and</strong> for DATAMOVR in the PROFILEEXEC of the AUTOLOG2 virtual machine.v Limit <strong>and</strong> audit access to the system <strong>and</strong> logo configuration files.v Limit <strong>and</strong> audit access to the parm disk <strong>and</strong> all <strong>CP</strong>-accessed disks. Use of thesedisks should be limited to system administrators or system programmers. If theminidisk is simply integrated into the administrator’s or programmer’s virtualmachine, no auditing is possible. One way to audit the disks is to place them in avirtual machine whose user ID is NOLOG. This forces the administrator to usethe <strong>CP</strong> LINK comm<strong>and</strong>—an auditable <strong>and</strong> controllable event—to access thedisks. You can also restrict access <strong>and</strong> control auditing using an external securitymanager, like RACF.v Format any space before converting it to minidisk space. If you convert DASDspace (such as spool space, temporary disk space, or paging space) topermanent minidisk space, you should clear the entire space of all data. Thisprevents a new owner of the space from seeing any residual data left by theformer owner. Use the <strong>CP</strong> FORMAT comm<strong>and</strong> to do this.v Avoid DIAGNOSE code X'98'. DIAGNOSE code X'98' lets an authorized virtualmachine lock <strong>and</strong> unlock virtual pages in storage. It also lets the virtual machineexecute its own real channel programs. Thus, the virtual machine could inspect<strong>and</strong> alter <strong>CP</strong> or some other virtual machine. Because DIAGNOSE code X'98' issuch a powerful function, you should take the following precautions:– Audit the use of DIAGNOSE X'98'– Remove the DIAG98 oper<strong>and</strong> from the OPTION statement of any user’sdirectory entry unless it is really necessary for the virtual machine to use thisfunction.380 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Security <strong>and</strong> Integrity in z/<strong>VM</strong>v Limit <strong>and</strong> audit the use of DIAGNOSE code X'08'. DIAGNOSE code X'08' lets anauthorized virtual machine issue a <strong>CP</strong> comm<strong>and</strong> from a program. In some cases,multiple <strong>CP</strong> comm<strong>and</strong>s can be imbedded in what appears to be a single <strong>CP</strong>comm<strong>and</strong> when the comm<strong>and</strong>s are separated by X'15' characters. You shouldtake the following precautions:– Add the D8ONECMD directory statement to the directory entries for servervirtual machines. With this statement, any time a server virtual machine issuesa single <strong>CP</strong> comm<strong>and</strong> that contains imbedded <strong>CP</strong> comm<strong>and</strong>s, the activity canbe logged, rejected, or no action taken (the default).– Audit the use of DIAGNOSE X'08' using the SET D8ONECMD comm<strong>and</strong>. Thisauditing, however, can result in many audit records <strong>and</strong> degrade systemperformance.v Avoid directly accessing the z/<strong>VM</strong> user directory. A user who has acquired theauthorization can directly access the user directory source file <strong>and</strong> modify it.Without the DIRMAINT product, this is the only way to maintain the directory.Manually updating the z/<strong>VM</strong> user directory could compromise system security<strong>and</strong> integrity.Do not let any user directly access the z/<strong>VM</strong> user directory source file. WithDIRMAINT <strong>and</strong> RACF installed, the only safe, legitimate way for an administratorto modify this file is by using dual registration (see the next recommendation).v Use dual registration, an interface between DIRMAINT <strong>and</strong> RACF, to add, modify,or delete a user entry in the z/<strong>VM</strong> user directory <strong>and</strong> in the RACF/<strong>VM</strong> databasewith one transaction.When you delete a user from the system using dual registration, take specialcare. Dual registration deletes the user ID from the z/<strong>VM</strong> user directory <strong>and</strong> fromthe main RACF database. It does not, however, delete all occurrences of theindividual’s user ID or associations with RACF groups. You must deal with theseseparately, according to instructions in System Programming Library: RACF. Usethe ICHUT100 utility program to identify <strong>and</strong> locate all occurrences of the user IDin the RACF database.The XEDIT option must be in effect with dual registration.v Limit DIRMAINT privileged users. Strictly limit the number of user IDs you list inthe DIRMAINT DIRM_STAFF installation option. The users you list here canenter DIRMAINT privileged comm<strong>and</strong>s.v Limit access to the DIRMAINT LOG. The DIRMAINT LOG, also known as theDIRMAINT history file, is a time-stamped, sequential listing of DIRMAINTcomm<strong>and</strong>s entered against the z/<strong>VM</strong> user directory <strong>and</strong> the results of certainother DIRMAINT procedures. This file contains an audit record of everysignificant change made to the z/<strong>VM</strong> user directory <strong>and</strong> to the DIRMAINT virtualmachine. Thus, it is a very sensitive file.Also, a system administrator can record a message or note in the history fileusing the DIRMAINT LOGMSG comm<strong>and</strong>. This can be quite useful, but, in thewrong h<strong>and</strong>s, it could introduce erroneous or deliberately misleading informationinto the history file.To limit the number of users with access to the DIRMAINT LOG, limit the numberof user IDs you associate with the DIRM_STAFF option in the DIRMAINT DATAfile. Only a user listed on this option can enter the DIRMAINT LOGMSGcomm<strong>and</strong>.Note: Each use of the DIRMAINT LOGMSG comm<strong>and</strong> appears in theDIRMAINT audit trail.v Restrict the use of the single console image facility (SCIF). Also, restrict the useof the <strong>CP</strong> SET SECUSER comm<strong>and</strong>. See the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesChapter 12. Security <strong>and</strong> Integrity in z/<strong>VM</strong> 381


Security <strong>and</strong> Integrity in z/<strong>VM</strong>Reference for information about the <strong>CP</strong> SET SECUSER comm<strong>and</strong>. This facilityallows a virtual machine to control several other disconnected virtual machinessimultaneously.v Consider disabling the use of the DIAL <strong>and</strong> MESSAGE comm<strong>and</strong>s before logon.RACF/<strong>VM</strong> can be used to disable these comm<strong>and</strong>s. See the RACF Comm<strong>and</strong>Language Reference book for more information. When DIAL <strong>and</strong> MESSAGEhave been disabled before logon, any user attempting to use them before logonwill receive an error message. Some things to consider when deciding whether ornot to disable these comm<strong>and</strong>s before logon are your site’s use of DIAL to get tosecond level systems <strong>and</strong> the amount of accountability your site desires for thesending of messages.v Restrict <strong>and</strong> audit full-pack minidisks. Full-pack minidisks that overlay otherindividual minidisks should be given only to system administrators. Their useshould be one of the audited privileges of an administrator. However, if theminidisk is simply integrated into the administrator’s virtual machine, no auditingis possible.One way to audit a full-pack minidisk is to place it in a virtual machine whoseuser ID is NOLOG. This forces the administrator to use the LINK comm<strong>and</strong>—anauditable <strong>and</strong> controllable event—to access the minidisk.You should also audit the DIAGNOSE code X'E4', the full-pack minidisk overlayfunction. If you have RACF installed, the resource name DIAG0E4 must beidentified to RACF to authorize the protected functions of DIAGNOSE code X'E4'.Users may request information about their own minidisks without RACFauthorization.v Clear all tapes <strong>and</strong> DASD areas before reassignment. You should set rules thatgovern the reassignment of tapes <strong>and</strong> DASD space. For example, minidisks <strong>and</strong>temporary disks should be reformatted <strong>and</strong> tapes erased. (Note that temporarydisks can be cleared automatically—see “Clearing Temporary Disk Space” onpage 384.)v Audit the OVERRIDE utility. The OVERRIDE utility lets you restructure privilegeclasses. The privilege class structure defines the subset of <strong>CP</strong> comm<strong>and</strong>s <strong>and</strong>DIAGNOSE code functions that each user is allowed to enter. Installations mayneed to modify the privilege class system to accommodate local needs. Theability to modify the privilege class structure is important <strong>and</strong> highly sensitive.When the audit flag is set for DIAGNOSE code X'C4', an audit record is madewhen a user tries to restructure privilege classes.v Limit <strong>and</strong> audit the use of the SET PRIVCLASS comm<strong>and</strong>. The SET PRIVCLASScomm<strong>and</strong> lets you control future SET PRIVCLASS comm<strong>and</strong>s or to temporarilychange the set of privilege classes for a logged-on user. The ability todynamically change privilege classes is important <strong>and</strong> highly sensitive, therefore,you should limit the number of people that you allow to issue this comm<strong>and</strong>. Thiscomm<strong>and</strong> can be issued only if the FEATURES ENABLE SET_PRIVCLASSstatement has been specified in the system configuration file.v Restrict the system operator. Certain restrictions on the system operator canincrease system security; for example:– Ensure a high level of physical security over the IPL system console for theprocessor. Also, use the programmable operator facility to control what thesystem operator can do at this console <strong>and</strong> what the system does for thesystem operator. The programmable operator facility can increase theefficiency <strong>and</strong> security of your operations by intercepting all messages <strong>and</strong>requests directed to the system operator <strong>and</strong> by h<strong>and</strong>ling them according tothe rules you have established. For more information on the programmableoperator facility, see the z/<strong>VM</strong>: CMS <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>.382 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Security <strong>and</strong> Integrity in z/<strong>VM</strong>z/<strong>VM</strong> Security Facilities– Make sure the system operator is aware that DASD areas <strong>and</strong> tapes must becleared before they are assigned to new owners.v With the ability to define the comm<strong>and</strong> access to suit your installation’s security<strong>and</strong> system integrity requirements, you have great flexibility <strong>and</strong> control overeach user’s access to <strong>CP</strong> comm<strong>and</strong>s. You can use this to enhance security <strong>and</strong>system integrity at your installation by restricting access to system resources <strong>and</strong>information controlled by comm<strong>and</strong>s, DIAGNOSE codes, or system functions.The <strong>CP</strong> configuration statement USER_DEFAULTS with the POSIXOPT ofquerying the database has a default of ALLOW. If you do not want to allowothers to query the database you will need to change this setting. However, whenyou change the privilege class of comm<strong>and</strong>s <strong>and</strong> make changes to user access,be careful not to inadvertently compromise security or system integrity byallowing users to use comm<strong>and</strong>s that could provide access to unauthorizedinformation or that could affect system operation.z/<strong>VM</strong> facilities for detecting <strong>and</strong> foiling attempts to break system security <strong>and</strong> fordetecting <strong>and</strong> preventing integrity exposures are:v An interface which allows installation of an external security manager (ESM) toperform the following functions:– Auditing of comm<strong>and</strong>s, diagnose codes, <strong>and</strong> security-relevant systemfunctions– Protection of selected comm<strong>and</strong>s, diagnoses, <strong>and</strong> system function– Disabling the DIAL <strong>and</strong> MESSAGE comm<strong>and</strong> before logon.– Authorizing access to POSIX database <strong>and</strong> the information it containsv Storage access verification functions.v The ability to provide automatic clearing of temporary disks after use to preventthe current user from accessing data left from a previous user of the temporarydisk, with the ENABLE CLEAR_TDISK oper<strong>and</strong> on the FEATURES systemconfiguration file statement.v The ability to bypass directory password authorization.v Journaling that allows you to monitor, record, <strong>and</strong> act on possible attempts togain unauthorized access to system resources.v Automatic deactivation of passwords that keeps restricted passwords from beingassembled in the object directory.v The ability to grant a virtual machine authority to restrict temporarily link accessto minidisks by other users.v The ability to suppress the display of passwords entered as part of the LOGON<strong>and</strong> LINK comm<strong>and</strong>s.v The ability for multiple virtual machines to gain cryptographic capability by usingan Integrated Cryptographic Facility (an optional hardware feature).In addition to the above facilities, the CMS shared file system includes various kindsof authority checking. Users can, for example, grant <strong>and</strong> revoke authority on theirfiles <strong>and</strong> directories. When a user tries to use a file or directory, the shared filesystem checks whether the user is authorized to do so. More information aboutshared file system security can be found in the z/<strong>VM</strong>: CMS File Pool <strong>Planning</strong>,<strong>Administration</strong>, <strong>and</strong> Operation book.Chapter 12. Security <strong>and</strong> Integrity in z/<strong>VM</strong> 383


Security <strong>and</strong> Integrity in z/<strong>VM</strong>Using an External Security Manager for Auditing <strong>and</strong> ProtectingAn external security manager (ESM) is a service virtual machine used to maintain<strong>VM</strong>/ESA security <strong>and</strong> integrity. An <strong>IBM</strong> application you can use for this purpose isRACF/<strong>VM</strong>. <strong>CP</strong> can call upon RACF not only to protect certain system resources butalso to audit security-relevant events such as <strong>CP</strong> comm<strong>and</strong>s, DIAGNOSE codefunctions, <strong>and</strong> communication among virtual machines.Although all events can be audited, not all events will be audited. They are auditedonly if you choose. Use RACF to specify which of those events, if any, you care toaudit. Any audit task involves longer path lengths, substantial input <strong>and</strong> output, <strong>and</strong>heavy use of DASD. Thus, auditing tends to degrade performance of the system.For performance considerations, do not audit more events than necessary.RACF also provides various forms of authorization control for a subset of <strong>CP</strong>comm<strong>and</strong>s <strong>and</strong> DIAGNOSE codes. For additional information on using RACF/<strong>VM</strong> toaudit <strong>and</strong> control <strong>CP</strong> comm<strong>and</strong>s, see the RACF Security Administrator’s Guide <strong>and</strong>the RACF Auditor’s Guide.If you choose not to use RACF but want to write your own security application, youcan use this interface to provide your own auditing. For details on DIAGNOSE codeX'A0', see the z/<strong>VM</strong>: <strong>CP</strong> Programming Services book.Verifying Storage AccessMany <strong>CP</strong> functions allow a user to access the user’s own virtual storage. z/<strong>VM</strong> hasfunctions that prevent such an access from straying outside the space the user isentitled to. Whenever a user invokes one of these <strong>CP</strong> functions that checks user’sauthority, for example, IUCV DECLARE BUFFER or DIAGNOSE code X'A0', <strong>CP</strong>checks whether that user is entitled to access the storage area assigned to thebuffer. <strong>CP</strong> prevents the requested buffer from overlaying any area in which the userhas no authority. For example, the space may be protected because it is alreadyoccupied by a CMS module. If the requested buffer is in storage-protected space,the user receives a protection exception.For additional information on the DIAGNOSE codes <strong>and</strong> the IUCV DECLAREBUFFER function, see the z/<strong>VM</strong>: <strong>CP</strong> Programming Services book.Clearing Temporary Disk SpaceIn some previous <strong>VM</strong> systems, <strong>CP</strong> cleared only cylinder 0, track 0, of a temporarydisk before allocating temporary disk space. As a result, data owned by theprevious user was available to the current user of the temporary disk. This createda data integrity exposure. With z/<strong>VM</strong>, temporary disk space can be optionallycleared completely to avoid this integrity exposure.To eliminate user access to sensitive data remaining on a temporary disk, use theCLEAR_TDISK oper<strong>and</strong> on the FEATURES system configuration file statement orthe SYSCLR oper<strong>and</strong> of the SYSRES macroinstruction to specify whethertemporary disk space is to be cleared. If space is to be cleared, it is cleared at thefollowing times:v at IPL time,v when <strong>CP</strong> volumes that contain temporary disk space are attached to the system,orv when a temporary disk is detached from a user384 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Security <strong>and</strong> Integrity in z/<strong>VM</strong>if the ENABLE CLEAR_TDISK oper<strong>and</strong> is specified on the FEATURES systemconfiguration file statement. Or, see “SYSRES (Required)” on page 693 foradditional information on the SYSCLR oper<strong>and</strong> of the SYSRES macroinstruction.Class B system resource operators can query the state of temporary disk clearingby using QUERY TDISKCLR. See z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference foradditional details on the purpose <strong>and</strong> syntax of the QUERY TDISKCLR comm<strong>and</strong>.Note: If I/O errors occur during clearing of the DASD cylinders, the cylinders notcleared are not marked available for temporary disk space. This prevents theallocation of TDISK space that has not been cleared.Compatibility Note: z/<strong>VM</strong> temporary disk clearing is not compatible with <strong>VM</strong>/SPHPO temporary disk clearing. <strong>VM</strong>/SP HPO clears temporary disks only duringDEFINE TDISK <strong>and</strong> issues messages to the user during the clearing. z/<strong>VM</strong> clearstemporary disks during IPL, attach to system, <strong>and</strong> DETACH TDISK. Messages areissued only when <strong>CP</strong> volumes that contain temporary disk space are attached tothe system.Performance Note: Because clearing takes place asynchronously, a period of timemay elapse before the actual clearing occurs. The clearing of temporary disk spacehappens independently of the tasks that require it. Thus, it does not specificallyaffect these tasks, such as IPL, except for contention for the processor <strong>and</strong> I/O.There should be no significant impact on performance. Nevertheless, the spacemay not be immediately available.Permitting Bypassing of Directory Password AuthorizationWith z/<strong>VM</strong>, you can bypass directory password authorization to allow speciallydesignated virtual machines to:v Link to any other virtual machine’s virtual DASD without performance of minidiskpassword authorizationv Use a subset of the DIAGNOSE X'84' subfunctions to update a user’s directoryentry without performance of logon password authorization.To provide one or both of these functions to a virtual machine, code either or bothof the LNKNOPAS <strong>and</strong> D84NOPAS oper<strong>and</strong>s on the OPTION directory statement ofthe virtual machine’s directory entry. For additional information on these oper<strong>and</strong>s ofthe OPTION statement, see “OPTION Directory Control Statement (General)” onpage 533.Journaling the LOGON, AUTOLOG, XAUTOLOG, <strong>and</strong> LINK Comm<strong>and</strong>sLOGON, AUTOLOG, XAUTOLOG, <strong>and</strong> LINK journaling detects <strong>and</strong> records certainoccurrences of the LOGON, AUTOLOG, XAUTOLOG, <strong>and</strong> LINK comm<strong>and</strong>s. Usingthe recorded information, you can identify attempts to log on to <strong>CP</strong> by users whoenter invalid passwords. Also, you can identify any user who successfully enters theLINK comm<strong>and</strong> to a protected minidisk that user does not own.Briefly, LOGON, AUTOLOG, XAUTOLOG, <strong>and</strong> LINK journaling works like this. Whilejournaling is turned on, <strong>CP</strong> monitors all occurrences of the LOGON, AUTOLOG,XAUTOLOG, <strong>and</strong> LINK comm<strong>and</strong>s. <strong>CP</strong> counts how many times a user enters oneof these comm<strong>and</strong>s with an invalid password. <strong>CP</strong> can be set to take one or more ofthese actions when the count reaches a threshold value:v Write a record to the accounting data set to record the incidentChapter 12. Security <strong>and</strong> Integrity in z/<strong>VM</strong> 385


Security <strong>and</strong> Integrity in z/<strong>VM</strong>v Reject subsequent LOGON, AUTOLOG, XAUTOLOG, <strong>and</strong> LINK comm<strong>and</strong>sentered by the userv Lock that terminal for a designated periodv Send a message to a designated user ID to alert the installation to the incident.While journaling is turned on, <strong>CP</strong> creates an accounting record each time it detectsthat a user has successfully entered a LINK comm<strong>and</strong> to a protected minidisk notowned by that user. A protected minidisk is a minidisk whose password is anythingbut ALL for the type of LINK attempted, or a minidisk protected by an externalsecurity manager.For a description of the accounting records that <strong>CP</strong> writes for LOGON, AUTOLOG,XAUTOLOG, <strong>and</strong> LINK journaling, see “Accounting Record Formats” on page 299.To make LOGON, AUTOLOG, XAUTOLOG, <strong>and</strong> LINK journaling available <strong>and</strong> tospecify options, you may use the JOURNALING statement in the systemconfiguration file. For more information, see “JOURNALING Statement” on page160. For instructions on how to code this macroinstruction, see “SYSJRL (Optional)”on page 682. To turn journaling on or off, use the class A SET comm<strong>and</strong>. Todetermine whether journaling is on or off, use the class A or C QUERY comm<strong>and</strong>.For additional information on these comm<strong>and</strong>s, see z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong>Utilities Reference.Automatic Deactivation of Restricted PasswordsA facility is available to validate user logon passwords against a set of predefinedrestricted passwords. The facility automatically validates other user passwords toprevent the accidental use of a restricted (published) password for or by a user. Itprovides a file that contains a list of <strong>IBM</strong> restricted passwords. This list, called theRPWLIST DATA, is a CMS file that is included on MAINT 2C2. When you run theDIRECTXA comm<strong>and</strong> to convert the source directory to an object directory,passwords are checked against the passwords in this list. You do not need toperform any action to use this list.You may add your own restricted passwords to this list or remove some of the<strong>IBM</strong>-restricted passwords from the list as the need arises. To modify the RPWLISTDATA file, you simply edit it <strong>and</strong> create a private copy to be kept with the sourcedirectory. You can find this file by using the CMS search order.You must use the following formatting rules when you edit the RPWLIST DATA file:v The RPWLIST DATA file must have a fixed-record-length format.v The records must be at least 8 characters long but no longer than 80 characters.v The passwords to be restricted must begin in the first column of each record.v Columns 1 through 8 must contain only one restricted password <strong>and</strong> nothingelse.v There may be only one restricted password per record.v Column 9 must be blank.v Columns 10 through 80 may be used for comments.If you do not want automatic deactivation of passwords, edit the RPWLIST DATAfile <strong>and</strong> delete all the passwords. Leave one dummy record of an asterisk (*) incolumn 1.386 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Security <strong>and</strong> Integrity in z/<strong>VM</strong>Using Link Access Control OptionsWith <strong>VM</strong>/ESA, you can set up a service virtual machine with the authority to controluser access to minidisks <strong>and</strong> databases. This authority is useful when runningdatabase applications <strong>and</strong> performing data migration tasks where data stability <strong>and</strong>integrity are essential. To do this, the service machine is configured with directorycontrol statement options that allow it to use certain link access modes thattemporarily restrict other users from gaining link access to the data the servicemachine is using.Two types of access modes can be used to ensure data integrity when linking toanother minidisk for a limited period of time. The stable access modes, whenrequested by an authorized virtual machine, prevent other users from obtainingwrite access to a disk while the stable access is in effect. The exclusive accessmodes grant an authorized virtual machine sole access to a minidisk, preventingboth read <strong>and</strong> write access by any other users.The LNKSTABL <strong>and</strong> LNKEXCLU oper<strong>and</strong>s of the OPTION directory controlstatement authorize a user to use the stable or exclusive access modes of the LINKcomm<strong>and</strong> or DIAGNOSE X'E4'. This global authority allows a virtual machine toperform a stable link to any minidisk for which it has password level authorization.You can also specify stable <strong>and</strong> exclusive authority to a specific minidisk using themode suffix letter (S or E) on the MDISK or LINK directory control statements.While stable or exclusive links to a minidisk are in effect, access to that minidisk byany other user will be restricted or denied. For more information on the LNKSTABL<strong>and</strong> LNKEXCLU options of the OPTION directory control statement, see “OPTIONDirectory Control Statement (General)” on page 533. See “LINK Directory ControlStatement (Device)” on page 500 <strong>and</strong> “MDISK Directory Control Statement(Device)” on page 513 for more information about access modes <strong>and</strong> suffixes.Suppressing Passwords Entered on the Comm<strong>and</strong> Line<strong>CP</strong> can be set to reject LOGON or LINK comm<strong>and</strong>s that have the passwordentered on the same line as the comm<strong>and</strong>. Rejecting these comm<strong>and</strong>s preventspasswords from being displayed or printed without masking (masking a passwordmeans overprinting the password so it cannot be read).This capability is also available to virtual machines that issue LINK comm<strong>and</strong>s byDIAGNOSE code X'08'. For a description of DIAGNOSE code X'08', see z/<strong>VM</strong>: <strong>CP</strong>Programming Services.To request password suppression, specify it as an option on the FEATURESstatement in the system configuration file. Once requested, password suppressionis always on; an operator cannot turn it off. See “FEATURES Statement” on page136 for information on how to use the FEATURES PASWORDS_ON_CMDSoper<strong>and</strong>.Using an Integrated Cryptographic FacilityThe Integrated Cryptographic Facility (ICRF) is an optional feature that providescryptographic capabilities for z/<strong>VM</strong>. z/<strong>VM</strong> allows multiple virtual machines to accessthe ICRF. The ICRF is available only to ESA mode virtual machines <strong>and</strong> only if thereal processor has a real ICRF installed. (z/<strong>VM</strong> does not provide a softwaresimulation of this hardware.) A processor complex can contain one or two ICRFs<strong>and</strong> the ICRFs can be used by one or more guest virtual machines. A processorcan access only one ICRF, although each ICRF can be accessed by more than oneprocessor.Chapter 12. Security <strong>and</strong> Integrity in z/<strong>VM</strong> 387


Security <strong>and</strong> Integrity in z/<strong>VM</strong>A real ICRF can be shared among virtual machines if the real processor with whichit is associated is not dedicated to a virtual processor of a virtual machine. If a realprocessor, with its associated ICRF, is dedicated to a virtual processor of a virtualmachine, then that ICRF is unavailable to other virtual machines. This is true even ifthe virtual machine to which the processor is dedicated does not have a virtualICRF defined for the virtual processor.Virtual machines can make use of the real ICRF by means of one or more virtualICRFs. The number of users that can access a real ICRF is limited by the numberof cryptographic domains installed. An ICRF can have up to 16 cryptographicdomains installed. Therefore, up to 16 users can have access to a virtual ICRF atany given time. If a user that is authorized for a certain cryptographic domain logson <strong>and</strong> that domain is in use, <strong>CP</strong> issues an informational message stating that thedomain is already in use by another user.Each cryptographic domain consists of one master-key register <strong>and</strong> oneauxiliary-master-key register. The master key can only be manually installed but isdone with interaction with a program which uses the new cryptographic instructions.Users are assigned use of one or more domains. It is the users’ responsibility toenter the keys <strong>and</strong> do key management. z/<strong>VM</strong> will not do any key management.In a processor configuration with two ICRFs installed, the keys in each domain ofeach ICRF are entered separately. Because the keys are set in the ICRF byinteraction with a program, that program must know which ICRF a processoraccesses. The program can then dispatch work on a processor that has access tothe ICRF whose key it is trying to set. When keys are changed it is up to the userto set the keys of each domain in both ICRFs. When the keys are different,cryptography work must only be dispatched on processors accessing the ICRFwhose key is the value the program expects (the ICRF that contains the key theprogram has used to encipher its data).Programs running in virtual processors have the same requirement. That is, thevirtual processors must only be dispatched on real processors which have accessto the ICRF (Crypto) containing the key they expect. If there are two real Cryptounits available <strong>and</strong> the keys are the same in both Crypto units, a virtual <strong>CP</strong>U maybe dispatched on either Crypto processor.Virtual machines should be defined with the same number of virtual <strong>CP</strong>Us withCrypto, as the number of real Crypto processors available. For example, if there aretwo real Crypto units available then the virtual machine should have two virtual<strong>CP</strong>Us with Crypto defined. If the virtual machines are not defined like this the userwill not be able to interact with the program to set the keys in both real Cryptoprocessors. Likewise, if there is one real Crypto unit available, there would only bea need for one virtual <strong>CP</strong>U with Crypto.To define two virtual <strong>CP</strong>Us with Crypto, you need to define a minimum of two virtual<strong>CP</strong>Us, a virtual Crypto on both virtual <strong>CP</strong>Us <strong>and</strong> specify that the virtual Cryptos beassigned to real Cryptos 0 <strong>and</strong> 1. The virtual Crypto units are defined either by<strong>CP</strong>U directory control statements or the DEFINE <strong>CP</strong>U <strong>and</strong> DEFINE CRYPTOcomm<strong>and</strong>s. The virtual Crypto units should be assigned to real Cryptos with theCSU * oper<strong>and</strong> of the CRYPTO directory control statement. See “CRYPTODirectory Control Statement (General)” on page 468 for more information.An example of the directory control statements:388 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Security <strong>and</strong> Integrity in z/<strong>VM</strong>CRYPTO DOMAIN 1 CSU *<strong>CP</strong>U 0 NOVECTOR CRYPTO<strong>CP</strong>U 1 NOVECTOR CRYPTOMaintaining System IntegrityIn a real configuration with two ICRFs installed, if virtual machines are not definedwith more than one ICRF, the user will not be able to interact with the program toset the keys in both real ICRFs. While not the recommended mode of operation, ifthis virtual configuration is desired, the CSU 0 or CSU 1 oper<strong>and</strong> of the CRYPTOdirectory control statement can be used to specify which real ICRF the virtual ICRFshould be assigned to.The ICRF, like the Vector Facility, is an optional feature which may be installed ononly some of the processors in a real processor complex. When a vector or cryptoinstruction is issued by a guest on a virtual <strong>CP</strong>U, z/<strong>VM</strong> assigns that virtual <strong>CP</strong>Uaffinity to a real processor that has the corresponding facility installed. If both vector<strong>and</strong> crypto instructions are being executed on a virtual <strong>CP</strong>U, z/<strong>VM</strong> would continuallybe switching the virtual <strong>CP</strong>U from one real processor to another since no realprocessor exists that can execute both sets of instructions. Therefore, virtualconfigurations should not be defined with vector <strong>and</strong> crypto facilities on the samevirtual processor.Your z/<strong>VM</strong> system has integrity if it can prevent the circumvention, subversion, <strong>and</strong>disabling of its security mechanisms. In general, this is achieved by keeping usersseparate from each other, separate from the operating system, <strong>and</strong> limiting theiraccess only to data which they need to do their jobs.Quite simply, system integrity is your system’s ability to:v Resist compromise of its security controls through misuse <strong>and</strong> manipulationv Ensure that its resources can only be accessed through authorized routes byauthorized users.To put it another way, system integrity is the inability of any program running in yoursystem to:v Obtain control in real supervisor state, with privilege class authority or directorycapabilities greater than assignedv Use <strong>CP</strong> to circumvent the system integrity of any guest operating system whichitself has system integrityv Circumvent z/<strong>VM</strong> main storage protection or auxiliary storage protectionv Access, without authority, a z/<strong>VM</strong> password-protected resourcev Access, without authority, a resource protected by an external security manager(ESM), like RACF.The <strong>IBM</strong> System/390 architecture, upon which z/<strong>VM</strong> is based, is at the center of thesystem’s ability to maintain integrity. One crucial aspect of this is your system’sability to keep each virtual machine absolutely isolated from every other virtualmachine. This isolation especially extends to <strong>CP</strong>, which is logically separate from allvirtual machines in the system.For the sake of integrity, z/<strong>VM</strong> exploits the System/390 architecture in several otherways:v The addresses in a virtual machine are virtual addresses. They have no meaningoutside the virtual machine in which they are generated <strong>and</strong> used. WheneverChapter 12. Security <strong>and</strong> Integrity in z/<strong>VM</strong> 389


Security <strong>and</strong> Integrity in z/<strong>VM</strong>required, these virtual addresses are translated into real addresses by ART(access register translation) <strong>and</strong> DAT (dynamic address translation), for theaddress space referenced by the user. Using ART <strong>and</strong> DAT, the system keepsthese address spaces absolutely separate from one another. This means that it isimpossible for one user to access an address space of another user unless theowner allows the other user to do so. Additional information about accessing dataspaces can be found in the z/<strong>VM</strong>: CMS Application Development Guide.v z/<strong>VM</strong> translates the addresses in all channel programs, except those initiated byDIAGNOSE X'98'. Channel programs are programs built <strong>and</strong> run by virtualmachines that request auxiliary storage devices to perform input <strong>and</strong> outputtasks. z/<strong>VM</strong> identifies the storage device <strong>and</strong> performs the I/O operation onbehalf of the virtual machine.v Every z/<strong>VM</strong> virtual machine runs in interpretive-execution mode which processesmost privileged <strong>and</strong> nonprivileged instructions <strong>and</strong> h<strong>and</strong>les virtual storageaddress translation without requiring intervention of z/<strong>VM</strong>.v z/<strong>VM</strong> uses page protection to prevent read-only saved segments from beingmodified. A saved segment is a block of data or re-entrant code in virtual, sharedstorage that many users can share simultaneously. However, if a user has alegitimate reason for wanting to change a read-only saved segment, the usermust specifically request an exclusive copy of the saved segment <strong>and</strong> beauthorized to do so in the user directory. The unmodified code remains sharedamong the other virtual machines. See “Protection of Shared Storage” on page398 for more information.z/<strong>VM</strong> System Integrity RequirementsThere are many things z/<strong>VM</strong> provides to support system integrity. You should beaware of them <strong>and</strong> make certain that all programs <strong>and</strong> users cooperate with them.System Modification Requirements:A program added to the z/<strong>VM</strong> system does not weaken the latter’s integrity as longas it:v Uses only documented, unrestricted z/<strong>VM</strong> interfacesv Runs only with privilege class G authorityv Does not supply services to more than one user from within a single virtualmachinev Does not require the use of special <strong>CP</strong> system directory optionsv Does not share <strong>VM</strong> or other passwords with any other program running in anyvirtual machine.Your installation probably will add several programs to the system to fulfill localneeds. Since z/<strong>VM</strong>’s integrity can be affected by these, consider the followingquestions before you add any to your system:Does the program (or any of its parts):v Run with a user ID which, if an ESM is installed, requires special privileges?v Require the use of <strong>CP</strong> DIAGNOSE functions that are restricted to classes otherthan G or ANY?v Require <strong>CP</strong> directory options?v Modify z/<strong>VM</strong> code?v Modify z/<strong>VM</strong> by adding or changing a z/<strong>VM</strong> comm<strong>and</strong>?v Run as a multi-user service machine?390 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Security <strong>and</strong> Integrity in z/<strong>VM</strong>If the answer to any of these questions is yes, the program could seriously weakenthe integrity of z/<strong>VM</strong>. Carefully reconsider whether you should add the program toyour system. If you must add a program that threatens to weaken your system’sintegrity, keep the following in mind:v z/<strong>VM</strong> maintains storage protection in one of two ways, depending upon thenature of the object:– Access register translation (ART) <strong>and</strong> dynamic address translation (DAT)protect the storage of non-shared segments; that is, storage that is reservedexclusively for one user. ART <strong>and</strong> DAT are hardware facilities used by z/<strong>VM</strong>during the execution of any instruction to translate a virtual address into thecorresponding real address. The system uses ART <strong>and</strong> DAT to providesecure, separate address spaces for each virtual machine in the system. Thismeans that it is impossible for one user to access an address space ofanother user unless its owner allows the other user to do so. Additionalinformation about accessing data spaces can be found in the z/<strong>VM</strong>: CMSApplication Development Guide.– z/<strong>VM</strong>’s shared segment protection mechanism gives any user that tries toalter a read-only saved segment a protection exception. This preserves theintegrity of data or code being shared simultaneously by other users.v You may wish to use an ESM to protect sensitive system data <strong>and</strong> work areasfrom access by unauthorized users <strong>and</strong> to protect any proprietary informationautomatically stored on external media. Such protection requires several things ofthe user:– The user must protect proprietary information from all other users exceptthose properly authorized. Proprietary information includes passwords,cryptographic keys, user register contents, user data areas, <strong>and</strong> buffers.– The user must clear all proprietary data from any storage device or bufferbefore he releases it. Temporary disks (T-disks) are the exception. oper<strong>and</strong> onthe FEATURES system configuration file statement or the SYSCLR option ofthe SYSRES macroinstruction, z/<strong>VM</strong> clears each T-disk before it is assignedto anyone.– The user must not use z/<strong>VM</strong> comm<strong>and</strong>s <strong>and</strong> DIAGNOSE codes that bypass(or allow the bypassing of) security checks, integrity controls, or validationprocedures. That is, limit the use of comm<strong>and</strong>s <strong>and</strong> functions that allow direct<strong>and</strong> uncontrolled access to basic system resources. (See “Sensitive z/<strong>VM</strong>Comm<strong>and</strong>s to Restrict” on page 392 <strong>and</strong> “Sensitive DIAGNOSE Functions toRestrict” on page 394.) Use z/<strong>VM</strong> privilege classes, DIRMAINT, or an ESM tocontrol access to these resources.User Identification Requirements: To identify a user means to firmly establishwho is using the system to perform a particular act. Every comm<strong>and</strong>, DIAGNOSE,<strong>and</strong> other security-relevant event must be directly attributable to a user whoseidentity has been well-established. With POSIX, however, you can have multipleuser IDs associated with a single UID. Authorities can be given to the one UID <strong>and</strong>therefore multiple user IDs. Determining the identity becomes difficult. For thisreason, it is not recommended that you have multiple user IDs associated with asingle UID. User identification requires the following:v System <strong>and</strong> user resources must be separated from one another <strong>and</strong> identified.Otherwise, system resources may be counterfeited or one system resource maybe substituted for another.v Before a privileged program passes user data to another privileged program, it isnecessary to define who is responsible for validating the user data. Then, ofcourse, the data must be validated.Chapter 12. Security <strong>and</strong> Integrity in z/<strong>VM</strong> 391


Security <strong>and</strong> Integrity in z/<strong>VM</strong>Validation Requirements: Validation is an important term that can mean severalthings:v z/<strong>VM</strong> routines that access areas of storage based on user-supplied addressesmust first validate that the user has the appropriate kind of access (READ,WRITE, <strong>and</strong> so forth).v During the validating process, the system can use only previously validated <strong>and</strong>protected data. Using non-validated or unprotected data during the validationprocess invalidates the process itself.v When a user wants to access an area that spans a page boundary, the systemmust confirm that the user has authority to access the entire range of addressesinvolved.v z/<strong>VM</strong> routines that simulate <strong>CP</strong>U instructions or translate channel programs mustdo so according to the architecture of the <strong>CP</strong>U or device involved.v Parameters passed to the system must be validated for the purpose intended.Serialization Requirements: Serialization is a method used to prevent theasynchronous altering of variables, whose validity must be checked, until after theoperation for which they are validated is complete.A gap can occur between the time when a variable is checked <strong>and</strong> approved <strong>and</strong>the time when the variable is actually used in an operation. During this time, thevariable is vulnerable to change by some unauthorized, asynchronous function. Thesolution is to protect each validated variable from asynchronous alteration until it isused.Note: z/<strong>VM</strong> system integrity does not specifically include the protection of dataamong several users of a single CMS batch system nor does it apply tovirtual machines using the non-disruptive transition (NDT) support.z/<strong>VM</strong> Integrity <strong>and</strong> <strong>CP</strong> FunctionThere are several <strong>CP</strong> resources that can affect system integrity:Privilege Classes: A privilege class is a subset of z/<strong>VM</strong> comm<strong>and</strong>s <strong>and</strong>DIAGNOSE codes. Each user is assigned to a particular privilege class, dependingupon his responsibilities, level of skill, <strong>and</strong> place in the organization’s hierarchy.Every user is a member of at least one privilege class.If a user attempts to issue a comm<strong>and</strong> that is outside his privilege class, the systemignores the comm<strong>and</strong>. The main benefit of this is that no user can alter the systemin any way that goes beyond his expertise <strong>and</strong> authority.<strong>IBM</strong> designed the structure of z/<strong>VM</strong> privilege classes with the typical organizationalhierarchy at the typical computing installation in mind. If you find the <strong>IBM</strong> privilegeclass structure inappropriate to your organization’s needs, you can modify it orcompletely replace it. It is possible for your organization to precisely define up to 32privilege classes of its own that partly or completely override the privilege classstructure that comes with your system. To learn the details of tailoring your system’sprivilege class structure, see Chapter 16, “Redefining Comm<strong>and</strong> Privilege Classes,”on page 433.Sensitive z/<strong>VM</strong> Comm<strong>and</strong>s to Restrict: Very few <strong>CP</strong> comm<strong>and</strong>s <strong>and</strong> DIAGNOSEfunctions have no security <strong>and</strong> integrity relevance. Some affect the security <strong>and</strong>392 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Security <strong>and</strong> Integrity in z/<strong>VM</strong>integrity of your system more than others, <strong>and</strong> there are some <strong>CP</strong> comm<strong>and</strong>s <strong>and</strong>DIAGNOSE functions that allow direct, uncontrolled access to basic systemresources.Change the <strong>CP</strong> privilege classes or use an external security manager to limit theuse of the following sensitive <strong>CP</strong> comm<strong>and</strong>s:<strong>CP</strong>ACCESSIdentifies a CMS-formatted minidisk to <strong>CP</strong> <strong>and</strong> makes the files on thatminidisk available to <strong>CP</strong> by establishing a file mode letter for the files.<strong>CP</strong>CACHECauses <strong>CP</strong> to cache a file on a <strong>CP</strong>-accessed minidisk.<strong>CP</strong>RELEASEReleases a <strong>CP</strong>-accessed minidisk.DEFINE <strong>CP</strong>OWNEDLets a user define new entries or to change existing entries in the list of<strong>CP</strong>-owned DASD volumes.DEFINE TIMEZONELets a user define a new time zone or change an existing time zonedefinition.DISPLAY HOSTDisplays the contents of real storage at the user’s terminal.DUMPHOSTPrints the contents of real storage at the spooled, virtual printer.LOCATEDetermines the address of a particular user’s <strong>CP</strong> control block, the addressof a virtual device, or the address of a real device.SETD8ONECMDLets a user change the D8ONECMD settings for their or other’s virtualmachine. The D8ONECMD settings control whether <strong>CP</strong> will accept multiplecomm<strong>and</strong>s imbedded in a single comm<strong>and</strong> <strong>and</strong> separated by X'15'characters.SET MDCACHE SYSTEMturns minidisk caching on <strong>and</strong> off for the whole system. Turning minidiskcaching off at the system level disables caching enabled at the device orrecord level.SETSETSETSETSETOBSERVERChanges the observer user ID associated with your virtual machine oranother user’s virtual machine.PRIVCLASSControls future SET PRIVCLASS comm<strong>and</strong>s or temporarily changes the setof privilege classes for a logged-on user.RDEVICEChanges or adds devices to the system’s definition of a set of real devices.SECUSERChanges the secondary user ID associated with your virtual machine oranother user’s virtual machine.SYSOPERChanges the user ID of the primary system operator on your system.Chapter 12. Security <strong>and</strong> Integrity in z/<strong>VM</strong> 393


Security <strong>and</strong> Integrity in z/<strong>VM</strong>SET TIMEZONEChanges the system’s active time zone ID <strong>and</strong> time zone offset.SET VDISK SYSLIMlimits the total resource available for allocating virtual disks in storage.Users may suddenly find that they cannot create as many virtual disks instorage as they had been able to.SHUTDOWNSystematically ends all system functions <strong>and</strong> checkpoints the system for aneventual warmstart. May also perform an automatic warmstart of thenucleus.SNAPDUMPTakes a dump identical to a hard abend dump, without shutting down thesystem. Could stop the system long enough to cause communication linesto be dropped.STORE HOSTLets a user alter the contents of real storage.Sensitive DIAGNOSE Functions to Restrict: Change the <strong>CP</strong> system of privilegeor use an external security manager to limit the use of the following sensitiveDIAGNOSE functions:DIAGNOSE X'04'Allows the user to examine real storage.DIAGNOSE X'08'Allows a virtual machine running in supervisor state to issue <strong>CP</strong> comm<strong>and</strong>s.Usually, this presents no danger to your system’s security or integrity. Often,z/<strong>VM</strong> comm<strong>and</strong>s are issued on behalf of authorized users by privilegedserver virtual machines. However, if a server virtual machine were to issuea <strong>CP</strong> comm<strong>and</strong> on behalf of an unauthorized virtual machine, your system’ssecurity <strong>and</strong> integrity would be threatened. Each server should checkcarefully the identity <strong>and</strong> authorization of each machine for whom it doeswork, like DIRMAINT does.DIAGNOSE X'28'Allows channel programs modified after STARTIO (but before the I/Ooperation is complete) to execute correctly.DIAGNOSE X'3C'Allows the user to dynamically update the <strong>CP</strong> system directory.DIAGNOSE X'4C'Allows a user with the ACCT option in his directory entry to generateaccounting records.DIAGNOSE X'7C'Allows a program to drive a logical 3270 terminal as though it were a real,locally attached 3270.DIAGNOSE X'84'Allows a user to replace certain data in the <strong>CP</strong> system directory.DIAGNOSE X'98'Allows a virtual machine authorized to use it to lock <strong>and</strong> unlock virtualpages in storage. It also allows the virtual machine to execute its own realchannel programs.394 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Data Structures That Can Enhance System Integrityz/<strong>VM</strong> maintains many directories, tables, <strong>and</strong> control blocks that manage thesystem. Many of these data structures contribute to your system’s security <strong>and</strong>integrity.System Configuration File: The system configuration file contains definitions foryour system <strong>and</strong> how it should operate. The items in this file that pertain to security<strong>and</strong> integrity include:v FEATURES ENABLE CLEAR_TDISK statement, specifying that all previouslywritten data <strong>and</strong> directory areas on temporary disk DASD space should becleared automaticallyv FEATURES PASSWORDS_ON_CMDS statement, specifying whether the facilitythat suppresses the password on the comm<strong>and</strong> line should initially be part of thesystem.v JOURNALING statement, specifying whether the facility that journals eventsshould be part of the system, whether the system can set <strong>and</strong> query thejournaling facility, <strong>and</strong> what to do if someone tries to log on to the system or linkto a disk without a valid password.<strong>CP</strong> System Directory: The <strong>CP</strong> system directory is a table maintained on DASD,each entry of which describes the configuration of a particular virtual machine inyour system. To put it another way, the <strong>CP</strong> system directory tells z/<strong>VM</strong> exactlywhich system resources will be available to each virtual machine, how each shouldbe built, <strong>and</strong> how access to each shall be governed.The items in each directory entry that pertain to security <strong>and</strong> integrity include:v <strong>CP</strong> log on passwordsv Minidisk passwordsv LINK statementsv CLASS statement, describing what kind of user this is <strong>and</strong> what class ofcomm<strong>and</strong>s <strong>and</strong> instructions the user will be allowed to issuev DIAG98 option on the OPTION control statement, letting the user invoke theDIAGNOSE X'98' function.v LNKNOPAS <strong>and</strong> D84PAS options on the OPTION control statement.v POSIXINFO statement for the UID <strong>and</strong> GID|GNAMEv POSIXGLIST statement for listing the groups that the user belongs toRSCS Configuration File Options: The RSCS configuration file defines the RSCSnetwork, <strong>and</strong> includes such information as:v Local node identifierv Identifier of each node with which the local node can communicatev Network links over which the local node communicates with the remote nodes.<strong>VM</strong>/Pass-Through Directories: <strong>VM</strong> Pass-Through (P<strong>VM</strong>) allows a user tointeractively access a virtual machine in some remote system. Your system’s P<strong>VM</strong>virtual machine maintains a directory called a configuration file. This file includes:v Local <strong>and</strong> remote node identifiersv Link <strong>and</strong> routing definitionsv Authorization of certain users to issue restricted comm<strong>and</strong>s.Security <strong>and</strong> Integrity in z/<strong>VM</strong>Chapter 12. Security <strong>and</strong> Integrity in z/<strong>VM</strong> 395


Security <strong>and</strong> Integrity in z/<strong>VM</strong>Directory Update-in-Place: DIAGNOSE X'84' gives a privilege class B user theability to replace data in the <strong>CP</strong> system directory. Note that this doesn’t authorizethe user to add new entries or to delete existing ones.As z/<strong>VM</strong> is delivered, all privilege class B users can issue DIAGNOSE X'84'. Forthe sake of security, strictly limit the number of privilege class B users in yoursystem. Of course, your organization may have chosen to change the privilegeclass structure that <strong>IBM</strong> has built into your system. If so, be certain to limit thenumber of users who can issue DIAGNOSE X'84'.Dumps: A dump is a snapshot, taken at a particular moment, of the contents of acomputer’s main storage. Most dumps are created by highly privileged users to helpthem solve system problems.There is no way to predict what main storage contains when the dump is created.Passwords or poorly encrypted data may be present, or the dump may containother material that your organization considers proprietary <strong>and</strong> confidential.Therefore, take great care that only authorized personnel h<strong>and</strong>le the dumpsgenerated by the system. What’s more, never send a dump to anyone outside yourorganization unless you are certain it contains nothing proprietary or confidential.Composite Reader File: The composite reader file is a spool file that contains agroup of CMS files. From CMS’s point of view, the composite reader file is manyfiles; from z/<strong>VM</strong>’s point of view, however, it is all one spool file. This difference inperspective can create security <strong>and</strong> integrity problems.To illustrate, consider the following sequence of comm<strong>and</strong>s issued by a user namedMARY to create a composite reader file in the virtual reader of a user namedJOHN.<strong>CP</strong> SPOOL PUNCH JOHN CONTPUNCH PROFILE EXE<strong>CP</strong>UNCH PROFILE XEDITPUNCH CALENDAR DATA.PUNCH NOVEMBER REPORT<strong>CP</strong> SPOOL PUNCH CLOSE NOCONTIf JOHN issues a <strong>CP</strong> QUERY READER comm<strong>and</strong>, the response indicates that thereis only one file in his reader, NOVEMBER REPORT. But because this is acomposite spool file, there are several other files present that are hidden from anyQUERY. The presence of these other files is neither implicit nor apparent.Now, assume that JOHN already has a file called PROFILE EXEC. When he readsin NOVEMBER REPORT, all the other files are read in, too. JOHN’s PROFILEEXEC disappears, overwritten by the new PROFILE EXEC. JOHN may or may notconsider that desirable. At the very least, he should be informed of the loss of hisfile.To prevent security <strong>and</strong> integrity problems like this from arising, z/<strong>VM</strong> providesseveral options to the DISK LOAD, READCARD, RECEIVE, <strong>and</strong> DEFAULTScomm<strong>and</strong>s:FULLPROMPTSpecifies that a prompt message is issued for each file.MINPROMPTSpecifies that a prompt message is issued when the name of the first file396 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Security <strong>and</strong> Integrity in z/<strong>VM</strong>differs from the name of the spool file. The prompt message for the first filedoes not appear when it has the same name as the spool file.NOPROMPTSpecifies that a prompt is not issued when a file is received.REPLACESpecifies that if a file with the same file name <strong>and</strong> file type already exists,then it is to be replaced with this one.NOREPLACESpecifies that no file ever overlays an existing file on the receiving disk.z/<strong>VM</strong> Options That Can Enhance System Integrityz/<strong>VM</strong> offers several options that can help you to enhance the integrity of yoursystem.Real Channel Program Support: DIAGNOSE X'98' lets an authorized virtualmachine lock <strong>and</strong> unlock virtual pages in storage. It also allows the virtual machineto execute its own real channel programs. That would make it possible for thevirtual machine to access real storage beyond the legitimate end of its addressspace. It would then be possible for the virtual machine to inspect <strong>and</strong> alter <strong>CP</strong> orsome other virtual machine. That would not be sound security practice.The ability to invoke this function is an extremely powerful privilege, which thesystem administrator should either restrict or eliminate.There are two ways to prevent the use of DIAGNOSE X'98':v Remove DIAG98 from the OPTION statement of each entry in the <strong>CP</strong> systemdirectory in which it appears.v Set DIAGNOSE X'98' to an unused privilege class.If an unauthorized user attempts to use DIAGNOSE X'98', he receives an operationexception.StorageH<strong>and</strong>lingYour z/<strong>VM</strong> system maintains the security <strong>and</strong> integrity of its storage, as follows:Protection of Main Storage: z/<strong>VM</strong> provides both fetch <strong>and</strong> store protection for real,main storage. No user may store in or fetch from a segment of main storage unlesshis key matches the protection key of that storage.z/<strong>VM</strong> protects real, main storage using the privilege class structure. As the systemis delivered, only privilege class C users can alter <strong>CP</strong> storage. Of course, yourorganization may have chosen to change the privilege class structure that <strong>IBM</strong> hasbuilt into your system.Allocation of Main Storage: Real storage is allocated to a user when he firstrefers to a virtual page for which a real page has not yet been allocated. Allocationcontinues, as needed, up to <strong>and</strong> including the maximum storage size indicated inthe user’s <strong>CP</strong> system directory entry.Before z/<strong>VM</strong> allocates a new, real page, that page is cleared of any data that mayhave been left behind by another user. This prevents a user from having access todata for which he has no authorization.Chapter 12. Security <strong>and</strong> Integrity in z/<strong>VM</strong> 397


Security <strong>and</strong> Integrity in z/<strong>VM</strong>Paging: In z/<strong>VM</strong>, many users share main storage simultaneously. Not every pageof storage could possibly be active every second of the time. When a page of mainstorage is not being actively accessed by a user, the system transfers it toexp<strong>and</strong>ed storage or DASD. This is known as paging out. The space in mainstorage that it ab<strong>and</strong>ons then becomes available to another user who really needsit. When <strong>and</strong> if that same page is needed again, the system transfers it fromexp<strong>and</strong>ed storage or DASD back to main storage. This is known as paging in.z/<strong>VM</strong> maintains a set of page <strong>and</strong> segment data tables that contain preciseinformation on the location <strong>and</strong> owner of every page <strong>and</strong> segment of main storage,whether paged in or paged out. The system follows them rigorously, helping tomaintain the integrity of the system.Protection of Shared Storage: Virtual storage space is routinely shared by usersof z/<strong>VM</strong>. These shared segments help the system manage its storage moreefficiently.Shared segments can be read/only or read/write blocks of storage containing codeor data shared by many users. Sharing one copy of something, like XEDIT, ispreferable to giving each user his own copy.As z/<strong>VM</strong> is delivered, only a user with privilege class E can define <strong>and</strong> save ashared segment. Of course, your organization may have chosen to change theprivilege class structure that <strong>IBM</strong> has built into your system. If so, take care that theability to define <strong>and</strong> save shared segments is not given out indiscriminately.Clearing Residual Data from Minidisks: You can tailor DIRMAINT to automaticallyclear DASD space whenever a minidisk is detached. This applies when you releasean entire minidisk <strong>and</strong> when you permanently reduce the size of a minidisk. Thisprevents the next user to whom the space is allocated from seeing information hemay not be authorized to see.Clearing Residual Data from Temporary Minidisks: You can also tailor yoursystem to automatically clear each temporary minidisk (T-disk) before it isreassigned. Simply add the ENABLE CLEAR_TDISK oper<strong>and</strong> on the FEATURESsystem configuration file statement.Clearing Residual Data from Tapes: Sometimes, a user finds that he no longerneeds the data on a reel or cartridge of tape. This does not mean that the data isno longer sensitive. Hence, you must establish procedures to ensure that each reelor cartridge of tape is degaussed before it is assigned to a new user.Program Stack, Security, <strong>and</strong> IntegrityWhile executing, many programs <strong>and</strong> EXECs place data on the program stack.Ideally, this data should be used to accomplish useful work <strong>and</strong> then promptlydiscarded. In reality, though, it may be left behind in the stack after the programterminates. In fact, many programs intentionally leave data on the program stack sothat they can pass information to other routines. While this practice may be clever, itis not risk free.As a rule, when a program or EXEC terminates or relinquishes control, the programstack should be exactly as it was when the program or EXEC gained control. Thisshould apply to both normal <strong>and</strong> abnormal termination. The program or EXEC thatterminates before restoring the program stack can cause serious security <strong>and</strong>integrity problems.398 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Security <strong>and</strong> Integrity in z/<strong>VM</strong>For example, suppose a privileged server virtual machine runs a program thatobtains data from a virtual reader or other communication channel <strong>and</strong> places it inthe program stack. An unscrupulous party comes along <strong>and</strong> feeds his owncomm<strong>and</strong>s to the program through the communication channel. Dutifully, theprogram places them on the program stack until the attacker somehow forces theprogram to fail. If the program is designed to restore the program stack, no harm isdone. However, if the program does not restore the stack, then the attacker’scomm<strong>and</strong>s are executed by the privileged server machine!Many programmers prudently avoid using the program stack altogether by usingGLOBALV variables to pass information to other routines. Some programmers useother techniques, such as managing the program stack with the CMS MAKEBUF<strong>and</strong> DROPBUF comm<strong>and</strong>s <strong>and</strong> the StackBufferCreate <strong>and</strong> StackBufferDelete CSLroutines. These comm<strong>and</strong>s <strong>and</strong> routines enable a user to manage a new, separatebuffer that can be used without affecting the contents of any buffers previouslydefined.Study the following examples.A Simple EXEC that Manages the Stack with MAKEBUF <strong>and</strong> DROPBUFADDRESS COMMANDSIGNAL ON HALT /* FORCE ANY INTERRUPTION TO COME OUTOF MAIN EXIT */’MAKEBUF’ /* GET A BUFFER TO HOLD ANY GARBAGE */BUFNO = RC /* KEEP ITS NUMBER */.(MAINPROCESSING).HALT: /* MAIN EXIT PROM PROGRAM */SRC = RC /* KEEP LAST "RC" FOR EXIT */’DROPBUF’ BUFNO /* DISCARD GARBAGE */EXIT SRCA More Complex EXEC Calling a SubroutineADDRESS COMMANDSIGNAL ON HALT /* FORCE ANY INTERRUPTION TO COME OUTOF MAIN EXIT */’MAKEBUF’ /* GET A BUFFER TO HOLD ANY GARBAGE */BUFNO = RC /* KEEP ITS NUMBER */.(MAINPROCESSING).’MAKEBUF’ /* GET ANOTHER BUFFER TO PASS DATATO SUBROUTINE */QUEUE ’SOMETHING FOR SUBROUTINE’CALL SUBROUTINESRC = RC /* KEEP "RC" FROM SUBROUTINE */’DROPBUF’ BUFNO + 1 /* DISCARD ANYTHING NOT CLEARED BY SUBROUTINE */.(MORE/* AT THIS POINT, TEST RETURN CODE FROMSUBROUTINE, USING "SRC" INSTEAD OF "RC" */PROCESSING).HALT: /* MAIN EXIT FROM PROGRAM */SRC = RC /* KEEP LAST RC FOR EXIT */’DROPBUF’ BUFNO /* DISCARD GARBAGE */EXIT SRCAn EXEC Called as a Subroutine <strong>and</strong> Returning Data in the Program StackChapter 12. Security <strong>and</strong> Integrity in z/<strong>VM</strong> 399


Security <strong>and</strong> Integrity in z/<strong>VM</strong>ADDRESS COMMANDSIGNAL ON HALT /* FORCE ANY INTERRUPTION TO DOFINAL PROCESSING */’MAKEBUF’ /* GET A BUFFER TO HOLD ANY GARBAGE */BUFNO = RC /* KEEP ITS NUMBER */.(MAINPROCESSING).SRC = RC /* KEEP LAST "RC" FOR EXIT */’DROPBUF’ BUFNO /* DISCARD GARBAGE */QUEUE ’SOMETHING FOR CALLING ROUTINE’EXIT SRC /* MAIN EXIT FROM PROGRAM */HALT: /* SPECIAL EXIT FROM PROGRAM IFINTERRUPTED BY "HI" */’DROPBUF’ BUFNO /* DISCARD GARBAGE */EXITReporting z/<strong>VM</strong> Integrity ProblemsThe authorized program analysis report (APAR) is the formal mechanism forreporting to <strong>IBM</strong> problems you are having with z/<strong>VM</strong>. These problems may include:v Integrity exposuresv Logic errors in the programmingv Documentation errorsv Program distribution problems.You should never use the APAR process to:v Comment on or suggest improvements to z/<strong>VM</strong>v Report minor stylistic, grammatical, spelling, or punctuation errors in a z/<strong>VM</strong>documentv Report on the packaging or quality of the items you received from <strong>IBM</strong>.<strong>IBM</strong> also accepts security APARs involving z/<strong>VM</strong> or any product that runs on it. Asecurity APAR reports problems in existing z/<strong>VM</strong> security mechanisms where theproblem is not quite an integrity problem but does represent a threat to the securityof the system as a whole or to one of its components.If you discover an integrity problem in z/<strong>VM</strong>, proceed as follows:1. Consider your problem in light of the discussion of system integrity under“Maintaining System Integrity” on page 389. If it is truly a system integrityproblem, proceed to the next step.2. Confirm that you have the current version, release, <strong>and</strong> modification level ofeach of the software products in your system.3. Examine the appropriate documentation to see if there is a solution to yourproblem.4. Remove any modifications you may have applied to z/<strong>VM</strong> to be certain that thisis not the cause.5. If your modification has caused the problem, do not replace it until it is repaired.If none of your modifications is the problem (or if you have made none), try toisolate the problem to a particular component of z/<strong>VM</strong>.6. Gather <strong>and</strong> retain the necessary materials that document your problem: dumps,output listings, tapes, messages, return codes, <strong>and</strong> so forth. Be certain thatnone of this material is considered proprietary by your organization. If it is, try toreplicate the problem resulting in data that is not proprietary.7. Notify <strong>IBM</strong> service.400 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Security <strong>and</strong> Integrity in z/<strong>VM</strong>To resolve your problem, <strong>IBM</strong> may:v Correct <strong>IBM</strong> code or documentationv Document a temporary or permanent restrictionv Notify you that it is aware of the problem (<strong>IBM</strong> either provides an immediatesolution or waits until the next release of the program or document)v Notify you that someone or something at your installation is the cause of theproblem (<strong>IBM</strong> then advises you on a solution).If, to solve your problem, <strong>IBM</strong> must correct its code or documentation, the companyalerts all z/<strong>VM</strong> customers to the problem <strong>and</strong> provides a program temporary fix(PTF). A PTF is a temporary solution to or bypass of a problem identified by <strong>IBM</strong> asthe result of a defect in a current, unaltered release of the software product. Yoursystem administrator is responsible for installing all PTFs; <strong>IBM</strong> provides anynecessary PTF documentation.Chapter 12. Security <strong>and</strong> Integrity in z/<strong>VM</strong> 401


402 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 13. Using the St<strong>and</strong>-Alone Dump UtilityOverview<strong>CP</strong> can produce several types of dumps: a <strong>CP</strong> dump, a snapdump, a st<strong>and</strong>-alonedump <strong>and</strong> a virtual machine dump. Dumps are especially helpful in analyzingproblems such as wait states, infinite loops, <strong>and</strong> abends. This chapter describeshow to create the st<strong>and</strong>-alone dump utility <strong>and</strong> use it. For more information on thest<strong>and</strong>-alone dump utility, debugging various types of problems, the other dumptypes, <strong>and</strong> other problem diagnosis tools, see the z/<strong>VM</strong>: Diagnosis Guide.z/<strong>VM</strong> includes a st<strong>and</strong>-alone dump utility that you tailor according to yourinstallation’s configuration, using CMS. After you generate z/<strong>VM</strong>, you should createthe st<strong>and</strong>-alone dump utility <strong>and</strong> place it on tape or a DASD for emergency use. If,after a system failure, <strong>CP</strong> cannot create an abend dump, you can use thest<strong>and</strong>-alone dump utility to dump all of storage.This chapter describes how to create the st<strong>and</strong>-alone dump utility <strong>and</strong> providesreference information about the:v H<strong>CP</strong>SADMP EXECv H<strong>CP</strong>SDC ASSEMBLE file.With the st<strong>and</strong>-alone dump utility, you can dump all of real storage when z/<strong>VM</strong>cannot create a <strong>CP</strong> abend dump. This utility dumps all resident, nonzero pages, <strong>CP</strong><strong>and</strong> non-<strong>CP</strong>. It cannot dump virtual machine storage <strong>and</strong> nonresident pages fromthe paging device.To use the st<strong>and</strong>-alone dump utility to dump real storage, you must have access toIPL the real machine. (This is usually done by the System Administrator, not a user.)You can IPL the st<strong>and</strong>-alone dump utility from tape or a DASD <strong>and</strong> direct the outputto a tape. You may need to reserve several tapes to hold all the information. Basicerror recovery is available for DASD <strong>and</strong> tape devices used as IPL or outputdevices.Typically, an installation can have several st<strong>and</strong>-alone dump utilities generated <strong>and</strong>ready to run. It would be useful to have the following configurations available for thest<strong>and</strong>-alone dump utility:v IPL from tape with output directed to tapesv IPL from DASD with output directed to tapesThese configurations let you take a st<strong>and</strong>-alone dump with any of the supportedpossible environments.Creating the St<strong>and</strong>-Alone Dump UtilityYour installation can generate the st<strong>and</strong>-alone dump utility to customize the facilityto your system configuration. This gives you control over the device used to IPL thest<strong>and</strong>-alone dump utility <strong>and</strong> the output device for the dump. Invoke theH<strong>CP</strong>SADMP EXEC in a CMS virtual machine to do the generation.Do not call the H<strong>CP</strong>SADMP EXEC from within another exec. Also, do not queue upthe answers ahead of time when running the H<strong>CP</strong>SADMP EXEC.© Copyright <strong>IBM</strong> Corp. 1991, 2004 403


Using the St<strong>and</strong>-Alone Dump UtilityTo use the H<strong>CP</strong>SADMP EXEC:v You must have read/write access to file mode A.v The following files must exist on an accessed disk:– H<strong>CP</strong>SADMP EXEC– H<strong>CP</strong>GPI MACLIB– H<strong>CP</strong>PSI MACLIB– H<strong>CP</strong>OM1 MACLIB– H<strong>CP</strong>OM2 MACLIB– H<strong>CP</strong><strong>VM</strong> CNTRL (the control file)– H<strong>CP</strong>LDR MODULE– H<strong>CP</strong>SADLD EXEC (the load list)– LDT H<strong>CP</strong>SADWT– H<strong>CP</strong>SAD TEXT– H<strong>CP</strong>SAH TEXT.v You need the H assembler or the high-level assembler.You are asked to answer a series of questions that describe the environment wherethe st<strong>and</strong>-alone dump utility will run. The H<strong>CP</strong>SADMP EXEC checks all input forvalidity <strong>and</strong> returns messages if you enter invalid data.1. If the system has generated more than one st<strong>and</strong>-alone configuration, useunique names for each configuration. The active configuration must always benamed H<strong>CP</strong>SDC. If you answer Y to create a new H<strong>CP</strong>SDC module, (refer to“Example for Generating the St<strong>and</strong>-Alone Dump Utility” on page 406), theoriginal is erased.2. If you respond with N to any of the questions (refer to “Example for Generatingthe St<strong>and</strong>-Alone Dump Utility” on page 406), the exec goes directly to the nextquestion without doing the indicated work.3. When the exec asks you to enter the real output device number, you are limitedto four digits for z/<strong>VM</strong>.An example of the prompts <strong>and</strong> replies that appear on the virtual machine consoleduring H<strong>CP</strong>SADMP EXEC execution is shown in “Example for Generating theSt<strong>and</strong>-Alone Dump Utility” on page 406.Following the data that you provide, the H<strong>CP</strong>SADMP EXEC:v Creates a file called H<strong>CP</strong>SDC ASSEMBLE <strong>and</strong> writes the file on your A diskv Assembles the H<strong>CP</strong>SDC ASSEMBLE file to create the H<strong>CP</strong>SDC TEXT file <strong>and</strong>link-edits it with the st<strong>and</strong>-alone dump utility modulev Writes the st<strong>and</strong>-alone dump utility load module on a real device.At the end of this procedure, the st<strong>and</strong>-alone dump utility resides on auxiliarystorage (tape or disk) ready for loading at any time.Before You BeginBefore you create the st<strong>and</strong>-alone dump utility, note the following:v If you use a DASD as the IPL device, the st<strong>and</strong>-alone dump utility takes upcylinder 0. The volume you use as the IPL device may be any <strong>CP</strong>-formattedDASD volume except the system residence (SYSRES) volume. The cylinder404 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Using the St<strong>and</strong>-Alone Dump Utilitymust be formatted as PERM space; use ICKDSF. The remaining cylinders maybe formatted <strong>and</strong> used for any <strong>CP</strong> function other than system residencefunctions.v If the volume you are going to use as your IPL device is shared through crosssystem link, the data created for cross system link by the XLINK FORMATcomm<strong>and</strong> must be placed in a cylinder other than cylinder 0 (its default location).The CSELVOL macroinstruction may be used to define an alternative location forcross system link data for specified volumes.v Any IPL device (tape or DASD) must be write-enabled.v When you create the st<strong>and</strong>-alone dump utility, you can specify up to eight dumpdevices. With one exception, the st<strong>and</strong>-alone dump utility chooses the first readydevice as a dump device. The exception is the IPL device. If a dump device isalso the IPL device, the st<strong>and</strong>-alone dump utility chooses any other ready dumpdevice first.v Choosing a dump device:– You may wish to include tape drives on different tape control units. Otherwise,if the tape control unit for the st<strong>and</strong>-alone dump devices is inoperative at thetime of failure, you will not be able to run the utility.– To increase the amount of dump data the st<strong>and</strong>-alone dump utility can writeon one tape, choose tape drives that can write the most data per tape reel orcartridge.Note: It is suggested that the 3590 be used for central storage sizes of 2Gigor more due to the 3590’s speed <strong>and</strong> high data capacity.Attention: The st<strong>and</strong>-alone dump utility does not support device sharing with otherprocessor complexes. Therefore, when you are ready to use the st<strong>and</strong>-alone dumputility, you should make sure no other system on any other processor complex isusing any of the possible dump devices.Devices You Can Use to IPL a St<strong>and</strong>-Alone DumpThe following are the devices you can use to IPL the st<strong>and</strong>-alone dump utility:DASD 3380 <strong>and</strong> 3390Tape 3422, 3480, 3490 <strong>and</strong> 3590Notes:1. If you select a DASD as the IPL device:a. It cannot be a device that has the St<strong>and</strong>-Alone Program Loader (SAPL) onit.b. It cannot be the resident system device.c. It must be <strong>CP</strong>-formatted by using either a <strong>CP</strong>FMTXA comm<strong>and</strong> or ICKDSF(recommended).d. Cylinder 0 must be allocated as permanent space.e. The st<strong>and</strong>-alone dump uses cylinder 0.f. The remaining cylinders may be formatted <strong>and</strong> used for any <strong>CP</strong> functionother than system residence functions.2. The st<strong>and</strong>-alone dump IPL tape can be the same as the tape to which youdirect the dump output. If you choose to use the same tape, the dump will NOTbe written over the st<strong>and</strong>-alone dump utility. That is, the same tape can beIPLed to take a dump at a later time.Chapter 13. Using the St<strong>and</strong>-Alone Dump Utility 405


Using the St<strong>and</strong>-Alone Dump Utility3. Do not try to IPL from a device that is not in the previous list. The st<strong>and</strong>-alonedump utility does not support FBA DASD.Devices to Which You Can Send Dump OutputThe following are the devices to which the dump output can be directed:Tape 3422, 3480, 3490 <strong>and</strong> 3590Notes:1. You can specify a maximum of eight real device numbers for the dump outputdevice. To increase the amount of dump data the st<strong>and</strong>-alone dump utility canwrite on a tape, choose tape drives that can write the most data per tape reel orcartridge. You can enter up to four digits for each real output device number. Itis suggested that the 3590 be used for central storage sizes of 2Gig or moredue to the 3590’s speed <strong>and</strong> high data capacity.2. When you configure the st<strong>and</strong>-alone dump utility, you can use any tape devicetype from the list of supported devices. You may wish to include tape drives ondifferent control units. Otherwise, if the tape control unit is inoperative at thetime of the failure, you will not be able to run the program.3. All 3480 tape devices save tape data in non-compact format. All 3490 <strong>and</strong> 3590tape devices save tape data in compact format.4. Do not send the st<strong>and</strong>-alone dump output to a device that is not included in theprevious list.The st<strong>and</strong>-alone dump utility selects, as the dump output device, the first availabledevice in the list, excluding the IPL device (if it is in the list). If you want thest<strong>and</strong>-alone dump output to go to the IPL tape, make all other devices that are inthe list not ready. If no other device within the output address list is available <strong>and</strong>the IPL tape address is in the list, the IPL device receives the dump.If you select a tape for the dump output device, other than the IPL tape, thest<strong>and</strong>-alone dump utility:1. Rewinds the tape to ensure that the dump is at the beginning of the tape2. Sets the density to the highest value for the tape device.If the tape device selected is the one on which the st<strong>and</strong>-alone dump utility resides,the utility writes the dump at the same density as the st<strong>and</strong>-alone dump utility waswritten.When using tape, reserve the complete tape for the st<strong>and</strong>-alone dump utility; do notput the st<strong>and</strong>-alone dump utility on a tape with the other st<strong>and</strong>-alone utilities.Use a single-volume, nonlabeled tape for the st<strong>and</strong>-alone dump utility. Be sure thatthe tape is nonlabeled, because the utility does not check to ensure that it is anonlabeled tape.Example for Generating the St<strong>and</strong>-Alone Dump UtilityThe following is an example of generating the st<strong>and</strong>-alone dump utility. In thisexample:406 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>v You are placing the st<strong>and</strong>-alone dump utility on a 3390 DASD device with anaddress of 150.v The control file in this example is H<strong>CP</strong><strong>VM</strong>.v The system sends the dump output to the first available 3490 tape drive whoseaddress is 570, 571, 572, 573, 574, 575, 576, or 577.


Using the St<strong>and</strong>-Alone Dump Utilityv The H<strong>CP</strong>SDC ASSEMBLE file is created <strong>and</strong> contains the H<strong>CP</strong>SDCMPmacroinstruction.v It is assumed that the st<strong>and</strong>-alone dump utility residence volume is attached toyour virtual machine <strong>and</strong> that you have the appropriate minidisk accesses.Note: To ensure the proper access order, use the UTILITY EXEC (see the z/<strong>VM</strong>:Guide for Automated Installation <strong>and</strong> Service).1. Use the <strong>CP</strong> ATTACH comm<strong>and</strong> to attach logically the st<strong>and</strong>-alone dump utilityresidence device to your virtual machine. For example, if you enter:attach rdev * vdevthe comm<strong>and</strong> attaches the device specified by rdev to the virtual machine.2. Establish the appropriate minidisk accesses by entering:vmfsetup esa cp3. Ensure that the H<strong>CP</strong>SADMP EXEC <strong>and</strong> H<strong>CP</strong><strong>VM</strong> CNTRL files to be used are ona minidisk accessed earliest in the user’s search order. H<strong>CP</strong>SADMP EXECuses the H<strong>CP</strong><strong>VM</strong> CNTRL file.Under CMS, enter:hcpsadmpThe exec replies:THE H<strong>CP</strong>SADMP EXEC:-OPTIONALLY CREATES A NEW H<strong>CP</strong>SDC ASSEMBLE FILECONTAINING AN H<strong>CP</strong>SDCMP MACRO WITH SELECTED PARAMETERSON YOUR A DISK. THE NEWLY CREATED MODULE WILL BEREASSEMBLED.-OPTIONALLY PLACES A LINK-EDITED H<strong>CP</strong>SAD MODULE (H<strong>CP</strong>SAD,H<strong>CP</strong>SAH AND H<strong>CP</strong>SDC) ONTO WHATEVER DEVICE IS DEFINED AS THERESIDENCE DEVICE, WHERE THE RESIDENCE DEVICE IS THETARGET DEVICE ON WHICH THE STAND-ALONE DUMP UTILITYWILL RESIDE.PLEASE RESPOND YES, NO (OR END TO EXIT EXEC) WHEN ITPROMPTS YOU. IF YOU RESPOND NO, YOU MUST HAVE A H<strong>CP</strong>SDCTEXT FILE FROM A PRIOR GENERATION OF THE STAND-ALONEDUMP UTILITY.DO YOU WANT TO CREATE A NEW H<strong>CP</strong>SDC MODULE?Enter:yesPLEASE SELECT RESIDENCE DEVICE TYPE(3350, 3375, 3380, 3390, 9345, 3420, 3422,3424, 3430, 3480, 3490, 3590, 9348 or END):9345PLEASE ENTER RESIDENCE DEVICE NUMBER:150PLEASE SELECT OUTPUT DEVICE TYPE:(3420, 3422, 3424, 3430, 3480, 3490, 3590, 9348 or END).3420Chapter 13. Using the St<strong>and</strong>-Alone Dump Utility 407


Using the St<strong>and</strong>-Alone Dump UtilityPLEASE SELECT OUTPUT DEVICE NUMBER OR LIST:A LIST MUST BE PLACED WITHINPARENTHESES AND THE ADDRESSESSEPARATED BY COMMAS(570,571,572,573,574,575,576,577)ASSEMBLING H<strong>CP</strong>SDCH<strong>CP</strong>SDC TEXT CREATED PRT FILE 4584 SENT FROM MAINT PRT AS 1234 RECS 0056COPY 001 HOLD NOKEEPDO YOU WANT TO PLACE THE STANDALONE DUMP ONTO 150?yesTaking a St<strong>and</strong>-Alone DumpLOAD LIST: H<strong>CP</strong>SADLD EXEC A2 mm/dd/yy hh:mm (MNT190)These messages inform you about the load list that the exec is using.<strong>CP</strong>U STOPPED; DISABLED WAIT PSW 000A0000 00008200When the H<strong>CP</strong>SADMP EXEC completes successfully, your virtual machine enters adisabled wait state, code 8200.If you plan to dump 16 MB of storage on a 1/2-inch reel, use a tape density of 1600or 6250 BPI. A 16 MB dump may not fit on a tape at 800 BPI.To invoke the st<strong>and</strong>-alone dump:1. For multiple processor systems, stop all tightly coupled processors. Do not clearstorage.2. For multiple-processor systems, select the processor with the I/O configurationthat has access to the resident volume address <strong>and</strong> the output deviceaddress(es).3. Display locations X'0' to X'18' at the console. The st<strong>and</strong>-alone dump IPLsequence overlays these bytes, so they cannot be recovered.4. Do a STORE STATUS operation on the <strong>CP</strong>U where you will IPL the st<strong>and</strong>-alonedump utility. If you do not do the STORE STATUS, the following are not savedin low storage:v <strong>CP</strong>U timerv Clock comparatorv Current PSWvPrefixv Model-dependent featuresv Control registersv Floating-point registers 0, 2, 4, <strong>and</strong> 6v Access registers408 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>v General-purpose registers.If the prefix value is not saved in low storage, the information from the prefixpage is not available for the formatted section of the dump.5. If the st<strong>and</strong>-alone dump utility resides on a tape, then mount <strong>and</strong> ready thevolume, making sure that the tape is write enabled.6. Ready the output device. If you want the system to place the st<strong>and</strong>-alone dumpon the IPL tape, make all other tapes listed as output devices (at generation


Using the St<strong>and</strong>-Alone Dump Utilitytime) not ready. If you do not want the st<strong>and</strong>-alone dump on a device that islisted as a possible output device, the device must not be ready at the time youIPL the st<strong>and</strong>-alone dump utility.7. IPL the st<strong>and</strong>-alone dump utility.Note: Do not use the LOAD CLEAR comm<strong>and</strong> to load the st<strong>and</strong>-alone dumputility. This comm<strong>and</strong> destroys the storage contents you are trying todump.Initially, the st<strong>and</strong>-alone dump utility writes the first seventeen pages of storageto the IPL device. This provides an area to load the st<strong>and</strong>-alone dump utility <strong>and</strong>work space. (See “Tape Format” on page 777 <strong>and</strong> “DASD Format” on page 779for information about the tape <strong>and</strong> DASD format.) This step causes the systemto place the dump on the output tape.8. After the <strong>CP</strong>U has gone into a wait state, display the PSW to determine thestatus. A wait state of 8200 indicates that the st<strong>and</strong>-alone dump hassuccessfully completed. If the st<strong>and</strong>-alone dump utility is unsuccessful becauseof some error that you can fix (for example, an I/O error on the output tape):a. Correct the error.b. Invoke a hardware RESTART to restart the st<strong>and</strong>-alone dump.If you re-IPL the st<strong>and</strong>-alone dump utility again, part or all of the first six pagesof storage will be invalid. After the initial IPL, you cannot change the IPLaddress or IPL volume. See the z/<strong>VM</strong>: System Operation book for a completedescription on the different wait state codes.Processing the St<strong>and</strong>-Alone Dump Data on TapeThe H<strong>CP</strong>SADMP EXECRe-IPL z/<strong>VM</strong>. Use the <strong>CP</strong> DUMPLOAD utility to create a CMS file from the dump onthe tape, <strong>and</strong> then use the <strong>VM</strong> Dump Tool to process the dump. For details onusing DUMPLOAD see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference. Fordetails on using the <strong>VM</strong> Dump Tool, see the z/<strong>VM</strong>: <strong>VM</strong> Dump Tool book.The H<strong>CP</strong>SADMP EXEC creates a load module of the st<strong>and</strong>-alone dump utility <strong>and</strong>writes the module on a real device. To invoke this exec, enter:hcpsadmpThe exec comm<strong>and</strong> line has no oper<strong>and</strong>s. It prompts you for the information itneeds. See “Creating the St<strong>and</strong>-Alone Dump Utility” on page 403.UsageNotes1. The IPL device, the device from which the st<strong>and</strong>-alone dump utility is loaded,cannot be the <strong>CP</strong> system residence device.2. If the IPL device is a tape, the st<strong>and</strong>-alone dump utility supports that same tapeas a dump device, the device to which dumps are sent.3. This utility does not support FBA DASD devices. For device support information,refer to “Devices You Can Use to IPL a St<strong>and</strong>-Alone Dump” on page 405 <strong>and</strong>“Devices to Which You Can Send Dump Output” on page 406.4. When the H<strong>CP</strong>SADMP EXEC completes successfully, your virtual machineenters a disabled wait state, code 8200.Chapter 13. Using the St<strong>and</strong>-Alone Dump Utility 409


Using the St<strong>and</strong>-Alone Dump Utility410 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 14. Creating <strong>and</strong> Modifying Image Libraries forPrintersCreating Text DecksThis chapter describes how to:v Create text decks for <strong>IBM</strong> 3800 <strong>and</strong> impact printersv Install <strong>and</strong> modify image librariesv Display information about image librariesv Purge image librariesv Find information on how to back up image librariesv Find more information about printers.For a printer to work properly, it must have access to an image library. This imagelibrary is a set of modules that define the spacing, characters, <strong>and</strong> copymodification data the printer needs to format <strong>and</strong> print information. For each printertype there can be a number of IMAGE libraries, but the IMAGE library used for anyone file must contain both the UCS images <strong>and</strong> the FCB images required for theprinter to properly format <strong>and</strong> print the file.An image library requires a text deck as its input file. The procedure for creating atext deck for a 3800 is different from the procedure for creating a text deck for animpact printer. This chapter explains both methods.If your installation dedicates a printer to a virtual machine, use the facilities of theoperating system you run in the virtual machine to build the appropriate imagelibraries. If your installation is going to use a printer as a <strong>CP</strong> spooling device (thatis, a device that <strong>CP</strong> uses to print data for one or more virtual machines), you canfollow the procedures described in this book to install image libraries.A text deck is the input file required to produce an image library. A text deckcontains forms control buffers (FCBs), copy modifications, character arrangementtables, graphic character modifications, or library character sets.Creating Text Decks for the 3800<strong>IBM</strong> supplies a 3800 image library feature tape. This feature tape is preinstalled onthe z/<strong>VM</strong> System DDR, source is excluded. Control files for a 3800 image libraryare included.Character sets supplied by <strong>IBM</strong> are supplied as separate files on the S disk; theyare named XTB1xxxx TEXT S. These fonts are described in the <strong>IBM</strong> 3800 PrintingSubsystem Programmer’s Guide.If you are modifying a 3800 image library or creating your own 3800 image library,you need to use the GENIMAGE utility to create a text deck for that image library.The following is an example of the comm<strong>and</strong> to initiate GENIMAGE:genimage sysin file * sysprint listing a1sysin file *is the file name, file type, <strong>and</strong> file mode of the CMS input file. (The file modecan represent an accessed minidisk or an accessed shared file systemdirectory.)© Copyright <strong>IBM</strong> Corp. 1991, 2004 411


Creating <strong>and</strong> Modifying Image Librariessysprint listing a1is the file name, file type, <strong>and</strong> file mode of the file in which GENIMAGE placesa message listing. (The file mode can represent an accessed minidisk or anaccessed shared file system directory.) GENIMAGE produces two groups ofoutput files: a message listing <strong>and</strong> a text deck.For more information on the GENIMAGE utility, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong>Utilities Reference book. For information on creating your own FCBs, copymodifications, <strong>and</strong> library character sets for a 3800, see the <strong>IBM</strong> 3800 PrintingSubsystem Programmer’s Guide.Creating Text Decks for Impact PrintersWith the z/<strong>VM</strong> System DDR tapes or CD-ROM, <strong>IBM</strong> supplies text decks, assemblefiles, <strong>and</strong> control files, which you can use to create image libraries for impactprinters. Impact printers supported by z/<strong>VM</strong> are listed in the z/<strong>VM</strong>: GeneralInformation book.If you are modifying an image library or creating your own image library, you needto create a text deck for that image library. To do so, you must:1. Code the appropriate macroinstructions to add universal character sets (UCSs)<strong>and</strong> FCBs to produce assemble files. For more information on the namingrestrictions <strong>and</strong> conventions for FCBs <strong>and</strong> UCSs, see “Universal Character Sets<strong>and</strong> FCBs Supplied by <strong>IBM</strong>,” “Forms Control Buffers Supplied by <strong>IBM</strong>” on page418, <strong>and</strong> “Naming Conventions for UCS Buffer Images <strong>and</strong> FCBs” on page 416.2. Process the assemble file with the <strong>VM</strong>FHASM utility. The output of <strong>VM</strong>FHASMis a text deck. If you have the H Assembler then use the <strong>VM</strong>FHASM comm<strong>and</strong>.If you have the High Level Assembler then use the <strong>VM</strong>FHLASM comm<strong>and</strong>.Universal Character Sets <strong>and</strong> FCBs Supplied by <strong>IBM</strong>The <strong>IBM</strong>-supplied buffer images for each printer are located in an assemble file ofthe form nnnnxxxx ASSEMBLE (nnnn is the printer type, xxxx is the buffer imagename).For example, the AN buffer image associated with the 3203 is located in 3203ANASSEMBLE.<strong>IBM</strong> supplies the following UCS buffer images for the 3203 printer:Name MeaningAN Normal alphanumeric notation character set arrangementHN Normal hexadecimal notation character set arrangementPCAN Preferred alphanumeric notation character set arrangementPCHN Preferred hexadecimal notation character set arrangementPN PL/I—60 graphicsQN PL/I—60 graphicsQNC PL/I—60 graphicsRN FORTRAN, COBOL commercialSN Text printing 84 graphicsTN Text printing 120 graphicsYN High-speed alphanumeric<strong>IBM</strong> also supplies the following UCS buffer images for devices that emulate the3211 printer.Name MeaningA11 St<strong>and</strong>ard commercial412 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Creating <strong>and</strong> Modifying Image LibrariesH11 St<strong>and</strong>ard scientificG11 ASCIIP11 PLIT11 Text printing<strong>IBM</strong> supplies the following UCS buffer images for the 3262 printer:Name MeaningP48 USA EBCDI<strong>CP</strong>52 Austria/Germany character setP63 USA EBCDI<strong>CP</strong>64 USA EBCDI<strong>CP</strong>96 USA EBCDI<strong>CP</strong>128 Katakana character set<strong>IBM</strong> supplies the following FCB images for the 3203, 3262, 4245, <strong>and</strong> 4248 printers<strong>and</strong> devices that emulate the 3211 printer:Name MeaningFCB1 Space—6 lines per inch; Length of page—66 linesLine Represented Channel Skip Specification1 13 25 37 49 511 613 715 819 1021 1123 1264 9FCB8 Space—8 lines per inch; Length of page—68 linesLine Represented Channel Skip Specification1 14 28 312 416 520 624 728 832 1036 1163 1266 9FCBS Space—8 lines per inch; Length of page—68 linesChapter 14. Creating <strong>and</strong> Modifying Image Libraries for Printers 413


Creating <strong>and</strong> Modifying Image LibrariesLine Represented Channel Skip Specification1 154 255 356 457 558 659 760 861 1062 1163 1264 9For the exact contents of these buffer images, see the <strong>IBM</strong> 3211 Printer, 3216Interchangeable Train Cartridge, <strong>and</strong> 3811 Printer Control Unit ComponentDescription <strong>and</strong> Operator’s Guide.Notes:1. During print line buffer (PLB) loading, the 3211 attaches to the end of the UCS a64-byte associative field. This buffer is used to ensure that each character thatis loaded into the PLB for printing is also on the print train.For the 3203, the dualing <strong>and</strong> uncomparable table (DUCT) serves a similarpurpose. For more information on coding the DUCT, see the <strong>IBM</strong> 3203 PrinterModel 5 Component Description <strong>and</strong> Operator’s Guide.2. The forms control buffer (FCB) for a virtual 3203, 3262 Model 5, 4245, 4248 ora device that emulates a 3211 should be compatible with the FCB that is loadedin the real counterpart; otherwise, the results will be unpredictable.Adding New Universal Character Set Buffer ImagesIf the UCS buffer images that <strong>IBM</strong> supplies do not meet your needs, you canchange a buffer image or create a new buffer image.With z/<strong>VM</strong>, two UCS macroinstructions define a UCS for any impact printer. Tocreate the text deck to add a new print buffer image to z/<strong>VM</strong>, you must:1. Provide a buffer image name <strong>and</strong> a 12-byte header for the buffer load by codingthe UCSI macroinstruction.2. Provide the exact image of the print chain.3. Code the UCSICCW macroinstruction <strong>and</strong> produce the appropriate ASSEMBLEfile. The UCSICCW macroinstruction marks the end of the print image <strong>and</strong>optionally creates a CCW to print the image.4. Process the assemble file with the <strong>VM</strong>FHASM utility. The output of <strong>VM</strong>FHASMis a text deck. For more information on <strong>VM</strong>FHASM, see “Using <strong>VM</strong>FHASM or<strong>VM</strong>FHLASM to Create a Text Deck” on page 422.Note: Only one UCS may be defined in an ASSEMBLE file.Macros are available that make the process of adding new print buffer imagesrelatively easy. The following procedures tell you how to use thesemacroinstructions. Using them also helps you avoid error.414 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Creating <strong>and</strong> Modifying Image LibrariesThe UCSI Macro: The UCSI macroinstruction creates a 12-byte header record forthe buffer load for any supported impact printer. <strong>CP</strong> uses the header record duringprocessing of the LOADBUF <strong>and</strong> START comm<strong>and</strong>s.Note that the UCS buffer contains up to 512 characters.The syntax of the UCSI macroinstruction is:►►labelUCSI ucsname ►◄ucsnameis a 1- to 4-character name that is assigned to the buffer load.After you have coded the UCSI macroinstruction, you must supply the exact printimage. To supply the print image, code DCs in hexadecimal or character format.The print image may consist of several DCs <strong>and</strong> may be up to 512 characters inlength. The image consists of a train image <strong>and</strong> possibly a dualing <strong>and</strong>uncomparable character table (DUCT). The length of the data for each of theseareas varies depending on the the printer type. Refer to the appropriate hardwaremanual for details. A list of some useful hardware manuals appears near the end ofthis chapter.UCSICCW Macro: After you have supplied the print image, code the UCSICCWmacroinstruction. The UCSICCW macroinstruction marks the end of the print image<strong>and</strong> optionally creates a CCW string to print the buffer load image when theoperator specifies VERIFY on the LOADBUF comm<strong>and</strong>. This macroinstructionapplies to any supported impact printer. The syntax of the UCSICCWmacroinstruction is:►►labelUCSICCWucsname,device►◄▼ ( ,printn )ucsnameis a 1- to 4-character name assigned to the buffer load by the UCSmacroinstruction.deviceis the device name of the printer with which the buffer is associated.printnare the line lengths to be printed. The variable print1 represents the number ofcharacters printed on the first line, print2 represents the number of charactersprinted on the second line, <strong>and</strong> so on. Each count specified must be between 1<strong>and</strong> the maximum length of the print line for the printer you specify. Up to 12print fields may be specified. However, the total number of characters to beprinted may not exceed the maximum for that printer. If the lengths are notspecified, the default is 48 characters per line for the entire UCS buffer image.Chapter 14. Creating <strong>and</strong> Modifying Image Libraries for Printers 415


Creating <strong>and</strong> Modifying Image LibrariesNaming Conventions for UCS Buffer Images <strong>and</strong> FCBs: When you modify orcreate a new UCS or FCB, follow the naming conventions listed below.v The name of the file containing UCS or FCB macroinstructions is composed ofthe printer type followed by the name of the character set. For the 3203 printerwith the PN character set, UCS macroinstructions are found in 3203PNASSEMBLE. This naming convention means that, for a given printer, no UCSmay have the same name as an FCB.v The CSECT name in an assemble file is the name of the character set. In3203PN ASSEMBLE, the CSECT name is PN.v Text files have the same file name as the associated assemble file <strong>and</strong> have afile type of TEXT. The text file associated with 3203PN ASSEMBLE is 3203PNTEXT.v Each UCS must be defined in a separate ASSEMBLE file.Examples of coding assemble files for printers are given in this chapter. Forinformation on creating text decks, see “Using <strong>VM</strong>FHASM or <strong>VM</strong>FHLASM to Createa Text Deck” on page 422.Examples of New 3203 UCS Buffer Images:Example 1: This example defines a buffer image called EX01. The associatedmodule in which you include the code for EX01 should be called 3203EX01ASSEMBLE.You do not have to specify the line length for verification of the buffer load. Insertthe following code in 3203EX01 ASSEMBLE:EX01 CSECTSPACECOPY H<strong>CP</strong>CWOEQCOPY H<strong>CP</strong>EQUATSPACEEX01 CSECT ,UCSI EX01DC 5C’1234567890A...Z1234567890*/’DC X’00101010101010101010004000404000’ 240-255DC X’40101010101010101010004040400000’ 256-271DC X’40401010101010101010004000000000’ 272-287DC X’10101010101010101010000000404000’ 288-303UCSICCW EX01,3203END EX01The buffer image is five representations of a 48-character string containing:v The alphabetic charactersv The numeric digits, twicev The special characters asterisk (*) <strong>and</strong> slash (/).Example 2: This example defines a buffer image called NUM1. The associatedmodule in which you include the code for NUM1 should be called 3203NUM1ASSEMBLE. Insert the following code in 3203NUM1 ASSEMBLE:416 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Creating <strong>and</strong> Modifying Image LibrariesEX02 CSECTSPACECOPY H<strong>CP</strong>CWOEQCOPY H<strong>CP</strong>EQUATSPACEEX02 CSECT ,UCSI NUM1DC 24C’1234567890’DC X’00101010101010101010004000404000’ 240-255DC X’40101010101010101010004040400000’ 256-271DC X’40401010101010101010004000000000’ 272-287DC X’10101010101010101010000000404000’ 288-303UCSICCW NUM1,3203,(60,60,60,60)END NUM1The NUM1 print buffer consists of twenty-four 10-character entries. If, after3203NUM1 ASSEMBLE is reloaded, you enter the comm<strong>and</strong>:loadbuf 00e ucs num1 verfour lines of 60 characters (the 10-character string repeated six times) are printed toverify the buffer load.Examples of New 3211 UCS Buffer Images: This example defines a bufferimage called A11. The associated module in which you include the code for A11should be called 3211A11 ASSEMBLE.Enter the following code for the A11 UCS buffer image in 3211A11 ASSEMBLE:ALL CSECTSPACECOPY H<strong>CP</strong>CWOEQCOPY H<strong>CP</strong>EQUATSPACEALL CSECT ,* a11 st<strong>and</strong>ard commercial 48 graphics 3211UCSI ALLDC 9C’1


Creating <strong>and</strong> Modifying Image LibrariesP48 CSECTSPACECOPY H<strong>CP</strong>CWOEQCOPY H<strong>CP</strong>EQUATSPACEP48 CSECT ,* ’usa ebcdic 48 character’UCSI P48SPACE* 0 1 2 3 4 5 6 7 8 9 a b c d e fDC X’F1F2F3F4F5F6F7F8F9F07B7C61E2E3E4’ 000DC X’E5E6E7E8E9506B6CD1D2D3D4D5D6D7D8’ 010DC X’D9605B5CC1C2C3C4C5C6C7C8C94E4B7D’ 020DC X’F1F2F3F4F5F6F7F8F9F07B7C61E2E3E4’ 030DC X’E5E6E7E8E9506B6CD1D2D3D4D5D6D7D8’ 040DC X’D9605B5CC1C2C3C4C5C6C7C8C94E4B7D’ 050DC X’F1F2F3F4F5F6F7F8F9F07B7C61E2E3E4’ 060DC X’E5E6E7E8E9506B6CD1D2D3D4D5D6D7D8’ 070DC X’D9605B5CC1C2C3C4C5C6C7C8C94E4B7D’ 080DC X’F1F2F3F4F5F6F7F8F9F07B7C61E2E3E4’ 090DC X’E5E6E7E8E9506B6CD1D2D3D4D5D6D7D8’ 0A0DC X’D9605B5CC1C2C3C4C5C6C7C8C94E4B7D’ 0B0DC X’F1F2F3F4F5F6F7F8F9F07B7C61E2E3E4’ 0C0DC X’E5E6E7E8E9506B6CD1D2D3D4D5D6D7D8’ 0D0DC X’D9605B5CC1C2C3C4C5C6C7C8C94E4B7D’ 0E0DC X’F1F2F3F4F5F6F7F8F9F07B7C61E2E3E4’ 0F0DC X’E5E6E7E8E9506B6CD1D2D3D4D5D6D7D8’ 100DC X’D9605B5CC1C2C3C4C5C6C7C8C94E4B7D’ 110UCSICCW P48,3262,(48,48,48,48,48,48)END P48Forms Control Buffers Supplied by <strong>IBM</strong>z/<strong>VM</strong> provides three FCB images: FCB1, FCB8, <strong>and</strong> FCBS. These FCBs arelocated in assemble files of the form nnnnxxxx ASSEMBLE, where:v The variable nnnn is the printer typev The variable xxxx is the buffer image name.For example, the FCB1 buffer image associated with the 4248 printer is located in4248FCB1 ASSEMBLE.Adding a New Forms Control BufferTo add a new forms control buffer for your real or virtual printer, use the FCBmacroinstruction. This macroinstruction applies to the following printers:3203 Model 5Devices that emulate the 32113262 Model 542454248.When you add a new FCB, make sure you follow the naming conventions givenunder “Naming Conventions for UCS Buffer Images <strong>and</strong> FCBs” on page 416. Theformat of the FCB macroinstruction for the printers listed above is:418 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Creating <strong>and</strong> Modifying Image Libraries►►labelFCB,6fcbname, ,length, ( ▼ line,channel )8 ,index►◄fcbnameis the name of the forms control buffer. The variable fcbname can be 1 to 4alphanumeric characters in length.spaceis the number of lines per inch. Valid specifications are 6 <strong>and</strong> 8. This oper<strong>and</strong>can be omitted; the default is six lines per inch. When the space oper<strong>and</strong> isomitted, a comma (,) must be coded. This oper<strong>and</strong> has no meaning for a virtualprinter.lengthis the number of print lines per page or carriage tape (2 to 255).(line,channel...)shows which print line (line) corresponds to each channel (channel). The valuesfor channel range from 1 to 12. The entries can be specified in any order.indexis an index value from 1 to 31. The variable index specifies the print positionthat is to be the first printed position. It is valid only for devices that emulate the3211 printer.To create the text deck that will add a new FCB:1. Code the FCB macroinstruction in the appropriate assemble file.2. Process the assemble file with the <strong>VM</strong>FHASM utility. The output of <strong>VM</strong>FHASMis a text deck. If you have the H Assembler then use the <strong>VM</strong>FHASM comm<strong>and</strong>.If you have the High Level Assembler then use the <strong>VM</strong>FHLASM comm<strong>and</strong>. Formore information on <strong>VM</strong>FHASM or <strong>VM</strong>FHLASM, see “Using <strong>VM</strong>FHASM or<strong>VM</strong>FHLASM to Create a Text Deck” on page 422.Notes:1. If you code the FCB macroinstruction with more than one channel designatedfor one print line, the macroinstruction includes only the last channel in thebuffer for that print line. (A buffer byte can only be loaded with one channelcode.)2. The forms control buffer must have compatibility with channel 1; that is, channel1 <strong>and</strong> line 1 must be the same physical line for all FCBs that are built. If theyare not, the forms will be misaligned.3. Each FCB assemble file should only contain one FCB or messageH<strong>CP</strong>CSB241E will be issued when you try to load any FCB other that the firstFCB into the printer.4. Make sure you access the disk that contains the H<strong>CP</strong>OM2 MACLIB beforeassembling your file. The H<strong>CP</strong>OM2 MACLIB contains the <strong>CP</strong> version of theFCB MACRO. Otherwise, the CMS version of the FCB MACRO might be foundin the DMSOM MACLIB <strong>and</strong> that will not create a valid text deck.ExampleCode the FCB macroinstruction (using the name SPEC), if you want:v Your printer to print 8 lines per inchChapter 14. Creating <strong>and</strong> Modifying Image Libraries for Printers 419


Creating <strong>and</strong> Modifying Image Librariesv Your printer to print 60 lines per pagev Channel 1 to correspond to print line 1v Channel 12 to correspond to print line 40v Channel 9 to correspond to print line 60v Print position 10 to be the first print position.fcb spec,8,60,(1,1,40,12,60,9),10If you want another forms control buffer, called LONG, to be exactly the same asSPEC with the exception that only six lines are printed per inch, code either of thefollowing:fcb long,6,60,(1,1,40,12,60,9),10fcb long,,60,(1,1,40,12,60,9),10Adding an Extended Forms Control Buffer for the 4248 PrinterTo add an extended forms control buffer for your real or virtual 4248 printer, use thefollowing format of the FCB macroinstruction:►►labelFCB fcbname, U ,lengthLMH►►,(1) A,( ▼ li, , ), ,ch sp offset 71 ,2 133 1925►◄Notes:1 The li,ch,sp values are positional; therefore, if the ch or sp or both values are omitted, theseparator commas are required to maintain the proper positioning. However, if on the lastline-channel-space definition the ch <strong>and</strong> sp values are omitted, the separator commas are notrequired, or if the sp value is omitted the separator comma is not required.fcbnameis the name of the forms control buffer. The variable fcbname can be from 1 to4 alphanumeric characters in length.speedis the speed at which the 4248 printer runs. The value of speed must be one ofthe following:ValueULMHMeaningUnchangedLowMediumHigh420 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Creating <strong>and</strong> Modifying Image Librarieslengthis the number of lines on the output page (2 to 256).li,ch,spis the information that defines a line in the FCB. You can specify multiple linesby separating the lines with commas. Enclose the entire line definition with onepair of parentheses.li specifies the line number on the page. This must be between 1 <strong>and</strong> thevalue you specified for length.ch specifies the channel code (1 to 12), or can be omitted. If you omit thisoper<strong>and</strong>, no channel is defined on this line.sp specifies the lines-per-inch (LPI) spacing. Spacing is variable with each line.Acceptable values are 6 <strong>and</strong> 8; or, you can omit this oper<strong>and</strong>. If omitted,the line spacing already in effect does not change.offsetspecifies the character position in which the duplicate copy begins if you requirethe duplicate feature. If you omit this oper<strong>and</strong>, no duplicate copy prints.levelscontrols the level of the paper stacker. Acceptable values are:Value MeaningA Automatic stacker level control, which is the default1 Paper tray lowered 1 inch below automatic position2 Paper tray lowered 2 inches below automatic position3 Paper tray lowered 3 inches below automatic positionratespecifies the paper stacker drop rate. Acceptable values are:Value Meaning7 Drop the paper tray after seven sheets, which is the default13 Drop the paper tray after 13 sheets19 Drop the paper tray after 19 sheets25 Drop the paper tray after 25 sheetsNote: If you specify the automatic stacker level control, the stacker drop rate isignored.Notes:1. If you code the FCB macroinstruction with more than one channel designatedfor one print line, the macroinstruction includes only the last channel in thebuffer for that print line. (A buffer byte can only be loaded with one channelcode.)2. The forms control buffer must have compatibility with channel 1; that is, channel1 <strong>and</strong> line 1 must be the same physical line for all FCBs that are built. If theyare not, the forms will be misaligned.3. Each FCB assemble file should only contain one FCB or messageH<strong>CP</strong>CSB241E will be issued when you try to load any FCB other that the firstFCB into the printer.4. Make sure you access the disk that contains the H<strong>CP</strong>OM2 MACLIB beforeassembling your file. The H<strong>CP</strong>OM2 MACLIB contains the <strong>CP</strong> version of theFCB MACRO. Otherwise, the CMS version of the FCB MACRO might be foundin the DMSOM MACLIB <strong>and</strong> that will not create a valid text deck.ExampleChapter 14. Creating <strong>and</strong> Modifying Image Libraries for Printers 421


Creating <strong>and</strong> Modifying Image LibrariesIf you want:v Your printer to run at medium speed, print 8 lines per inch, <strong>and</strong> 60 lines per pagev Channel 1 to correspond to print line 1v Channel 12 to correspond to print line 40v Channel 9 to correspond to print line 60v To begin the duplicate copy at position 67v To set the paper tray 2 inches below the automatic positionv To drop the paper tray after 25 sheets.code the FCB macroinstruction (using the name SPEC) as:fcb spec,m,60,(1,1,8,40,12,,60,9),67,2,25If you want another forms control buffer, called LONG, to be exactly the same asSPEC with the exception that, at line 40, the spacing be 6 lines per inch, code thefollowing:fcb long,m,60,(1,1,8,40,12,6,60,9),67,2,25Using <strong>VM</strong>FHASM or <strong>VM</strong>FHLASM to Create a Text DeckAfter you have created the appropriate assemble files to modify a UCS or FCBbuffer image, use the <strong>VM</strong>FHASM or <strong>VM</strong>FHLASM EXEC to create a text deck. If youhave the High Level Assembler then use the <strong>VM</strong>FHLASM comm<strong>and</strong>. If you havethe H Assembler then use the <strong>VM</strong>FHASM comm<strong>and</strong>. ExampleTo create a text deck from the file 3203PN ASSEMBLE, enter:vmfhlasm 3203pn fnwhere:3203pnis the file name of the 3203PN ASSEMBLE file.fn is the file name of a control file whose file type is CNTRL. You can create yourown control file or you can use the H<strong>CP</strong><strong>VM</strong> CNTRL file that is supplied by <strong>IBM</strong>.Refer to z/<strong>VM</strong>: <strong>VM</strong>SES/E Introduction <strong>and</strong> Reference for the format of a controlfile. The important thing about the control file that you use is that the <strong>CP</strong>maclibs should precede the CMS maclibs on the "MACS" statement.Specifically, H<strong>CP</strong>OM2 must precede DMSOM so that the correct FCB MACROis used for the assembly.<strong>VM</strong>FHASM or <strong>VM</strong>FHLASM creates the file 3203PN TEXT, which you can then useto create an image library.For more information on the <strong>VM</strong>FHASM or <strong>VM</strong>FHLASM execs see the z/<strong>VM</strong>:<strong>VM</strong>SES/E Introduction <strong>and</strong> Reference book. For information on image libraries, see“Installing Your Own Image Library” on page 423.ImageLibrariesThis section describes the tasks associated with image libraries.Default Image Library NamesThe default image library used for a printer is IMAGnnnn, where nnnn is the devicetype of the printer.422 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Creating <strong>and</strong> Modifying Image LibrariesSome types of printers may be configured to emulate another type of printer. Inthese cases, nnnn is the device type of the emulated printer, because that is thedevice type that is defined to <strong>CP</strong>. For example, a 4248 may emulate a 3211. In thiscase, the default image library is IMAG3211 because the printer is defined to <strong>CP</strong> asa 3211.Whether you use the default image library name or override the default byspecifying a name on either the RDEVICE statement or <strong>CP</strong> START comm<strong>and</strong>,before an image library can be used, it must be installed as described below.Installing the Image Library That <strong>IBM</strong> ProvidesAs part of the z/<strong>VM</strong> System DDR tapes or CD-ROM, <strong>IBM</strong> provides sample imagelibrary control files. For example, the image library control file for a 3800 printer is ina CMS file named IMAG3800 CNTRL. These control files are normal CMS files thatcan reside in an accessed Shared File System directory or on a minidisk. If you findthat these control files do not meet your needs, you can change them or createyour own. Whether you use the control files supplied by <strong>IBM</strong> or create your own,you must issue the IMAGELIB utility to install the image library associated withthose control files. “Installing Your Own Image Library” below describes how to dothis.For additional information on the IMAGELIB utility, refer to the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s<strong>and</strong> Utilities Reference book.Installing Your Own Image LibraryUse the IMAGELIB utility to install your own image library or the image libraryprovided by <strong>IBM</strong>. Before you issue IMAGELIB, you must create a control file whosefile name is the same as the image library you want to build <strong>and</strong> whose file type isCNTRL. The control file is a normal CMS file that can reside in an accessed sharedfile system directory or on a minidisk. The format of this file is one statement pertext deck you want included, with names in columns 1 to 8.The general format of IMAGELIB is as follows:imagelib libnameThe variable libname is the 1- to 8-character alphanumeric file name of theimage library you want to install. (Keep in mind that image library members mustbe in files with a file type of TEXT, <strong>and</strong> the names of the library parts must be ina CNTRL file.)Example 1To install an image library for which the components are listed in the file named3800LIB1 CNTRL, enter:imagelib 3800lib1Example 2To install an image library for which the components are listed in the file named3203LIB2 CNTRL, enter:imagelib 3203lib2For additional information about the IMAGELIB utility, refer to the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book.Chapter 14. Creating <strong>and</strong> Modifying Image Libraries for Printers 423


Creating <strong>and</strong> Modifying Image LibrariesModifying Image LibrariesUse the IMAGEMOD utility to alter existing image libraries or to create a map of animage library. For additional information about the IMAGEMOD utility, refer to thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book.Adding Files to an Image LibraryUse the ADD oper<strong>and</strong> of IMAGEMOD to add files to an existing image library. Forexample, to ADD the images XT10 <strong>and</strong> XT12, from the <strong>IBM</strong> supplied text decksXTB1XT10 <strong>and</strong> XTB1XT2, to the image library named IMAG3800, enter:IMAGEMOD ADD IMAG3800 XTB1XT10 XTB1XT12Note: For names of other <strong>IBM</strong> supplied images for the 3800, refer to “Creating TextDecks for the 3800” on page 411.Deleting Members from an Image LibraryUse the DEL oper<strong>and</strong> of IMAGEMOD to delete members from an existing imagelibrary. For example, to delete the members named XTB1ODA <strong>and</strong> XTB1ONA fromthe image library named IMAG3800, enter:IMAGEMOD DEL IMAG3800 XTB1ODA XTB1ONAReplacing Members or Modules in an Image LibraryUse the REP oper<strong>and</strong> of IMAGEMOD to replace existing modules of an imagelibrary with modules of the same name. For example, to replace the modulesnamed XTB1GS10, XTB1GS12, <strong>and</strong> XTB1GS15, enter:IMAGEMOD REP IMAG3800 XTB1GS10 XTB1GS12 XTB1GS15Creating an Image Library MapUse the MAP oper<strong>and</strong> of the IMAGEMOD comm<strong>and</strong> to create a map of an imagelibrary. Use the TERM, PRINT, <strong>and</strong> DISK options to specify where you want themap sent. Example 1To create a map of an image library named IMAG3800 <strong>and</strong> send the map to yourconsole, enter:imagemod map imag3800 (termExample 2To create a map of an image library named IMAG3211 <strong>and</strong> send the map to yourvirtual printer, enter:imagemod map imag3211 (printExample 3To create a map of an image library named IMAG3800 <strong>and</strong> place the map in aCMS file on your A disk, enter:imagemod map imag3800 (diskNote that the map will be contained in a file named IMAG3800 MAP A5.Displaying Information about Image LibrariesUse the QUERY IMG comm<strong>and</strong> to display information about your image libraries.(Note that QUERY IMG can be entered by class A, B, C, D, <strong>and</strong> E users.)For example, to display information about all of your image libraries, enter:424 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Creating <strong>and</strong> Modifying Image Librariesquery img allTo display information about a particular image library, for example, the one namedIMAG3800, enter:query img name imag3800In response to these comm<strong>and</strong>s, <strong>CP</strong> displays information similar to the following:OWNERID FILE TYPE CL RECS DATE TIME FILENAME FILETYPE ORIGINIDuserid spid IMG c nnnn mm/dd hh:mm:ss filename filetype originidFor the meanings of these fields, refer to the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference book.Purging Image LibrariesUse the PURGE IMG comm<strong>and</strong> to get rid of unwanted files that contain imagelibraries. (Note that PURGE IMG can be entered by class A, B, C, D, <strong>and</strong> E users.)For example, to purge a 3800 image library named IMAGTEST, enter:purge img name imagtestAfter this comm<strong>and</strong> is entered, <strong>CP</strong> purges IMAGTEST unless a printer is still usingit. If a printer is still using IMAGTEST, <strong>CP</strong> places the file in a pending-purge state.<strong>CP</strong> purges the file as soon as the printer releases it.To determine whether a file is in pending-purge state, enter the QUERY IMGcomm<strong>and</strong>. If the file is in pending-purge state, <strong>CP</strong>’s response shows that the file isclass P.Keeping Backup Copies of Image Libraries<strong>CP</strong> uses system spooling space to store image libraries. Because you may notalways be able to recover spooling space after a <strong>CP</strong> abnormal termination, youshould use the <strong>CP</strong> SPXTAPE comm<strong>and</strong> to keep backup copies of image librarieson tape. (Note, however, that the system tries to preserve system data files [SDFs]over a cold start.) For more information, see the z/<strong>VM</strong>: System Operation or z/<strong>VM</strong>:<strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference books.Where to Find More Information about PrintersFor information on using the GENIMAGE utility to create text decks that contain3800 FCB images, copy modifications, character arrangement tables, graphiccharacter modifications, <strong>and</strong> library character sets, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s<strong>and</strong> Utilities Reference book.For information on operating a 3800 printer as a real spooling device, see the z/<strong>VM</strong>:System Operation book.For detailed information on the 3800 printer itself, see:v Introducing the <strong>IBM</strong> 3800 Printing Subsystem <strong>and</strong> Its Programmingv <strong>IBM</strong> 3800 Printing Subsystem Programmer’s Guide, OS/VS1, OS/VS2v Reference Manual for the <strong>IBM</strong> 3800 Printing Subsystem.For more information on other printers mentioned in this chapter, see:v <strong>IBM</strong> 3203 Printer Model 5 Component Description <strong>and</strong> Operator’s Guidev <strong>IBM</strong> 3262-1/11 Printer Component DescriptionChapter 14. Creating <strong>and</strong> Modifying Image Libraries for Printers 425


Creating <strong>and</strong> Modifying Image Librariesv <strong>IBM</strong> 3262-2/12 Printer Component Descriptionv <strong>IBM</strong> 3262-3/13 Printer Component Descriptionv <strong>IBM</strong> 3262-1/11 Printer Operator’s Guidev <strong>IBM</strong> 3262-2/12 Printer Operator’s Guidev <strong>IBM</strong> 3262-3/13 Printer Operator’s Guidev <strong>IBM</strong> 4245-1 Printer Component Description <strong>and</strong> Operator’s Guidev <strong>IBM</strong> 4248-1 Printer Operator’s Introduction <strong>and</strong> Referencev <strong>IBM</strong> 4248-2 Printer Operator’s Introduction <strong>and</strong> Reference.426 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 15. CCW TranslationUsing CCW TranslationThis chapter describes how to code the macroinstructions used at installation timeto change the way <strong>CP</strong> h<strong>and</strong>les CCWs.An installation can control how <strong>CP</strong> h<strong>and</strong>les specific CCWs. <strong>CP</strong> uses a set of tablesto translate the guest’s virtual channel programs into real channel programs that <strong>CP</strong>issues to the real device. These tables identify the characteristics of each CCWcomm<strong>and</strong> (00 - FF) for the device class <strong>and</strong> type. An installation with onlysupported DASDs would not need to alter these tables. However, if the installationcontains devices that act slightly different from supported DASD, a systeminstallation programmer would want to slightly alter specific CCW entries in thesetables.The table name is the same as the file name of an ASSEMBLE file that must beupdated, assembled, <strong>and</strong> incorporated in place of the st<strong>and</strong>ard table TEXT filewhen building the <strong>CP</strong> system.Table 14 shows the table module’s file name <strong>and</strong> the macroinstruction nameassociated with each device class.Table 14. Table <strong>and</strong> Macroinstruction Names for Device ClassesTable Macroinstruction Device ClassH<strong>CP</strong>TCS H<strong>CP</strong>CHSCD Check sorterH<strong>CP</strong>TDD H<strong>CP</strong>DDPCD Dedicated DASDH<strong>CP</strong>FBD H<strong>CP</strong>DDPCD Dedicated FBA DASDH<strong>CP</strong>TUD H<strong>CP</strong>DDPCD DASD, unsupportedH<strong>CP</strong>TMD H<strong>CP</strong>MDPCD MinidiskH<strong>CP</strong>FBM H<strong>CP</strong>MDPCD FBA MinidiskH<strong>CP</strong>TTP H<strong>CP</strong>TPPCD TapeH<strong>CP</strong>UTT H<strong>CP</strong>TPPCD Tape, unsupportedH<strong>CP</strong>TMT H<strong>CP</strong>CONCD Terminal, 3215H<strong>CP</strong>TMT H<strong>CP</strong>DSPCD Terminal, 3270H<strong>CP</strong>TMT H<strong>CP</strong>TRMCD Terminal, TERMH<strong>CP</strong>TUT H<strong>CP</strong>TRMCD Terminal, unsupportedH<strong>CP</strong>TUR H<strong>CP</strong>URPCD Unit recordH<strong>CP</strong>UUR H<strong>CP</strong>URPCD Unit record, unsupportedCoding the Device Class MacroinstructionTo code a device macroinstruction to change the way that <strong>CP</strong> h<strong>and</strong>les a specificCCW for the device:1. Display the filename ASSEMBLE file for the device class. (The filename is thesame as the table name in Table 14 for the device class. For example, to viewthe information for minidisks, display the H<strong>CP</strong>TMD ASSEMBLE file.)2. Locate the table name associated with the device type <strong>and</strong> model you want tochange. The table name appears in the specifications section of the assemblefile listing. For example, the table name for 9345 minidisks is TMD93451. Thespecification section of the assemble file contains other information <strong>and</strong> notesthat you may want to review; for example, the device macroinstructionparameters that are valid for the device class.© Copyright <strong>IBM</strong> Corp. 1991, 2004 427


CCW TranslationUnsupported Devices Tables3. Locate the CCW entry within the table that you want to change.4. Code the CCW exactly as it appears in the filename ASSEMBLE file but changethe conditions to satisfy your needs. You must code a change for each CCWyou want to redefine. See “Device Macroinstruction” on page 429 for the validparameter choices.5. When all CCW changes are coded, code one more entry with LAST=YES.6. Assemble the changed table <strong>and</strong> include the generated text deck when buildingthe <strong>CP</strong> system nucleus.The unsupported device tables each contain one table for how <strong>CP</strong> should treat thatclass of unsupported device. All unsupported devices of the same class are treatedidentically.<strong>CP</strong> treats an unsupported DASD, for example, in many of the same ways that ittreats a supported dedicated DASD. The only exceptions are those specified in theunsupported DASD table. <strong>CP</strong> h<strong>and</strong>les channel program CCWs as you specifiedthem in the table.428 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


CCW TranslationDevice Macroinstruction►► tname mnameLAST=NOYES►◄▼CCW=cmd,DATAXFR= NO,DIAGNOS= YES,MULTI=PREPROC=RONLY=SEEKREQ=SIMULAT=SPECIAL=STATMOD=SYSBUSY=VALID=MODE= LINE,FULL,BOTH,TYPE= WRITE,READ,SELECT,CTRL,Parameterstname mnameidentifies the device translation table <strong>and</strong> macroinstruction for the device class.These must match the table <strong>and</strong> macroinstruction names shown in Table 14 onpage 427. These cannot be changed because <strong>CP</strong> code references thesenames.CCW=cmdidentifies the comm<strong>and</strong> code. The cmd is expressed in hex in the range X'00' toX'FF'.DATAXFER=NODATAXFER=YESindicates if the comm<strong>and</strong> causes a data transfer on the channel.DIAGNOS=NODIAGNOS=YESindicates if the comm<strong>and</strong> is a diagnostic CCW.MULTI=NOMULTI=YESindicates if the comm<strong>and</strong> is a multitrack operation. This is an internal <strong>CP</strong> flag.PREPROC=NOPREPROC=YESindicates if preprocessing is required. This is an internal <strong>CP</strong> flag.RONLY=NORONLY=YESindicates if the comm<strong>and</strong> is prohibited (comm<strong>and</strong> rejected) on a read-onlydevice.Chapter 15. CCW Translation 429


CCW TranslationSEEKREQ=NOSEEKREQ=YESindicates if orientation is required. That is, this CCW must have been precededin the channel program by a SEEK CCW.SIMULATE=NOSIMULATE=YESindicates if CCW simulation is required. This is an internal <strong>CP</strong> flag.SPECIAL=NOSPECIAL=YESindicates that further checking is required, such as:v Certain opcodes need no data translationv Certain opcodes must be first in the channel programv For certain opcodes, user class is checked.This is an internal <strong>CP</strong> flag.STATMOD=NOSTATMOD=YESindicates if the device can set STATUS MODIFIED.SYSBUSY=NOSYSBUSY=YESindicates if the comm<strong>and</strong> is allowed to be issued to a tape device that iscurrently marked as busy with a system function such as SPXTAPE. If it is notallowed, a unit check is returned with comm<strong>and</strong> reject set in the sense data.VALID=NOVALID=YESindicates if the comm<strong>and</strong> is valid. VALID=NO causes a comm<strong>and</strong> reject for thisCCW.MODE=LINEMODE=FULLMODE=BOTHindicates the screen mode.TYPE=WRITETYPE=READTYPE=SELECTTYPE=CTRLindicates type of comm<strong>and</strong>.LAST=NOLAST=YESindicates if this is the last invocation for a particular device table. It must bespecified as YES for the last invocation in order to generate a device table.ExamplesExamples are not provided because you should be using the ASSEMBLE files asthe base for your changes.You cannot create new tables, labels, device classes, or supported device types.You can modify only existing tables <strong>and</strong> entries.430 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Part 3. User <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Chapter 16. Redefining Comm<strong>and</strong> Privilege Classes . . . . . . . . . 433<strong>IBM</strong>-Defined Privilege Classes . . . . . . . . . . . . . . . . . . . 433<strong>Planning</strong> a New User Class Structure . . . . . . . . . . . . . . . . 434Defining Users’ Needs . . . . . . . . . . . . . . . . . . . . . 434Assigning Comm<strong>and</strong>s to Types of Users . . . . . . . . . . . . . . 435Associating Privilege Classes with Users <strong>and</strong> Comm<strong>and</strong>s . . . . . . . . 436Further Considerations . . . . . . . . . . . . . . . . . . . . 437Preparing <strong>and</strong> Activating the Override File . . . . . . . . . . . . . . 438Creating a Class Override File . . . . . . . . . . . . . . . . . . 438Class Override File Example . . . . . . . . . . . . . . . . . . 439Verifying <strong>and</strong> Activating the Override File . . . . . . . . . . . . . . 441Querying the User Class Restructure File . . . . . . . . . . . . . . 442Changing Back to the <strong>IBM</strong>-Defined User Classes . . . . . . . . . . . 442Another Way of Changing the Privilege Class of Certain <strong>CP</strong> Functions 443Changing the Directory . . . . . . . . . . . . . . . . . . . . . 443Defining Privilege Classes for a Virtual Machine . . . . . . . . . . . 444Changing the Setting for a Logged-On Virtual Machine . . . . . . . . 444Changing the User Directory . . . . . . . . . . . . . . . . . 444How Users Can Find Which Comm<strong>and</strong>s They Can Enter . . . . . . . . 446Chapter 17. Creating <strong>and</strong> Updating a User Directory . . . . . . . . . 447Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 447Creating the User Directory . . . . . . . . . . . . . . . . . . . . 451Continued Directory Control Statements . . . . . . . . . . . . . . . 452Quoted String Oper<strong>and</strong>s . . . . . . . . . . . . . . . . . . . . . 452Running the User Directory Program . . . . . . . . . . . . . . . . 453Changing the Directory . . . . . . . . . . . . . . . . . . . . . 454Checking a Directory for Errors . . . . . . . . . . . . . . . . . . 454Specifying a Directory That Contains <strong>VM</strong>/SP Control Statements . . . . . . 455Creating Directory Profiles . . . . . . . . . . . . . . . . . . . . 455Determining How Much Space the Directory Needs . . . . . . . . . . . 455ACCOUNT Directory Control Statement (General) . . . . . . . . . . . 456ACIGROUP Directory Control Statement (General) . . . . . . . . . . . 458APP<strong>CP</strong>ASS Directory Control Statement (General) . . . . . . . . . . . 459AUTOLOG Directory Control Statement (General) . . . . . . . . . . . 461CLASS Directory Control Statement (General) . . . . . . . . . . . . . 462CONSOLE Directory Control Statement (Device) . . . . . . . . . . . . 463<strong>CP</strong>U Directory Control Statement (General) . . . . . . . . . . . . . . 465CRYPTO Directory Control Statement (General) . . . . . . . . . . . . 468DASDOPT Directory Control Statement (Device) . . . . . . . . . . . . 472DATEFORMAT Directory Control Statement (General) . . . . . . . . . . 475DEDICATE Directory Control Statement (Device) . . . . . . . . . . . . 477DIRECTORY Directory Control Statement (Control) . . . . . . . . . . . 480D8ONECMD Directory Control Statement (General) . . . . . . . . . . . 483GLOBALDEFS Directory Control Statement (Control) . . . . . . . . . . 485GLOBALOPTS Directory Control Statement (Control) . . . . . . . . . . 486INCLUDE Directory Control Statement (General) . . . . . . . . . . . . 487IOPRIORITY Directory Control Statement (General) . . . . . . . . . . . 488IPL Directory Control Statement (General) . . . . . . . . . . . . . . 490IUCV Directory Control Statement (General) . . . . . . . . . . . . . 493LINK Directory Control Statement (Device) . . . . . . . . . . . . . . 500LOAD Directory Control Statement (Control) . . . . . . . . . . . . . 504LOADDEV Directory Control Statement (General) . . . . . . . . . . . 507© Copyright <strong>IBM</strong> Corp. 1991, 2004 431


432 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>LOGONBY Directory Control Statement (General) . . . . . . . . . . . 509MACHINE Directory Control Statement (General) . . . . . . . . . . . . 510MAXSTORAGE Directory Control Statement (General) . . . . . . . . . . 512MDISK Directory Control Statement (Device) . . . . . . . . . . . . . 513MINIOPT Directory Control Statement (Device) . . . . . . . . . . . . 524NAMESAVE Directory Control Statement (General) . . . . . . . . . . . 527NICDEF Directory Control Statement (Device) . . . . . . . . . . . . . 529NOPDATA Directory Control Statement (General) . . . . . . . . . . . . 532OPTION Directory Control Statement (General) . . . . . . . . . . . . 533POOL Directory Control Statement (General) . . . . . . . . . . . . . 540POSIXGLIST Directory Control Statement (General). . . . . . . . . . . 541POSIXGROUP Directory Control Statement (Control) . . . . . . . . . . 543POSIXINFO Directory Control Statement (General) . . . . . . . . . . . 545POSIXOPT Directory Control Statement (General) . . . . . . . . . . . 548PROFILE Directory Control Statement (Control) . . . . . . . . . . . . 551SCREEN Directory Control Statement (General) . . . . . . . . . . . . 553SHARE Directory Control Statement (General) . . . . . . . . . . . . . 555SPECIAL Directory Control Statement (Device) . . . . . . . . . . . . 557SPOOL Directory Control Statement (Device) . . . . . . . . . . . . . 562SPOOLFILE Directory Control Statement (General) . . . . . . . . . . . 565STDEVOPT Directory Control Statement (General) . . . . . . . . . . . 566STORAGE Directory Control Statement (General) . . . . . . . . . . . 568SYSAFFIN Directory Control Statement (Control) . . . . . . . . . . . . 569USER Directory Control Statement (Control) . . . . . . . . . . . . . 572XAUTOLOG Directory Control Statement (General) . . . . . . . . . . . 578XCONFIG Directory Control Statement (General) . . . . . . . . . . . . 580XCONFIG ACCESSLIST Oper<strong>and</strong> . . . . . . . . . . . . . . . . . 581XCONFIG ADDRSPACE Oper<strong>and</strong> . . . . . . . . . . . . . . . . . 583XSTORE Directory Control Statement (General) . . . . . . . . . . . . 585


Chapter 16. Redefining Comm<strong>and</strong> Privilege ClassesThe user class restructure feature allows an installation to extend the privilege-classstructure of <strong>CP</strong> comm<strong>and</strong>s, DIAGNOSE codes, <strong>and</strong> certain <strong>CP</strong> system functionsfrom eight classes to as many as 32 classes. By creating a more elaborate classstructure, an installation gains greater control over the functions that each user canperform. The user classes can thus become more focused <strong>and</strong> specialized,increasing system integrity <strong>and</strong> security.Note: An installation can place override requests into a system configuration file byusing MODIFY statements. However, you should use either the OVERRIDEutility or the MODIFY statements. If any MODIFY statement is detected atIPL time, the UCR (User Class Restructure) override changes will bebypassed. <strong>IBM</strong> recommends using the new MODIFY statements. For moreinformation on this method of extending the privilege-class structure of asystem, see the z/<strong>VM</strong>: <strong>CP</strong> Exit Customization book.This chapter tells you how to:v Use the user class restructure featurev Plan a new user class structurev Prepare <strong>and</strong> activate an override filev Display information about the current user class structurev Change back to the default <strong>IBM</strong>-defined class structurev Change the user directories.To redefine your user class structure, do the following:1. Plan your new structure by identifying each user group <strong>and</strong> the functions thatthey need to perform.<strong>IBM</strong>-Defined Privilege Classes2. Prepare an override file. This is a CMS file that contains a list of all comm<strong>and</strong>s,DIAGNOSE codes, <strong>and</strong> system functions for which you wish to define newclasses.3. Update the directory to assign the new classes to each user’s virtual machine.These steps are described in more detail in the sections that follow.z/<strong>VM</strong> <strong>CP</strong> comm<strong>and</strong>s are divided into eight groups, each represented by a privilegeclass. The privilege class indicates the type of user from whom the system acceptscomm<strong>and</strong>s.In general, the system programmer who creates the system directory assigns eachuser one or more privilege classes as part of the user’s entry in that directory.Privilege classes are denoted by the letters A through Z, the numbers 1 through 6,or the word “Any”. These classes, <strong>and</strong> the type of user who uses the comm<strong>and</strong>sbelonging to each privilege class set, are summarized in Table 15 on page 434.Classes I through Z <strong>and</strong> numbers 1 through 6 are reserved so that your installationcan define them to suit its needs.Users whose password is NOLOG have no privilege class <strong>and</strong> can only receivespooled output as punched cards or printed forms. The NOLOG assignment© Copyright <strong>IBM</strong> Corp. 1991, 2004 433


Redefining Comm<strong>and</strong> Privilege Classescontrolled by directory control statements; see “USER Directory Control Statement(Control)” on page 572 for more information about NOLOG users.Table 15. <strong>IBM</strong>-Defined Privilege ClassesClass User <strong>and</strong> FunctionA System Operator: The class A user controls the z/<strong>VM</strong> system. The systemoperator is responsible for the availability of the z/<strong>VM</strong> system <strong>and</strong> itsresources. In addition, the system operator controls system accounting,broadcast messages, virtual machine performance options, <strong>and</strong> otheroptions that affect the overall performance of z/<strong>VM</strong>.Note: The class A user who is automatically logged on during <strong>CP</strong>initialization is designated as the primary system operator.B System Resource Operator: The class B user controls all the real resourcesof the z/<strong>VM</strong> system, except those controlled by the system operator <strong>and</strong> thespooling operator.C System Programmer: The class C user updates or changes system-wideparameters of the z/<strong>VM</strong> system.D Spooling Operator: The class D user controls spool files <strong>and</strong> the system’sreal reader, printer, <strong>and</strong> punch equipment allocated to spooling use.E System Analyst: The class E user examines <strong>and</strong> saves system operationdata in specified z/<strong>VM</strong> storage areas.F Service Representative: The class F user obtains, <strong>and</strong> examines in detail,data about input <strong>and</strong> output devices connected to the z/<strong>VM</strong> system. Thisclass is reserved for <strong>IBM</strong> use.G General User: The class G user controls functions associate with a particularvirtual machine.Any Comm<strong>and</strong>s belonging to class “Any” are available to any user, regardless ofthe user’s privilege class. These comm<strong>and</strong>s are primarily those used to gainaccess to, or relinquish access from, the z/<strong>VM</strong> system.H Reserved for <strong>IBM</strong> use.I - Z 1 - 6 Classes I through Z are reserved for redefinition through user classrestructure as needed by each installation.<strong>Planning</strong> a New User Class StructureWhile planning the new class structure, you should:v Define each user’s needsv Assign comm<strong>and</strong>s to types of usersv Associate privilege classes with users <strong>and</strong> comm<strong>and</strong>sDefining Users’ NeedsThe first step in restructuring comm<strong>and</strong> classes is to determine the different typesof users <strong>and</strong> what types of functions each user needs to perform.Consider a fictional insurance company with a variety of users <strong>and</strong> jobresponsibilities. The installation has decided to define a new class structure. Thesystem administrator examines the users’ needs <strong>and</strong> produces the categories asshown in Table 16 on page 435.434 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Redefining Comm<strong>and</strong> Privilege ClassesTable 16. A Sample Scenario: Different System Users <strong>and</strong> Their ResponsibilitiesJob Title Abbreviation DutiesSystemadministratorSenior systemprogrammersJunior systemprogrammersSAD General management of the system <strong>and</strong>determining how the system will be structured<strong>and</strong> used.SSP <strong>Planning</strong>, generating, maintaining, extending, <strong>and</strong>controlling the use of the operating system withthe aim of improving the general productivity ofthe installation.JSP Similar to senior system programmers, but withless control over the system.System analysts SA Analyzing the system to determine what newapplications, system programs, <strong>and</strong> devices areneeded by the installation.Primary systemoperatorsDatabaseadministratorSO Ensuring the smooth running of the system <strong>and</strong>carrying out such duties as changing tapes <strong>and</strong>disk packs.DBA Administering resources associated with, <strong>and</strong>having access to, the main database of thesystem, <strong>and</strong> resources associated with spooling,printing, <strong>and</strong> archiving.Service engineers SE Obtaining <strong>and</strong> examining certain data about I/Odevices connected to the system. Also,controlling intensive error recording <strong>and</strong> somemachine check error recording.General users U1, U2 Two different types of general users with differentrequirements were identified, the first moresophisticated than the second. (All users, even ifclassified above, will also be classified as onetype of general user.)Assigning Comm<strong>and</strong>s to Types of UsersAfter you have produced these categories, you need to list all the comm<strong>and</strong>s,DIAGNOSE codes, <strong>and</strong> system functions that each user group will need to execute.In our insurance company example, the system administrator produces a list ofcomm<strong>and</strong>s with the user types listed across the top. (For the sake of brevity, thetable presented here lists only a few comm<strong>and</strong>s. In reality, all <strong>CP</strong> comm<strong>and</strong>s,DIAGNOSE codes, <strong>and</strong> system functions should be listed, except those with an<strong>IBM</strong>-defined class of ANY.) After you have produced this list, you need to identifywhich comm<strong>and</strong>s you want each user type to be able to access. For our example,an asterisk (*) is placed in the column for each user that should have access to thecomm<strong>and</strong> in the first column. See Table 17 on page 436.Chapter 16. Redefining Comm<strong>and</strong> Privilege Classes 435


Redefining Comm<strong>and</strong> Privilege ClassesTable 17. Example of How to Assign Comm<strong>and</strong>s, Diagnose Codes, <strong>and</strong> System Functions to Types of UsersComm<strong>and</strong><strong>IBM</strong>-DefinedClass New Class SAD SSP JSP SA SO DBA SE U1 U2ACNT A *ATTN G * *XAUTOLOG A * *XAUTOLOG B * * * *XAUTOLOG G *CHANGE D * *CHANGE G * *DEDICATE A *DEFINE A *DEFINE G * *IPL G * *MESSAGE A * *MESSAGE B *SAVESYS E * *SPOOL G * *DIAG04 C,E * * * *DIAG3C A,B,C * * * *SYSDFLT G *SYSOPR A * *SYSSERV F *Notes:1. Do not list comm<strong>and</strong>s with an <strong>IBM</strong>-defined class ANY. You cannot limit accessto these comm<strong>and</strong>s.2. Some comm<strong>and</strong>s have more than one <strong>IBM</strong>-defined class. For a list of thesecomm<strong>and</strong>s, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book. Youneed to list these separately so that you can assign them to different usergroups.3. Restricting the user class on a console comm<strong>and</strong> does not restrict the functionof the directory control statement that does the same function. For example, ifthere is a link control statement in a user’s directory, that control statementtakes effect at logon time, even though you have restricted the LINK comm<strong>and</strong>.Associating Privilege Classes with Users <strong>and</strong> Comm<strong>and</strong>sAfter you have associated the comm<strong>and</strong>s with the types of users, you can assign adifferent class to each type of user. Then, each comm<strong>and</strong> can be assigned a list ofclasses that correspond to the users who need access. In the example table, eachasterisk is replaced by a new user class, <strong>and</strong> then these classes are collected tothe “New Class” column for each comm<strong>and</strong>. See Table 18 on page 437.436 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Redefining Comm<strong>and</strong> Privilege ClassesTable 18. Example of How to Associate Privilege Classes with Comm<strong>and</strong>s <strong>and</strong> UsersComm<strong>and</strong><strong>IBM</strong>-DefinedClassNew Class SAD I SSP J JSP K SA L SO M DBA N SE O U1 P U2 QACNT A L LATTN G PQ P QXAUTOLOG A IJ I JXAUTOLOG B KLMN K L M NXAUTOLOG G P PCHANGE D MN M NCHANGE G PQ P QDEDICATE A J JDEFINE A M MDEFINE G PQ P QIPL G PQ P QMESSAGE A JK J KMESSAGE B M MSAVESYS E IJ I JSPOOL G PQ P QDIAG04 C,E IJKM I J K MDIAG3C A,B,C IJKL I J K LSYSDFLT G P PSYSOPR A IJ I JSYSSERV F L LAn important distinction to make here is that the user classes with access to systemfunctions <strong>and</strong> resources (classes I through O) do not have access to anycomm<strong>and</strong>s that are useful for controlling their own virtual machines (for example,SPOOL). Only the two general user classes (P <strong>and</strong> Q) have access to thesecomm<strong>and</strong>s. Class P users have more access to more powerful comm<strong>and</strong>s than doclass Q users. With this arrangement, the system administrator can independentlycontrol a user’s access to system <strong>and</strong> virtual machine comm<strong>and</strong>s. To assignclasses to each user, the system administrator defines at least two classes to keysophisticated users such as system programmers. An unsophisticated general usermight be assigned to class Q; a system programmer would be assigned to classesJ <strong>and</strong> P. In this way, the system programmer gains access to both the class Jsystem comm<strong>and</strong>s <strong>and</strong> to the class P virtual machine comm<strong>and</strong>s.Note also that whereas the class A <strong>and</strong> B MESSAGE comm<strong>and</strong>s are listed, theclass ANY MESSAGE comm<strong>and</strong> is not. User class restructure does not affect classANY comm<strong>and</strong>s.FurtherConsiderationsWhile customizing the comm<strong>and</strong> privilege class structure of your system, youshould keep in mind: Help Files You may also want to update the HELP files ifchanges to the comm<strong>and</strong> classes affect a class G comm<strong>and</strong>. See the z/<strong>VM</strong>: CMSUser’s Guide for information on tailoring the HELP Facility. DocumentationConsiderationsChapter 16. Redefining Comm<strong>and</strong> Privilege Classes 437


Redefining Comm<strong>and</strong> Privilege ClassesIf you change the privilege class for comm<strong>and</strong>s, DIAGNOSE codes, or systemfunctions, the privilege classes documented in this <strong>and</strong> other publications may nolonger be correct for your installation.Preparing <strong>and</strong> Activating the Override FileTo assign new privilege classes to comm<strong>and</strong>s, DIAGNOSE codes, <strong>and</strong> systemfunctions, you must:1. Create a class override file2. Verify the class override file syntax3. Activate the class override file immediately or at the next IPL.Creating a Class Override FileTo override the <strong>IBM</strong>-defined privilege classes for comm<strong>and</strong>s, DIAGNOSE codes,<strong>and</strong> system functions, first create a class override file. (The <strong>CP</strong> OVERRIDE utilityuses the default file name <strong>and</strong> file type of CLASS OVERRIDE. The OVERRIDEutility is described in the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference). This is ast<strong>and</strong>ard CMS file (fixed format, 80-characters wide) that contains controlstatements that override privilege class assignments.The privilege classes for the system functions are defined by the PRIV_CLASSESsystem configuration file statement. For more information, see “PRIV_CLASSESStatement” on page 184 or “SYSFCN (Optional)” on page 673.Statements in the override file have this format:►► name NEWCLASS= ▼class(1)<strong>IBM</strong>CLASS=class►◄Notes:1 NEWCLASS <strong>and</strong> <strong>IBM</strong>CLASS can be specified in any order. <strong>IBM</strong>CLASS isnecessary only for comm<strong>and</strong>s that have more than one <strong>IBM</strong>-defined class. It isnot required for DIAGNOSE codes <strong>and</strong> system functions.The first field of each OVERRIDE control statement is the name of the comm<strong>and</strong>,DIAGNOSE code (using the form DIAGxx) or system function (using the formSYSxxxx—either SYSOPER, SYS<strong>CP</strong>RD, SYS<strong>CP</strong>WT, SYSSERV, or SYSDFLT).These system functions are described in Appendix B, “Defining Your System(H<strong>CP</strong>SYS Macroinstructions),” on page 643. Make sure that this field appears firston the control statement line, with no other characters preceding it.Note: Comm<strong>and</strong>s defined by the system as class ANY are not valid on theOVERRIDE control statement.The next two fields may appear in either order:v The NEWCLASS= parameter, which specifies the new privilege class to beassigned. You can specify more than one new class with this parameter. Forexample, the statement NEWCLASS=HIJKL defines classes H, I, J, K, <strong>and</strong> L.If a comm<strong>and</strong>, diagnose code, or system function is assigned to more than oneuser class, you must specify all the classes in the NEWCLASS parameter.Example:438 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Redefining Comm<strong>and</strong> Privilege Classes1. Adding user classes to a DIAGNOSE code: To add classes A <strong>and</strong> B toDIAGNOSE code X'04', code the control statement as follows:DIAG04 NEWCLASS=ABCEThe <strong>IBM</strong> defined class is C <strong>and</strong> E; therefore, by specifyingNEWCLASS=ABCE, you are adding classes A <strong>and</strong> B to the already existingclasses C <strong>and</strong> E.v The <strong>IBM</strong>CLASS= parameter, which specifies the original <strong>IBM</strong>-defined class forthat comm<strong>and</strong>. Use this parameter only if the comm<strong>and</strong> has more than one<strong>IBM</strong>-defined class. It is not required for comm<strong>and</strong>s that have only one<strong>IBM</strong>-defined privilege class, for DIAGNOSE codes, or for system functions. Youcan specify only one class with this parameter, as the examples below illustrate.Examples:1. Changing one class to another: To change the PURGE comm<strong>and</strong> fromclasses A <strong>and</strong> G to A <strong>and</strong> U, code the control statement as follows:PURGE NEWCLASS=U <strong>IBM</strong>CLASS=GThis would simply replace the old class G with the new class U. The class Acomm<strong>and</strong> would remain unchanged.2. Adding a class: To change the PURGE comm<strong>and</strong> from classes A <strong>and</strong> G toA, G, <strong>and</strong> Y, code the control statement as follows:PURGE NEWCLASS=AY <strong>IBM</strong>CLASS=AorPURGE NEWCLASS=GY <strong>IBM</strong>CLASS=GYour choice between these two possibilities would depend on which versionof the PURGE comm<strong>and</strong> you wish to allow the class Y user to use, either thepowerful <strong>IBM</strong> class A comm<strong>and</strong> or the general class G comm<strong>and</strong>.3. Removing a class: To change the PURGE comm<strong>and</strong> from classes A <strong>and</strong> Gto just A, choose a dummy class (we use Z here) <strong>and</strong> code the controlstatement as follows:PURGE NEWCLASS=Z <strong>IBM</strong>CLASS=GIf you never give any user access to class Z comm<strong>and</strong>s, this controlstatement effectively removes the class G PURGE comm<strong>and</strong> from your classstructure.Class Override File ExampleUsing our example of the insurance company from the previous section (Table 18on page 437), the override file would contain the entries shown in Figure 28 onpage 440.Chapter 16. Redefining Comm<strong>and</strong> Privilege Classes 439


Redefining Comm<strong>and</strong> Privilege Classes** <strong>CP</strong> COMMAND OVERRIDES FOR ’OUR INSURANCE COMPANY’** USER CLASSES REPRESENT:** I = SYSTEM ADMINISTRATOR (SAD)* J = SENIOR SYSTEM PROGRAMMER (SSP)* K = JUNIOR SYSTEM PROGRAMMER (JSP)* L = SYSTEM ANALYST (SA)* M = SYSTEM OPERATOR (SO)* N = DATABASE ADMINISTRATOR (DBA)* O = SERVICE ENGINEER (SE)* P = COMPLEX USERS (U1)* Q = GENERAL USERS (U2)*ACNT NEWCLASS=LATTN NEWCLASS=PQXAUTOLOG NEWCLASS=IJ <strong>IBM</strong>CLASS=AXAUTOLOG NEWCLASS=KLMN <strong>IBM</strong>CLASS=BXAUTOLOG NEWCLASS=P <strong>IBM</strong>CLASS=GCHANGE NEWCLASS=MN <strong>IBM</strong>CLASS=DCHANGE NEWCLASS=PQ <strong>IBM</strong>CLASS=GDEDICATE NEWCLASS=JDEFINE NEWCLASS=M <strong>IBM</strong>CLASS=ADEFINE NEWCLASS=PQ <strong>IBM</strong>CLASS=GIPL NEWCLASS=PQMESSAGE NEWCLASS=JK <strong>IBM</strong>CLASS=AMESSAGE NEWCLASS=M <strong>IBM</strong>CLASS=BQUERY TIME NEWCLASS=ISAVESYS NEWCLASS=IJSET NEWCLASS=J <strong>IBM</strong>CLASS=GSPOOL NEWCLASS=PQDIAG04 NEWCLASS=IJKMDIAG3C NEWCLASS=IJKLSYSDFLT NEWCLASS=PSYSOPR NEWCLASS=IJSYSSERV NEWCLASS=LFigure 28. Class Override File ExampleThe privilege classes of the individual oper<strong>and</strong>s of the QUERY <strong>and</strong> SET comm<strong>and</strong>scan be changed independently of the other oper<strong>and</strong>s for those comm<strong>and</strong>s. To dothis, specify the comm<strong>and</strong> <strong>and</strong> oper<strong>and</strong> of any QUERY or SET comm<strong>and</strong> to berestructured. In the insurance company example, the QUERY TIME comm<strong>and</strong> willbe changed to a new class I comm<strong>and</strong>. To change the privilege class for an entireset of QUERY or SET comm<strong>and</strong>s with the same <strong>IBM</strong>-defined privilege class, usethe <strong>IBM</strong>CLASS= oper<strong>and</strong> as in the above example. Here, all <strong>IBM</strong>-defined class GSET comm<strong>and</strong>s are changed to new class J.You must code the <strong>IBM</strong>CLASS= oper<strong>and</strong> for XAUTOLOG, CHANGE, DEFINE, <strong>and</strong>MESSAGE, as they are associated with more than one class. To assign more thanone class to a comm<strong>and</strong> or comm<strong>and</strong> type, all new classes are placed on the sameoverride control statement.Note: Restricting the user class on a console comm<strong>and</strong> does not restrict thefunction of the directory control statement that does the same function. Forexample, if there is a LINK control statement in a user’s directory, thatcontrol statement takes effect at logon, even though you have restricted theLINK comm<strong>and</strong>.440 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Redefining Comm<strong>and</strong> Privilege ClassesVerifying <strong>and</strong> Activating the Override FileTo verify that the control statements in the class override file have the correctsyntax (without actually activating the new class structure), enter OVERRIDE(<strong>IBM</strong>-defined privilege classes A, B, or C) with the VALIDATE option:override fn ft fm (validatewhere the fn ft fm identifies the class override file. The OVERRIDE utility isdescribed in the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference; the default is CLASSOVERRIDE *. If an error is detected, the statement in error is displayed, <strong>and</strong> amessage informs you what the error is.After you create the class override file <strong>and</strong> verify the syntax of the controlstatements in it, enter OVERRIDE with either the IMMEDIATE option or the DEFERoption, as follows:override fn ft fm (immediateoroverride fn ft fm (deferwhere the file name (fn), file type (ft), <strong>and</strong> file mode (fm) identify the class overridefile. (Note that the file mode can represent an accessed minidisk or an accessedshared file system directory, <strong>and</strong> that the default is CLASS OVERRIDE *.)If you enter the OVERRIDE with no options, the DEFER option (the default) isassumed.The OVERRIDE utility’s processing checks for errors using a two-pass process, asfollows:1. On the first pass, syntax errors (such as incorrectly placed options or improperlyspecified new classes) are flagged with a message informing you of the error.No matter how you entered OVERRIDE (with DEFER, IMMEDIATE, orVALIDATE), processing continues in VALIDATE mode.2. On the second pass, other errors (such as incorrectly specified <strong>IBM</strong>-definedclasses or misspelled comm<strong>and</strong> names) are flagged with a message identifyingthe incorrect line. Processing continues in whichever mode (DEFER,IMMEDIATE, or VALIDATE) you specified.Whereas the class override file is the file you create to specify your class structurechanges, it is the user class restructure (UCR) file that actually activates thosechanges. The UCR file is a system data file (SDF). It is acted on through theoptions on the OVERRIDE utility, as Table 19 shows.Table 19. OVERRIDE Utility OptionsOptionActionDEFER (the default) Information from the class override file is written to a user classrestructure (UCR) file. This is a class D file, meaning that the newclass structure will take effect at the next system IPL. If an old UCRfile already exists, it remains in effect until the next system IPL.IMMEDIATE Information from the class override file is written to a UCR file. This isa class I file, meaning that the new class structure takes effectimmediately, along with any changes that were previously in effect.However, the UCR file that is created will replace any existing UCRfile.Chapter 16. Redefining Comm<strong>and</strong> Privilege Classes 441


Redefining Comm<strong>and</strong> Privilege ClassesTable 19. OVERRIDE Utility Options (continued)OptionActionVALIDATE The class override file is checked for syntax errors, but no UCR file iscreated.CLEAR The existing UCR file is removed at the next system IPL. You aretherefore reverting to the <strong>IBM</strong>-defined user classes.Querying the User Class Restructure FileUse the QUERY UCR comm<strong>and</strong> to display information about the user classrestructure file. Enter the comm<strong>and</strong> as follows:query ucr all (ALL is the default)orquery ucr name filename (to query by file name)orquery ucr spoolid (to query by spool ID)The response will be displayed in the following format (it is assumed here that theoverride file was named CLASS OVERRIDE):OWNERID FILE TYPE CL RECS DATE TIME FILENAME FILETYPE ORIGINID*UCR nnnn UCR n nnnn mm/dd hh:mm:ss CLASS OVERRIDE nNote: If you enter QUERY UCR <strong>and</strong> see that a class D user restructure file exists,this tells you only that the file has been created using the DEFER option onthe OVERRIDE utility. It does not tell you whether this file has been activatedyet. (In other words, it does not tell you whether the new class structuredescribed in that UCR file has been activated yet by a new system IPL.)As an alternative, you can enter the QUERY UCR COUNT comm<strong>and</strong> to display thenumber of user class restructure files:query ucr countThe response line will simply tell you how many user class restructure files thereare. For example:FILES: 0001 UCRChanging Back to the <strong>IBM</strong>-Defined User ClassesIf you want to cause the comm<strong>and</strong>s to be assigned their <strong>IBM</strong>-defined privilegeclasses again, enter OVERRIDE with the CLEAR option, as follows:override (clear<strong>and</strong> then IPL the system.Alternatively, you can use the PURGE UCR comm<strong>and</strong>, as follows:purge ucr name filename (to purge a file by file name)orpurge ucr spoolid (to purge a file by spool ID)<strong>and</strong> then IPL the system.442 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Redefining Comm<strong>and</strong> Privilege ClassesIf, after reverting to the <strong>IBM</strong>-defined classes, you wish to return to the classes youdefined in the override file, activate the class override file as described on “Verifying<strong>and</strong> Activating the Override File” on page 441.Note: If your changes are extensive, you may need to install a different directoryeach time you switch between your own class structure <strong>and</strong> the <strong>IBM</strong>-definedclass structure.Another Way of Changing the Privilege Class of Certain <strong>CP</strong> FunctionsPrivilege classes for the following <strong>CP</strong> functions can be overridden without using theclass override file:Changing the Directoryv Logging on as the primary system operatorv Intensive error recordingv Using the read function of the <strong>CP</strong> IO<strong>CP</strong> utilityv Using the write function of the <strong>CP</strong> IO<strong>CP</strong> utilityv Specifying the default user class.If you want to change some or all the privilege classes assigned to these <strong>CP</strong>functions, you must specify your changes by using the PRIV_CLASSES statementin the system configuration file. For more information on the PRIV_CLASSESstatement, see “PRIV_CLASSES Statement” on page 184.In our insurance company example, the classes of three system functions:v Classes for the primary system operatorv Classes authorized to perform intensive error recordingv Default classes for users who do not have a class defined in their directoryentrieswere changed. Instead of including them in the class override file, the systemadministrator could have entered either the PRIV_CLASSES statement as:PRIV_CLASSES OPERATOR IJ HW_SERVICE L USER_DEFAULT Por, the SYSFCN macroinstruction as follows:SYSFCN OPER=IJ, SERV=L, DFLT=PYou can also use the <strong>CP</strong> SET PRIVCLASS comm<strong>and</strong> to change the privilegeclasses for individual users, who are logged on to the system, rather than an entireclass of users. This comm<strong>and</strong> lets you be more selective in the privileges that yougrant users. For a brief description of the SET PRIVCLASS comm<strong>and</strong>, see“Changing the Setting for a Logged-On Virtual Machine” on page 444. For adetailed description of the SET PRIVCLASS <strong>and</strong> QUERY PRIVCLASS comm<strong>and</strong>s,see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book.After preparing <strong>and</strong> activating the class override file, you must update the directory,as it contains the class or classes of comm<strong>and</strong>s that each user can successfullyexecute. The control statements in the directory that define the comm<strong>and</strong> privilegeclasses for a virtual machine are the USER <strong>and</strong> CLASS statements. (For moreinformation about the directory <strong>and</strong> how to generate it, see Chapter 17, “Creating<strong>and</strong> Updating a User Directory,” on page 447.) Use the privilege class oper<strong>and</strong> ofthe USER statement to define the new privilege classes for the virtual machine.Chapter 16. Redefining Comm<strong>and</strong> Privilege Classes 443


Redefining Comm<strong>and</strong> Privilege ClassesIf you cannot fit all the new privilege classes onto the USER statement, you canadd the optional CLASS statement to the directory immediately following the USERstatement. You can define up to 32 classes.Note: Make sure you have enough free disk space before editing <strong>and</strong> makingchanges to the existing directory so that you can file the updated directory.See “Directory Space” on page 608 for information on how to allocate DASDspace for the directory.Defining Privilege Classes for a Virtual MachineThe privilege classes for a virtual machine can be changed by changing thedefinition of a logged on virtual machine or changing the definition in the userdirectory.Changing the Setting for a Logged-On Virtual MachineAuthorized users can change the privilege classes definitions for logged on virtualmachines. These users are authorized by the FEATURES ENABLESET_PRIVCLASS statement in the system configuration file. To change theprivilege classes, the user just issues the <strong>CP</strong> SET PRIVCLASS comm<strong>and</strong>.For example, if you want the user whose virtual machine user ID is DATABASE tobe able to use comm<strong>and</strong>s with the privilege classes C, D, H, <strong>and</strong> I, you wouldenter:set privclass database =cdhiThe FEATURES ENABLE SET_PRIVCLASS statement is described in “FEATURESStatement” on page 136. For more information on the SET PRIVCLASS comm<strong>and</strong>,see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book.Changing the User DirectoryTo change the definition of privilege classes for a virtual machine, perform thefollowing steps:1. Use the XEDIT comm<strong>and</strong> to edit the user directory. Unless you have defined adifferent file name, this file has a file ID of USER DIRECT.2. Find the USER control statement for the virtual machine whose privilege classesyou wish to change.3. This next step depends on whether you can fit all the new classes onto theUSER control statement.If you can fit all the new classes onto the USER control statement:a. Change the privilege class oper<strong>and</strong> to the classes that you want this virtualmachine to have. The privilege class oper<strong>and</strong> consists of EBCDICcharacters (with no intervening blanks) that can be A through Z <strong>and</strong> 1through 6. These characters define privilege classes for the virtual machine.If you do not specify a privilege class, the default is G (or whatever youhave specified using either the USER_DEFAULT oper<strong>and</strong> of thePRIV_CLASSES statement in the system configuration file or the DFLToper<strong>and</strong> of the SYSFCN macroinstruction).For example, if you want the user whose virtual machine user ID isDATABASE to be able to use comm<strong>and</strong>s with the privilege classes C, D, H,<strong>and</strong> I, code the USER control statement as follows:USER DATABASE pass stor mstor CDHI pri le ld cd esIf you cannot fit all the new classes onto the USER control statement:a. Change the privilege class oper<strong>and</strong> to an asterisk (*).444 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Redefining Comm<strong>and</strong> Privilege Classesb. Following the USER control statement, insert a CLASS control statement.The format of the CLASS control statement is described under “CLASSDirectory Control Statement (General)” on page 462.For example, if you want to assign privilege classes A through Q to a virtualmachine that belongs to a user whose user ID is SYSADM, code the USERcontrol statement <strong>and</strong> the CLASS control statement as follows:USER SYSADM pass stor mstor * pri le ld cd esCLASS ABCDEFGHIJKLMNOPQ4. After you make all the desired changes to the directory, file the directory file.5. To verify that the CMS file can be used as a directory file, enter the DIRECTXAutility with the EDIT option. (For more on the DIRECTXA utility, see “Runningthe User Directory Program” on page 453.) If you made a syntax error, you willreceive an error message.6. When you have verified that the directory file is correct, replace the old directorywith the updated directory by entering the following:directxa filenameNote: The virtual machine that enters the DIRECTXA comm<strong>and</strong> must havewrite access to the volume that is to contain the new directory. If youcreate a directory that is to be written on the active <strong>VM</strong>/ESA systemresidence volume, your virtual machine’s current directory entry musthave write access to the volume that contains the current directory.7. After the directory is updated, directory changes for a virtual machine currentlylogged on to the system do not take effect until the user logs off the system <strong>and</strong>then logs back on.Directory Entry Example: For our example of the insurance company, thedirectory might include the USER <strong>and</strong> CLASS control statements shown inFigure 29 on page 446.Chapter 16. Redefining Comm<strong>and</strong> Privilege Classes 445


Redefining Comm<strong>and</strong> Privilege ClassesDIRECTORY 250 3350 <strong>VM</strong>SRES* <strong>CP</strong> DIRECTORY FOR ’OUR INSURANCE COMPANY’** NOTES:* (1) KEY TECHNICAL USERS NEED PRIVILEGE CLASS ’P’ BESIDES* THEIR PRIMARY FUNCTIONAL CLASS. THIS ENABLES THEM* TO FULLY CONTROL A VIRTUAL MACHINE. GENERAL USERS* WILL NEED ONLY CLASS ’Q’.** (2) USERID ZZZMAINT IS SET ASIDE FOR EMERGENCY USE. THIS* USER HAS ACCESS TO ANY <strong>CP</strong> COMMAND NO MATTER WHAT* OVERRIDE FILE IS APPLIED. THE PASSWORD SHOULD BE* KNOWN BY ONLY A ***VERY*** FEW KEY PEOPLE.*USER ZZZMAINT SECRET 2M 8M *CLASS ABCDEFGHIJKLMNOPQRSTUVWXYZ123456(other control statements)*USER SAD1 XXXXXXXX 2M 8M IP(other control statements)*USER SSP1 XXXXXXXX 1M 2M JP(other control statements)*USER JSP1 XXXXXXXX 1M 2M KP(other control statements)*USER JSP2 XXXXXXXX 1M 2M KP(other control statements)*USER SA1 XXXXXXXX 1M 2M LP(other control statements)*USER OPERATOR XXXXXXXX 1M 2M MP(other control statements)*.(<strong>and</strong> so on)Figure 29. Directory Entry Example Using USER <strong>and</strong> CLASS StatementsHow Users Can Find Which Comm<strong>and</strong>s They Can EnterTo find out which comm<strong>and</strong>s are available, the user can enter the QUERYCOMMANDS comm<strong>and</strong>. For example, if the <strong>IBM</strong>-defined classes are in effect for allcomm<strong>and</strong>s, a user whose virtual machine is assigned privilege class B wouldreceive a list of all class B comm<strong>and</strong>s, DIAGNOSE codes, <strong>and</strong> system functions, aswell as all class ANY comm<strong>and</strong>s.To find out what oper<strong>and</strong>s of the QUERY <strong>and</strong> SET comm<strong>and</strong>s are available, theuser can enter QUERY COMMANDS QUERY or QUERY COMMANDS SET.446 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 17. Creating <strong>and</strong> Updating a User DirectoryOverviewThis chapter tells you how to:v Create the z/<strong>VM</strong> user directoryv Run the user directory programv Change the directoryv Check the directory for errorsv Specify a directory that contains <strong>VM</strong>/SP control statementsv Use directory profilesv Use each of the directory control statements summarized in Table 21 on page449.The z/<strong>VM</strong> user directory describes to <strong>CP</strong> the configuration <strong>and</strong> operatingcharacteristics of each virtual machine that can be created by z/<strong>VM</strong>. A z/<strong>VM</strong> userdirectory exists in two forms: a source form that consists of one or more CMS files,<strong>and</strong> an object form, compiled from the source, on a <strong>CP</strong>-formatted disk. Multipleobject directories can be accessed by z/<strong>VM</strong>, but only one object directory may beactive (online) at any given instant.During initialization, <strong>CP</strong> checks for a valid object directory on the system residencevolume. If <strong>CP</strong> finds a valid object directory, it makes that directory the activedirectory. Otherwise, <strong>CP</strong> looks for the first valid object directory on the <strong>CP</strong>-ownedvolumes brought online during initialization. <strong>CP</strong> checks the volumes in the order oftheir appearance in the <strong>CP</strong>-owned list. If you defined the <strong>CP</strong>-owned list using<strong>CP</strong>_OWNED statements (page 73) in your system configuration file, <strong>CP</strong> checks thevolumes based on the slot number, in increasing order. If you defined the<strong>CP</strong>-owned list using the SYS<strong>CP</strong>VOL macro (page 664) in H<strong>CP</strong>SYS, <strong>CP</strong> checks thevolumes in the order that they appear on the SYS<strong>CP</strong>VOL macro.If <strong>CP</strong> does not find a valid object directory, the system comes up with a default userID of OPERATOR. You can use this virtual machine to create a valid directory. Inthis case, you can bring a directory online by:v Entering the DIRECTXA utility to install a directory on an appropriately formatted<strong>CP</strong>-owned volumev Attaching a valid directory volume whose volume ID appears in the <strong>CP</strong>-ownedvolume list but which was not brought online during initialization.After <strong>CP</strong> has brought a directory online, the volume on which it resides remains thedirectory volume for the duration of the IPL. Rewriting a directory on a differentvolume, even one higher in the search order, has no effect. (However, a directorywritten higher in the <strong>CP</strong>-owned volume search order becomes effective when thenext hardware or software IPL occurs.)The source form of the z/<strong>VM</strong> user directory consists of directory control statements.These statements define on which <strong>CP</strong>-formatted volume the object directory will becreated, <strong>and</strong> the configuration <strong>and</strong> operating characteristics of the virtual machinesthat will be known to the target <strong>VM</strong> operating system. A single source directory maydefine an object directory for one or more <strong>VM</strong> operating systems.© Copyright <strong>IBM</strong> Corp. 1991, 2004 447


Creating <strong>and</strong> Updating a User DirectoryThe source directory consists of virtual machine definitions. The source directorycan exist in two formats: the monolithic <strong>and</strong> the cluster. The monolithic formatconsists of a single CMS sequential file that contains all of the virtual machinedefinitions. The cluster form consists of an index file that points to one or moredefinition files that contain all of the virtual machine definitions. A definition file maybe, as a group, either a separate part file, a file that contains a single USERdefinition or a single PROFILE definition, or a cluster file, a file that containsmultiple USER or multiple PROFILE definitions. The index file consists of onlyLOAD directory control statements that point to other definition files to be includedduring the compile operation.Regardless of the format used for the source directory, the directory definitions mustbe processed in the following order:DIRECTORY Definition —Which consists of one or more DIRECTORY directory control statementsthat define the output object directories.Global Definition —This section must begin with the GLOBALDEFS directory control statement.It also includes directory control statements which define global settings tobe used across all user definitions.PROFILE Definitions —Each of which begins with a PROFILE directory control statement <strong>and</strong>consolidates other directory control statements that are commonly usedacross multiple users.USER Definitions —(Also called virtual machine definitions) each of which begins with a USERdirectory control statement <strong>and</strong> defines an individual virtual machine.The Global definition section may appear only after all DIRECTORY statements <strong>and</strong>before any PROFILE or USER statements. The PROFILE <strong>and</strong> USER definitionsconsist of different types of control statements: control, general, <strong>and</strong> device. Not alldirectory control statements can be used in PROFILE <strong>and</strong> USER definitions. To seewhich ones can be used in which type of definition, refer to the individual statementdescriptions described in this chapter. Table 20 lists control statement categories<strong>and</strong> their placement requirements.Table 20. Directory Control Statement CategoriesCategory Statements Placement RequirementsGeneral ACCOUNT, ACIGROUP, APP<strong>CP</strong>ASS,AUTOLOG, CLASS, <strong>CP</strong>U, CRYPTO,DATEFORMAT, D8ONECMD,INCLUDE, IOPRIORITY, IPL, IUCV,LOGONBY, MACHINE, NAMESAVE,NOPDATA, OPTION, POOL,POSIXGLIST, POSIXINFO,POSIXOPT, SCREEN, SHARE,SPOOLFILE, STDEVOPT,XAUTOLOG, XCONFIG, XSTOREThese statements may appear only before any of thedevice statements within either a USER definition or aPROFILE definition.Global GLOBALDEFS, GLOBALOPTS,POSIXGROUPThese statements may only appear after theDIRECTORY control statement(s) <strong>and</strong> before allPROFILE <strong>and</strong> USER statements. The first Globaldefinition statement must be a GLOBALDEFS statement.448 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Creating <strong>and</strong> Updating a User DirectoryTable 20. Directory Control Statement Categories (continued)Category Statements Placement RequirementsProfile PROFILE This statement may appear only after the lastDIRECTORY statement or the global definition section<strong>and</strong> before any USER statements.Device (type 1) CONSOLE, DASDOPT, DEDICATE,LINK, SPECIAL, SPOOLThese statements may appear only after all generalstatements within either a USER definition or a PROFILEdefinition. You may define up to 24,576 virtual devicesper virtual machine at logon.Device (type 2) MDISK, MINIOPT These statements may appear only after all generalstatements within a USER definition.System affinity SYSAFFIN The Prefix form may appear only before a USERstatement. The Internal form may appear anywhere withina Global, Profile, or User definition.Load LOAD This statement may appear only in a special form of thedirectory cluster format file.Blank lines <strong>and</strong> lines beginning with an asterisk (*) may appear. The information oneach control statement must appear in columns 1 through 71.Some directory control statements support mixed-case oper<strong>and</strong>s, so care must betaken when editing the directory source file so as to avoid accidentally altering thecase of these oper<strong>and</strong>s. Although the example statements in this section are inmixed case, the case is not significant for most of them. They are shown in mixedcase only to improve their readability.Table 21 describes the directory control statements. It shows the page on which thestatement is described, the statement category, <strong>and</strong> a brief summary of thestatement’s function. Although the directory control statements are listed inalphabetic order, this is not the order in which they would be coded in the directory.Table 21. Summary of User Directory Control StatementsStatement Category Function PageACCOUNT General Defines the account numbers to which a virtual machine may charge itscosts. It also defines a distribution code.ACIGROUP General Specifies the name of a group to which an individual user ID is assigned. 458APP<strong>CP</strong>ASS General Allows a virtual machine to request an APPC/<strong>VM</strong> path without supplyingsecurity parameters, even when the equivalent of SECURITY (PGM) isindicated on the APPC<strong>VM</strong> CONNECT request.AUTOLOG General A synonym for XAUTOLOG. See XAUTOLOG on page 578. 461CLASS General Specifies the privilege class (or classes) assigned to an individual user. 462CONSOLE Device Defines a virtual machine operator’s console. 463<strong>CP</strong>U General Specifies a virtual processor that is to be defined automatically when theuser logs on to the system.CRYPTO General Authorizes a virtual machine to define virtual crypto facilities <strong>and</strong> specifiesthe crypto domain or domains the virtual machine is allowed to use. It alsospecifies whether the virtual machine is authorized to be enabled to enterkeys, <strong>and</strong> whether the special security mode may be used.DASDOPT Device An extension to the DEDICATE, LINK, <strong>and</strong> MDISK statements. 472DATEFORMAT General Specifies a user’s default date format for comm<strong>and</strong>s that provide multipledate formats.456459465468475Chapter 17. Creating <strong>and</strong> Updating a User Directory 449


Creating <strong>and</strong> Updating a User DirectoryTable 21. Summary of User Directory Control Statements (continued)Statement Category Function PageDEDICATE Device Specifies that a real device is to be used solely by the virtual machine, orthat a real tape device is to be shared with other users.DIRECTORY Control Defines the device on which the directory resides <strong>and</strong> must be the firststatement in the directory.D8ONECMD General Defines whether a virtual machine can issue multiple <strong>CP</strong> comm<strong>and</strong>s withDIAGNOSE code X'08'.GLOBALDEFS Control Signifies the beginning of the global definition section. 485GLOBALOPTS Control Used to define global settings to be used while processing user definitions. 486INCLUDE General Specifies the name of a PROFILE entry to be invoked as part of the USERentry.IOPRIORITY General Defines a virtual machine’s I/O priority queueing range. 488IPL General Designates a device number or named saved system that <strong>CP</strong> automaticallyloads (IPLs) when the user logs on to the system.IUCV General Authorizes a virtual machine to create an IUCV communication path withanother virtual machine.LINK Device Accesses another virtual machine’s minidisk. 500LOAD Control Specifies where the directory definition entry is to be found. The LOADstatement is valid only in a cluster file format directory.LOADDEV General Identifies the location of a program to be loaded as a result of an F<strong>CP</strong>List-Directed IPL. Parameters to be passsed to the program may also bedefined.LOGONBY General Designates up to eight user IDs that can use their own passwords to logonto <strong>and</strong> use a virtual machine.MACHINE General Defines the virtual machine mode (ESA, XA, or XC) <strong>and</strong> the number ofvirtual processors a virtual machine can define.MAXSTORAGE General Specifies the virtual storage size for a user. 512MDISK Device Defines virtual disks (minidisks): permanent minidisks, temporary minidisks,<strong>and</strong> virtual disks in storage.MINIOPT Device An extension to MDISK used when defining non-full-pack minidisks. 524NAMESAVE General Authorizes a virtual machine to access a restricted named saved system orsaved segment <strong>and</strong> authorizes the virtual machine to obtain an exclusivewriteable copy of a saved segment.NICDEF Device Defines virtual network adapters that are fully simulated by <strong>CP</strong>. 529NOPDATA General Authorizes a virtual machine to use NOP CCWs to transfer data to <strong>CP</strong>spool files.OPTION General Defines certain options available to the virtual machine. 533POOL General Allows a set of virtual machines to be defined with the same configurationor characteristics.POSIXGLIST General Specifies all POSIX groups of which the user is a member. 541POSIXGROUP Control Defines a POSIX group. 543POSIXINFO General Specifies a user’s POSIX information. 545POSIXOPT General Specifies option settings related to a user’s POSIX capabilities. 548PROFILE Control Defines the start of a PROFILE entry. 551SCREEN General Defines the extended color <strong>and</strong> extended highlighting options for the virtualmachine console.477480483487490493504507509510513527532540553450 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Creating <strong>and</strong> Updating a User DirectoryTable 21. Summary of User Directory Control Statements (continued)Statement Category Function PageSHARE General Specifies a virtual machine’s scheduler share. 555SPECIAL Device Defines virtual displays, communication lines, <strong>and</strong> channel-to-channeladapters that may or may not be connected to real devices when the userlogs on.SPOOL Device Defines virtual unit record devices (spooling devices). 562SPOOLFILE General Describes virtual machine spool file characteristics. 565STDEVOPT General Specifies the optional storage device management functions available tothe virtual machine.STORAGE General Specifies the virtual storage size for a user. 568SYSAFFIN Control Defines how, <strong>and</strong> to which systems of a multiple-system complex, thesubsequent statements apply.USER Control 1. Starts a user’s directory entry.2. Defines the virtual machine user’s logon identification (user ID) <strong>and</strong>password.3. Defines the virtual machine’s storage size.4. Defines the virtual machine user’s <strong>CP</strong> comm<strong>and</strong> privilege classes.XAUTOLOG General Designates user IDs that can enter an XAUTOLOG comm<strong>and</strong> for the virtualmachine.XCONFIG General Specifies control parameters for the extended-configuration facilitiesprovided in the ESA/XC virtual machine architecture: access lists <strong>and</strong> dataspaces.XSTORE General Authorizes a virtual machine for sole use of the Exp<strong>and</strong>ed Storage facility. 585Blank Line May appear anywhere in the directory control file. When the DIRECTXAutility processes the directory control file, it ignores blank lines.Asterisk (*) Any line in the source directory file that begins with an asterisk (*) is acomment. When the DIRECTXA utility processes the directory control file, itignores comment statements.557566569572578580||||Creating the User DirectoryTo create a user directory, you must:1. Create a CMS file (or edit an existing CMS file) that contains an entry for eachvirtual machine that will run on z/<strong>VM</strong>.2. Use the DIRECTXA utility to run the user directory creation program.Note: If you are migrating from <strong>VM</strong>/XA SP , you cannot use the z/<strong>VM</strong>DIRECTXA utility to install an object directory in z/<strong>VM</strong> format on the<strong>VM</strong>/XA SP system residence pack while your system is running on<strong>VM</strong>/XA SP. Instead, you should use a second physical pack for the z/<strong>VM</strong>object directory.<strong>IBM</strong> provides a sample directory in a CMS file named USER DIRECT. You can editthe USER DIRECT file to tailor your system’s user directory.If you choose not to use the USER DIRECT file, you can create your own CMS file<strong>and</strong> code directory control statements in it.Chapter 17. Creating <strong>and</strong> Updating a User Directory 451


Creating <strong>and</strong> Updating a User DirectoryFinally, to update the directory, your virtual machine must have write access to thevolume that contains the directory (by convention, the virtual machine with user IDMAINT or your chosen installation user ID usually has write access to the properminidisk).Continued Directory Control StatementsCertain directory control statements are permitted to continue across multiplerecords in the directory file. These statements continue from one record to the nextwhen the record’s last non-blank character in columns 1-71 is a comma (,). Thestatement is continued beginning in column 1 of the next non-comment, non-blankrecord. That is, since comment records <strong>and</strong> blank records are ignored byDIRECTXA, they do not terminate a continued statement.When DIRECTXA is processing a record that ends in a continuation comma, iteffectively deletes the continuation comma <strong>and</strong> concatenates the prior portion ofthis record with the next non-comment, non-blank record, with one intervening blank(see “Quoted String Oper<strong>and</strong>s” for the syntax rules for very long strings). Thisprocess is repeated until a non-continued, non-comment, non-blank record isencountered. The statement is then parsed according to its normal rules. Statementnames <strong>and</strong> keywords may not be split across multiple records.Some statements that support continuation may have additional rules for continuingcertain oper<strong>and</strong>s, such as quoted string oper<strong>and</strong>s, across multiple records. Theserules are described in the documentation for these oper<strong>and</strong>s.A continued statement may be no longer than 6144 characters. All characters,including blanks <strong>and</strong> the continuation comma count towards this limit. On the finalrecord of a continued statement, all characters, including blanks, from column 1 upto <strong>and</strong> including the last non-blank character count towards the limit.The following are some examples of directory control statements continued acrossmultiple records.POSIXINFO IWDIR /home,IUPGM /myself ,* This is a comment among records of a continued statement.* The POSIXINFO statement above continues on the next recordFSROOT <strong>VM</strong>BFS:FPOOL1:FSPACE1Quoted String Oper<strong>and</strong>s* The following statement has 63 characters that count towards the* 6144-character limit: 26 on the first record <strong>and</strong> 37 on the* next.POSIXGLIST GIDS 5402 450 ,GNAMES all DeptG63 DeptG30Certain oper<strong>and</strong>s on certain directory control statements are permitted to bespecified as quoted string oper<strong>and</strong>s, which consist of one or more quoted strings.Quoted strings are useful if an oper<strong>and</strong> must be permitted to contain imbeddedblanks, single quotation marks, or double quotation marks. If the statement ispermitted to be continued across multiple records of the directory file, a quotedstring oper<strong>and</strong>, with or without imbedded blanks, may continue across multiplerecords.Quoted strings <strong>and</strong> quoted string oper<strong>and</strong>s must obey the following rules:452 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Creating <strong>and</strong> Updating a User Directory1. A quoted string oper<strong>and</strong> consists of one or more quoted strings.2. A character string may be surrounded by single or double quotation marks. Thisstring, along with its surrounding quotation marks, is referred to as a quotedstring. A string which is to contain blanks, single or double quotation marks mustbe surrounded by quotation marks (single or double). It is permissible to includeother characters inside the quotes.3. To include a single quote inside a quoted string surrounded by single quotestwo consecutive single quotes are required inside the string. Likewise, to includea double quote inside a quoted string surrounded by double quotes, twoconsecutive double quotes are required inside the string.4. To include a single quote inside a quoted string surrounded by double quotes,the single quote need not be duplicated. To include a double quote inside aquoted string surrounded by single quotes, the double quote need not beduplicated.5. The final result string of a quoted string is formed as follows: any duplicatedsingle or double quotes are reduced to on single or double quote, respectively,then the surrounding quotes are removed.6. The final result string of a quoted string oper<strong>and</strong> is formed as follows: the resultstring from adjacent quoted strings are concatenated with no intervening blank.Note that this concatenation happens even if a continued record ends with aquoted string <strong>and</strong> the next record begins with a quoted string.7. A quoted string may not continue to the next record. It must begin <strong>and</strong> end onthe same record, just as statement names <strong>and</strong> keywords. A quoted stringoper<strong>and</strong>, however, may continue across multiple records by splitting it intoquoted strings <strong>and</strong> splitting the statement between quoted strings.8. A quoted string may not be imbedded in or concatenated with another quotedstring or a non-quoted string. For example, ’AB’″C″ <strong>and</strong> ABC’DEF’ are not validquoted strings.The following are some examples of directory control statements with valid quotedstring oper<strong>and</strong>s.POSIXINFO IWDIR ’/home’POSIXINFO IWDIR ’This is Larry’’s’,’"Initial Work’ ,’ing Directory"’ ,IUPGM ’The latest "Init’ ,"ial User Program"""Running the User Directory ProgramAs previously mentioned, you must use the DIRECTXA utility to run the userdirectory creation program. The general format of the comm<strong>and</strong> to execute theDIRECTXA utility is:directxafn ftfn is the file name of your directory. The default is USER.ft is the file type of your directory. The default is DIRECT.For example, to bring online the new version of a directory named USER DIRECT,enter:directxaTo bring online the new version of a directory named SPECIAL DIRECT, enter:Chapter 17. Creating <strong>and</strong> Updating a User Directory 453


Creating <strong>and</strong> Updating a User Directorydirectxa special||To bring online the new version of a directory named SECRET DRCT, enter:directxa secret drctNotes:1. To update the directory your installation is currently using, you must haveprivilege class A, B, or C (by convention, MAINT or your chosen installation userID usually has the appropriate class).2. The system does not check for overlapping extents in the directory. Therefore,while changing the directory source file, you should check your new directoryentries to ensure that the new MDISK allocations you are defining do notoverlap existing MDISK allocations. If an overlap occurs, one virtual machineuser could unknowingly destroy data belonging to another.3. If you are migrating from <strong>VM</strong>/XA SP, you cannot use the DIRECTXA utility toinstall an object directory in z/<strong>VM</strong> format on the <strong>VM</strong>/XA SP system residencepack while your system is running on <strong>VM</strong>/XA SP. Instead, you should use asecond physical pack for the z/<strong>VM</strong> object directory.Changing the DirectoryFor more information on the DIRECTXA comm<strong>and</strong>, see z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong>Utilities Reference.To change your directory, you must:1. Edit the file that contains the source directory2. Add, delete, or change directory entries as required3. Bring your modified directory online by entering the comm<strong>and</strong> to start theDIRECTXA utility.As an alternative method of modifying specific pieces of information in the onlinedirectory, you can run an application program that uses DIAGNOSE code X'84' on aclass B virtual machine. (DirMaint, the Directory Maintenance licensed program, isone such application. Use of DIAGNOSE code X'84' allows DirMaint to makecertain changes in the online directory without reprocessing the source directory.)When used by an application such as DirMaint, DIAGNOSE X'84' improves theturnaround time needed to make the changes active <strong>and</strong> minimizes the need tototally reprocess the source directory. It cannot, however, delete existing entries noralter USER entries in the source directory. It only replaces existing online directorydata.For more information on this DIAGNOSE code, refer to z/<strong>VM</strong>: <strong>CP</strong> ProgrammingServices.Checking a Directory for ErrorsBefore you bring a directory online, if you want to check the directory for errors, usethe EDIT option of the DIRECTXA utility. For example, to check a directory namedMYDIRECT DIRECT for errors, enter:directxa mydirect (editIn response, DIRECTXA checks MYDIRECT DIRECT for errors but does not bring itonline (even if there are no errors).454 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Creating <strong>and</strong> Updating a User DirectoryTo check USER DIRECT for errors, enter:directxa (editSpecifying a Directory That Contains <strong>VM</strong>/SP Control StatementsIf you want to use a directory from a <strong>VM</strong>/SP system or <strong>VM</strong>/SP HPO system <strong>and</strong>some of the statements or options are not supported by z/<strong>VM</strong>, specify the MIXEDoption of the DIRECTXA utility. For example, assume you have a <strong>VM</strong>/SP directoryin a file named SPDIRECT DIRECT. To bring this directory online, enter:directxa spdirect (mixedCreating Directory ProfilesIn response, DIRECTXA ignores most <strong>VM</strong>/SP or <strong>VM</strong>/SP HPO source statementsthat it doesn’t support, rather than flagging them as errors.Note: DIRECTXA sends you a warning when it encounters a <strong>VM</strong>/SP or <strong>VM</strong>/SPHPO statement but will continue to create the updated directory.If certain directory control statements are repeated for several users, you can makeuse of directory profiles to save space in the directory. Using directory profiles issimilar to creating a user entry in the directory. To create directory profile entries:1. Determine which control statements are commonly repeated for a designatedset of user entries.2. Create a directory profile that contains those control statements on the sourcedirectory using the PROFILE statement (page 551).3. Insert an INCLUDE control statement (page 487) immediately after the USERcontrol statement for those entries that will reference the profile.4. Remove the existing directory control statements in the user entries thatreference a profile except for those control statements that are unique to thoseuser entries.5. Run DIRECTXA in EDIT mode to ensure that there are no errors. Any errorconditions will result in appropriate messages to your console.6. Correct any errors <strong>and</strong> run DIRECTXA again to install the newly createddirectory.Determining How Much Space the Directory NeedsThe directory normally requires about two cylinders of CKD/ECKD space or 50pages of FBA DASD space. (If you do not allocate enough space for your directory,the DIRECTXA program sends you a message to this effect.) For additionalinformation on determining the space required for the directory, refer to “DirectorySpace” on page 608.Chapter 17. Creating <strong>and</strong> Updating a User Directory 455


ACCOUNTACCOUNT Directory Control Statement (General)(1)►► Account acctnum1distcode►◄▼acctnumn(2)Notes:1 The default distribution code is the user ID from the USER statement.2 Specify acctnumn up to 7 times.PurposeThe ACCOUNT statement specifies an account number to which a virtual machinemay charge its costs. It also includes the distribution code, a code that has nomeaning to <strong>CP</strong> but may be used by your installation as it needs it (for example, todesignate where printed output is to go).How to SpecifyIf specified, the ACCOUNT statement must go before the first device statement youcode in a user’s directory entry. (For a list of device statements, see Table 20 onpage 448.) Multiple ACCOUNT statements are allowed within a profile, but are onlyused if no ACCOUNT statements are in the user directory entry.Oper<strong>and</strong>sacctnum1defines the primary account number. An account number can be 1 to 8characters long.distcodedefines the distribution code for printed <strong>and</strong> punched output. If you specifyacctnum1 <strong>and</strong> do not specify distcode, the distribution code is the user ID fromthe USER statement. If you are defining alternative account numbers, you mustspecify distcode. See the usage notes <strong>and</strong> examples.acctnumndefines up to seven alternative account numbers.UsageNotes1. You can code multiple ACCOUNT statements in the same user’s directory entry.The total number of account numbers you code for that entry cannot be morethan eight, whether you code one ACCOUNT statement or many.2. If you code several ACCOUNT statements, distcode must appear on the firststatement only, immediately after the primary account number.3. When logging on, a user has the option of specifying an alternative accountnumber on the LOGON comm<strong>and</strong>. If the specified alternative account number isin the user’s directory entry, <strong>CP</strong> charges that alternate account number. If a user456 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


ACCOUNTlogs on without specifying an alternative account number on the LOGONcomm<strong>and</strong>, <strong>CP</strong> charges the primary account number.4. If a virtual machine has several account numbers, the user can switch accountnumbers using the SET ACCOUNT comm<strong>and</strong>. For more information about theSET ACCOUNT comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.Examples1. To specify JOB101 as a virtual machine’s account number, use the followingstatement in the virtual machine’s directory entry:Account job1012. To specify JOB101 as a virtual machine’s account number <strong>and</strong> BIN-99Z as avirtual machine’s distribution code, use the following statement in the virtualmachine’s directory entry:Account job101 bin-99z3. To specify:v JOB101 as a virtual machine’s account number,v BIN-99Z as a virtual machine’s distribution code, <strong>and</strong>v JOB102, JOB103, <strong>and</strong> PLAY999 as a virtual machine’s alternative accountnumbersuse the following statement in the virtual machine’s directory entry:Account job101 bin-99Z job102 job103 play999Chapter 17. Creating <strong>and</strong> Updating a User Directory 457


ACIGROUPACIGROUP Directory Control Statement (General)►► ACIgroup groupname ►◄PurposeThe ACIGROUP statement is an optional statement used to specify the name of thegroup to which this user (user ID) is assigned. To assign Access Control Interface(ACI) group names to users, you must include the ACIGROUP statement in thedirectory entries of all users you are specifying as members of groups. You cannotassign more than one ACI group name to each user in the directory, nor can youspecify more than one ACIGROUP statement per directory entry.How to SpecifyIf you use the ACIGROUP statement, it must precede any device statements youspecify in a user’s directory entry. (The device statements are: CONSOLE,DASDOPT, DEDICATE, LINK, SPECIAL, <strong>and</strong> SPOOL.) One ACIGROUP statementis allowed within a profile but is only used if no ACIGROUP statement is in the userdirectory entry.Oper<strong>and</strong>sExamplesgroupnamespecifies the name of the ACI group to which this user is assigned. The variablegroupname may consist of any 1 to 8 characters. However, the applicationprograms that use this value (for example, <strong>IBM</strong> licensed program RACF) mayplace their own restrictions on the character set that can be used. Therefore, itmay be necessary to review the ACI group names, specified if any applicationsreference them. Only one ACIGROUP statement may be specified per USERdirectory entry.To specify that user ID JONES belongs to group MUNDANE, use the followingdirectory control statements:User jones ww11qq 8m 16m *.ACIgroup mundane458 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


APP<strong>CP</strong>ASSAPP<strong>CP</strong>ASS Directory Control Statement (General)►► APPCpass gate_lu gate_known_lu userid password ►◄PurposeThe APP<strong>CP</strong>ASS directory statement allows a virtual machine to request anAPPC/<strong>VM</strong> path without supplying security parameters (user ID <strong>and</strong> password), eventhough the equivalent of SECURITY (PGM) is indicated on the APPC<strong>VM</strong>CONNECT request. Each APP<strong>CP</strong>ASS statement for a virtual machine identifies apossible target of APPC<strong>VM</strong> CONNECT requests that indicate SECURITY (PGM),<strong>and</strong> provides the user ID <strong>and</strong> password needed for security authorization tocomplete the connection. When a CONNECT request that requires user ID <strong>and</strong>password includes only user ID, <strong>CP</strong> searches for a corresponding APP<strong>CP</strong>ASSstatement in the originating virtual machine’s directory entry to obtain the password.If the CONNECT request requires user ID <strong>and</strong> password, but includes neither, <strong>CP</strong>searches for a corresponding APP<strong>CP</strong>ASS directory statement to obtain both.How to SpecifyIf you use the APP<strong>CP</strong>ASS statement, it must precede any device statements youcode in the user’s directory entry. (For a list of device statements, see Table 20 onpage 448.) Multiple APP<strong>CP</strong>ASS statements are allowed within a profile entry. AnyAPP<strong>CP</strong>ASS statements found within a profile entry are added to those found in theincluding user entry with no duplicate checking performed. A statement that appearswithin a user definition is processed before a statement that appears within anincluded profile definition.Oper<strong>and</strong>sgate_luspecifies the 8 character GATEWAY_LU_NAME that is the first part of thelocally-known LU name. A shorter name must be padded on the right withblanks to a length of 8 characters.gate_known_luspecifies the 8 character GATEWAY_KNOWN_LU_NAME that is the secondpart of the locally-known LU name, which determines the target for whichsecurity parameters are being specified. When the GATEWAY_LU_NAME is*IDENT, the GATEWAY_KNOWN_LU_NAME must be 8 bytes of binary zeros(X'0000000000000000').useridspecifies the 1- to 8-character user ID.passwordspecifies the 1- to 8-character password that corresponds to the user ID valueat the target identified by the locally-known LU name.UsageNotes1. Multiple APP<strong>CP</strong>ASS statements can be specified for a single virtual machine.2. The same gate_lu <strong>and</strong> gate_known_lu values may be on multiple APP<strong>CP</strong>ASSstatements for a single virtual machine. Each of these APP<strong>CP</strong>ASS statementscan have a different user ID value. In this manner, a virtual machine can useChapter 17. Creating <strong>and</strong> Updating a User Directory 459


APP<strong>CP</strong>ASSmultiple user ID <strong>and</strong> password pairs to gain access to the target. If two or moresuch statements also have the same user ID value, only the first statement isused to obtain security parameters for the designated target.3. APP<strong>CP</strong>ASS statements are an alternative to specifying security parameters forAPPC<strong>VM</strong> CONNECT requests from CMS applications in the CMS file thatsupports the Systems Application Architecture ® (SAA ® ) Common ProgrammingInterface for Communications (<strong>CP</strong>IC).ExamplesThe following APP<strong>CP</strong>ASS statements in the directory definition of JOEUSER’svirtual machine define a list of LUs <strong>and</strong> their security parameters with whichJOEUSER’s virtual machine can establish communications. This is not a definitivelist. Programs running in JOEUSER’s virtual machine could develop <strong>and</strong> pass therequired LU <strong>and</strong> security information dynamically. The APP<strong>CP</strong>ASS statementssimply provide default security parameters for the identified LUs for cases whenthey are not dynamically supplied.APPCpass Regional SalesOff Outlet01 pass01APPCpass HomeOffc Invntory Outlet01 pass02APPCpass HomeOffc Reports SalesMgr passsmgrAPPCpass HomeOffc MailBox MailMan passmmAPPCpass HomeOffc MailBox JoeUser passpersWith the first statement, JOEUSER could establish a connection with the LU namedREGIONAL SALESOFF <strong>and</strong> be known as user OUTLET01 with password PASS01.With the second, JOEUSER could establish a connection with the LU namedHOMEOFFC INVNTORY <strong>and</strong> also be known as OUTLET01 but with anotherpassword of PASS02. With the third, JOEUSER could establish a connection withthe LU named HOMEOFFC REPORTS <strong>and</strong> be known as SALESMGR with apassword of PASSSMGR. With the fourth, JOEUSER could establish a connectionwith the LU named HOMEOFFC MAILBOX <strong>and</strong> be known as MAILMAN with apassword of PASSMM. With the last, JOEUSER could establish a connection withthe LU named HOMEOFFC MAILBOX to be known as himself, JOEUSER with apassword of PASSPERS.460 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


AUTOLOGAUTOLOG Directory Control Statement (General)PurposeThe AUTOLOG statement is a synonym for XAUTOLOG that is available forcompatibility reasons. Refer to “XAUTOLOG Directory Control Statement (General)”on page 578 for the format <strong>and</strong> for information on coding the XAUTOLOGstatement.How to SpecifyMultiple AUTOLOG statements are allowed within a profile but are only used if noAUTOLOG or XAUTOLOG statements are in the user directory entry.Chapter 17. Creating <strong>and</strong> Updating a User Directory 461


CLASSCLASS Directory Control Statement (General)►► CLass classes ►◄PurposeThe CLASS statement specifies the privilege class or classes assigned to anindividual user.How to SpecifyThe CLASS statement, if used, must be after the USER statement <strong>and</strong> mustprecede any device statements. (For a list of device statements, see Table 20 onpage 448.) One CLASS statement is allowed within a profile if the USER statementCLASS field of each of the including virtual machines is blank or contains only anasterisk (*). A CLASS statement within a user directory entry overrides a CLASSstatement in a profile.Oper<strong>and</strong>sclassesspecifies up to 32 privilege classes of <strong>CP</strong> comm<strong>and</strong>s a user can enter.Comm<strong>and</strong> classes are A through Z, <strong>and</strong> 1 through 6. Each character representsa single privilege class, <strong>and</strong> may appear in any order, without duplication, <strong>and</strong>cannot be separated by blanks. See Chapter 16, “Redefining Comm<strong>and</strong>Privilege Classes,” on page 433 for information on how to restructure yourcomm<strong>and</strong> privilege classes if you want them to be different from the<strong>IBM</strong>-defined default classes A, B, C, D, E, F, <strong>and</strong> G.UsageNotes1. If you do not specify a CLASS statement <strong>and</strong> you specify the class field of theUSER statement as either a blank or an asterisk (*), <strong>CP</strong> uses the default classor classes specified on the PRIV_CLASSES statement in your systemconfiguration file.2. If the CLASS field of the USER statement is not blank <strong>and</strong> is not an asterisk (*),the CLASS statement is not allowed.3. If you change the privilege classes for any DIAGNOSE codes, be aware that thechange can affect the user’s ability to enter, because some CMS comm<strong>and</strong>sinvoke DIAGNOSE codes (for example, DUMPVIEW, GENIMAGE, <strong>and</strong>OVERRIDE).ExamplesTo specify that user ID BONES can enter comm<strong>and</strong>s with privilege classes Z, 1, 6,A, X, C, B, 2, 5, <strong>and</strong> G, use the following directory control statements:User Bones ww11qq 8m 16m *Class z16axcb25g462 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


CONSOLECONSOLE Directory Control Statement (Device)►► Console vdev devtype(1)TclassuseridOBServer►◄Notes:1 The default is no secondary user ID.PurposeThe CONSOLE statement defines the virtual machine console for any virtualmachine whose user directory entry contains no CONSOLE statement but doescontain an INCLUDE statement referring to that profile.How to SpecifyOne CONSOLE statement is allowed within a profile entry. If you define aCONSOLE statement in both a user directory entry <strong>and</strong> its included profile entry, atlogon time two requests to define a console are presented to the system; the userdirectory entry is presented first.If you code a CONSOLE statement, it must follow any general statements you codein a user’s directory entry. (For a list of general statements, see Table 20 on page448.)When processing the CONSOLE statement, DIRECTXA checks for a maximum offive tokens: virtual device number, device type, spooling class, a secondary user IDor observer, in that order. If you specify more than five tokens, DIRECTXA ignoresthe extra tokens <strong>and</strong> system processing continues as if you had not specified theextra tokens.Oper<strong>and</strong>svdevis the virtual device number for the virtual console.devtypeis the device type. Valid device types are 3215 <strong>and</strong> 3270.classis a 1-character spooling class. With spooling classes, your installation cangovern the printing of the real spooled output. The class can be any singlealphanumeric character from A to Z or from 0 to 9. If you omit class, the defaultis T.useridIs the 1- to 8-character secondary user ID whose console is to be used whenthe primary user disconnects. If userid is specified, class must also bespecified.Chapter 17. Creating <strong>and</strong> Updating a User Directory 463


CONSOLEUsageNotesOBServerindicates that the specified user is in an observer rather than a secondary userfor the virtual machine whose console is being defined.1. A virtual machine can have a maximum of one console. Once logged on, userscan change the definition of their console to meet their needs. You can use thefollowing comm<strong>and</strong>s to change the definition of your console:Comm<strong>and</strong>FunctionDEFINE v Changes the console addressDETACH Deletes the consolev Creates a console if one does not already exist.SPOOL Changes the spooling classTERMINAL CONMODE Changes the device typeThe user ID field cannot be changed or deleted by the user.2. To define a virtual machine console with a console mode (CONMODE) of 3270,the real terminal must be a graphics device. In addition, if the real terminal is anSNA/CCS terminal, the VTAM service machine (VSM) that controls the terminalmust support CONMODE 3270. VTAM service machines that use releases ofACF/VTAM ® earlier than Version 3 Release 1.1 support only CONMODE 3215.If either condition is violated, an informational message is issued during logonprocessing <strong>and</strong> the console mode defaults to 3215.Examples1. To define a 3215 console at address 009 that produces class T spooled output(the default value), use the following statement in the virtual machine’s directoryentry:Console 009 32152. To define a 3270 console at address 0A9 that produces class Y spooled output,use the following statement in the virtual machine’s directory entry:Console 0a9 3270 y3. To define a 3215 console at address 01F that produces class T spooled output<strong>and</strong> the user ID whose console is to be used when this user ID is disconnectedis ALJONES, use the following statement in the virtual machine’s directory entry:Console 01f 3215 t aljones464 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


<strong>CP</strong>U<strong>CP</strong>U Directory Control Statement (General)►► <strong>CP</strong>U cpuaddrVECtorNOVECtorBASE <strong>CP</strong>UID bbbbbbNODEDicateDEDicateCRYpto►◄PurposeThe <strong>CP</strong>U statement specifies a virtual processor that is to be defined automaticallyfor the virtual machine at LOGON time.How to SpecifyThe maximum number of <strong>CP</strong>U statements allowed in the user’s directory entry iscontrolled by the mcpu oper<strong>and</strong> of the user’s MACHINE statement, if specified. Ifyou specify the <strong>CP</strong>U statement in a user’s directory entry, it must appear after theUSER statement <strong>and</strong> before any device statements. (For a list of devicestatements, see Table 20 on page 448.)Multiple <strong>CP</strong>U statements are allowed within a profile entry. If you specify <strong>CP</strong>Ustatements in a user directory entry <strong>and</strong> a profile entry with the same processoraddress (cpuaddr), the user directory entry overrides the profile entry. Otherwise,the user <strong>and</strong> profile <strong>CP</strong>U entries are additive.If you do not specify a <strong>CP</strong>U statement in a user’s directory entry, the address of thebase virtual processor is X'00' by default.Oper<strong>and</strong>scpuaddrdefines a virtual processor at the specified address. The address can be any2-digit hexadecimal number from X'00' to X'3F'.VECtorNOVECtorspecifies whether a virtual vector facility should be defined automatically for thevirtual <strong>CP</strong>U at LOGON time. For base virtual processors with at least one realvector facility installed, the default is VECTOR; otherwise, the default isNOVECTOR. For nonbase processors, the default is always NOVECTOR. Ifyou define the virtual processor as VECTOR <strong>and</strong> no real vector facility exists onthe real processor, <strong>CP</strong> issues a message that indicates that no real vectorfacility exists to service the virtual vector facility.BASEtells <strong>CP</strong> that this <strong>CP</strong>U statement defines the base virtual processor. You canonly specify BASE on one <strong>CP</strong>U statement. If you do not specify BASE on any<strong>CP</strong>U statement, <strong>CP</strong> defines the base virtual processor as the <strong>CP</strong>U statementwith the lowest virtual processor address (cpuaddr).<strong>CP</strong>UID bbbbbbprovides the processor identification number to be stored in bits 8 through 31 ofthe <strong>CP</strong>U ID that is returned in response to the store processor ID (STIDP)instruction. The variable bbbbbb is a 6-digit hexadecimal number. (No checkingis done to ensure that this number is unique in the virtual configuration.) ForChapter 17. Creating <strong>and</strong> Updating a User Directory 465


<strong>CP</strong>UUsageNotesbase processors, this option overrides the <strong>CP</strong>UID oper<strong>and</strong> on the OPTIONstatement. For nonbase processors, it overrides the <strong>CP</strong>U ID of the base <strong>CP</strong>U.For more information about the the <strong>CP</strong>UID oper<strong>and</strong> on the OPTION statement,see page 533.DEDicateNODEDicatespecifies whether this virtual processor is to be dedicated at LOGON time to areal processor.If NODEDICATE is specified, this virtual processor is not to be dedicated to areal processor. It has the same effect as entering the UNDEDICATE comm<strong>and</strong>for this virtual <strong>CP</strong>U. NODEDICATE is the default.CRYPtospecifies whether a virtual Integrated Cryptographic Facility (ICRF) should bedefined automatically for the virtual <strong>CP</strong>U at LOGON time. If you define thevirtual <strong>CP</strong>U as CRYPTO <strong>and</strong> no real ICRF is installed on the real processor atLOGON time, <strong>CP</strong> issues a message that indicates that no real crypto facility isinstalled.1. If the virtual processor is to be dedicated, <strong>CP</strong> tries to dedicate a real processorthat has the same facilities as the virtual processor. For example, <strong>CP</strong> tries tomatch a real processor with a vector facility to a virtual <strong>CP</strong>U with a definedvirtual vector facility, <strong>and</strong> a real processor without a vector facility to a virtual<strong>CP</strong>U without a defined virtual vector facility.2. The order of virtual machine <strong>CP</strong>U dedication is the base <strong>CP</strong>U first, with anyother nonbase processors following in the same order as the <strong>CP</strong>U entries in theuser’s directory entry.3. If DEDICATE is specified on the <strong>CP</strong>U statement <strong>and</strong> dedication occurs as aresult of this, <strong>and</strong> if the processor becomes no longer dedicated later for anyreason, rededication does not occur.4. The DEDICATE <strong>and</strong> UNDEDICATE comm<strong>and</strong>s override this statement.5. The directory entry contains conflicting statements if multiple processors aredefined on <strong>CP</strong>U statements <strong>and</strong> OPTION CONCEAL is specified. An informationmessage is issued, the CONCEAL option is rejected, <strong>and</strong> directory processingcontinues.6. The protected application environment is supported only for virtual machinesrunning a single processor. If this virtual machine is running a multiprocessorconfiguration, the SET CONCEAL ON comm<strong>and</strong> is rejected.7. Use of the ICRF must be authorized by the CRYPTO statement if the CRYPTOoper<strong>and</strong> is to be specified. The default is to not define an ICRF.8. A maximum of two virtual crypto facilities may be defined for a virtual machine.If a virtual machine user has more than two <strong>CP</strong>U statements with CRYPTOspecified, <strong>CP</strong> defines virtual crypto facilities for only the first two <strong>CP</strong>Ustatements specifying crypto. <strong>CP</strong> issues an error message to indicate that themaximum number of cryptos have already been defined.ExamplesTo define a vector-enabled base <strong>CP</strong>U at address X'3F', with a <strong>CP</strong>U ID of X'00003F',use the following <strong>CP</strong>U statement:<strong>CP</strong>U 3f vector base <strong>CP</strong>Uid 00003f466 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


<strong>CP</strong>UTo define a crypto-enabled base <strong>CP</strong>U at address X'DE', with a <strong>CP</strong>U ID ofX'0000DE', use the following <strong>CP</strong>U statement:<strong>CP</strong>U de novector base <strong>CP</strong>Uid 0000de CryptoChapter 17. Creating <strong>and</strong> Updating a User Directory 467


CRYPTOCRYPTO Directory Control Statement (General)First (or only) CRYPTO statement:(1) CSU *►► CRYPto DOMAIN ▼ domains Additional Oper<strong>and</strong>sCSU 01APVIRTual►◄Subsequent CRYPTO statements:CRYPtoDOMAIN▼domains(1)CSU 01*AdditionalOper<strong>and</strong>sAdditional Oper<strong>and</strong>s:▼KEYENTRYSPECIALMODIFYAPDEDicatedAPVIRTual▼apsNotes:1 Options after DOMAIN can be entered in any order. CSU, KEYENTRY, SPECIAL, MODIFY <strong>and</strong> APVIRT canonly be specified once.PurposeThe CRYPTO statement authorizes the user to define virtual cryptographic facilities<strong>and</strong> specifies which domains <strong>and</strong> CAM queues the virtual machine is allowed touse. It also specifies whether the virtual machine is authorized to be enabled toenter keys or issue PKSC Modify instructions, <strong>and</strong> whether the special securitymode can be used.How to SpecifyThe CRYPTO statement, if included in the directory entry, must appear after theUSER statement <strong>and</strong> before any device statements. (For a list of devicestatements, see Table 20 on page 448.)The CRYPTO statement cannot be used in a profile unless it is used with APVIRTonly.You can specify as many CRYPTO statements as you need to assign domains orAPs to the virtual machine. Once the DOMAIN oper<strong>and</strong> is specified, additionalCRYPTO statements may be specified with the other oper<strong>and</strong>s. Also, the DOMAIN468 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


CRYPTOor APDED oper<strong>and</strong>s may be specified again on additional CRYPTO statementsfollowed by the additional domains or APs to be assigned. Note, however, that theCSU, APVIRT, <strong>and</strong> other oper<strong>and</strong>s may only be specified once.Oper<strong>and</strong>sDOMAIN domainsspecifies up to 16 domains the virtual machine may use. Domains are 0 through15, specified in decimal. They may appear in any order, without duplication. IfCAM queues are available, the virtual machine may also use the CAM queuescorresponding to the domains specified. If AP queues are available, <strong>and</strong> theAPDED oper<strong>and</strong> is specified, the virtual machine may use the AP queuescorresponding to the domains specified. The DOMAIN oper<strong>and</strong> may bespecified more than once on additional CRYPTO statements, but the DOMAINoper<strong>and</strong> must be specified before any additional oper<strong>and</strong>s other than APVIRTare specified.CSU *tells <strong>CP</strong> to assign this virtual machine’s virtual crypto facilities to real cryptounits. This oper<strong>and</strong> also tells <strong>CP</strong> to allow this virtual machine to use bothCrypto Asynchronous Processors (CAPs) 1 <strong>and</strong> 0. If you do not specify CSU,the default is CSU *.CSU 0tells <strong>CP</strong> to assign this virtual machine’s virtual crypto facility to crypto unit 0.This oper<strong>and</strong> also tells <strong>CP</strong> to allow this virtual machine to use CAP 0.CSU 1tells <strong>CP</strong> to assign this virtual machine’s virtual crypto facility to crypto unit 1.This oper<strong>and</strong> also tells <strong>CP</strong> to allow this virtual machine to use CAP 1.KEYENTRYtells <strong>CP</strong> that this virtual machine is authorized to issue certain PCCF functionsthat operate on cryptographic keys.SPECIALtells <strong>CP</strong> that this virtual machine can use the special security mode.MODIFYtells <strong>CP</strong> that this virtual machine can issue the PKSC Modify instructions.APVIRTualtells <strong>CP</strong> that this virtual machine may share access with other virtual machinesto the clear-key functions of the Adjunct Processor (AP) cryptographic facility.The APVIRT oper<strong>and</strong> may be specified once in any order. The APVIRT oper<strong>and</strong>may not be specified if the APDED oper<strong>and</strong> is specified. It is not necessary tospecify the DOMAIN or CSU oper<strong>and</strong>s when specifying the APVIRT oper<strong>and</strong>.APDEDicated apsspecifies up to 64 APs the virtual machine may use for dedicated access to theAdjunct Processor (AP) cryptographic facility. APs are 0 through 63, specified indecimal. They may appear in any order, without duplication. The DOMAINoper<strong>and</strong> also must be specified to indicate the AP queues to access. The APqueues equivalent to the domains specified by all of the DOMAIN oper<strong>and</strong>s willbe assigned to the guest for each AP specified on the APDED oper<strong>and</strong> on allCRYPTO statements. The APDED oper<strong>and</strong> may not be specified if the APVIRToper<strong>and</strong> is specified. The APDED oper<strong>and</strong> may be specified more than once onadditional CRYPTO statements.Chapter 17. Creating <strong>and</strong> Updating a User Directory 469


CRYPTOUsage NotesExamples1. Only one virtual machine may use a domain at a time. If more than one virtualmachine has a CRYPTO statement for a given domain, only the first virtualmachine that logs on receives use of the domain.2. The domains specified must be installed on the real processor. If a specifieddomain is not installed on the real processor at LOGON time, a message isissued that the domain is not available.3. If there is more than one crypto unit in the real cryptographic facility, the CSUoption should be specified. CSU 0 or CSU 1 should be specified for virtualmachines that will have a virtual crypto facility on only one virtual <strong>CP</strong>U. CSU *should be specified for configurations that will have a virtual crypto facilitydefined on more than one virtual <strong>CP</strong>U.4. For CMOS cryptographic facilities, the use of CSU * is recommended. Thisallows the virtual machine to use both Crypto Asynchronous Processor (CAP) 0<strong>and</strong> CAP 1.5. The KEYENTRY parameter was necessary on older processors along with theSET CRYPTO KEYENTRY comm<strong>and</strong> to enable key-entry for one user at a time.Today, the KEYENTRY parameter is still necessary to allow use of the PCCFkey functions. However, the SET CRYPTO KEYENTRY comm<strong>and</strong> is not neededto enable individual key-entry because more than one user may issue thesefunctions at a time on current processors.6. It is recommended that multiple CRYPTO statements for a user be specifiedcontiguously in the user directory entry.7. The APs specified must be installed on the real processor. If a specified AP isnot installed on the real processor at LOGON time, a message is issued thatthe AP is not available.8. On real processors which have only the Adjunct Processor (AP) cryptographicfacility installed, it is not necessary to specify the CSU, KEYENTRY, SPECIAL,or MODIFY oper<strong>and</strong>s. If any of these oper<strong>and</strong>s are specified, they will beignored without generating any errors.9. If major changes are made to the configuration of the PCI crypto queues byupdating the APDED <strong>and</strong> APVIRT oper<strong>and</strong>s on the CRYPTO statements forusers without a subsequent system IPL, it is possible that no queues of the typeselected by z/<strong>VM</strong> will remain for queue-sharing, even though they may appearto be available when the QUERY CRYPTO APQS comm<strong>and</strong> is issued. If it isnecessary to change the type of queues available for queue-sharing, a systemIPL must be performed after the directory changes are made.1. To specify that a virtual machine can use domains 1 <strong>and</strong> 2, use the followingCRYPTO statement in the virtual machine’s directory entry:Crypto Domain 1 2 CSU * Special Modify Keyentry<strong>CP</strong> will assign the virtual crypto facilities to real crypto units. If the CryptoAsynchronous Processor (CAP) is provided in the processor configuration, thevirtual machine also will be able to use CAP 0 <strong>and</strong> CAP 1 <strong>and</strong> CAM queues 1<strong>and</strong> 2.2. To specify that the virtual machine may use the clear-key functions of theAdjunct Processor (AP) cryptographic facility, use the following CRYPTOstatement in the virtual machine’s directory entry:Crypto Apvirt470 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


CRYPTO3. To specify that a virtual machine can use domains 3 <strong>and</strong> 7 <strong>and</strong> AP queues 3<strong>and</strong> 7 on APs 0, 2, <strong>and</strong> 3, use the following CRYPTO statement in the virtualmachine’s directory entry:Crypto Domain 3 7 CSU * Special Modify Keyentry Apded 0 2 34. To specify that a virtual machine can use AP queues 2, 10, 11, 12, <strong>and</strong> 13 onAP 4 use the following CRYPTO statement in the virtual machine’s directoryentry:Crypto Domain 2 10 11 12 13 Apded 4Chapter 17. Creating <strong>and</strong> Updating a User Directory 471


DASDOPTDASDOPT Directory Control Statement (Device)►►DASDOPT(1)DEVCTLSYSCTLNOCTLNOWRKALlegWRKALleg►◄Notes:1 Options can be entered in any order.PurposeThe DASDOPT statement is an extension to the MDISK, LINK, <strong>and</strong> DEDICATEstatements, <strong>and</strong> immediately follows them.How to SpecifyMultiple DASDOPT statements are allowed within a profile entry, but each mustdirectly follow a DEDICATE statement. A DASDOPT statement can follow a LINK orMDISK statement only if that statement defines a full-pack minidisk. DIRECTXAcannot detect every case when the MDISK preceding the DASDOPT is not afull-pack minidisk nor can it determine if the volume represented on the LINKstatement is a full-pack minidisk. In these situations, the characteristics of theDASDOPT oper<strong>and</strong>s are given to the disks. Unexpected results may occur.When processing the DASDOPT statement, DIRECTXA checks for two tokens: oneof the control tokens (DEVCTL, NOCTL, or SYSCTL) <strong>and</strong> WRKALLEG. If youspecify more than two tokens, DIRECTXA ignores the extra tokens <strong>and</strong> systemprocessing continues as if you had not specified the extra tokens.Oper<strong>and</strong>sDEVCTLmeans that the device accepts CCWs that have an effect on resources <strong>and</strong>functions directly related to the device. See usage note 6 on page 473 fordefault values.SYSCTLmeans that the device accepts CCWs that have a direct global effect onsubsystem resources <strong>and</strong> function, not just those related to the device. Seeusage note 6 on page 473 for default values.NOCTLmeans that the device does not accept any CCWs that can control subsystemresources or functions, regardless of whether they directlyWRKALlegmeans working allegiance is active on the minidisk. This option is allowed onlyif DASDOPT is immediately preceded by the MDISK statement.NOWRKALlegmeans working allegiance is not active on the minidisk. This option is allowedonly if DASDOPT is immediately preceded by the MDISK statement.472 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DASDOPTUsage Notes1. If you are dedicating a DASD with logical addresses (for example, a DASDconnected to a paging storage director in a 3380 Storage Control Model 11 or21), the real device number you specify must be the base address for thedevice, <strong>and</strong> virtual device number you specify must follow the addressing rulesfor base addresses.2. If you are dedicating a device with logical addresses, both the real devicenumber <strong>and</strong> the virtual device number you specify must be the base address.3. When the cache status of a device is changed, the hardware presents anasynchronous state change interrupt to every vdev associated with that rdevthat has DASDOPT DEVCTL specified.4. WRKALLEG must be used when running two or more MVS guests as part of aSysplex configuration using the cross-system coupling facility (XCF) componentof MVS/ESA. This option must be used for any minidisk containing the XCFcouple dataset to maintain cross-system lock integrity (<strong>and</strong> thereby, dataintegrity) within the sysplex.5. WRKALLEG/NOWRKALLEG is valid only when the preceding MDISK statementgives the user write access to the minidisk. If the MDISK statement specifiesread-only access, <strong>CP</strong> rejects the WRKALLEG/NOWRKALLEG statement <strong>and</strong>issues an error message. Furthermore, working allegiance is simulated onlywhen a guest with write access initiates I/O.6. Levels of Control (DEVCTL, NOCTL, <strong>and</strong> SYSCTL)a. The default control level value is normally DEVCTL, unless DASDOPTfollows the LINK statement for a full-pack minidisk. In that case, NOCTL isalways the default.b. DASDOPT applies only to DASDs on a cached control unit. If you specifyDASDOPT for a noncached DASD, the statement is ignored.c. Specifying a level of control (NOCTL, DEVCTL, or SYSCTL) for a DASDconnected to a cache storage control unit authorizes <strong>CP</strong> to accept particularcontrol CCWs.Table 22 on page 474 shows you the additional control CCWs that <strong>CP</strong> acceptsfor a level of control. The DEVCTL column shows the CCWs that <strong>CP</strong> accepts inaddition to those it accepts for the NOCTL level of control. The SYSCTL columnshows the CCWs that <strong>CP</strong> accepts in addition to those it accepts for theDEVCTL <strong>and</strong> NOCTL levels of control.Chapter 17. Creating <strong>and</strong> Updating a User Directory 473


DASDOPTTable 22. DASD Control LevelsControl UnitTypeAdditional Control CCWs Accepted forDEVCTL3990-3,6 v Set subsystem mode– Activate caching for device– Deactivate caching for device– Activate DASD fast write– Deactivate DASD fast write– Force deactivate DASD fast writev Perform Subsystem Function– Establish Duplex Pair– Terminate Duplex Pair– Suspend Duplex Pair– Direct I/O to One Device of the Duplex Pair– Set Interface IDAdditional Control CCWs Accepted forSYSCTLv Set subsystem mode– Make cache available– Make cache unavailable– Force cache unavailable– Make NVS available– Make NVS unavailable– Activate cache fast write– Deactivate cache fast writev Perform Subsystem Function– Destage Modified Tracks– Set Cache Allocation Parameters– Suspend/Resume Function474 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DATEFORMATDATEFORMAT Directory Control Statement (General)►► DATEFormat SHOrtdateFULldateISOdateSYSdefault►◄PurposeThe DATEFORMAT statement specifies a user’s default date format for comm<strong>and</strong>sthat provide multiple date formats.How to SpecifyOne DATEFORMAT statement is allowed in a user or profile entry. A DATEFORMATstatement in a user entry overrides a DATEFORMAT specification in a profile entry.If you specify the DATEFORMAT statement, it must precede any device statementsthat you specify in a profile or user entry. (For a list of device statements, seeTable 20 on page 448.)Oper<strong>and</strong>sSHOrtdatespecifies that dates in comm<strong>and</strong> responses be displayed in mm/dd/yy, mm/dd,or yy/mm/dd format, where mm is the month, dd is the day of the month, <strong>and</strong> yyis the 2-digit year.FULldatespecifies that dates in comm<strong>and</strong> responses be displayed in mm/dd/yyyy oryyyy/mm/dd format, where mm is the month, dd is the day of the month, <strong>and</strong>yyyy is the 4-digit year.ISOdatespecifies that dates in comm<strong>and</strong> responses be displayed in yyyy-mm-dd format,where yyyy is the 4-digit year, mm is the month, <strong>and</strong> dd is the day of the month.SYSdefaultspecifies that the default date format for this user be set to the system-widedefault. The system-wide default date format may be set in the systemconfiguration file with the SYSTEM_DATEFORMAT statement, or with the <strong>CP</strong>SET DATEFORMAT comm<strong>and</strong>. Refer to “SYSTEM_DATEFORMAT Statement”on page 225 for a description of the SYSTEM_DATEFORMAT configurationstatement, <strong>and</strong> the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference for adescription of the SET DATEFORMAT comm<strong>and</strong>.UsageNotes1. The format of the dates, such as mm/dd/yy, mm/dd, <strong>and</strong> yy/mm/dd, aredependent upon the comm<strong>and</strong> or routine that displays or generates the date.2. If you omit the DATEFORMAT statement when you code a user’s directoryentry, the default format for that user will be the system-wide default(SYSdefault). The user may change their default date format with the <strong>CP</strong> SETDATEFORMAT comm<strong>and</strong>.Chapter 17. Creating <strong>and</strong> Updating a User Directory 475


DATEFORMAT3. If the user’s default date format is set to SYSDEFAULT, the system-wide defaultdate format that is in effect at logon time will be used until the user logs off orissues the SET DATEFORMAT comm<strong>and</strong>. If the system-wide default dateformat is changed, the user must logoff <strong>and</strong> log back on or issue the SETDATEFORMAT SYSDEFAULT comm<strong>and</strong> to switch to the new system-widedefaultExamples1. To specify the user’s default date format as SHORTDATE, use the followingDATEFORMAT statement in the user’s directory entry:DATEFORMAT SHORTDATE2. To specify the user’s default date format as FULLDATE, use the followingDATEFORMAT statement in the user’s directory entry:DATEFORMAT FULLDATE3. To specify the user’s default date format as ISODATE, use the followingDATEFORMAT statement in the user’s directory entry:DATEFORMAT ISODATE4. To specify that the user’s default date format should be the same as thesystem-wide default date format, use the following DATEFORMAT statement inthe user’s directory entry:DATEFORMAT SYSDEFAULT476 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DEDICATEDEDICATE Directory Control Statement (Device)►► Dedicate vdev DASDTape DeviceOther Device►◄DASD:|rdevVOLIDVOLIDvolidvolidR/O NOQIOASSIST USERACCESSID useridTape Device:rdevSINGLEUSERR/O NOASSIGN NOQIOASSISTNOASSIGN NOQIOASSISTMULTIUSEROther Device:|rdevNOQIOASSIST USERACCESSID useridPurposeThe DEDICATE statement specifies that a virtual machine has sole use of a realdevice or is serially sharing a real tape device with other users. The DASDOPTstatement is an extension to this statement. For more information about theDASDOPT statement, see “DASDOPT Directory Control Statement (Device)” onpage 472.How to SpecifyIf you specify DEDICATE statements, they must follow any general statements in auser’s directory entry. (For a list of general statements, see Table 20 on page 448.)<strong>IBM</strong> recommends that you place DEDICATE statements before any SPOOL, LINK,or SPECIAL directory statements. This helps <strong>CP</strong> assign the correct subchannelnumber to any virtual devices to which you want to dedicate a real device. Forexample, you should make sure the virtual subchannel number is the same as thereal subchannel number. You would do this by placing the DEDICATE statementsbefore the LINK <strong>and</strong> SPOOL statements.DEDICATE statements are allowed within a profile entry if no duplicate virtualdevice numbers are on DEDICATE statements within the profile. Any virtual devicenumber in a profile that duplicates a virtual device number within a user entry isresolved at logon time; the DEDICATE request from the user entry is presented tothe system first.Chapter 17. Creating <strong>and</strong> Updating a User Directory 477


DEDICATE||||||||||||Oper<strong>and</strong>svdevis the virtual device number.rdevrdev is the real device number.VOLID volidis the volume serial number of a disk pack mounted on a real disk storagedevice. The variable volid must be a 1- to 6-character string. If volid is less thanfive characters, VOLID is a required keyword; otherwise VOLID is optional.R/Ospecifies that the virtual device is to be in read-only mode.SINGLEUSERdedicates a real tape device to a single user. This is the default for a tapedevice.MULTIUSERattaches a real tape device to be serially shared with other users. See UsageNote 3.NOASSIGNindicates that the ATTACH process should not issue an ASSIGN channelcomm<strong>and</strong> for this user. This lets the ATTACH work, even if the specified realdevice is assigned to another processor. For more information about theATTACH comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.NOQIOASSISTindicates the device is not eligible for Queued-I/O Assist.USERACCESSID useridto allow a user (guest) the ability to give F<strong>CP</strong> LUN access to the specifieduserid. In z/<strong>VM</strong>, authority to LUNs in a Fabric is normally set up by entries in anAccess Control Table (ACT). See Linux documentation for details on the ACTconfiguration tool. z/<strong>VM</strong> stores the userid into the subchannel when an F<strong>CP</strong>subchannel is attached or reset. The adapter uses the stored userid names tocorrelate I/O requests with the rules in the ACT <strong>and</strong> allows access to the LUNsbased on those rules. The USERACCESSID option provides a proxy method toaccessing a LUN. The userid specified with the option will be stored in thesubchannel, rather than the invoker’s userid, when an F<strong>CP</strong> subchannel isattached or reset. It is assumed that the userid specified with USERACCESSIDis already in the ACT.UsageNotes1. You may dedicate a real device to only one virtual machine at a time. If morethan one virtual machine has a DEDICATE statement for a given real device,only the first virtual machine that logs on receives control of the device. Theonly exception is when the MULTIUSER oper<strong>and</strong> is specified, which allowsserial sharing of an attached tape device.2. The DEDICATE directory statement defaults to DEVCTL if no DASDOPT ispresent.3. The MULTIUSER function is intended for guest operating systems that managetheir own assignment of tape devices. It is not intended for CMS unless someexternal means of managing assignments or serializing access to the tape478 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DEDICATE|||Examplesdevice among the sharing users is explicitly implemented. Third partyassignment <strong>and</strong> multiple system assignment (Control Access CCW) are notsupported.To share a tape device, the directory entry for that user must contain aDEDICATE statement for the device that includes the MULTIUSER oper<strong>and</strong>, orthe user must specify the MULTIUSER option when using the <strong>CP</strong> ATTACHcomm<strong>and</strong> to attach the device. If the first user to log on has a DEDICATEstatement for the device that does not include MULTIUSER, or issues theATTACH comm<strong>and</strong> for the device without specifying MULTIUSER, the devicebecomes dedicated to that user. The device then cannot be attached asMULTIUSER by any user until it is detached by the user to whom it isdedicated.The MULTIUSER function is valid only for 3424, 3480, 3490, <strong>and</strong> 3590 tapedevices.1. To dedicate the real device at real device number 100 to the virtual device atvirtual device number 100, use the following statement in the virtual machine’sdirectory entry:Dedicate 100 1002. To dedicate the real disk at real device number 200 (volume serial numberXA9999) to the virtual device at virtual device number 220, use the followingstatement in the virtual machine’s directory entry:Dedicate 220 200 volid xa99993. To dedicate in read-only mode the real disk at real device number 1300 (volumeserial number XB9999) to the virtual device at virtual device number 330, usethe following statement in the virtual machine’s directory entry:Dedicate 330 1300 volid xb9999 r/o4. To share the real tape device at real device number 500 <strong>and</strong> attach it to thevirtual machine as virtual device number 181, use the following statement in thevirtual machine’s directory entry:Dedicate 181 500 multiuser5. The USERACCESSID option applies only to first-level <strong>and</strong> second-level guests.If it is attempted on a third-level or higher virtual machine, the request istranslated into corresponding first-level <strong>and</strong> second-level information only.Chapter 17. Creating <strong>and</strong> Updating a User Directory 479


DIRECTORYDIRECTORY Directory Control Statement (Control)►► DIRectory vdev devtype volidaltvdevEDITnnnnnn-xxxxsysafnid►◄PurposeThe DIRECTORY statement defines to <strong>CP</strong> the device on which you have allocatedspace for the directory. (This device must also be a <strong>CP</strong>-owned volume.) If yoursystem is part of a multisystem complex, a DIRECTORY statement is required foreach logical system.How to SpecifyThe DIRECTORY statements must be the first statements in your source directoryor control DIRMPART file (cluster format directory). DIRECTORY statements are notallowed within a profile entry.If you specify the EDIT option on a DIRECTORY statement, that statement must:v Be the last DIRECTORY statement in the source directoryv Immediately follow another DIRECTORY statementv Be the only DIRECTORY statement with an EDIT option in the source directory.If any of these conditions is not met, an error message is issued.If you are sharing a single source directory among several systems, allDIRECTORY statements must be listed at the beginning of the source directory <strong>and</strong>before any other control statements.When processing the DIRECTORY statement, DIRECTXA checks for a maximum ofsix tokens: virtual device number, device type, volume serial number, alternatedevice number or the EDIT oper<strong>and</strong>, the processor ID, <strong>and</strong> a system ID, in thatorder. If you specify more than six tokens, DIRECTXA ignores the extra tokens <strong>and</strong>system processing continues as if you had not specified the extra tokens.Oper<strong>and</strong>svdevis the virtual device number of the device that is to contain the object directory.devtypeis the device type. Valid device types are:3380 3390 9336 FB-512480 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>FB-512 is a generic value which may be used in place of specific FBA devicetypes. A 3390 in 3380 track compatibility mode must be coded as 3380. Ifmultiple DIRECTORY statements are used, the device types do not have to bethe same.volidis the volume serial number of the directory volume. The variable volid is a 1- to6-character alphanumeric string.


DIRECTORYUsageNotesaltvdevis an alternative virtual device number, on which to write the directory if theprimary virtual device number is unavailable.EDIT(Supported for compatibility with <strong>VM</strong>/SP HPO) defines a special work volume tobe used by the <strong>VM</strong>/SP HPO DIRECT comm<strong>and</strong> when it is entered with theEDIT option. You can only specify the EDIT option on one DIRECTORYstatement, <strong>and</strong> it must be the last of the set of DIRECTORY statements.DIRECTXA validates the syntax of this statement but ignores its contents.nnnnnn-xxxxis the processor ID of the system to which the DIRECTORY statement applies.Use the QUERY <strong>CP</strong>UID comm<strong>and</strong> to get the values for nnnnnn <strong>and</strong> xxxx,where nnnnnn is the processor identification number, <strong>and</strong> xxxx is the modelnumber of the real machine. For more information about the QUERY <strong>CP</strong>UIDcomm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.If your system is an n-way processor operating in single-image mode, you canspecify the processor ID as *nnnnn-xxxx. This allows you to use oneDIRECTORY statement to define all <strong>CP</strong>UIDs. See “Usage Notes” for moreinformation about defining processor IDs with one DIRECTORY statement.sysafnidis a 1- to 8-character alphanumeric string that identifies the system whoseobject directory is affected by the SYSAFFIN statements (page 569).1. <strong>CP</strong> dynamically updates the active z/<strong>VM</strong> directory if your virtual machine hasthe proper privilege class <strong>and</strong> one of the following is true:v The volume serial number specified is the one on which the directory wasfound during initialization.v No directory has yet been found, <strong>and</strong> the volume serial number specified iscurrently owned by <strong>CP</strong> (as specified using the <strong>CP</strong>_OWNED statement in thesystem configuration file or using the SYS<strong>CP</strong>VOL macroinstruction inH<strong>CP</strong>SYS). For more information about the <strong>CP</strong>_OWNED statement, see page73. For more information about the SYS<strong>CP</strong>VOL macroinstruction, see page664.2. An asterisk (*) in the first position of the processor ID, *nnnnn-xxxx, lets you useone DIRECTORY statement to define all of the processor IDs of an n-wayprocessor operating in single-image mode. Nevertheless, if a four-wayprocessor is partitioned into two logical two-way processors, you must create aDIRECTORY statement for each processor that specifies all 11 digits of theprocessor ID (nnnnnn-xxxx) for each logical processor. This is because theprocessor ID of the two logical systems would differ only in the first character ofthe processor ID.3. When multiple DIRECTORY statements contain the same system affinity ID, thedevice information (device number, device type, <strong>and</strong> volume serial number) onall of the statements must be identical.The maximum number of 16 unique system affinity IDs can be specified onmultiple DIRECTORY statements.ExamplesThe following examples show the various ways of coding the DIRECTORY controlstatement:Chapter 17. Creating <strong>and</strong> Updating a User Directory 481


DIRECTORY1. To specify that:v The FBA volume labeled XA0001, at virtual device number 0123, is to containthe new directoryv The volume at virtual device number 0223 should be used if <strong>CP</strong> encountersan error while trying to access the directory on virtual device number 0123code the following DIRECTORY statement:Directory 0123 fb-512 xa0001 02232. To specify:v A multiple system definition where a 2064 two-way processor is partitionedinto two uniprocessors, SYSTEMA (serial 012345) <strong>and</strong> SYSTEMB (serial112345)v A 3380 EDIT work volume with a virtual device number of 0243 <strong>and</strong> a volumeserial number of DRM19Fcode the following DIRECTORY statements:Directory 0123 3380 xa0001 0223 012345-2064 systemaDirectory 0223 3380 xa0002 0233 112345-2064 systembDirectory 0243 3380 drm19f edit3. To specify a 2064 four-way processor configured as a single-image processorso that the system can be IPLed on any of the four processors, use thefollowing DIRECTORY statements:Directory 0b64 3380 vmaipl 015211-2064 vmaDirectory 0b64 3380 vmaipl 115211-2064 vmaDirectory 0b64 3380 vmaipl 215211-2064 vmaDirectory 0b64 3380 vmaipl 315211-2064 vmaDirectory 0243 3380 drm19f editOr you can use:Directory 0b64 3380 vmaipl *15211-2064 vmaDirectory 0243 3380 drm19f edit4. To specify a 2064 partitioned into two 2-way images, you must use two pairs ofDIRECTORY statements, one pair for each image. Each statement in a pairdiffers only in the first character of the processor ID:Directory 0b64 3390 vmaipl 020893-2064 vmaDirectory 0b64 3390 vmaipl 220893-2064 vmaDirectory 0784 3380 vmbipl 120893-2064 vmbDirectory 0784 3380 vmbipl 320893-2064 vmbDirectory 0243 3390 drm19f edit5. To specify an n-way processor, such as a 2064, that is to be treated as a singleimage within a complex, use a DIRECTORY statement with an asterisk (*) in thefirst character of the processor ID. This ensures that the DIRECTXA comm<strong>and</strong>can be entered on any processor in the complex.Directory 0b64 3390 vmaipl *20893-2064 vma6. To specify a multiple system environment where four 2064 processors share asingle directory, use the following DIRECTORY statements:Directory 0123 9336 fba001 0223 012345-2064 fbasysaDirectory 0223 9336 fba002 0223 012355-2064 fbasysbDirectory 0323 9336 fba003 0223 012445-2064 fbasyscDirectory 0423 9336 fba004 0223 013345-2064 fbasysd482 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


D8ONECMDD8ONECMD Directory Control Statement (General)►► D8ONECMD FAILLOGOFFUNLOCKLOCK►◄PurposeThe D8ONECMD statement is an optional statement that defines whether a virtualmachine can issue multiple <strong>CP</strong> comm<strong>and</strong>s using DIAGNOSE code X'08' <strong>and</strong>separating the comm<strong>and</strong>s with X'15's. This statement also tells <strong>CP</strong> whether to logthe comm<strong>and</strong>s to the system operator’s console.How to SpecifyIf you specify a D8ONECMD statement, it must appear after the USER statement orin a profile for a user. You can only have one D8ONECMD statement for each userentry. If you specify more than one, you will receive an error message. If youspecify a D8ONECMD statement in a user entry <strong>and</strong> you also specify aD8ONECMD statement within the profile entry for that user, <strong>CP</strong> uses theD8ONECMD statement in the user entry <strong>and</strong> ignores the D8ONECMD statement inthe profile entry.If you do not specify a D8ONECMD statement, <strong>CP</strong> will not prevent users fromissuing multiple comm<strong>and</strong>s with DIAGNOSE code X'08' <strong>and</strong> will allow users tochange their D8ONECMD setting.Oper<strong>and</strong>sOFFtells <strong>CP</strong> that this virtual machine can issue multiple comm<strong>and</strong>s with DIAGNOSEcode X'08' without any logging.FAILtells <strong>CP</strong> to prevent this virtual machine from issuing multiple comm<strong>and</strong>s withDIAGNOSE code X'08'. If the virtual machine tries to issue more than onecomm<strong>and</strong> with DIAGNOSE code X'08', <strong>CP</strong> will log each comm<strong>and</strong> to thesystem operator’s console, process the first comm<strong>and</strong>, <strong>and</strong> reject anysubsequent comm<strong>and</strong>s in the sequence.LOGtells <strong>CP</strong> that this virtual machine can issue multiple comm<strong>and</strong>s with DIAGNOSEcode X'08' <strong>and</strong> tells <strong>CP</strong> to log the multiple comm<strong>and</strong>s to the system operator’sconsole.LOCKtells <strong>CP</strong> to lock the D8ONECMD setting for a specific user entry. This preventsusers from changing the D8ONECMD setting for their virtual machine.UNLOCKtells <strong>CP</strong> not to lock the D8ONECMD setting for a specific user entry. This allowsuser to change the D8ONECMD setting for their virtual machine.Chapter 17. Creating <strong>and</strong> Updating a User Directory 483


D8ONECMDUsage NotesExamples1. If you omit the D8ONECMD for any user entry, <strong>CP</strong> uses the defaults: OFF <strong>and</strong>UNLOCK. This means everything continues as you expected it to in previousreleases of <strong>VM</strong>. If you want to use the D8ONECMD statement but you areafraid to have <strong>CP</strong> start rejecting comm<strong>and</strong>s, we suggest you use the LOGoper<strong>and</strong>. Using the LOG oper<strong>and</strong> does not cause <strong>CP</strong> to reject any comm<strong>and</strong>s<strong>and</strong> it provides you with a list of all the comm<strong>and</strong>s by logging them to thesystem operator’s console. You can then monitor any multiple comm<strong>and</strong> activityuntil you feel comfortable in switching to the FAIL oper<strong>and</strong>.2. If you are running a back level of CMS <strong>and</strong> D8ONECMD is set to FAIL, someCMS comm<strong>and</strong>s (such as SENDFILE, NETDATA, DISK LOAD, <strong>and</strong>READCARD) may not work properly. Also a back level of the programmableoperator facility will not initialize if D8ONECMD is set to FAIL.1. If you wanted to:v Prevent a user from issuing more than one comm<strong>and</strong> using DIAGNOSE codeX'08' <strong>and</strong> X'15's,v Log each of the comm<strong>and</strong>s to the system operator’s console, <strong>and</strong>v Prevent that user from changing the D8ONECMD settinguse the following D8ONECMD statement:D8OneCmd Fail Lock2. If you wanted to:v Allow a user to issue multiple comm<strong>and</strong>s using DIAGNOSE code X'08' <strong>and</strong>X'15's,v Record each comm<strong>and</strong>, <strong>and</strong>v Allow that user to change the D8ONECMD settinguse the following D8ONECMD statement:D8OneCmd Log UnLock484 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


GLOBALDEFSGLOBALDEFS Directory Control Statement (Control)►► GLOBALDefs ►◄PurposeThe GLOBALDEFS statement denotes the start of the global definition section. If noglobal definitions are specified, this statement is optional.How to SpecifyThe GLOBALDEFS statement, if specified, must directly follow the DIRECTORYcontrol statement(s) <strong>and</strong> precede all PROFILE <strong>and</strong> USER definitions. There can beonly one GLOBALDEFS directory control statement specified.ExamplesTo see an example of the use of this statement, see “GLOBALOPTS DirectoryControl Statement (Control)” on page 486.Chapter 17. Creating <strong>and</strong> Updating a User Directory 485


GLOBALOPTSGLOBALOPTS Directory Control Statement (Control)►►GLOBALOptsMACHinemachmode►◄PurposeThe GLOBALOPTS statement is used to define global settings that will be usedduring user processing.How to SpecifyThe GLOBALOPTS statement, if specified, must be within the global definitionsection of the source directory (after the GLOBALDEFS statement <strong>and</strong> before anyUSER or PROFILE definitions).Oper<strong>and</strong>sExamplesMACHine machmodespecifies the virtual machine mode for any user definition that does not containa MACHINE directory control statement. The valid values that may be used forthe virtual machine mode are ESA, XA, <strong>and</strong> XC.In the examples that follow, assume this multisystem complex definition:Directory 07a4 3380 vmaipl *01234-2064 vmaDirectory 0b64 3380 vmbipl 104567-2064 vmbDirectory 0cF4 3380 vmcipl *15211-2064 vmcDirectory 0664 3380 vmdipl *00012-2064 vmdThe following global definition section would define a default machine mode of XAon system vma <strong>and</strong> a default machine mode of ESA on system vmb.GlobaldefsSysaffin vmaGlobalopts machine xaSysaffin vmbGlobalopts machine esa486 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


INCLUDEINCLUDE Directory Control Statement (General)►► INclude profilename ►◄PurposeThe INCLUDE statement specifies the name of a profile entry to be invoked as partof the USER statement (page 572).How to SpecifyINCLUDE statements are not allowed within a profile entry. If you specify anINCLUDE statement, it must directly follow the USER statement. Normally, you canonly specify one INCLUDE statement in a user directory entry. However, in a CSEsystem you could have an INCLUDE statement separated by system affinityrecords, only one of which can apply to a given system.Oper<strong>and</strong>sprofilenamespecifies the name assigned to the PROFILE entry <strong>and</strong> is used to reference thePROFILE. The variable profilename is a 1- to 8-character alphanumeric string.Only one profile name may be specified on an INCLUDE statement.UsageNotes1. DIRECTXA tries to locate the profile name coded on an INCLUDE statement bysearching the list of PROFILE entries already processed <strong>and</strong> being held in freestorage buffers. The PROFILE is then processed (included) into the userdirectory entry definition <strong>and</strong> analyzed with respect to the rest of the user’sdefinition data.2. In a system using cross system extensions, it is possible to tailor the user’s,PROFILE definition by system. This is accomplished by selective inclusion ofthe PROFILE using the internal form of the SYSAFFIN statement.Examples1. To specify PROFILE1 as a profile entry to be invoked as part of the USERstatement, use the following statements:User example ...Includeprofile1.2. To tailor a user’s profile selection by system in a CSE complex, use thefollowing statements:User example ...Sysaffin vmaInclude d123vmaSysaffin vmbIncluded123vmb.Chapter 17. Creating <strong>and</strong> Updating a User Directory 487


IOPRIORITYIOPRIORITY Directory Control Statement (General)►► IOPRIORity ABSoluteRELativelowlowhigh►◄PurposeThe IOPRIORITY statement defines a virtual machine’s I/O priority queueing range.How to SpecifyOne IOPRIORITY statement is allowed in a user or profile entry. An IOPRIORITYstatement in a user entry overrides an IOPRIORITY statement in a profile entry.If you specify the IOPRIORITY statement, it must precede any device statementsthat you specify in a profile or user entry. (For a list of device statements, seeTable 20 on page 448.)Oper<strong>and</strong>sABSoluteindicates the type of I/O priority range. If LPAR I/O Priority Facility is enabled,the I/O priority range must fit onto the range to <strong>CP</strong>. If the range specified fallsoutside of the range available to <strong>CP</strong>, an informational message is displayedduring LOGON processing, <strong>and</strong> the requested range is clipped to fall within therange available to <strong>CP</strong>.If LPAR I/O Priority Facility is not enabled or not installed, <strong>CP</strong> simulates an I/Opriority range from 0 to 255.RELativeindicates the type of I/O priority range. The maximum I/O priority range is 0 to255. If LPAR I/O Priority Facility is installed <strong>and</strong> enabled, the maximum I/Opriority range maps proportionately onto the range available to <strong>CP</strong>, with thehighest I/O priority mapping directly to the highest value available to <strong>CP</strong>. Therequested RELATIVE I/O priority range is used to calculate a percentage of themaximum I/O priority range, <strong>and</strong> the user’s effective I/O priority range is thecorresponding percentage of the I/O priority range available to <strong>CP</strong>.If LPAR I/O Priority Facility is not enabled or not installed, <strong>CP</strong> simulates an I/Opriority range from 0 to 255. Thus, the maximum I/O priority range maps directlyonto the range simulated by <strong>CP</strong>.lowis the low value of the I/O priority range. It must be a number from 0 to 255.highis the high value of the I/O priority range. It must be a number from 0 to 255<strong>and</strong> greater than or equal to the low value. If not specified, the high value isequal to the low value.UsageNotes1. If an IOPRIORITY statement is not found, LOGON processing requestsRELATIVE I/O priority range with a low value of 0 <strong>and</strong> a high value of 0.488 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


IOPRIORITY2. For more information on IOPRIORITY ranges, refer to the <strong>CP</strong> SET IOPRIORITYcomm<strong>and</strong> in the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.Examples1. To assign a RELATIVE range of 8 values, use the following IOPRIORITYstatement in a virtual machine’s directory entry:ioprior rel 0 7Chapter 17. Creating <strong>and</strong> Updating a User Directory 489


IPLIPL Directory Control Statement (General)►► Ipl vdevnssname LOADParm load_parameter PARM parameter_stringfcp_vdev►◄PurposeThe IPL statement designates a named saved system or the device number of adevice that <strong>CP</strong> automatically loads (IPLs) when the user logs on the virtualmachine.How to SpecifyIf you specify the IPL statement, it must precede any device statements in a user’sdirectory entry. (For a list of device statements, see Table 20 on page 448.)Multiple IPL statements are allowed within a profile but are used only if no IPLstatements are in the user directory entry. If multiple IPL statements are in anincluded profile entry, only the last one is used.Oper<strong>and</strong>svdevis the virtual device number of the device <strong>CP</strong> is to automatically IPL when theuser logs on. The variable vdev is any hexadecimal number from X'0000' toX'FFFF'.nssnameis the 1- to 8-character alphanumeric name of a named saved system.fcp_vdevIf the specified virtual device is an F<strong>CP</strong>-attached device, a guest IPL from SCSIdisk will be initiated. This feature requires that parameters have previously beendefined with the LOADDEV directory statement.PARM parameter_stringspecifies a parameter string to pass to the user’s virtual machine ingeneral-purpose registers at the completion of the IPL. When you specifyPARM, all characters that follow the statement are considered part of theparameter string. Therefore, you must code the PARM option last on the IPLstatement. Although the IPL comm<strong>and</strong> allows for 64 bytes of parameters, thestring on the directory statement is limited to the number of characters that canbe specified in the first 71 positions of the statement. The string begins with thefirst nonblank character in the statement. (This differs from the IPL comm<strong>and</strong>,where trailing blanks are included.)If you specify an IPL statement using a virtual device number, the parameterstring is inserted into the virtual machine registers, 4 bytes per register, startingwith register 0. One byte of binary 0’s is inserted after the string. If PARM isspecified without a parameter string (only blanks), byte 0 of register 0 containsbinary 0’s. If you omit PARM, the virtual machine’s registers remain unchanged.If you specify an IPL statement using a named saved system that was definedwith the PARMREGS=m-n oper<strong>and</strong> of the <strong>CP</strong> DEFSYS comm<strong>and</strong>, theparameter string is inserted into the virtual machine registers m through n that490 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


IPLUsageNotesare first initialized to binary 0’s. (For more information on the <strong>CP</strong> DEFSYScomm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.) If you enter astring larger than can fit in the designated registers, an error message is issuedduring LOGON <strong>and</strong> the IPL comm<strong>and</strong> is rejected. If you omit PARM or specify itwith no parameter string, the virtual machine registers contain all 0’s.If you specify an IPL statement using a named saved system that was definedwith the PARMREG=NONE oper<strong>and</strong> on the <strong>CP</strong> DEFSYS comm<strong>and</strong>, anyparameter string causes an error message to be issued <strong>and</strong> the comm<strong>and</strong> to berejected.If you specify an IPL statement using a named saved system that was definedwithout the PARMREGS=m-n oper<strong>and</strong> on the <strong>CP</strong> DEFSYS comm<strong>and</strong>, theparameter string is inserted into virtual machine registers 0 through 15. Theregisters are not initialized first to binary 0’s. If you omit PARM or specify it withno parameter string, the virtual machine’s registers remain unchanged.LOADParm load_parameterspecifies a 1 to 8 character load parameter that is used by the IPL’d system. Itmay be necessary to enclose the load parameter in single quotes. The loadparameter may be retrieved by the guest operating system during its IPLsequence. It is preserved until a system-reset-clear operation is performed onthe virtual machine; this operation resets it to 8 EBCDIC blanks.1. Although the <strong>CP</strong> IPL comm<strong>and</strong> allows up to 64 characters on the PARM option,the directory restricts each statement to a single card image. This restrictionlimits the number of characters that you can enter on the IPL statement in thedirectory.2. If a user IPLs a named saved system that was created with the <strong>VM</strong>GROUPoption on the <strong>CP</strong> DEFSYS comm<strong>and</strong>, that user’s virtual machine becomes amember of the virtual machine group known by the NSS name. Members of avirtual machine group can connect to the signal system service to providesignalling within the group, including awareness messages (signal-in <strong>and</strong>signal-out) about members joining the group or leaving it.3. A user whose virtual machine is a member of a virtual machine group <strong>and</strong> hasthe appropriate privilege class may authorize trace data recording to a systemdata file for the group.4. See the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference for detailed information onthe IPL comm<strong>and</strong> (including information about the LOADPARM <strong>and</strong> PARMoptions).5. The IPL action may not be completed if the user does not have certain privilegeclasses. For example, if IPL CMS is coded in a nonclass G user’s directoryentry, the IPL fails because CMS issues class G <strong>CP</strong> comm<strong>and</strong>s usingDIAGNOSE code X'08'.6. Specifying the load parameter in single quotes gives you leading blanks,embedded blanks, or single quotes. Remember that any single quote that is apart of the load parameter must be doubled. For example, use 'BETSY''S' tospecify BETSY'S as a load parameter.7. You may specify both the LOADPARM <strong>and</strong> PARM options when IPLing by eithervdev or nssname. The PARM option must be the last option on the IPLstatement.Chapter 17. Creating <strong>and</strong> Updating a User Directory 491


IPLExamples1. To specify that <strong>CP</strong> is to automatically IPL virtual device number 490 for a virtualmachine, use the following IPL statement in the virtual machine’s directory entry:Ipl 4902. To specify that <strong>CP</strong> is to automatically IPL a named saved system called CMSfor a virtual machine, use the following IPL statement in the virtual machine’sdirectory entry:Ipl cms3. To specify that <strong>CP</strong> is to automatically IPL virtual device number 490 for a virtualmachine <strong>and</strong> pass parameters XYZ to that virtual machine, use the followingIPL statement in the virtual machine’s directory entry:Ipl 490 Parm xyz4. To specify that <strong>CP</strong> is to automatically IPL virtual device number 490 for a virtualmachine <strong>and</strong> pass parameters XYZ to the virtual machine <strong>and</strong> load parm dataof BETSY'S, code the following statement in the virtual machine’s directoryentry:Ipl 490 LOADParm 'betsy''s' Parm xyz492 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


IUCVIUCV Directory Control Statement (General)►►IUCV(1)ALLOWANY Priority Msglimit limitcpsyservgatewayidresourceiduserid*IDENT GATEANY GATEWAYname LOCAL REVOKEGLOBALGATEWAYRESANY LOCALGLOBAL►◄Notes:1 The oper<strong>and</strong>s can be specified in any order.PurposeThe IUCV statement authorizes a virtual machine to create an inter-usercommunications vehicle (IUCV) communication path with another virtual machine ora <strong>CP</strong> system service, or to create APPC/<strong>VM</strong> communication paths. (Tocommunicate with itself, a virtual machine does not need an IUCV statement in itsdirectory entry.)You can pass information between virtual machines with IUCV. IUCV allows virtualmachines to send <strong>and</strong> receive any amount of data to <strong>and</strong> from other virtualmachines. To use IUCV, you must specify the IUCV statement for the virtualmachines that use IUCV. For more information on IUCV, see the z/<strong>VM</strong>: Connectivitybook.How to SpecifyIf you specify the IUCV statement, it must precede any device statements in auser’s directory entry. (For a list of device statements, see Table 20 on page 448.)You can specify multiple IUCV statements for each virtual machine.You can specify multiple IUCV statements within a profile entry. Any IUCVstatements within a profile entry are added to those in the including user entry withno duplicate checking performed.Oper<strong>and</strong>sALLOWspecifies that any other virtual machine can establish a communication pathwith this virtual machine. No further authorization is required in the virtualmachine that initiates the communication.ANYis a general authorization indicating that a communications path can beestablished with any other virtual machine, local resource, system resource,Chapter 17. Creating <strong>and</strong> Updating a User Directory 493


IUCVglobal resource, or gateway residing on this <strong>VM</strong>/ESA system. This option doesnot indicate that a communication path can be established with a <strong>CP</strong> systemservice.cpsyservspecifies the 1- to 8-character identification of the <strong>CP</strong> system service to whichan IUCV communication path is authorized. The <strong>CP</strong> system service name mustbegin with an asterisk (*). The following <strong>CP</strong> system services are available:*ACCOUNTAccounting system service*BLOCKIODASD block I/O system service*CRMCollection resource management system service*LOGRECError recording system service*MONITOR*MONITOR system service*MSGMessage system service*MSGALLMessage all system service*RPIAccess verification system service*SIGNALSignal system service*SPLSpool system service*SYMPTOMSymptom system service*VSWITCHVirtual switch system serviceAlso, if you want to authorize the VSM to use IUCV to communicate withSNA/CCS, specify cpsyserv as *CCS. For more information on VSM <strong>and</strong>SNA/CCS, see Chapter 9, “<strong>Planning</strong> for SNA Console Communication Services(SNA/CCS),” on page 329.If the virtual machine is running the Enterprise Systems Connection Manager(ESCM) licensed program, specify cpsyserv as *CONFIG.gatewayidis a 1- to 8-character gateway name used to connect to the resources in theSNA network rather than to a specified virtual machine. The first byte of thegateway name must be alphanumeric. (<strong>IBM</strong> reserves the names beginning withnonalphanumeric characters for its own use.)Be sure that the gateway name you specify is not the same as a user ID orresource name on the system, ALLOW, ANY, or SYSTEM.resourceidis a 1- to 8-character resource identifier used to connect to a resource managerrather than to a specified virtual machine. The first byte of the name must bealphanumeric. (<strong>IBM</strong> reserves names beginning with the remaining characters forits own use.)Be sure you do not specify the same name as a user ID or gateway on thesystem; or as ALLOW, ANY, or SYSTEM.494 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


IUCVSpecifying IUCV resourceid does not give authority to connect by user ID to thevirtual machine that owns the specified resource. At the same time, specifyingIUCV userid does not give authority to connect by resourceid to the specifiedvirtual machine.When you explicitly authorize each virtual machine (with IUCV name or IUCVANY), you should also give explicit directory authorization to the TSAF virtualmachine residing on the same system as the name (with IUCV name or IUCVANY).useridis the 1- to 8-character user ID of the virtual machine to which an IUCVcommunication path is authorized.Priorityindicates that a communication path with the specified virtual machine canh<strong>and</strong>le priority IUCV communications <strong>and</strong> IUCV communications that have nopriority. If you do not specify PRIORITY, paths authorized by this entry cannoth<strong>and</strong>le priority messages. PRIORITY does not apply to APPC/<strong>VM</strong> paths. Forany communication path routed through ISFC, PRIORITY status is determinedby the IUCV directory control statement for the initial invoker of the IUCVCONNECT.Msglimit limitdefines the maximum number of outst<strong>and</strong>ing messages allowed on any pathauthorized by this entry. If you omit MSGLIMIT or if the IUCV CONNECT <strong>and</strong>ACCEPT functions specify a lower message limit, the message limit is takenfrom the CONNECT or ACCEPT parameter list. If you omit MSGLIMIT <strong>and</strong> theIUCV CONNECT <strong>and</strong> ACCEPT functions do not specify a message limit, thedefault value is 10. The maximum allowed value for MSGLIMIT is 65,535.MSGLIMIT does not apply to APPC/<strong>VM</strong> paths.Note: This directory specification does not apply to IUCV CONNECTs involvingsystem services.*IDENTallows the virtual machine to connect to the Identify System Service to identify aresource or gateway LU.GATEANYallows the virtual machine to identify any gateway LU name.Note: Be careful when you assign names <strong>and</strong> when you give authorization forGATEANY. A virtual machine that has authority for GATEANY canidentify a gateway LU name as gateany. Also, this virtual machine wouldbe authorized to identify any other gateway LU name.nameis a 1- to 8-character resource or gateway LU name that the virtual machine isauthorized to identify. The first byte of the name should be alphanumeric. (<strong>IBM</strong>reserves names beginning with the remaining characters for its own use.)Be sure that the name you specify is not the same as a user ID on the system.Also, do not specify the name as any of the following: ALLOW, ANY, orSYSTEM.Specify LOCAL or GLOBAL for the next oper<strong>and</strong> if the name corresponds to aresource managed by the virtual machine. Specify GATEWAY as the nextparameter if the name corresponds to a gateway LU provided by the virtualmachine.Chapter 17. Creating <strong>and</strong> Updating a User Directory 495


IUCVRESANYallows the virtual machine to identify any resource name.Note: Be careful when you assign names <strong>and</strong> when you give authorization forRESANY. A virtual machine that has authority for RESANY can identify aresource name as resany. Also, this virtual machine would be authorizedto identify any other resource name.LOCALauthorizes the virtual machine to identify the resource as a local resourceknown only to the local system. If you specify LOCAL with RESANY, the virtualmachine can identify any resource as a local resource.GLOBALauthorizes the virtual machine to identify the resource as a global resourceknown to all systems in the collection. This oper<strong>and</strong> allows the virtual machineto identify the resource as local also. If you specify GLOBAL with RESANY, thevirtual machine can identify any number of local or global resources.GATEWAYauthorizes the virtual machine to identify the gateway LU. If you specifyGATEANY as the system gateway name, the virtual machine can identify anygateway LU in the collection.REVOKEauthorizes the virtual machine to revoke the specified resource or gateway LUname without owning it. A resource manager can always revoke ownership ofresource that it owns by severing its session with the *IDENT system service. Avirtual machine that can revoke resources or gateway LUs can also identifythem.If you specify REVOKE with:v LOCAL, the virtual machine can revoke <strong>and</strong> identify the specified resourceonly on this z/<strong>VM</strong> system.v GLOBAL, the virtual machine can revoke <strong>and</strong> identify:– The specified global resource– A local or system resource on this z/<strong>VM</strong> system that has the same nameas the global resource.A virtual machine cannot revoke a global <strong>and</strong> local resource at the sametime. The virtual machine must specify which resource to revoke when theconnection is made to *IDENT.v GATEWAY, the virtual machine can revoke <strong>and</strong> identify the gateway LUanywhere within the collection.v GATEANY, the virtual machine can revoke <strong>and</strong> identify any gateway LU inthe collection. Since gateway LUs are always known throughout thecollection, there is no need for the LOCAL or GLOBAL authority keywords.v RESANY <strong>and</strong> LOCAL, the virtual machine can revoke <strong>and</strong> identify any localresource.v RESANY <strong>and</strong> GLOBAL, the virtual machine can revoke <strong>and</strong> identify anyresource, local or global.Because the TSAF virtual machines do not keep track of the local resources, avirtual machine cannot revoke a local resource on another system.496 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


IUCVUsage Notes1. When a virtual machine invokes the IUCV CONNECT function, IUCV searchesdirectory entries in the following order:a. The invoker’s IUCV statements for the target’s user IDb. The invoker’s IUCV statements for an ANY entryc. The target’s IUCV statements for an ALLOW entry.Connections invoked from <strong>CP</strong> system code do not need directoryauthorization. Priority status <strong>and</strong> message limit are taken from the CONNECTparameter list.2. For information on how to specify the maximum number of IUCV connections avirtual machine can make, see the OPTION statement on page 533.3. For information on how to code IUCV programs, see z/<strong>VM</strong>: <strong>CP</strong> ProgrammingServices.4. Communications with the following system services require authorization usingan IUCV statement with the system service name as the cpsyserv name:System Service cpsyserv NameAccountingCollection resource management *CRM*ACCOUNTError recording *LOGRECAccess verification *RPINote: Before communications can be established with*RPI, an external security manager must be installedon the system.SpoolSymptom*SPL*SYMPTOMVirtual switch *VSWITCH5. Communications with SNA/CCS requires authorization using an IUCVstatement with *CCS as the cpsyserv name.6. A virtual machine running the Enterprise Systems Connection Manager(ESCM) licensed program requires authorization using an IUCV statement with*CONFIG as the cpsyserv name.7. Communications with the following system services do not requireauthorization by the virtual machine. If an IUCV statement is specified, thefollowing cpsyserv names should be used:System Service cpsyserv NameMessage*MSGMessage all *MSGALLNote: Although the PRIORITY <strong>and</strong> MSGLIMIT oper<strong>and</strong> may bespecified on the IUCV statement for *MSG <strong>and</strong> *MSGALL, thespecifications are never used, because the virtual machine willonly be receiving messages.Signal system service *SIGNALDASD block I/O *BLOCKIO8. *MONITOR is the cpsyserv name required on the IUCV statement to authorizea virtual machine to receive information concerning the location of monitorrecords in a saved segment for monitor. Without *MONITOR on the IUCVChapter 17. Creating <strong>and</strong> Updating a User Directory 497


IUCVstatement, a user cannot issue IUCV CONNECT to *MONITOR. After a virtualmachine is connected, it receives notifications from IUCV SEND comm<strong>and</strong>swhenever data is in the monitor saved segment. The IPARML points to theguest real addresses in the saved segment where the monitor control arealies. The control area points to each data area.Note: More than one virtual machine can have an IUCV *MONITORstatement. This means that every virtual machine with an IUCVstatement for *MONITOR can connect concurrently to *MONITOR.9. When the directory entry associated with a resource manager user ID contains*IDENT authority to identify or revoke any resources or gateway LUs, thisinformation is saved in storage <strong>and</strong> checked in place of a subsequent directorysearch. This reduces the number of directory searches required when aresource manager virtual machine identifies or revokes resources (therebyimproving performance). This means that if *IDENT authority is updated, it isnot recognized until the resource manager stops using IUCV support <strong>and</strong>restarts.10. If a virtual machine must identify more than one resource, you can specifymore than one IUCV statement for *IDENT in the virtual machine’s directoryentry. To check whether a virtual machine is authorized to identify or revokethe resource or gateway LU named in the IUCV CONNECT request presentedto *IDENT, the Identify System Service searches the virtual machine’s directoryentry for IUCV statements in the following order:a. The first *IDENT entry that has either the resource name RESANY or thegateway LU name GATEANY (depending on the type of name). If *IDENTfinds a match, it checks whether the LOCAL or GLOBAL (for resources)<strong>and</strong> REVOKE oper<strong>and</strong>s have enough authority to do the requestedfunction.b. If it does not find a match, or if the other oper<strong>and</strong>s are not enoughauthority, *IDENT searches for the first *IDENT entry that has the sameresource name or gateway LU name as specified on the CONNECTrequest.c. If *IDENT does not find a match, or if it finds a match but authorization forthe LOCAL or GLOBAL (for resources) <strong>and</strong> REVOKE oper<strong>and</strong>s does notcorrespond to that specified in the CONNECT parameter list, *IDENTsevers the requested connection, <strong>and</strong> the resource or gateway LU is notidentified.Examples1. To indicate that a virtual machine can establish an IUCV communication path toSOURCE, use the following statement in the virtual machine’s directory entry:Iucv source2. To indicate that a virtual machine can establish both of the following:a. An IUCV communication path to SOURCEb. A priority IUCV communication path with a message limit of 100 to TARGETuse the following statements in the virtual machine’s directory entry:Iucv sourceIucv target Priority MsgLimit 1003. To indicate that a virtual machine can establish:a. A priority IUCV communication path with a message limit of 100 to TARGETb. IUCV communication paths with any other virtual machineuse the following statements in the virtual machine’s directory entry:498 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


IUCVIucv target Priority MsgLimit 100Iucv Any4. To indicate that any virtual machine can establish a path to the virtual machinewhose directory entry you are creating, use the following statement:Iucv Allow5. The following examples show how to use multiple IUCV statements for *IDENT.a. A resource manager, RESMGR1, has the following IUCV statements:Iucv *Ident ResAny GlobalIucv *Ident residx Local RevokeThe first IUCV statement authorizes RESMGR1 to identify any resource(RESANY) as a local or global resource (GLOBAL). This includes the localresource, RESIDX. The second IUCV statement authorizes RESMGR1 torevoke (REVOKE) the resource RESIDX, if it is defined on the local systemas a local resource (LOCAL).b. A resource manager, RESMGR2, has the following IUCV statements:Iucv *Ident Gateany GatewayIucv *Ident gatewayx Gateway RevokeThe first IUCV statement authorizes RESMGR2 to identify any gateway LU.This includes the gateway LU, GATEWAYX. The second IUCV statementauthorizes RESMGR2 to revoke the gateway LU GATEWAYX, but no othergateway LUs.Because gateway LUs are always known throughout the collection, nokeyword is needed to authorize a user to identify a gateway LU that can beaccessed only by users on the local system.c. A resource manager, RESMGR3, has the following IUCV statements:Iucv *Ident residx GlobalIucv *Ident residy GlobalIucv *Ident ResAny Local RevokeRESMGR3 can identify the resources, RESIDX <strong>and</strong> RESIDY, as local <strong>and</strong>global resources. RESMGR3 is not authorized to revoke any globalresources. Because of the last IUCV statement, RESMGR3 can identify anyresource as a local resource. Also, RESMGR3 can revoke any resourceknown on the local system as a local resource.d. A resource manager, RESMGR4, has the following IUCV statements:Iucv *Ident residx LocalIucv *Ident residy GlobalIucv *Ident residx Global RevokeRESMGR4 can identify the resource RESIDX as a local resource <strong>and</strong> theresource RESIDY as either a local or global resource. RESMGR4 cannotrevoke any resources, because *IDENT searches for the first entry thatmatches the resource name specified on the CONNECT. If RESMGR4 triesto connect to *IDENT to identify or revoke the GLOBAL resource, RESIDX,*IDENT severs the connection. In this case, if you want RESMGR4 toidentify <strong>and</strong> revoke the global resource, RESIDX, you must delete the firstIUCV statement.Chapter 17. Creating <strong>and</strong> Updating a User Directory 499


LINKLINK Directory Control Statement (Device)►► Link userid*vdev1vdev2R(1)►◄modesuffixNotes:1 The default is a blank.PurposeThe LINK statement gets access to another user’s minidisk. The target minidiskmust be defined by an MDISK statement (page 513) in the target user’s directoryentry. The DASDOPT statement is an extension to the LINK statement. The LinkDirectory statement Defaults to NOCTL (works like the Link comm<strong>and</strong>) if noDASDOPT statement follows it. For more information on the DASDOPT statement,see “DASDOPT Directory Control Statement (Device)” on page 472.How to SpecifyIf you specify the LINK statement, it must follow any general statements you specifyin a user’s directory entry. (For a list of general statements, see Table 20 on page448.)Multiple LINK statements are allowed within a profile entry. Any LINK statementswithin a profile entry are added to those in the including user entry with nouser-to-profile duplicate virtual device number or address checking performed. LINKstatements with duplicate virtual device numbers or addresses within a profile entryare errors.When processing the LINK statement, DIRECTXA checks for a maximum of fivetokens: target user ID, virtual device number (or address) of the target minidisk,virtual device number (or address) for the linking virtual machine, access mode, <strong>and</strong>a suffix of S or E. If you specify more than five tokens, DIRECTXA ignores the extratokens <strong>and</strong> system processing continues as if you had not specified the extratokens.Oper<strong>and</strong>suseridis the virtual machine user ID of the target minidisk owner.* indicates that the user being processed owns the minidisk.vdev1is the virtual device number or virtual address of the target minidisk.vdev2is the virtual device number or virtual address that the linking virtual machineuses for the target minidisk. If you omit vdev2 , the definition of vdev1 is used.modeis the access mode for the minidisk. The first letter in the access mode is the500 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


LINKprimary access mode (read-only, write, or multiple-write); the second letter(optional) is the alternate access (read-only or write). A suffix letter, S or E, maybe added to any of the one or two letter modes to provide this user specificauthorization for use of stable or exclusive link modes when linking thespecified minidisk using the LINK comm<strong>and</strong>, the CMS <strong>VM</strong>LINK comm<strong>and</strong>, orDIAGNOSE code X'E4'.The access modes are:R Read-only access. Read access is established, unless another user holds awrite or an exclusive mode (ER, EW) access to the disk. If you omit themode, R is the default.RRRead-only access. Read access is established, unless another user holdsan exclusive mode (ER, EW) access.W Write access. Write access is established, unless another user holdsaccess (any mode) to the disk.WRWrite access. Write access is established unless another user holds access(any mode) to the disk. If write access is denied, read access is establishedunless another user holds an exclusive (ER, EW) mode access for the disk.M Multiple-write access. Write access is established unless another user holdsa write, a stable (SR, SW, SM) or an exclusive (ER, EW) mode access tothe disk.MRMultiple-write access. Write access is established unless another user has awrite, stable mode (SR, SW, SM) or exclusive mode (ER, EW) access tothe disk. In the case of a previous write or stable access, read-only accessis established. In the case of an exclusive mode access existing, readaccess is also denied.MWMultiple-write access. Write access is established in all cases except whenanother user holds either a stable (SR, SW, SM) or an exclusive mode (ER,EW) access to the disk.suffixThe optional suffix letters authorize virtual reserve/release <strong>and</strong> the use of thestable <strong>and</strong> exclusive (data integrity) access modes of the LINK comm<strong>and</strong> <strong>and</strong>DIAGNOSE code X'E4'. The specification on the LINK statement allows theuser to enter a LINK comm<strong>and</strong> with the specified type of access mode, stableor exclusive, against the specified user’s minidisk. For more information aboutstable <strong>and</strong> exclusive access modes, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.The suffix letters can be combined as follows (note that <strong>CP</strong> requires they bespecified in this order):1. S, E, or null (S <strong>and</strong> E are mutually exclusive), plus2. D or null.Therefore, the only valid combinations are: S, E, D, SD, or ED. This suffix is inturn concatenated with the mode, with no intervening blanks. For example, RS,RRE, <strong>and</strong> MRSD are all valid.S Authorizes the virtual machine to use the LINK comm<strong>and</strong> stable accessmodes (SR, SW, SM) against the specified user’s minidisk.Chapter 17. Creating <strong>and</strong> Updating a User Directory 501


LINKUsageNotesE Authorizes the virtual machine to use the LINK comm<strong>and</strong> exclusive <strong>and</strong>stable access modes (ER, EW, SR, SW, SM) against the specified user’sminidisk.D Tells <strong>CP</strong> that the device should not be defined when the virtual machineinitially logs on or is autologged, but to defer doing so until an explicit LINKcomm<strong>and</strong> is issued for that device.1. It is the responsibility of the operating system running in each virtual machine tokeep data from being destroyed or altered on shared disks.2. CMS allows many virtual machines to have read access to the same minidisk;however, CMS does not supervise virtual machines that have write access tothe same minidisk. If two or more CMS virtual machines have write access tothe same disk, all data on the disk may be destroyed.Also note that <strong>CP</strong> does not prevent a virtual machine with an MW access toanother virtual machine’s minidisk from formatting that minidisk.3. The use of the stable (SR, SW, <strong>and</strong> SM) <strong>and</strong> exclusive (ER <strong>and</strong> EW) linkmodes can be authorized in two different ways:v Globally, using the OPTION statement values, LNKSTABL <strong>and</strong> LNKEXCLU(page 533)v Specifically, using the mode suffix letters (S or E) on the LINK or MDISK(page 513) statements.4. Do not add LINK statements to the z/<strong>VM</strong> directory shared file system file poolminidisks. Shared file system file pool server machines link to the file poolminidisks when needed.5. Use the LINK statement to give a user direct access to another user’s minidisk,or indirect access by linking to a third user’s LINK or MDISK statement. You canhave up to 50 of these indirect links (LINK indirections). For example:USER0MDISK 393 3390 1 10 USRVOL ALL ALL ALLUSER1LINK USER0 393 393 RRUSER2LINK USER1 393 393 RRUSER3LINK USER2 393 393 RRSince USER1 has had to first access the 393 minidisk through a direct link toUSER0, USER2’s link to the 393 minidisk is considered an indirect link.USER3’s link to the 393 minidisk through USER2 is thus also an indirect link.Up to 50 of these indirect links are allowed before the following message isissued:H<strong>CP</strong>109Euserid vdev not linked; excessive LINK indirectionsNote: This limit of 50 indirect links includes the original link. (In the example,USER1 to USER0.)6. If the target minidisk is a virtual disk in storage that is defined in the specifieduser’s directory entry but currently does not exist, the virtual disk in storage iscreated to satisfy the request, as long its creation does not exceed the systemlimit on the storage available for virtual disks in storage. Note that a new virtualdisk in storage must be formatted before it can be used.7. If a minidisk is defined as virtual device number 192 in the linking virtualmachine, the following special rules apply when that virtual machine IPLs CMS:502 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


LINKv If 192 is an unformatted virtual disk in storage, CMS formats it <strong>and</strong> accessedit as file mode D.v If 192 is a <strong>CP</strong>-formatted virtual disk in storage, CMS reformats it for CMS use<strong>and</strong> accesses it as file mode D.v If 192 is a CMS-formatted virtual disk in storage or permanent minidisk that isaccessed as a file mode other than D, CMS reaccesses it as file mode D.v If 192 is an unformatted or <strong>CP</strong>-formatted permanent minidisk, CMS does notautomatically format, reformat, access, or reaccess it.When CMS accesses a 192 minidisk as file mode D, any minidisk or SFSdirectory already accessed as D is released.8. If the directory definition of a permanent minidisk is changed while users arelinked to it, existing links are unchanged, but any new links are made using thenew definition of the minidisk. Unpredictable results may occur.9. If the directory definition of a virtual disk in storage is changed while users arelinked to it, existing links are unchanged, <strong>and</strong> any new links are made to theexisting virtual disk in storage. The existing virtual disk in storage is used untilthe last user detaches it or logs off, at which time the virtual disk in storage isdestroyed. After that, any new links use the new definition of the virtual disk instorage.Examples1. To link in read-only mode LINKMAN’s 191 disk to a virtual machine as a 192disk, use the following LINK statement in the virtual machine’s directory entry:Link linkman 191 192 rr2. To link in write mode LINKMAN’s 291 disk to a virtual machine as a 292 disk,use the following LINK statement in the virtual machine’s directory entry:Link linkman 291 292 wrWR indicates that write access is given only if no one else is linked to the disk;if someone else is linked to the disk, read access is given.3. To authorize a specific user the ability to enter the LINK comm<strong>and</strong> with one ofthe stable access modes, use the following LINK statement in the virtualmachine’s directory entry:Link linkman 191 291 rrsRRS ensures the virtual machine a default logon access of read to the specifieddisk <strong>and</strong> permits this virtual machine to issue the LINK comm<strong>and</strong> with one ofthe stable modes at a later time. If the virtual machine issues the LINKcomm<strong>and</strong> specifying the issuer’s own directory <strong>and</strong> the stable read accessmode of SR, password-level authorization will not be necessary. However, if ahigher level of access (such as SW or SM) is requested, password-levelauthorization would be required.Chapter 17. Creating <strong>and</strong> Updating a User Directory 503


LOADLOAD Directory Control Statement (Control)►► LOAD C control DIRMPARTG globaldefs $DIRECTP profileU useridU poolid POOLPART$DIRECTPmode*CLSTnnnn startrec reccount*******►◄PurposeThe LOAD statement tells DIRECTXA where the specified directory definition entryis located in a separate file or in a cluster file.How to SpecifyUse this statement only if the entire directory is being maintained in cluster-fileformat. If it is, this is the only record type found in the USER DIRECT file.Oper<strong>and</strong>sCGPU specifies the type of definition to be loaded; C for CONTROL, G for Globaldefinitions, P for PROFILE, <strong>and</strong> U for USER.controlspecifies the file name of the file if the control definition (consisting only ofDIRECTORY statements) is in a separate file. Otherwise, this oper<strong>and</strong> isignored.globaldefsspecifies the file name of the file containing the global definitions. If the globaldefinitions are not in a separate file, this oper<strong>and</strong> is ignored.profilespecifies the name of the profile; if the profile definition is in a separate part file,profile is also the file name of the file.useridspecifies the user ID; if the user definition is in a separate part file, userid isalso the file name of the file.poolidspecifies the pool ID (the 1- to 3-character user ID used to define the pool); ifthe pool definition is in a separate part file, poolid is also the file name of thefile.DIRMPART$DIRECTspecifies the file type of the file if the directory definition is in a separate partfile; otherwise, this oper<strong>and</strong> is ignored.POOLPART$DIRECTPspecifies that the directory definition is for a pool of users. If the directory504 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


LOADUsageNotesdefinition is in a separate part file, the file type of the file must be DIRMPART or$DIRECT (DIRMPART if POOLPART is specified; $DIRECT if $DIRECTP isspecified).mode* specifies the alphabetic portion of the file mode of the separate part file or ofthe cluster file that contains the directory definition. If the mode is an asterisk(*), <strong>CP</strong> uses the CMS search order to locate the files.CLSTnnnn*******specifies whether the directory definition entry is located in a separate part fileor in a cluster file. If this oper<strong>and</strong> is specified as *******, the directory is locatedin a separate part file. Otherwise, the directory definition is located in the clusterfile identified by CLSTnnnn CLUSTER mode, where nnnn is a decimal numberfrom 0000 to 9999.startrecspecifies the starting record number of the directory definition in the specifiedcluster file. The number must be greater than 0 <strong>and</strong> in decimal format.reccountspecifies the record count of the specified directory definition in the cluster file.The number must be greater than 0 <strong>and</strong> in decimal format.1. The following restrictions apply to cluster format <strong>and</strong> content:v A USER DIRECT file maintained in cluster file format should contain only onetype C definition, followed by zero or one type G definitions, followed by azero or more type P definitions, followed by a zero or more type U definitions.v Each definition in a cluster format source directory should contain only thenamed definition: the type C should contain only the DIRECTORYstatements, the type G should only contain global definition statements, eachtype P should only contain the named PROFILE definition, <strong>and</strong> each type Ushould only contain the named USER definition.v The first control statement of each definition should match the definition type.Thus, the first control statement in a type C definition should be aDIRECTORY statement, the first control statement in a type G definitionshould be a GLOBALDEFS statement, the first control statement in a type Pdefinition should be a PROFILE statement, <strong>and</strong> the first control statement in atype U definition should be a USER statement. Note also that comments <strong>and</strong>blank lines cannot be the first line in a definition. (This restriction is due to therelationship between DIRECTXA <strong>and</strong> DIRMAINT.)2. DIRMPART <strong>and</strong> $DIRECT are the only file types recognized for separate partfiles in a cluster file installation. The file types DIRMPART <strong>and</strong> $DIRECT areinterchangeable. However, DIRMPART is preferred. $DIRECT is a temporary filetype used by DIRMAINT.3. When you define a pool of users, you must specify POOLPART (or $DIRECTP).If the definition is in a separate part file, the file type of the separate part filemust be DIRMPART (or $DIRECT).4. When you use the z/<strong>VM</strong> Directory Maintenance Facility (DIRMAINT) to maintainthe source directory, you should leave the creation <strong>and</strong> maintenance of theLOAD statements strictly to DIRMAINT.5. To migrate a manually created <strong>and</strong> maintained cluster format source directory toDIRMAINT, it must first be converted to the sequential format.Chapter 17. Creating <strong>and</strong> Updating a User Directory 505


LOADExamplesTo define a directory in cluster file format with:v Three POSIXGROUP definitions, GRP0001, GRP0002 <strong>and</strong> GRP0003, in aseparate global definition part filev Two profiles, DEPT0000 <strong>and</strong> DEPT0001, where one is in a separate part file <strong>and</strong>the other is in a cluster filev Three users, USER0001, USER0002, <strong>and</strong> USER0003, where two are in a clusterfile <strong>and</strong> the third is in a separate part filev Two pools of users, USR00001 through USR00025, <strong>and</strong> USR00050 throughUSR00075, where one is a separate part file <strong>and</strong> the other is in a cluster fileyou might use the following LOAD statements:Load C $dirctl$ dirmpart e *******Load G glbdefs dirmpart e *******Load P dept0000 dirmpart e *******Load P dept0001 dirmpart e clst0000 1 20Load U user0001 dirmpart e clst0000 21 5Load U user0002 dirmpart e clst0000 26 5Load U user0003 dirmpart e *******Load U usr poolpart e *******Load U usr poolpart e clst0000 31 2506 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


LOADDEVLOADDEV Directory Control Statement (General)►► ▼ LOADDEV PORTname hhhhhhhhhhhhhhhhLUN hhhhhhhhhhhhhhhhBOOTprog bootprog_numberBR_LBA hhhhhhhhhhhhhhhhS<strong>CP</strong>data ’text’HEX ’hh...hh’►◄Note: The maximum S<strong>CP</strong>DATA that can be input is 4096 whether as a text stringin quotes, or as hex characters.PurposeUse the LOADDEV directory statement to identify the location of a program to beloaded as a result of a guest IPL from SCSI disk. Additionally, parameters to bepassed to the program may also be defined.How to SpecifyIf you specify the LOADDEV statement, it must precede any device statements youspecify in a profile or user entry. Multiple LOADDEV statements are allowed withina user or profile entry. Each oper<strong>and</strong> may only be specified once within a user orprofile entry. LOADDEV values within a user entry override those in a profile entry.Each LOADDEV statement may only specify one parameter.Oper<strong>and</strong>sPORTnameThe hexadecimal digits designating the one- to eight-byte fibre channel portname of the F<strong>CP</strong>-I/O device. It must be a value from X'0-FFFFFFFFFFFFFFFF'.There is no default.LUNThe hexadecimal digits representing the one- to eight-byte logical unit numberof the F<strong>CP</strong>-I/O device. It must be a value from X'0-FFFFFFFFFFFFFFFF'. Thedefault is 0.BOOTprogThe decimal value between 0 <strong>and</strong> 30 representing the script to IPL from.BR_LBAThe hexadecimal digits designating the logical-block address of the boot recordof the F<strong>CP</strong>-I/O device. It must be a value from X'0-FFFFFFFFFFFFFFFF'. Thedefault is 0.S<strong>CP</strong>DATADesignates information to be passed to the program which was loaded duringguest IPL. If the program does not require any information, then this parameteris optional. Up to 4096 (4K) characters of data (text or hex) may be entered forS<strong>CP</strong>DATA. The actual number of input characters could be less depending onthe translation to UTF-8. Because two hex characters are required to representeach UTF-8 data byte, the maximum number of UTF-8 data bytes that can beChapter 17. Creating <strong>and</strong> Updating a User Directory 507


LOADDEVdefined using the HEX option is 2048 (1/2 of the 4K character input limit). Thehex string must be an even number of digits. There is no default.HEXIndicates that the parameter value that follows is UTF-8 encoded hex(characters 0-F). If not specified, the value is assumed to be EBCDIC text(codepage 924).’text’The text string in quotation marks is assumed to be in codepage 924.508 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


LOGONBYLOGONBY Directory Control Statement (General)►► LOGONBY ▼ byuserid ►◄PurposeThe LOGONBY statement designates up to eight user IDs that can use their ownpasswords to log on to <strong>and</strong> use the virtual machine.How to SpecifyThe LOGONBY statement must precede any device statements in a user’s directoryentry. (For a list of device statements, see Table 20 on page 448.) A directory entrycan contain several LOGONBY statements, specifying up to eight user IDs.You can use several LOGONBY statements within a profile, but only if noLOGONBY statements are in the including user directory entry.Oper<strong>and</strong>sbyuseridis a 1- to 8-character user ID that is to log on to this virtual machine with the BYoper<strong>and</strong>. Up to eight user IDs can be specified.UsageNotes1. When an External Security Manager (ESM) such as RACF is installed, theauthorization provided by the LOGONBY statement may be overridden. Also,RACF support has been added to perform authorization checks for attempts tolog on to shared user IDs. Refer to documentation provided by your ESM forfurther details.2. When a user logs on with the BY oper<strong>and</strong>, that user’s ID is the by-user ID forthe virtual machine.3. The password of the by-user ID is used for LOGON authorization checking. Seethe z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference for information about the BYoper<strong>and</strong> of the <strong>CP</strong> LOGON comm<strong>and</strong>.4. The current by-user ID for a virtual machine can be queried by using the <strong>CP</strong>QUERY BYUSER comm<strong>and</strong>, DIAGNOSE X'260' subcode 4, or DIAGNOSEX'26C' subcode 4.Examples1. To authorize user ID LARRY to log on to a virtual machine with the BY oper<strong>and</strong>,put this LOGONBY statement in the virtual machine’s directory entry:LOGONBY larry2. To authorize user IDs OPER1, OPER2, OPER3, <strong>and</strong> JONES to log on to avirtual machine with the BY oper<strong>and</strong>, put this LOGONBY statement in the virtualmachine’s directory entry: LOGONBY oper1 oper2 oper3 jonesChapter 17. Creating <strong>and</strong> Updating a User Directory 509


MACHINEMACHINE Directory Control Statement (General)(1)►► MACHine ESAXAXCmcpu►◄Notes:1 The default value is either 1 or the number of <strong>CP</strong>U statements for this user, whichever is greater.PurposeThe MACHINE statement specifies the virtual machine architecture.How to SpecifyOne MACHINE statement is allowed within a profile, but is used only if noMACHINE statement is in the user directory entry. If you specify the MACHINEstatement, it must precede any device statements you specify in a user’s directoryentry. (For a list of device statements, see Table 20 on page 448.)Oper<strong>and</strong>sWhen processing the MACHINE statement, DIRECTXA checks for a maximum oftwo tokens: architecture type <strong>and</strong> maximum virtual processors, in that order. If youspecify more than two tokens, DIRECTXA ignores the extra tokens <strong>and</strong> systemprocessing continues as if you had not specified the extra tokens.ESAdesignates an ESA virtual machine, which simulates ESA/390 architecture.XAA guest operating system may have the capability to issue an instruction toswitch the virtual machine to z/Architecture mode.designates an XA virtual machine, which is functionally equivalent to an ESAvirtual machine.XCdesignates an XC virtual machine, which simulates ESA/XC architecture.mcpudefines the maximum number of virtual processors the user can define. Thenumber must be between 1 <strong>and</strong> 64 (decimal). The default value is either 1 orthe number of <strong>CP</strong>U statements for this user, whichever is greater.UsageNotes1. If you omit the MACHINE statement when you code a user’s directory entry <strong>and</strong>no <strong>CP</strong>U statements are in the user’s entry, the user’s virtual machine mode isdefined by the mode specified by the GLOBALOPTS directory controlstatement, <strong>and</strong> the virtual machine has no virtual multiprocessor capabilities.However, if <strong>CP</strong>U statements are in the user’s entry, the number of thesestatements determines the allowable number of virtual processors.510 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


MACHINE2. For information on globally changing the default architecture, see“GLOBALOPTS Directory Control Statement (Control)” on page 486.3. For information on defining multiple virtual processors for a virtual machine, seez/<strong>VM</strong>: Running Guest Operating Systems.4. For compatibility, z/<strong>VM</strong> continues to accept the designation XA <strong>and</strong> continues toreport XA as the virtual machine mode in response to the QUERY SET <strong>and</strong>INDICATE USER comm<strong>and</strong>s when the virtual machine has been defined usingthe XA designation. However, whether the virtual machine is defined as XA orESA makes no difference when running on z/<strong>VM</strong>. A virtual machine defined asXA has the capabilities of an ESA virtual machine <strong>and</strong> is considered by <strong>CP</strong> tobe an ESA virtual machine.Examples1. To specify that a virtual machine can simulate ESA/390 architecture, use thefollowing MACHINE statement in the virtual machine’s directory entry:Machine esa2. To specify that a virtual machine can simulate ESA/390 architecture <strong>and</strong> definea maximum of 12 virtual processors, use the following MACHINE statement inthe virtual machine’s directory entry:Machine esa 123. To specify that a virtual machine can simulate the ESA/XC architecture, use thefollowing MACHINE statement in the virtual machine’s directory entry:Machine xcChapter 17. Creating <strong>and</strong> Updating a User Directory 511


MAXSTORAGEMAXSTORAGE Directory Control Statement (General)►► MAXSTORAGE size ►◄PurposeThe MAXSTORAGE statement specifies the maximum virtual storage size for auser.How to SpecifyThe MAXSTORAGE statement, if used, must follow a USER statement <strong>and</strong> mustprecede any device statements. A MAXSTORAGE statement is allowed in a profileif the USER statement maximum storage size field of each of the including virtualmachines is either omitted or specified as an asterisk (*). A MAXSTORAGEstatement in a user directory entry overrides one in a profile.Oper<strong>and</strong>ssizeis the maximum storage size. Specify it as nu, where n is a decimal number<strong>and</strong> u is the unit of measure:K kilobytes - 2¹⁰M megabytes - 2²⁰G gigabytes - 2³⁰T terabytes - 2⁴⁰P petabytes - 2⁵⁰E exabytes - 2⁶⁰UsageNotes1. A maximum storage setting on a USER statement overrides a MAXSTORAGEstatement in a profile.2. A MAXSTORAGE statement in a user’s directory entry overrides one in aprofile.512 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


MDISKMDISK Directory Control Statement (Device)►► Mdisk vdev devtype Oper<strong>and</strong>s ►◄Oper<strong>and</strong>sWcyl cyls volidEND &SYSRES modeblk blks volid modesuffix PasswordEND &SYSRESDEVNO rdevV-DISK blksT-DISK cylsblksPasswordprALLpwALLpmALLPurposeThe MDISK statement defines minidisks (virtual disks) for virtual machines:permanent minidisks, temporary minidisks, <strong>and</strong> virtual disks in storage. TheDASDOPT statement is an extension to the MDISK statement. The MDISKstatement defaults to DEVCTL if no DASDOPT statement follows. For moreinformation about the DASDOPT statement, see “DASDOPT Directory ControlStatement (Device)” on page 472. You can use one DASD to provide severalminidisks or you can use one DASD to provide one minidisk.Note: <strong>CP</strong> <strong>and</strong> the directory program do not completely prevent you from definingminidisks that overlap. Overlap defeats the integrity of link access modes<strong>and</strong> RESERVE/RELEASE. If you define such overlap, you assumeresponsibility for data integrity.How to SpecifyMDISK statements are not allowed within a profile entry. If you specify the MDISKstatement, it must follow any general statements you specify in a user’s directoryentry. (For a list of general statements, see Table 20 on page 448.)Oper<strong>and</strong>svdevis the virtual device number of the minidisk.devtypeis the device type of the minidisk.v For a permanent minidisk or temporary disk, this is the device type of thereal device on which the minidisk resides. Valid device types are:Chapter 17. Creating <strong>and</strong> Updating a User Directory 513


MDISKcylblk3380 3390 9336 FB-512FB-512 is a generic specification for FBA DASD <strong>and</strong> may be used in lieu of aspecific FBA device type (9336). A 3390 in 3380 track-compatibility modemust be coded as a 3380.v For a virtual disk in storage, which is not mapped to a real DASD, this is thedevice type of the device that is simulated in system storage. A virtual disk instorage simulates an FBA minidisk; therefore, the device type must beFB-512.is the starting cylinder (CKD/ECKD) or block number (FBA) on the real DASDyou specify on the volid oper<strong>and</strong>.DEVNOspecifies a full-pack minidisk.V-DISKindicates that the minidisk is a virtual disk in storage. A virtual disk in storage istemporary but shareable; it is created when the first user links to it <strong>and</strong>destroyed when the last user detaches it or logs off.T-DISKindicates that the minidisk is temporary, that is, it is created from a preselectedpool of temporary disk space when the virtual machine logs on <strong>and</strong> is returnedto the pool when the virtual machine logs off or the virtual device is detached.Temporary disks cannot have passwords.cylsblksis the number of cylinders (CKD/ECKD) or blocks (FBA) allocated to theminidisk. Table 23 on page 517 shows the number of cylinders or blocksavailable in each format for each device type on which you can put minidisks.ENDspecifies that the minidisk should be defined with the remaining availablecylinders or blocks. This is useful when defining a full-pack minidisk. See usagenote 4 on page 518 for more information.rdevis the real device number.volidis the volume serial number of the real DASD volume on which the minidiskresides.&SYSRESindicates that the minidisk resides on whichever real DASD is the <strong>VM</strong> systemresidence volume. This volume is established when <strong>VM</strong> is IPLed but canchange from one IPL to another.Use the &SYSRES option of the DIRECTXA comm<strong>and</strong> to assign a value to beused to represent the volum serial number of the system residence volume forminidisks defined using the &SYSRES oper<strong>and</strong> on the MDISK statement.This value is used in responses from the <strong>VM</strong>UDQ LISTMDSK function. If the&SYSRES option is omitted on the DIRECTXA comm<strong>and</strong>, a value of +<strong>VM</strong>RESis used.514 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


MDISKmodeis the access mode for the minidisk. The first letter in the access mode is theprimary access mode (read-only, write, or multiple-write); the second letter(optional) is the alternate access (read-only or write).The access modes are:R Read-only access. Read access is established, unless another user holds awrite or an exclusive mode (ER, EW) access to the disk.RRRead-only access. Read access is established, unless another user holdsan exclusive mode (ER, EW) access.W Write access. Write access is established, unless another user holdsaccess (any mode) to the disk. If you do not specify an access mode on theMDISK statement, the default is W.WRWrite access. Write access is established unless another user holds access(any mode) to the disk. If write access is denied, read access is establishedunless another user holds an exclusive (ER, EW) mode access for the disk.M Multiple-write access. Write access is established unless another user holdsa write, a stable (SR, SW, SM) or an exclusive (ER, EW) mode access tothe disk.MRMultiple-write access. Write access is established unless another user has awrite, stable (SR, SW, SM) or exclusive mode (ER, EW) access to the disk.In the case of a previous write or stable (SR, SW, SM) access, read-onlyaccess is established. In the case of an exclusive mode access existing,access is denied.MWMultiple-write access. Write access is established in all cases except whenanother user holds either a stable (SR, SW, SM) or an exclusive mode (ER,EW) access to the disk.modesuffixThe optional mode suffix letters authorize virtual reserve/release <strong>and</strong> the use ofthe stable <strong>and</strong> exclusive (data integrity) access modes of the <strong>CP</strong> LINKcomm<strong>and</strong> <strong>and</strong> DIAGNOSE code X'E4'. The specification here on the MDISKstatement allows the user to enter a LINK comm<strong>and</strong> with the specified type ofaccess mode, stable or exclusive. For more information about stable <strong>and</strong>exclusive access modes, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.The suffix letters can be combined as follows (note that <strong>CP</strong> requires they bespecified in this order):1. V or null, plus2. S, E, or null (S <strong>and</strong> E are mutually exclusive), plus3. D or null.Therefore, the only valid combinations are: V, S, E, D, VS, VE, VD, VSD, VED,SD, or ED. This suffix is in turn concatenated with the mode, with nointervening blanks. For example, RV, RRS, WVE, <strong>and</strong> MVSD are all valid.V Tells <strong>CP</strong> to use its virtual reserve/release support in the I/O operations forthe minidisk. For example, MWV means the minidisk functions with writelinkage using <strong>CP</strong>’s virtual reserve/release.S Authorizes the virtual machine in whose directory definition this statementChapter 17. Creating <strong>and</strong> Updating a User Directory 515


MDISKappears the ability to use the LINK comm<strong>and</strong> stable access modes (SR,SW, SM) against the specified user’s minidisk. For more information, seethe z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.E Authorizes the virtual machine in whose directory definition this statementappears the ability to use the LINK comm<strong>and</strong> exclusive <strong>and</strong> stable accessmodes (ER, EW, SR, SW, SM) against the specified user’s minidisk. Formore information, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.D Tells <strong>CP</strong> that the device should not be defined when the virtual machineinitially logs on or is autologged, but to defer doing so until an explicit LINKcomm<strong>and</strong> is issued for that device.prALLis the password that allows sharing the minidisk (by using the <strong>CP</strong> LINKcomm<strong>and</strong>) in read mode. The variable pr is a 1- to 8-character string. If youspecify ALL, a user can link in read mode to this minidisk without using apassword.pwALLis the password that allows sharing the minidisk (by using the <strong>CP</strong> LINKcomm<strong>and</strong>) in write mode. If you specify ALL, a user can link in write mode tothis minidisk without using a password.pmALLis the password that allows sharing the minidisk (by using the <strong>CP</strong> LINKcomm<strong>and</strong>) in multiple-write mode. The variable pm is a 1- to 8-character string.If you specify ALL, a user can link in multiple-write mode to this minidisk withoutusing a password.516 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


MDISK|||||||||||||Table 23. Maximum Minidisk SizesDevice Type ModelsCMS/VSAM, CMS512-Byte, 1 KB, 2 KB, or4 KB Format3380 A04, AA4, B04, AD4, BD4, AJ4, BJ4, CJ2 885 cylinders3380 AE4, BE4 1770 cylinders3380 AK4, BK4 2655 cylinders3390 ¹ A14, A18, B14, B18, B1C 1113 cylinders3390 ¹ A24, A28, B24, B28, B2C 2226 cylinders3390 ¹ A34, A38, B34, B38, B3C 3339 cylinders3390 ² A98, B9C 10017 cylinders9336 020 2147483640 blocksFB-512 (virtual disk in storage) (not applicable) 4194296 blocksNotes:¹ These capacities apply to 3390 mode <strong>and</strong> 3380 track compatibility mode.² 3380 track compatibility mode is not supported for these 3390 models.³ Minidisks used with VSAM are limited to 64 KB (65,536) tracks (4369 3390 cylinders). This is a limitation of theVSE/VSAM licensed program. This limit applies whether the minidisk is used by a VSE guest or by CMS/VSAM.⁴ Value can be up to the maximum number of cylinders on the DASD (CMS <strong>and</strong> GCS are limited to 32767cylinders).⁵ z/<strong>VM</strong> supports a SCSI disk, which is emulated as a 9336-020, up to a capacity of 2147483640 512-byte blocks(1 terabyte minus 1 page). Note, however, that directory, paging, <strong>and</strong> spooling allocations must reside within thefirst 16777216 blocks (blocks 0 to 16777215) of a <strong>CP</strong>-formatted disk.⁶Due to CMS file system limitations for status <strong>and</strong> control information to reside below 16 MB in virtual storage,there is a practical limitation on the size of CMS minidisks. As a minidisk increases in size, or more files reside onthe disk, the amount of virtual storage associated with the disk for CMS file system status <strong>and</strong> control increases instorage below 16 MB. The current ECKD DASD limitation is 32767 cylinders for a 3390 disk on an ESS device, orabout 22 GB of data. <strong>IBM</strong> suggests that customers defining FBA SCSI disks for use by CMS set a practical limit ofabout 22 GB. If larger disks are defined, they should be limited to contain very few files, or the CMS file systemmay not be able to obtain enough virtual storage below 16 MB to format or access those disks. For moreinformation, see the ACCESS comm<strong>and</strong> in the z/<strong>VM</strong>: CMS Comm<strong>and</strong>s <strong>and</strong> Utilities Reference. The maximum sizefor FBA SCSI disks supported for use by CMS or GCS is 381 GB.3, 4, 65, 6UsageNotes1. You must format a temporary minidisk or virtual disk in storage before you useit. If you want to format the disk for <strong>CP</strong> use, use the Device Support Facility(ICKDSF) program; it is the recommended method of <strong>CP</strong> volume maintenance.For more information about ICKDSF procedures, see the Device SupportFacilities User’s Guide <strong>and</strong> Reference, GC35-0033. If you want to format thedisk for CMS use, use the CMS FORMAT comm<strong>and</strong> as described in the z/<strong>VM</strong>:CMS Comm<strong>and</strong>s <strong>and</strong> Utilities Reference. To format minidisk space for otheroperating systems, use the comm<strong>and</strong>s of the operating system that controlsthe minidisk.2. If a user has written sensitive data on temporary disk space, he shouldreformat the disk before detaching it from his virtual machine. If the system isconfigured to clear all temporary disk space, this clearing is done by thesystem. You can determine whether temporary disk clearing is enabled byentering the QUERY TDISKCLR comm<strong>and</strong>. This action removes any risk ofsecurity exposure.Chapter 17. Creating <strong>and</strong> Updating a User Directory 517


MDISK518 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>3. If for some reason two or more volumes have the same label, <strong>CP</strong> defines theminidisk on the volume that is attached to the system. (You cannot attach twovolumes with the same label to the system at the same time.)4. To define a full-pack minidisk you must specify that the minidisk is to containall of a DASD’s primary cylinders or blocks. To do this, specify '0' to 'END' onthe MDISK statement. Note that:v A minidisk beginning with cylinder 1 or block 1 is not a full-pack minidisk.v You should use the keyword 'END' so your MDISK statement is notdependant on the size <strong>and</strong> type of DASD.You can optionally specify any of the DASD’s alternate cylinders or blocks, butthose cylinders or blocks, <strong>and</strong> all others, are accessible to anyone with afull-pack minidisk.5. Full-pack minidisks that overlap other minidisks are ignored during link accessmode checking. However, you should not define any other type of overlap. <strong>CP</strong>does the overlap checking to ensure the integrity of link access modes. This isnot a feature to exploit.If you do overlap other minidisks, you may be:v Prevented from linking to those minidisks <strong>and</strong> receive messages H<strong>CP</strong>104E,H<strong>CP</strong>105E, <strong>and</strong> H<strong>CP</strong>106E, orv Linked read only to those minidisks <strong>and</strong> receive messages H<strong>CP</strong>101E,H<strong>CP</strong>102E, <strong>and</strong> H<strong>CP</strong>103E.6. The 3990s used for <strong>CP</strong> volumes will be supported in either 3380 trackcompatibility mode or 3390 mode of operation on a volume basis except forthe 3390 Model 9 which does not support 3380 track compatibility mode. Theability to change modes is restricted to guests with the OPTION statementvalue MAINTCCW or DE<strong>VM</strong>AINT. The use of ICKDSF is the recommendedmethod to change modes.7. Read Special home address <strong>and</strong> Write Special home address CCWs are onlysupported for dedicated <strong>and</strong> full-pack minidisks for guests with the OPTIONstatement value MAINTCCW or DE<strong>VM</strong>AINT.8. The use of the stable (SR, SW, <strong>and</strong> SM) <strong>and</strong> exclusive (ER <strong>and</strong> EW) linkmodes can be authorized in two different ways, either globally using theOPTION statement values, LNKSTABL <strong>and</strong> LNKEXCLU, or specifically, usingthe mode suffix letter on the MDISK or LINK statements.9. The DEVNO oper<strong>and</strong> allows the user to define a full-pack minidisk byspecifying the real device number of the minidisk. This oper<strong>and</strong> must be usedwhen defining full-pack minidisks where the guest will control the duplexing ofthe device.10. The DEVNO oper<strong>and</strong> should be used when defining multiple minidisks withidentical volume serial numbers.11. Refer to the appropriate storage control manuals for additional dual copyinformation.12. For information on the use of the MDISK statement for the CMS shared filesystem, refer to the z/<strong>VM</strong>: CMS File Pool <strong>Planning</strong>, <strong>Administration</strong>, <strong>and</strong>Operation book.13. If an external security manager (ESM) is installed, you may not be authorizedto use the MDISK statement for all minidisks <strong>and</strong> all access modes. The ESMmay downgrade certain requests for write access to read access. Foradditional information, contact your security administrator.14. Virtual disks in storage <strong>and</strong> FBA temporary minidisks are created in 8-blockpages. Therefore, the size of the virtual disk in storage or FBA temporaryminidisk that is created may be rounded up to the nearest page.


MDISK15. If you define a minidisk as virtual device number 192, the following specialrules apply when you IPL CMS:v If 192 is an unformatted temporary minidisk or virtual disk in storage, CMSformats it <strong>and</strong> accessed it as file mode D.v If 192 is a <strong>CP</strong>-formatted temporary minidisk or virtual disk in storage, CMSreformats it for CMS use <strong>and</strong> accesses it as file mode D.v If 192 is a CMS-formatted temporary minidisk, virtual disk in storage, orpermanent minidisk that is accessed as a file mode other than D, CMSreaccesses it as file mode D.v If 192 is an unformatted or <strong>CP</strong>-formatted permanent minidisk, CMS does notautomatically format, reformat, access, or reaccess it.When CMS accesses a 192 minidisk as file mode D, any minidisk or SFSdirectory already accessed as D is released.16. If you change the definition of a permanent minidisk while users are linked toit, existing links are unchanged, but any new links are made using the newdefinition of the minidisk. Unpredictable results may occur.17. If you change the definition of a virtual disk in storage while users are linked toit, existing links are unchanged, <strong>and</strong> any new links are made to the existingvirtual disk in storage. The existing virtual disk in storage is used until the lastuser detaches it or logs off, at which time the virtual disk in storage isdestroyed. After that, any new links use the new definition of the virtual disk instorage.18. Some programs may not support the use of &SYSRES, <strong>and</strong> require the use ofa synonym. The synonym is the value specified on the DIRECTXA comm<strong>and</strong>with the &SYSRES oper<strong>and</strong>. If the &SYSRES option is omitted on theDIRECTXA comm<strong>and</strong>, a synonym of +<strong>VM</strong>RES is used. In other words, either&SYSRES or its synonym may be used to define a minidisk on the systemresidence volume.Examples1. To define a minidisk that:v Has the virtual device number 191v Takes up 5 cylinders beginning at cylinder 100 of the 3380 DASD withvolume serial MDDASDv Is accessible only in read-only modev Cannot be linked to in any mode (no passwords are specified)use the following MDISK statement in the virtual machine’s directory entry:Mdisk 191 3380 100 5 mddasd rr2. To define a minidisk that:v Has the virtual device number 291v Takes up 10 cylinders beginning at cylinder 105 of the 3380 DASD withvolume serial MDDASDv Is accessible only in read or write modev Can be linked to by anyone in read mode (but no other mode)use the following MDISK statement in the virtual machine’s directory entry:Mdisk 291 3380 105 10 mddasd mr all3. To define a minidisk that:v Has the virtual device number 198v Takes up 6000 blocks beginning at block 12,000 of a supported FBA DASDwith volume serial FBDASDChapter 17. Creating <strong>and</strong> Updating a User Directory 519


MDISKv Is accessible only in multiple-write (MW) modesv Can be shared using <strong>CP</strong>’s virtual reserve/releasev Has a read password of 12WE45use the following MDISK statement in the virtual machine’s directory entry:Mdisk 198 9336 12000 6000 fbdasd mwv 12we454. To define a minidisk that:v Has the virtual device number 198v Takes up 6000 blocks beginning at block 12,000 of the 9336 DASD withvolume serial FBDASDv Will have the default access mode of Write when the virtual machine islogged on, but will specifically authorize the user to access it with a stableaccess mode using the LINK comm<strong>and</strong> at a later time.v Can be shared using <strong>CP</strong>’s virtual reserve/releasev Has a read password of 12WE45use the following MDISK statement in the virtual machine’s directory entry:Mdisk 198 fb-512 12000 6000 fbdasd mvs 12we455. To define 5 cylinders of temporary 3380 DASD space at virtual device number391, use the following MDISK statement in the virtual machine’s directoryentry:Mdisk 391 3380 t-disk 56. To define 4000 blocks of temporary FBA DASD space at virtual device 392,use the following MDISK statement in the virtual machine’s directory entry:Mdisk 392 fb-512 t-disk 40007. To define a 3380 DASD full-pack minidisk at virtual device number 199, useone of the following MDISK statements in the virtual machine’s directory entry:Mdisk 199 3380 000 885 mddasd mrMdisk 199 3380 000 end mddasd mr8. To define a pair of full-pack minidisks that are c<strong>and</strong>idates for duplexing <strong>and</strong>:v Have virtual device numbers 198 <strong>and</strong> 199v Have real device numbers 200 <strong>and</strong> 201v Are accessible in read or write modev Can be linked to by anyone in read modeuse the following MDISK statements in the virtual machine’s directory entry:mdisk 198 3390 devno 200 mr allmdisk 199 3390 devno 201 mr all9. To define a virtual disk in storage that:v Has virtual device number 401v Consists of 8000 blocksv Is accessible in read or write modev Can be shared using <strong>CP</strong>’s virtual reserve/releaseuse the following MDISK statement in the virtual machine’s directory entry:mdisk 401 fb-512 v-disk 8000 mwv10. To define a minidisk using a synonym of <strong>VM</strong>-RES instead of &SYSRES, usethe following MDISK statement:MDISK 123 3390 0 END <strong>VM</strong>-RES RR<strong>and</strong> use the following comm<strong>and</strong> to place the directory online:DIRECTXA USER DIRECT (&SYSRES <strong>VM</strong>-RES520 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


MDISKMinidisk RestrictionsThe following restrictions exist for minidisks:1. In the following cases, z/<strong>VM</strong> modifies the cylinder data in user storage at thecompletion of the channel program:Read Home Address (with the skip bit off)Read Record Zero (with the skip bit off)Sense (with the skip bit off)Read Track (with the skip bit off)Read Device Characteristics.This is necessary because the addresses must be converted for minidisks.Therefore, the data buffer area may not be dynamically modified during the I/Ooperation in these cases.Note: For the Read Record Zero case, the above restriction does not apply todevices that do not provide alternate track recovery.2. On a minidisk, if a CCW string uses multitrack-search on I/O operations,subsequent operations to that disk must have preceding seeks or continue touse multitrack operations. There is no restriction for dedicated disks.3. If the user’s channel program for a count-key-data minidisk does not perform aseek operation, <strong>CP</strong> inserts a positioning seek operation into the user’s channelprogram to prevent accidental accessing. Thus, certain channel programs maygenerate a condition code (CC) of 0 on an SIO instead of the expected CC of1, which is reflected to a virtual machine. The final status is reflected to thevirtual machine as an interruption. The final states for some channel programsinitiated through an SIOF or SSCH may not indicate deferred CC 1.4. A DASD channel program may give results on dedicated DASD that differ fromresults on minidisks having nonzero relocation factors if the channel programincludes multiple-track operations <strong>and</strong> depends on a Search ID High or SearchID Equal or High to terminate the program. The record 0 count fields on thesedevices must contain the real cylinder number of the track on which theyreside. Therefore, a Search ID High, for example, based on a low virtualcylinder number, may terminate prematurely if a real record 0 is encountered.Minidisks with nonzero relocation factors are not usable under OS <strong>and</strong> OS/VSsystems. This is because the locate catalog management function employs aSearch ID Equal or High CCW to find the end of the VTOC.5. The IBCDASDI program cannot assign alternate tracks.Notes:a. Device-Support Facilities (ICKDSF) may assign alternate tracksb. Alternate track assignment is permitted for full-pack minidisks only.6. If the DASD channel programs include a Write Record Zero CCW or a WriteHome Address CCW, the results depend on whether the device is dedicated ornot dedicated. For a dedicated DASD, a Write Record Zero or a Write HomeAddress CCW is allowed, but the user must be aware that the track descriptorrecord may not be valid from one DASD to another. For a DASD that is notdedicated, a Write Record Zero or a Write Home Address CCW is acceptedonly if the device is a full-pack minidisk. <strong>CP</strong> rejects the comm<strong>and</strong> if the deviceissuing a Write Record Zero or a Write Home Address CCW on anondedicated DASD is not defined as a full-pack minidisk.7. When performing DASD I/O, if the record field of a Search ID Argument is zerowhen a virtual SIO, SIOF, or SSCH is issued, but the Search ID Argument isdynamically read by the channel program before the Search ID CCW isChapter 17. Creating <strong>and</strong> Updating a User Directory 521


MDISKexecuted, the real Search ID uses the relocated search argument instead ofthe argument that was read dynamically. To avoid this problem, the record fieldof a Search ID Argument should not be set to binary zero if the searchargument is to be dynamically read or if the search ID on record 0 is notintended.8. The following CCWs are restricted to virtual machines with MAINTCCWauthority. You specify this authority by coding the MAINTCCW oper<strong>and</strong> on theOPTION statement in the virtual machine’s user directory entry.v Diagnostic Write Home Addressv Diagnostic Read Home Addressv Write Record Zerov Diagnostic Loadv Diagnostic Sense/Reset Allegiance: <strong>CP</strong> treats the comm<strong>and</strong> as a resetallegiance CCW <strong>and</strong> accepts it as long as it is the first CCW in the channelprogram.v Diagnostic Writev Diagnostic Sense/Readv Diagnostic Control9. Diagnostic Read Home Address <strong>and</strong> Diagnostic Write Home Addresscomm<strong>and</strong>s are supported only for dedicated <strong>and</strong> full-pack 3375, 3380, 3390,<strong>and</strong> 9345 minidisks.All Diagnostic CCWs are restricted to users with the OPTION statement valueMAINTCCW or DE<strong>VM</strong>AINT.10. Refer to OS/VS Device Support Facilities for procedures to format allsupported DASDs for use in an OS/VS operating system running in a virtualmachine.11. The 3390s used for <strong>CP</strong> volumes are supported in either 3380 trackcompatibility mode or 3390 mode of operation on a volume basis except forthe 3390 Model 9 which does not support 3380 track compatibility mode. Theability to change operating modes is restricted to guests with the OPTIONstatement value MAINTCCW or DE<strong>VM</strong>AINT. The use of ICKDSF is therecommended method to change modes.12. A user should never have an MDISK statement with the DEVNO oper<strong>and</strong> <strong>and</strong>an MDISK statement with the volume serial number oper<strong>and</strong> for the samevolume.13. Access to cache control units is controlled by the settings of level of control forthese units. For more information, see “DASDOPT Directory Control Statement(Device)” on page 472.14. Minidisks defined on an FBA volume which are not page-aligned will not beeligible for minidisk cache <strong>and</strong> will therefore not benefit from its performanceimprovement. Aligning minidisks on page boundaries is highly recommended.Minidisks as well as full-pack minidisk volumes that are not page-aligned mayresult in residual blocks that are not formatted <strong>and</strong> utilized. Additionalrestrictions apply for SFS Filepool minidisks which are not page-aligned. Formore information see the z/<strong>VM</strong>: CMS File Pool <strong>Planning</strong>, <strong>Administration</strong>, <strong>and</strong>Operation. If the starting block number is a multiple of eight <strong>and</strong> the number ofblocks is a multiple of eight, then the minidisk is defined to be page-aligned.Note: Under the conditions outlined in the above usage note, residual blockson FBA devices that have not been ICKDSF formatted may still bedefined <strong>and</strong> used as MDISK space.522 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


MDISK15. Minidisks defined on an FBA volume which are not page aligned cannot bemapped to an address space using minidisk mapping.Chapter 17. Creating <strong>and</strong> Updating a User Directory 523


MINIOPTMINIOPT Directory Control Statement (Device)►►MINIOPT(1)CACHENOCACHEMDCNOMDCRECORDMDcNOWRKALlegWRKALleg►◄Notes:1 Options can be in any order.PurposeThe MINIOPT statement is an extension to the MDISK statement <strong>and</strong> mustimmediately follow an MDISK statement that defines a non-full-pack minidisk. If youwant to use a full-pack minidisk, you can use a DASDOPT statement with theMDISK statement.How to SpecifyMINIOPT statements are not allowed within a profile entry.Oper<strong>and</strong>sCACHEmeans that the minidisk has access to the control unit cache. This is the defaultif neither CACHE or NOCACHE are specified.NOCACHEmeans that <strong>CP</strong> forces I/O for the minidisk to bypass the control unit cache.MDCspecifies that the minidisk will use the full track minidisk cache as long ascaching is set to DFLTON or DFLTOFF for the real device. If neither MDC,NOMDC, nor RECORDMDc is specified, then the minidisk will use the full trackminidisk cache as long as caching is set to DFLTON for the real device.NOMDCspecifies that the minidisk will not use the full track minidisk cache. If neitherMDC, NOMDC, nor RECORDMDc is specified, then the minidisk will use the fulltrack minidisk cache as long as caching is set to DFLTON for the real device.RECORDMDcspecifies that the minidisk will use record level minidisk caching rather thannormal full track minidisk caching as long as caching is set to DFLTON orDFLTOFF for the real device. If neither MDC, NOMDC, nor RECORDMDc isspecified, then the minidisk will use full track minidisk cache as long as cachingis set to DFLTON for the real device.524 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


MINIOPTUsageNotesCAUTION:Use of this option is a last resort for very special <strong>and</strong> unusualcircumstances. It should only be used as the result of consultation with<strong>IBM</strong> support personnel who have concluded that no other problem exists.Its use should occur only after trials using the SET MDCACHE MDISK ONcomm<strong>and</strong>’s RECORDMDc option have proven that this truly solves theperformance problem. Using this option for any other reason may mask aperformance problem which when corrected allows normal full trackminidisk cache to perform better than with the RECORDMDc option.WRKALlegcauses working allegiance to be simulated on the minidisk.NOWRKALlegcauses no simulated working allegiance for the minidisk. This is the default.1. <strong>IBM</strong> recommends that the defaults of both control unit caching <strong>and</strong> minidiskcaching be used. The default double caching of data should not degrade theperformance of normal minidisk operation. MINIOPT statements should be usedonly in cases of shared DASD <strong>and</strong> specific data/transaction-related performanceproblems.2. WRKALLEG must be used when running two or more z/OS guests as part of aSysplex configuration using the cross-system coupling facility (XCF) componentof z/OS. This option must be used for any minidisk containing the XCF coupledataset to maintain cross-system lock integrity (<strong>and</strong> thereby, data integrity)within the sysplex.3. WRKALLEG is valid only when the preceding MDISK statement gives the userwrite access to the minidisk. If the MDISK statement specifies read-only access,<strong>CP</strong> rejects the WRKALLEG statement <strong>and</strong> issues an error message.Furthermore, working allegiance is simulated only when a guest with writeaccess initiates I/O.4. Implementation of caching by the system depends on the following:v For the control unit if:– It is a cached control unit– The subsystem is enabled for cache operation– The caching function is turned on for the devicev For minidisk cache if:– Minidisk is on a device supported by minidisk cache.– Minidisk caching is enabled for the system.– Minidisk caching is set to DFLTON for the real device <strong>and</strong> either MINIOPTMDC is specified or no minidisk cache option is specified on the MINIOPTstatement for the minidisk; or minidisk caching is set to DFLTOFF for thereal device <strong>and</strong> MINIOPT MDC is specified for the minidisk:Cache setting for real device MINIOPTDefaultMINIOPTMDCDFLTON ON ON OFFDFLTOFF OFF ON OFFOFF OFF OFF OFFMINIOPTNOMDCFor example:- If DFLTON <strong>and</strong> MINIOPT is NOMDC, then caching is off.Chapter 17. Creating <strong>and</strong> Updating a User Directory 525


MINIOPT- If DFLTOFF <strong>and</strong> MINIOPT is MDC, then caching is on.– For FBA devices, the minidisk is page-aligned5. Optimization of cache use may be made after an analysis of your productionuse has been made. This is accomplished by adding MINIOPT statements thatcause the I/O subsystem to bypass the use of either or both of the cachingtechniques.6. MINIOPT is not valid for full-pack minidisks. For full-pack minidisks, use theDASDOPT statement (page 472).7. MINIOPT is ignored if it follows an MDISK statement that defines a virtual diskin storage.8. The RECORDMDc option should only be used when directed to do so by <strong>IBM</strong>support personnel. RECORDMDc is for use only when DASD cache as well asmain storage <strong>and</strong> exp<strong>and</strong>ed storage minidisk cache are all being overwhelmedby excessive unreferenced records being read by the full track cache support.Examples1. If the minidisk specified by the MDISK statement is to have access to thecontrol unit cache, use the following MINIOPT statement:MiniOpt Cache2. If the minidisk specified by the MDISK statement will not use the minidiskcache, use the following MINIOPT statement:MiniOpt NoMdc3. If the minidisk specified by the MDISK statement will have simulated workingallegiance, use the following MINIOPT statement:MINIOPT WRKALleg526 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


NAMESAVENAMESAVE Directory Control Statement (General)►► NAMEsave ▼ (1)sysseg►◄Notes:1 Specify sysseg up to 8 times.PurposeThe NAMESAVE statement authorizes a virtual machine to access a restrictednamed saved system or saved segment. The NAMESAVE statement alsoauthorizes a virtual machine to access <strong>and</strong> load a private copy of a nonrestrictedsaved segment, using the load nonshared function of DIAGNOSE code X'64'. If thevirtual machine has the appropriate NAMESAVE entry, it can access a private copyof a saved segment (whether or not the saved segment is restricted) for debugging,using the load nonshared function of DIAGNOSE code X'64'. (For more information,see Usage Note 3.)How to SpecifyYou can specify multiple NAMESAVE statements for each virtual machine. If youspecify the NAMESAVE statement, it must precede any device statements youspecify in a user’s directory entry. (For a list of device statements, see Table 20 onpage 448.)Oper<strong>and</strong>sMultiple NAMESAVE statements are allowed within a profile entry. NAMESAVEstatements within a profile entry are added to those in the including user entry withno duplicate checking performed.syssegis the 1- to 8-character alphanumeric name of the named saved system orsaved segment that you are authorizing a virtual machine to access. You canspecify a maximum of eight names.Note: sysseg cannot be a member name. Members are authorized by thesegment space they are in.UsageNotes1. Each NAMESAVE statement can specify up to eight named saved systems <strong>and</strong>eight saved segments.2. For information on creating named saved systems, see the z/<strong>VM</strong>: VirtualMachine Operation book.3. If you have the appropriate NAMESAVE entry, you can access a private copy ofa saved segment (whether or not the saved segment is restricted) for debuggingpurposes, using the load nonshared function of DIAGNOSE code X'64'. Whenyou do this, you receive exclusive read/write access to all the page ranges inthe saved segment, regardless of the type of access specified on the <strong>CP</strong>DEFSEG comm<strong>and</strong> when the saved segment was defined.Chapter 17. Creating <strong>and</strong> Updating a User Directory 527


NAMESAVE4. To access a private copy of a named saved system, you must IPL by devicenumber. You cannot specify that a private copy of a named saved systemshould be loaded.5. When packing DCSSs you must have the segment space name in aNAMESAVE statement.Examples1. To indicate that a virtual machine can access the restricted named savedsystems MVSXA1 <strong>and</strong> MVSXA2, use the following NAMESAVE statement in thevirtual machine’s directory entry:NameSave mvsxa1 mvsxa22. To indicate that a virtual machine can access both of the following:a. The restricted named saved systems MVSXA1 <strong>and</strong> MVSXA2b. The restricted saved segment XASEGuse the following NAMESAVE statement in the virtual machine’s directory entry:NameSave mvsxa1 mvsxa2 xaseg3. To indicate that a virtual machine can access a private copy of the nonrestrictedsaved segment XASEG1, use the following NAMESAVE statement in the virtualmachine’s directory entry:NameSave xaseg1528 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


NICDEFNICDEF Directory Control Statement (Device)►►NICDEF vdev ▼ TYPE HIPERsocketsQDIODEVices devsLAN ownerid lanname*SYSTEM switchnmCHPID nnMACID xxxxxx►◄PurposeThe NICDEF statement defines virtual network adapters that are fully simulated by<strong>CP</strong>. Use NICDEF to create a virtual HiperSockets or QDIO adapter in the virtualmachine, <strong>and</strong> (optionally) connect it to a <strong>VM</strong> LAN or Virtual Switch.How to SpecifyIf you specify the NICDEF statement, it must follow any general statements youspecify in a user’s directory entry. (For a list of general statements, see Table 20 onpage 448.)The SPECIAL statement may also be used to define virtual network adapters in avirtual machine. However, there are additional configuration options available withthe NICDEF statement. NICDEF statements are not compatible with the SPECIALstatements for the same vdev. You cannot define some attributes on the SPECIALstatement <strong>and</strong> some attributes on a NICDEF statement.NICDEF statements are allowed within a profile entry if no conflicting statements forthe virtual device numbers are in the profile. When a NICDEF statement in the userentry matches the virtual device number in the profile, the USER entry replaces theprofile entry.Oper<strong>and</strong>svdevis the base (or first) device address in a series of virtual I/O devices that belongto the same unit.TYPE HIPERsockets | QDIOindicates the type of adapter to be created. This is a required keyword, <strong>and</strong> itmust be the first keyword specified.Use HIPERsockets for a simulation of the zSeries HiperSockets feature orQDIO for a simulation of the OSA Express feature in QDIO mode. If a LAN isidentified in this statement or another with the same vdev, the NIC isautomatically coupled to the specified ownerid lanname.DEVices devsis the number (decimal) of virtual I/O devices to be created for a simulatedNetwork Interface Card (NIC). This number is evaluated during LOGONprocessing.Chapter 17. Creating <strong>and</strong> Updating a User Directory 529


NICDEFTable 24. Number (Decimal) of Virtual I/O DevicesAdapter TYPE Minimum Maximum DefaultHiperSockets 3 3072 3QDIO 3 240 3UsageNotesLAN [ ownerid|* lanname ] [ SYSTEM switchnm ]identifies a virtual LAN segment for an immediate connection to the NetworkInterface Card (NIC). When ownerid is specified as an asterisk (*), it is resolvedas the user ID of the current virtual machine. When the LAN oper<strong>and</strong> is omitted,the adapter is left in the default (uncoupled) state. When LAN ownerid lannameis identified in this statement or another with the same vdev, the adapter isconnected to the designated virtual LAN segment automatically.Ownerid may be specified as SYSTEM, indicating the virtual LAN segment maybe a virtual switch or a system-owned LAN.Note: If you must define an adapter type, ensure that it is compatible with theintended Guest LAN or virtual switch.CHPID xxis a two digit hexadecimal number that represents the Channel Path ID (CHPID)number to be allocated in the virtual machine I/O configuration for this adapter.If CHPID is omitted, an available CHPID is automatically assigned to thisadapter. This option is required when a HiperSockets adapter is being createdfor a z/OS guest because z/OS configurations require a predictable CHPIDnumber. During LOGON, <strong>CP</strong> attempts to use the specified CHPID number. Ifthe specified CHPID number is already in use, this adapter is not defined. Tocorrect this situation, you must eliminate the conflicting device or select adifferent CHPID.MACID xxxxxxis a unique identifier (up to six hexadecimal digits) used as part of the adapterMAC Address. During LOGON, your MACID (three bytes) is appended to thesystem MA<strong>CP</strong>REFIX (three bytes) to form a unique MAC Address for thisadapter. If MACID is omitted from this definition, <strong>CP</strong> generates a uniqueidentifier for this adapter. If the specified MACID is already in use, this adapteris not defined. To correct this situation, you must eliminate the conflicting deviceor select a different MACID.1. When a simulated NIC is defined (HIPERsockets or QDIO device types), theNICDEF statement results in the creation of a series of I/O devices. The basedevice is validated by directory processing, but the remaining devices in therange are validated during LOGON processing. If another device is found in therange established by vdev <strong>and</strong> devs, the simulated NIC cannot be created.2. It is possible to define a simulated NIC that will be automatically coupled to a<strong>VM</strong> LAN or Virtual Switch by adding the optional LAN parameter. However, ifthe designated <strong>VM</strong> LAN or Virtual Switch is not available when this user signson, the COUPLE function cannot be performed. To make effective use of thisfeature, you must consider adding a DEFINE LAN or DEFINE VSWITCHstatement in the SYSTEM CONFIG file to create the target <strong>VM</strong> LAN or VirtualSwitch during system initialization.530 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


NICDEFExamples1. Define a simulated QDIO adapter using I/O devices 0500–0507 (eight devices)which will be coupled to the SYSTEM-owned INEWS LAN during LOGONprocessing:NICDEF 500 TYPE QDIO DEV 8 LAN SYSTEM INEWS2. Define a simulated HiperSockets adapter using I/O devices FD20–FD2F (16devices) which will be coupled to the user’s own HSTEST LAN during LOGONprocessing:NICDEF FD20 TYPE HIPERSNICDEF FD20 DEVICES 16 LAN * HSTESTNote that this adapter cannot couple to the designated LAN during LOGONunless it has been defined earlier. This can be accomplished by adding thenecessary DEFINE LAN statement to the SYSTEM CONFIG file.Chapter 17. Creating <strong>and</strong> Updating a User Directory 531


NOPDATANOPDATA Directory Control Statement (General)►► NOPDATA ►◄PurposeThe NOPDATA statement authorizes a virtual machine to use NOP CCWs totransfer data to <strong>CP</strong> spool files. (Such data is not printed or punched with the file,<strong>and</strong> is not visible if the file is later read through a virtual card reader. It can only beaccessed using DIAGNOSE code X'14'.)How to SpecifyIf you specify the NOPDATA statement, it must precede any device statements youspecify in a user’s directory entry. (For a list of device statements, see Table 20 onpage 448.)Multiple NOPDATA statements are allowed within a profile entry.When processing the NOPDATA statement, DIRECTXA does not check for extratokens. If you specify anything after the NOPDATA keyword, DIRECTXA ignores theextra tokens <strong>and</strong> system processing continues as if you had not specified the extratokens.UsageNotes1. The NOPDATA statement should appear in the directory entry of the RSCSvirtual machine. For more information, see the RSCS <strong>Planning</strong> <strong>and</strong> Installationbook, SH24-5219.2. Do not use data chaining with NOP CCWs.ExamplesTo authorize a virtual machine to transfer data to <strong>CP</strong> spool files using NOP CCWs,use the following NOPDATA statement in the virtual machine’s directory entry:NoPData532 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


OPTIONOPTION Directory Control Statement (General)►►OptionAcct APPLmon CF<strong>VM</strong>CFUSERCOMSRV CONceal Cpuid bbbbbb►►DEVInfo DE<strong>VM</strong>aint DIAG88 DIAG98 D84NOPAS IGNMAXU Lang langid►►LKFAC LNKExclu LNKNOPAS LNKStabl MAINTCCWMaxconn 64Maxconnmaxno►►►MAX<strong>VM</strong>CFI 2147483647MAX<strong>VM</strong>CFI maxno MIH NETAccounting NETRouter NOMDCFS QUICKDspRMCHINFO SETORIG STGEXempt SVC76<strong>VM</strong> S<strong>VM</strong>stat TODENable►►◄PurposeThe OPTION statement specifies special characteristics available to the virtualmachine.How to SpecifyIf you specify the OPTION statement, it must precede any device statements youspecify in a user’s directory entry. (For a list of device statements, see Table 20 onpage 448.)Any number of OPTION statements are allowed within a profile, <strong>and</strong> are added toany OPTION statements in the user directory entry.Oper<strong>and</strong>sAcctspecifies that the virtual machine can issue a DIAGNOSE code X'4C' togenerate accounting records. For more information about DIAGNOSE codeX'4C', see the z/<strong>VM</strong>: <strong>CP</strong> Programming Services book.APPLmonauthorizes the virtual machine to issue DIAGNOSE code X'DC' by which anapplication may declare or delete a buffer for <strong>CP</strong> monitoring. After the bufferhas been declared for monitoring, all data in it is collected by <strong>CP</strong> into monitorrecords at each sample interval. For more information about DIAGNOSE codeX'DC', see the z/<strong>VM</strong>: <strong>CP</strong> Programming Services book.CF<strong>VM</strong>defines the user as a virtual machine that will only run as a Coupling FacilityService Machine (CF<strong>VM</strong>). A CF Service Machine is a special disconnectedvirtual machine that is set up to IPL the Coupling Facility Control Code (CFCC).CF<strong>VM</strong> may not be specified with CFUSER or RMCHINFO.Chapter 17. Creating <strong>and</strong> Updating a User Directory 533


OPTIONCFUSERindicates that the user is allowed to define <strong>and</strong> couple Message Devices to aCoupling Facility Service Machine. CFUSER may not be specified with CF<strong>VM</strong>.COMSRVauthorizes the indicated virtual machine to act as a communication server, to:v Route communications on behalf of other virtual machines to other serversv Establish connections to other servers while h<strong>and</strong>ling requests for otherusers.With this option, the TSAF virtual machine or any other communications servercan put the user ID of the virtual machine that issued the APPC/<strong>VM</strong> CONNECTin the CONNECT parameter list.When TSAF sends the connect request to the target virtual machine, therequest contains this information about the originating virtual machine. Withoutthis oper<strong>and</strong>, <strong>CP</strong> would send the connect request with the communicationsserver’s user ID.CONcealspecifies that the user’s virtual machine is to be placed in the protectedapplication environment when the user logs on. The environment remains activeuntil the user logs off or until it is made inactive by a <strong>CP</strong> SET CONCEAL OFFor a <strong>CP</strong> DEFINE <strong>CP</strong>U comm<strong>and</strong>. This environment is intended for theapplication end user who does not want to interact with <strong>CP</strong>. Instead ofpresenting the user with an unexpected <strong>CP</strong> READ on occurrence of certainerror conditions (for example, paging error, soft abend, disabled wait PSWloaded), the protected application facility forces an automatic re-IPL of thevirtual machine. The re-IPL is initiated by using the IPL statement last used forthe virtual machine.To prevent a re-IPL loop, <strong>CP</strong> does not force a re-IPL if a previous automaticre-IPL has occurred less than a minute before. Not more than 10 automaticre-IPLs are tried between activation <strong>and</strong> deactivation of the protectedapplication environment. If a re-IPL is not done, <strong>CP</strong> issues the samemessage(s) as when the protected application environment is not active <strong>and</strong>then puts the terminal into <strong>CP</strong> READ state.A user whose directory entry specifies OPTION CONCEAL has the break key(for 3270 terminals) disabled at logon. If the user subsequently deactivates theprotected application environment using the <strong>CP</strong> SET CONCEAL OFF comm<strong>and</strong>,the break key is enabled again.Cpuid bbbbbbspecifies a processor identification number to be stored as part of theinformation stored by the STIDP instruction. This oper<strong>and</strong> sets the <strong>CP</strong>U ID forall of the processors in a virtual MP configuration. This oper<strong>and</strong> is overridden ifa <strong>CP</strong>U ID is specified on the <strong>CP</strong>U statement for this virtual <strong>CP</strong>U.DEVInfoauthorizes the specified virtual machine to use DIAGNOSE code X'E4' withsubcodes X'00' <strong>and</strong> X'01' to access the relocation <strong>and</strong> real device information ofthe specified DASD owned by this or another user ID. For more informationabout DIAGNOSE code X'E4', see the z/<strong>VM</strong>: <strong>CP</strong> Programming Services book.DE<strong>VM</strong>aintauthorizes the specified virtual machine to use DIAGNOSE code X'E4' withsubcode X'02' <strong>and</strong> X'03' to get a full-pack overlay read/write minidisk of thevolume on which the specified minidisk or cylinder/block resides. A user withthis option is also authorized to execute any function protected by the DEVINFO534 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


OPTION<strong>and</strong> MAINTCCW options. For more information about DIAGNOSE code X'E4',see the z/<strong>VM</strong>: <strong>CP</strong> Programming Services book.DIAG88specifies that the virtual machine is authorized to use DIAGNOSE code X'88' tovalidate user authorizations <strong>and</strong> link minidisks. A user whose directory entrycontains this oper<strong>and</strong> can run programs that access other users’ minidiskswithout requiring passwords. For information about DIAGNOSE code X'88', seethe z/<strong>VM</strong>: <strong>CP</strong> Programming Services book.DIAG98specifies that the virtual machine is authorized to use the DIAGNOSE codeX'98' real I/O facility. A user whose directory entry contains this oper<strong>and</strong> can runprograms that use the page locking <strong>and</strong> start real I/O subfunctions to enhanceI/O performance to dedicated devices. For information about DIAGNOSE codeX'98', see the z/<strong>VM</strong>: <strong>CP</strong> Programming Services book.D84NOPASspecifies that this virtual machine has the ability to issue all subfunctions ofDIAGNOSE code X'84' (except LOGPASS <strong>and</strong> MDISK) without the logonpassword of the target virtual machine ID. This option only takes effect if thereis no access control mechanism, such as RACF, in place. For more informationabout DIAGNOSE code X'84', see the z/<strong>VM</strong>: <strong>CP</strong> Programming Services book.IGNMAXUindicates that this virtual machine can log on to the system even if the numberof users already logged-on is equal to or greater than the maximum allowed.You set this maximum in one of three ways:1. Using the FEATURES statement with the MAXUSERS oper<strong>and</strong> in yoursystem configuration file. For more information, see page 136.2. Using the <strong>CP</strong> SET MAXUSERS comm<strong>and</strong>. For more information, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.3. Using the SYSMAXU macroinstruction in H<strong>CP</strong>SYS. For more information,see page 686.Lang langidspecifies the 1- to 5-character name of the language that should be set for thevirtual machine during logon.LKFACindicates that the specified virtual machine is authorized to use:v Multi-Path Lock Facility RPQ (MPLF) simulation support. MPLF is a lockfacility simulated for TPF guests.v Real Multi-Path Lock Facility (MPLF) support. MPLF is a lock facility availableon the D/T3990 model 6 control unit.This support allows multiple TPF guests, running in a loosely coupledconfiguration, to share a common database through simulation or real MPLFlocking channel comm<strong>and</strong>s used by the TPF system.LNKExcluspecifies that the virtual machine is authorized to use the stable <strong>and</strong> exclusiveaccess modes, ER (exclusive read) or EW (exclusive write) of the <strong>CP</strong> LINKcomm<strong>and</strong>, the CMS <strong>VM</strong>LINK comm<strong>and</strong>, <strong>and</strong> DIAGNOSE code X'E4'. This is aglobal authority allowing the virtual machine to perform stable or exclusive linksto any minidisk to which it has password level authorization. Forminidisk-specific authorization of stable <strong>and</strong> exclusive access modes, see “LINKDirectory Control Statement (Device)” on page 500 <strong>and</strong> “MDISK DirectoryControl Statement (Device)” on page 513. The exclusive access modes negateChapter 17. Creating <strong>and</strong> Updating a User Directory 535


OPTIONthe ability of other users to acquire any access to the minidisk. This ensuresthat the issuing user is the only one with access to the minidisk.LNKNOPASspecifies that this virtual machine can link to any other virtual machine’s DASDwithout password authorization. When LNKNOPAS is specified, passwordauthorization may still be required when an external security manager (ESM) isinstalled. For more information, refer to the documentation provided by yourESM.LNKStablspecifies that the virtual machine is authorized to use the stable access modes,SR (stable read-only), <strong>and</strong> SW <strong>and</strong> SM (stable write), of the <strong>CP</strong> LINKcomm<strong>and</strong>, the CMS <strong>VM</strong>LINK comm<strong>and</strong>, <strong>and</strong> DIAGNOSE code X'E4'. This is aglobal authority allowing the virtual machine to perform a stable link to anyminidisk to which it has password-level authorization. For minidisk-specificauthorization of stable access modes, see “LINK Directory Control Statement(Device)” on page 500 <strong>and</strong> “MDISK Directory Control Statement (Device)” onpage 513. These modes negate the ability of other users to acquire writeaccess the specified minidisk. This ensures that the data can not be changedunderneath the user.MAINTCCWauthorizes the specified virtual machine to use diagnostic CCWs, including:v Diagnostic Write Home Addressv Diagnostic Read Home Addressv Write Record Zerov Write Home Addressv Diagnostic Loadv Diagnostic Writev Diagnostic Sense/Readv Diagnostic Control.Maxconn maxnospecifies the maximum number of IUCV <strong>and</strong> APPC/<strong>VM</strong> connections allowed forthis virtual machine. If the MAXCONN oper<strong>and</strong> is omitted, the default is 64. Themaximum is 65,535. The MAXCONN value has implications for users of filepool servers. See the z/<strong>VM</strong>: CMS File Pool <strong>Planning</strong>, <strong>Administration</strong>, <strong>and</strong>Operation for more information.MAX<strong>VM</strong>CFI maxnospecifies the maximum number of <strong>VM</strong>CF inbound send messages, includingthose initiated by SMSG, plus IDENTIFY final response interrupts that may bequeued for processing on this virtual machine. The variable maxno is a decimalnumber from 1 to 2147483647. If the MAX<strong>VM</strong>CFI oper<strong>and</strong> is omitted, thedefault is 2147483647.MIHspecifies that <strong>CP</strong> simulate an interrupt for the virtual machine whenever itdetects a missing interrupt condition for an I/O operation it does on behalf of thevirtual machine.NETAccountingspecifies that Network Data Transmission account records (type 0C) should begenerated for this user. For more information on Network Data Transmissionaccount records, see “Accounting Records Network Data Transmissions(Record Type C)” on page 307.536 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


OPTIONUsageNotesNETRouterspecifies that this user is a network router, <strong>and</strong> Network Data Transmissionaccount records (type 0C) should be generated for this user. Transmissions to<strong>and</strong> from a user designated as a router (over a <strong>VM</strong> LAN), will be reported inaccount records separate from transmissions with non-routers. For moreinformation on Network Data Transmission account records, see “AccountingRecords Network Data Transmissions (Record Type C)” on page 307.NOMDCFSspecifies that the virtual machine can use minidisk cache at a rate that is notlimited by the fair share limit. This allows virtual machines that have a very highI/O rate (such as the shared file system) to get the full benefit of minidiskcache.QUICKDspcauses a virtual machine to be added to the dispatch list immediately when ithas work to do, without waiting in the eligible list.RMCHINFOindicates that the specified virtual machine is authorized to access real-machineconfiguration information, without regard to the virtual machine's configuration. Itshould be used when OSA/SF (or any other application that may require realmachine configuration information) is running under CMS. RMCHINFO shouldnot be specified for guest operating systems.SETORIGspecifies that the virtual machine can issue DIAGNOSE code X'F8' subfunctioncode X'00' to associate originating node <strong>and</strong> user ID information with a virtualoutput device. For more information about DIAGNOSE code X'F8', see thez/<strong>VM</strong>: <strong>CP</strong> Programming Services book.STGEXemptspecifies that the virtual machine is exempt from <strong>CP</strong> free storage limit detection.This ensures that the machine will not be suspended or forced off if it causes<strong>CP</strong> to consume too much free storage on its behalf. This option isrecommended for non-general purpose virtual machines.SVC76<strong>VM</strong>specifies that errors are not recorded by <strong>CP</strong>. All guest SVC 76 operations areprocessed by the virtual machine that issued the SVC 76.S<strong>VM</strong>statspecifies that the virtual machine is a service virtual machine. The monitor datarecords associated with this virtual machine include the S<strong>VM</strong>STAT setting. Theonly purpose is to allow products that process monitor data to report on servicevirtual machines separate from end-user virtual machines. No other operations,such as transaction or wait state classification, are affected by this oper<strong>and</strong>.TODENablespecifies that the user may change the virtual machine’s Time-of-Day (TOD)clock with the SCK instruction or the SET VTOD <strong>CP</strong> comm<strong>and</strong>.1. To run the device support facilities (ICKDSF) program in a virtual machine, youmust specify the MAINTCCW oper<strong>and</strong>.2. The <strong>CP</strong>U statement overrides the specification on the OPTION statement.3. The LKFAC option must be specified to authorize the user to use the SETLKFAC <strong>CP</strong> comm<strong>and</strong> to join a lock facility I/O configuration.Chapter 17. Creating <strong>and</strong> Updating a User Directory 537


OPTION4. You may not specify OPTION CONCEAL if the directory entry for this userdefines a multiprocessor configuration. The protected application facilitysupports only virtual uniprocessor systems.5. Use of the IPL statement is recommended for users of the protectedapplication facility. If the IPL statement is used with the OPTION CONCEALstatement <strong>and</strong> an appropriate SYSPROF EXEC, the user can be put directlyinto an application environment during logon <strong>and</strong> thus be protected fromfurther <strong>CP</strong> interaction.6. Though the break key is initially disabled at logon when the OPTIONCONCEAL statement is used, its setting may be enabled by using theTERMINAL BRKKEY comm<strong>and</strong>.7. When a user’s break key is disabled, the user whose virtual machine isrunning a full-screen application cannot enter <strong>CP</strong> comm<strong>and</strong>s or place thevirtual machine into <strong>CP</strong> READ unless the application provides a way. Theapplication can use DIAGNOSE code X'08' to pass <strong>CP</strong> comm<strong>and</strong>s or to passno comm<strong>and</strong> at all to enter into <strong>CP</strong> READ.8. The TERMINAL MODE <strong>CP</strong> comm<strong>and</strong> allows entry to <strong>CP</strong> on a consoleattention interrupt for users running in line mode. In addition, #<strong>CP</strong> may beused in this mode to enter <strong>CP</strong> comm<strong>and</strong>s <strong>and</strong> to enter into <strong>CP</strong> READ.9. The installation default language is set for the virtual machine if:v The LANG option is not specifiedv A valid <strong>CP</strong> message repository for the language specified by langid cannotbe accessed.10. STGEXempt ensures that the user ID is not subject to being suspended orforced due to the amount of <strong>CP</strong> free storage it causes <strong>CP</strong> to consume. Thisoption is recommended for:v Special purpose user IDs vital to the installationv User IDs running trusted codev User IDs which should never be forced off.ExamplesThe following examples show various ways of specifying the OPTION statement.Note that you can specify more than one oper<strong>and</strong> on a single OPTION statement.1. To specify that:v The virtual machine can issue DIAGNOSE code X'4C'v 012345 is the virtual machine’s processor identification numberv <strong>CP</strong> is to inform the virtual machine of missing interrupts it detectsv The virtual machine is authorized to create up to 100 IUCV pathsuse the following OPTION statement in the virtual machine’s directory entry:Option Acct CpuID 012345 Mih MaxConn 1002. To specify that:v The virtual machine can issue DIAGNOSE codes X'4C' <strong>and</strong> X'98'v 012345 is the virtual machine’s processor identification numberv <strong>CP</strong> is to inform the virtual machine of missing interrupts it detectsv The virtual machine is authorized to create up to 100 IUCV pathsuse the following OPTION statement in the virtual machine’s directory entry:Option Acct CpuID 012345 Mih MaxConn 100 Diag983. To place a virtual machine in the protected application environment when theuser logs on, use the following OPTION statement in the user’s directory entry:538 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


OPTIONOption Conceal4. To indicate that the virtual machine is to be added to the dispatch list withoutwaiting in the eligible list, use:Option QuickDsp5. To indicate that the virtual machine can issue DIAGNOSE code X'F8',subfunction code X'00', use:Option SetOrig6. To indicate that the virtual machine can issue DIAGNOSE code X'DC', use:Option ApplMon7. To give the virtual machine the authority to enter a <strong>CP</strong> LINK userid 291 392 SRcomm<strong>and</strong>, use:Option LnkStabl8. To allow a virtual machine to operate as a communications server, use:Option ComSrv9. To give the virtual machine the authority to enter a <strong>CP</strong> SET LKFAC comm<strong>and</strong>,use:Option LKFACChapter 17. Creating <strong>and</strong> Updating a User Directory 539


POOLPOOL Directory Control Statement (General)►► POOL LOW lowbound HIGH highbound PROFile name ►◄PurposeThe POOL statement allows a set of virtual machines to be defined with the sameconfiguration or characteristics.How to SpecifyIf you specify the POOL statement, it must be the only control statement other thana USER statement that you code in a user’s directory entry. POOL statements arenot allowed within a profile entry.Oper<strong>and</strong>sLOW lowboundspecifies the suffix number for the user ID of the first virtual machine in thepool. The variable lowbound must be a decimal number from 0 to 99999.HIGH highboundspecifies the suffix number for the user ID of the last virtual machine in thepool. The variable highbound must be a decimal number from lowbound to99999.PROFile namespecifies the name of the profile to be used for the definition of each virtualmachine in the pool.UsageNotes1. The directory statement before a POOL statement must be a USER statement.2. The user ID specified on the preceding USER statement must be from 1 to 3characters in length.3. A directory entry that contains a POOL statement must comprise only a USERstatement <strong>and</strong> a POOL statement. Any other directory statements specified areinvalid.ExamplesA group of 25 virtual machines with identical configurations could be defined by thefollowing directory entry:User GRP AutoOnly 4m 32mPool Low 1 High 25 Profile groupdefThis will generate directory entries for virtual machines GRP00001 throughGRP00025.Each machine would have a password of AUTOONLY, thus restricting it fromterminal logon. Each virtual machine would have 4 MB of virtual storage, which maybe reset up to a maximum of 32 MB. Also, each virtual machine would have aprivilege class of G. The rest of the configuration for each machine would be asdefined in the directory profile named GROUPDEF.540 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


POSIXGLISTPOSIXGLIST Directory Control Statement (General)►► POSIXGLIST GIDS ▼gid►◄GNAMES▼gnameGNAMES▼gnamePurposeThe POSIXGLIST statement lists POSIX groups of which the user is a member.Each group on the list can be specified by either group ID (gid) or group name(gname). POSIXGLIST statements are the primary source for the GIDs that formthe user’s supplementary group list.How to SpecifyIf you specify the POSIXGLIST statement, it must precede any device statementsyou specify in a profile or user entry. (For a list of device statements, see Table 20on page 448.)Multiple POSIXGLIST statements are allowed within a user or profile entry. ThePOSIXGLIST information from a user entry completely replaces that from anincluded PROFILE.The POSIXGLIST statement may be continued across multiple records in thesource directory file. For detailed information about continued statement rules, see“Continued Directory Control Statements” on page 452. Note that some oper<strong>and</strong>son this statement are case sensitive, so care should be taken to preserve the caseof them when editing the user directory file.Oper<strong>and</strong>sGIDS gideach gid must identify a group defined on a POSIXGROUP statement or thedefault group implicitly defined by DIRECTXA.GNAMES gnamespecifies, by group name, POSIX groups of which the user is a member. Eachgname must identify a group defined on a POSIXGROUP statement or thedefault group implicitly defined by DIRECTXA. The case of each group name ispreserved; it is not converted to upper case by DIRECTXA. Each name mustmatch exactly the group name on a POSIXGROUP statement or the defaultgroup name.UsageNotes1. If your installation has installed an External Security Manager (ESM), theinformation specified on this directory control statement may be overridden byinformation provided by the ESM. Consult your ESM documentation for moreinformation.Chapter 17. Creating <strong>and</strong> Updating a User Directory 541


POSIXGLIST2. A group’s gid or gname may only be specified one time by GID or GNAME onthe POSIXGLIST statements in a user entry or a profile; that is, duplicate gidsor gnames are not permitted.3. DIRECTXA does not check for duplicate groups across the GIDS-GNAMESlists.4. The user’s primary group defined by a POSIXINFO statement may be listed ona POSIXGLIST statement, but it is not required to be listed. A user isautomatically considered a member of his/her primary group.5. If there is more than one group defined with the same GID, <strong>and</strong> the user is amember of any of these groups, then it is recommended that group names beused to list these groups on POSIXGLIST in order to avoid an ambiguousspecification.6. The user’s supplementary GID list consists of up to 32 unique GIDs. Theprimary GID (from the POSIXINFO statement) is always included in the initiallist. The remainder are taken from the POSIXGLIST statement(s) in the order inwhich they were specified.Examples1. To define user ID rick to be a member of POSIX groups <strong>VM</strong>CMS, <strong>VM</strong>CFT <strong>and</strong><strong>VM</strong><strong>CP</strong>, code following POSIXGLIST statement:GlobaldefsPosixGroup <strong>VM</strong>CFT 100PosixGroup <strong>VM</strong>CMS 200PosixGroup <strong>VM</strong><strong>CP</strong> 300:User rick ...PosixGList gids 200 gnames <strong>VM</strong>CFT <strong>VM</strong><strong>CP</strong>542 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


POSIXGROUPPOSIXGROUP Directory Control Statement (Control)►► POSIXGROUP gname gid ►◄PurposeThe POSIXGROUP statement defines the group name <strong>and</strong> group ID (GID) for aPOSIX group.How to SpecifyWhen a POSIXGROUP statement is specified, it must be within the global definitionsection of the source directory (after the GLOBALDEFS directory control statement<strong>and</strong> before any USER or PROFILE definitions). There are no restrictions on thenumber of POSIXGROUP statements that may be specified. Note that someoper<strong>and</strong>s on this statement are case sensitive, so care should be taken to preservethe case of them when editing the user directory file.Oper<strong>and</strong>sgnamespecifies a unique 1- to 8-character mixed-case POSIX group name. The singleor double quotation mark is invalid in this oper<strong>and</strong>. The case of this oper<strong>and</strong> ispreserved; it is not converted to upper case by DIRECTXA. Any group namespecified on other directory control statements that refer to this group mustmatch this group’s name exactly.gidThe group name DEFAULT identifies the default group <strong>and</strong> is reserved byDIRECTXA; it may not be specified on a POSIXGROUP statement. DIRECTXAimplicitly defines a default group with a name of DEFAULT <strong>and</strong> a GID of4294967295 (X'FFFFFFFF'). This name or GID may be specified onPOSIXINFO <strong>and</strong> POSIXGLIST statements to identify the default group.specifies the POSIX group ID (GID) associated with gname. The gid is anumeric value from 0 to 4294967295 (X'FFFFFFFF').UsageNotes1. If your installation has installed an External Security Manager (ESM), theinformation specified on this directory control statement may be overridden byinformation provided by the ESM. Consult your ESM documentation for moreinformation.2. Duplicate group names are not permitted, but multiple groups may have thesame GID. If you define multiple groups with the same GID, do so with caution,because GIDs are used for various authority checks. Also, certain queries thatrequire a GID as input may return information about a group other than theintended one.3. It is permitted to define a group with no members. That is, a POSIXGROUPstatement may define a group that no users identify as one of which they are amember.Chapter 17. Creating <strong>and</strong> Updating a User Directory 543


POSIXGROUPExamples1. To define a POSIX group named <strong>VM</strong>cp <strong>and</strong> with a GID of 200, code thefollowing POSIXGROUP statement:GlobaldefsPosixGroup <strong>VM</strong>cp 200544 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


POSIXINFOPOSIXINFO Directory Control Statement (General)►►POSIXINFO(1)UID uid GID gidGNAME gnameIWDIR string IUPGM string►►FSROOTstring►◄Notes:1 You must specify at least one of the following oper<strong>and</strong>s. If you want to specify more than oneoper<strong>and</strong>, you can specify them in any order.PurposeThe POSIXINFO statement specifies a user ID’s POSIX information. It containsPOSIX user database information such as POSIX user ID (UID), POSIX group ID(GID) or group name, initial working directory, initial user program <strong>and</strong> file systemroot.How to SpecifyIf you specify the POSIXINFO statement, it must precede any device statementsyou specify in a profile or user entry. (For a list of device statements, see Table 20on page 448.)Multiple POSIXINFO statements are allowed within a user or profile entry. Eachoper<strong>and</strong> may only be specified once within a user or profile entry. POSIXINFOvalues within a user entry override those in a profile entry.The POSIXINFO statement may be continued across multiple records in the sourcedirectory file. For detailed information about continued statement rules, see“Continued Directory Control Statements” on page 452. Note that some oper<strong>and</strong>son this statement are case sensitive, so care should be taken to preserve the caseof them when editing the user directory file.Oper<strong>and</strong>sUID uidspecifies the POSIX user ID (UID) assigned to this user. This will be the user’sreal UID, effective UID <strong>and</strong> saved set-UID when the user logs on. Care shouldbe taken in assigning zero as the UID, because UID zero is considered todenote appropriate privileges. A user with appropriate privileges can performmany authorized POSIX functions <strong>and</strong> will pass many security checks. The uidis a numeric value between 0 <strong>and</strong> ’4294967295 (X'FFFFFFFF'). A default valueof 4294967295 (X'FFFFFFFF') is assigned if there is no UID specification for auser.GID gidGNAME gnamespecifies the user’s primary group. The gid is a numeric value between 0 <strong>and</strong>4294967295 (X'FFFFFFFF'). The gname is a 1- to 8-character mixed-caseChapter 17. Creating <strong>and</strong> Updating a User Directory 545


POSIXINFOUsageNotesPOSIX group name. The single or double quotation mark is invalid in thegname. The case of the group name is preserved; it is not converted to uppercase by DIRECTXA. It must match exactly the group name on a POSIXGROUPstatement or the default group name implicitly defined by DIRECTXA. The gidor gname must identify a group defined on a POSIXGROUP directory controlstatement or the default group name implicitly defined by DIRECTXA. The GIDfor this group will be the user’s real GID, effective GID <strong>and</strong> saved-set GID whenthe user logs on.You may specify the group by either GID or GNAME, but not both. If GNAME isspecified, the user’s primary GID is obtained from the POSIXGROUP statementdefining the group with name gname. If GID is specified, the user’s primarygroup name is obtained from a POSIXGROUP statement defining a group withGID gid. If there is more than one group with this GID, then one of them ischosen as the user’s primary group; it is unpredictable which one is chosen.If there is no GID or GNAME specification for a user, the user’s primary groupis the default group, named DEFAULT with GID 4294967295 (X'FFFFFFFF').IWDIR stringspecifies the user’s initial working directory. Its rules for specification aredescribed below.IUPGM stringspecifies the user’s initial user program. Its rules for specification are describedbelow.FSROOT stringspecifies the user’s file system root. Its rules for specification are describedbelow.The string specifying an IWDIR, IUPGM or FSROOT results in a mixed-case 1- to1023-character string which may contain blanks, single quotation marks, doublequotation marks <strong>and</strong> other special characters. The string begins with the firstnon-blank character following its keyword <strong>and</strong> may be continued on multipledirectory records. If you do not want imbedded blanks or quotation marks in theresult, <strong>and</strong> string fits on a single directory record, you may specify string as a singleblank-delimited token. Otherwise, it must be specified as a quoted string oper<strong>and</strong>.See “Quoted String Oper<strong>and</strong>s” on page 452 for detailed information on how tospecify these oper<strong>and</strong>s.1. If your installation has installed an External Security Manager (ESM), theinformation specified on this directory control statement may be overridden byinformation provided by the ESM. Consult your ESM documentation for moreinformation.2. UIDs are not required to be unique. The same value can be assigned tomultiple users, but this is not recommended. If you define multiple users withthe same UID, do so with caution, because UIDs are used for various authoritychecks <strong>and</strong> individual user control <strong>and</strong> accountability will be lost.3. POSIXINFO statements are permitted in profile entries, but specifying the UID ina profile entry is not recommended, because it is likely to result in many userswith the same UID. Since UIDs are used to identify individuals for the purposesof authorization <strong>and</strong> permission checking, extreme care should be used whenassigning UIDs via a profile entry. Similar consideration should be given toassigning GID/GNAME with a profile entry.546 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


POSIXINFO4. POSIX user names, sometimes referred to as login names, are defined to bethe lower case version of the user’s <strong>VM</strong> user ID.Examples1. To define a userid CLYDE with 100 as UID, 200 as primary GID, /home/clyde asinitial working directory, pxshell as initial user program, <strong>and</strong>/../<strong>VM</strong>BFS:<strong>VM</strong>SYS:ROOT/ as the file system root, code the following directorystatements:GlobaldefsPosixGroup <strong>VM</strong>cp 200:User clyde ...PosixInfo uid 100 gid 200 iwdir /home/clyde ,iupgm pxshellPosixInfo fsroot /../<strong>VM</strong>BFS:<strong>VM</strong>SYS:ROOT/2. Assume you have several virtual machines, among them are SUE <strong>and</strong> DAMIAN,that have the same initial user program pxshell, <strong>and</strong> /../<strong>VM</strong>BFS:<strong>VM</strong>SYS:ROOT/as the file system root. SUE’s UID is 200, primary group has an ID of 101, <strong>and</strong>initial working directory /home/sue. DAMIAN’s UID is 100, primary group isnamed <strong>VM</strong>cp, <strong>and</strong> initial working directory /home/damian. Code the followingdirectory statements:GlobaldefsPosixGroup <strong>VM</strong>cms 100PosixGroup <strong>VM</strong>cp 200:Profile posixdefPosixInfo iwdir /home iupgm pxshell fsroot /../<strong>VM</strong>BFS:<strong>VM</strong>SYS:ROOT/:User sue ...Include posixdefPosixInfo uid 200 gid 100 iwdir /home/sue:User damian ...Include posixdefPosixInfo uid 101 gname <strong>VM</strong>cp iwdir /home/damianChapter 17. Creating <strong>and</strong> Updating a User Directory 547


POSIXOPTPOSIXOPT Directory Control Statement (General)►►POSIXOPT(1)SETIDSSETIDSDISALLOWALLOWQUERYDBQUERYDBSYSDEFAULTDISALLOWALLOWEXEC_SETIDSEXEC_SETIDSSYSDEFAULTDISALLOWALLOW►◄Notes:1 You must specify at least one of the following oper<strong>and</strong>s. If you want to specify more than oneoper<strong>and</strong>, you can specify them in any order.PurposeThe POSIXOPT statement specifies option settings related to a user ID’s POSIXcapabilities. It includes authorization to query <strong>and</strong> set POSIX process <strong>and</strong> databaseinformation.How to SpecifyIf you specify the POSIXOPT statement, it must precede any device statements youspecify in a profile or user entry. (For a list of device statements, see Table 20 onpage 448.)Multiple POSIXOPT statements are allowed within a user or profile entry. Eachoper<strong>and</strong> may only be specified once within a user or profile entry. POSIXOPTvalues within a user entry override those in a profile entry.The POSIXOPT statement may be continued across multiple records in the sourcedirectory file. For detailed information about continued statement rules, see“Continued Directory Control Statements” on page 452.Oper<strong>and</strong>sSETIDSspecifies whether the user is authorized to set other users’ POSIX UIDs orGIDs.DISALLOW(the default) specifies the user is not allowed to set other users’ POSIXsecurity values.ALLOWspecifies the user is allowed to set other users’ POSIX security values onbehalf of <strong>CP</strong> exec() processing. The users whose IDs are to be set musthave POSIXOPT EXEC_SETIDS ALLOW specified in their user entry. Youshould generally specify this option (SETIDS ALLOW) only for POSIX bytefile system (BFS) servers.QUERYDBspecifies whether the user is authorized to query other users’ POSIX databaseinformation.SYSDEFAULT(the default) specifies the system default authorization for querying POSIXdatabase information.548 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


POSIXOPTUsageNotesThe system default authorization (SYSDEFAULT) is set up by theUSER_DEFAULTS system configuration file statement. See“USER_DEFAULTS System Configuration File Statement” on page 248 fordetails. If the QUERYDB option is specified, it will override the systemdefault. If it is not specified, then the system default applies.DISALLOWspecifies the user is not allowed to query other users’ POSIX databaseinformation.ALLOWspecifies the user is allowed to query other users’ POSIX databaseinformation.EXEC_SETIDSspecifies whether the user is authorized to have his POSIX security valueschanged on behalf of a POSIX exec() function call designating a file with thesetuid or setgid attributes. The byte file system server must have POSIXOPTSETIDS ALLOW specified in its user entry.SYSDEFAULT(the default) specifies the system default for having a user’s POSIX securityvalues changed by other users.The system default authorization (SYSDEFAULT) is set up by theUSER_DEFAULTS system configuration file statement. See“USER_DEFAULTS System Configuration File Statement” on page 248 fordetails. If the EXEC_SETIDS option is specified in the directory, it willoverride the system default. If it is not specified, then the system defaultapplies.DISALLOWspecifies the user is prohibited from having his POSIX security valueschanged on behalf of <strong>CP</strong> exec() processing.ALLOWspecifies the user is permitted to have his POSIX security values changedon behalf of <strong>CP</strong> exec() processing.1. If your installation has installed an External Security Manager (ESM), theinformation specified on this directory control statement may be overridden byinformation provided by the ESM. Consult your ESM documentation for moreinformation.2. If a user has EXEC_SETIDS DISALLOW specified, then any requests to changethis user’s POSIX security values on behalf of <strong>CP</strong> exec() processing will berejected even if the requestor is authorized to change POSIX security values.ExamplesThe following examples show various ways of specifying the POSIXOPT statement.Note that you can specify more than one oper<strong>and</strong> on a single POSIXOPTstatement.1. To specify that:v A user can set any other users’ POSIX security valuesv The user can query any other users’ database informationv The user prohibits having his POSIX security values changed by other userson behalf of <strong>CP</strong> exec() processing.Chapter 17. Creating <strong>and</strong> Updating a User Directory 549


POSIXOPTuse the following POSIXOPT statement in the user’s directory entry:PosixOpt SetIds allow QueryDb allow Exec_Setids disallow2. To specify that:v The user cannot set other users’ POSIX security valuesv The user can not query other users’ database informationv The user takes the system default for the Exec_Setids optionuse the following POSIXOPT statement in the user’s directory entry:PosixOpt QueryDb disallow550 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


PROFILEPROFILE Directory Control Statement (Control)►► Profile name ►◄PurposeA PROFILE statement defines the start of a profile entry in the source directory.How to SpecifyWhen PROFILE is specified, all profile entry definitions must follow the lastDIRECTORY statement <strong>and</strong> the global definition section <strong>and</strong> precede the firstUSER statement. There are no restrictions on the number of profile entries that maybe specified.PROFILE statements are not allowed within a profile entry.Directory profiles are implemented by defining a profile entry in the source directory<strong>and</strong> specifying an INCLUDE statement in the user entries that refer to the profile.(For more information on the INCLUDE statement, see page 487).Oper<strong>and</strong>snamespecifies the name assigned to the profile entry <strong>and</strong> is used to reference theprofile. The variable name is an alphanumeric string of up to 8 characters. Avalid character is any character that can be used in a user ID name. Only oneprofile name may be specified on a PROFILE statement.UsageNotesProfile entries represent defaults to be set if not specified in the including userdefinition.Basically, when these directory control statements are used in a profile definition,they perform the same function as they do when used in a user definition. However,they may operate slightly differently when used in both the profile <strong>and</strong> userdefinitions.1. The following control statement types, when placed in the user definition,completely supersede their profile counterparts:ACCOUNTACIGROUPAUTOLOGCLASSCONSOLED8ONECMDIPLMACHINEPOSIXGLISTSHARESPOOLFILESTDEVOPTXAUTOLOGXSTORE2. Area oper<strong>and</strong>s of the SCREEN statements in the user definition supersede theirprofile counterparts. This relationship also holds true when the user definitionredefines a superset or subset of those areas defined by the profile.Chapter 17. Creating <strong>and</strong> Updating a User Directory 551


PROFILE3. STDEVOPT, POSIXINFO, <strong>and</strong> POSIXOPT statement oper<strong>and</strong>s explicitly codedin a user entry supersede their profile counterparts. However, these statements’oper<strong>and</strong>s explicitly coded in a profile supersede uncoded defaults in a userentry.4. When <strong>CP</strong>U statements are placed in the user definition, they supersede theirprofile counterparts where the <strong>CP</strong>U number is the same; where the <strong>CP</strong>Unumbers are different, however, the definitions are simply appended. The orderof concatenation is user entries followed by profile entries.5. The XCONFIG statement, when placed in the user definition, supersedes itsprofile counterpart where the first (major) oper<strong>and</strong> is the same; where the firstoper<strong>and</strong>s are different, the definitions are combined.6. When the following control statement types are used in a profile definition, theyare processed exactly as if they were multiple occurrences of the statementtypes within the including user definition. (See Usage Note 4.)APP<strong>CP</strong>ASS IUCV NAMESAVE NOPDATA OPTION7. When the following control statement types are used in a profile definition, theyare processed as normal except that duplicate definition of an address in theprofile definition causes a duplication error. However, duplication of an addressused in the including user definition simply creates another device definition tobe resolved at logon time. That is, at logon, the including user’s device definitionfor the duplicated address will be processed first; if this definition fails, theprofile device definition for the duplicated address will be attempted.CONSOLE DASDOPT DEDICATE LINK SPECIALSPOOL8. The following control statements are not allowed in a profile definition:DIRECTORY GLOBALDEFS GLOBALOPTS INCLUDE LOADMDISK MINIOPT POOL POSIXGROUP PROFILEUSER9. A profile entry begins with a PROFILE statement <strong>and</strong> ends with the nextPROFILE statement or the first USER statement.ExamplesFor this example, assume you have several virtual machines that are CMS users<strong>and</strong> that are also in a ACIGROUP called GROUP1. JOHN1 is a user in this group.Follow the directory statement by the following profile:Directory vdev devtype volidProfile grp1userAciGroup group1Ipl cms: ← other control statements common to this groupUser john1 ... ← USER statement oper<strong>and</strong>s for this userInclude grp1user: ← control statements unique to this userLink jack 495 495 rr ← for example, a link that this user needs: but other users in this group do not needUser ...:552 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SCREENSCREEN Directory Control Statement (General)►► SCReen area ▼ (1) DEFault NONEcolor hilight►◄Notes:1 You must specify at least one of the oper<strong>and</strong>s. If you want to specify more than one, you canspecify them in any order.PurposeSCREEN statements in a virtual machine’s directory entry define the extended color<strong>and</strong> extended highlighting options for the virtual machine console.How to SpecifyYou may include as many SCREEN statements as you need to define any areas ofthe screen you want, but the SCREEN statements must be contiguous. If used,SCREEN statements must follow the USER statement <strong>and</strong> precede the first devicestatement. (For a list of device statements, see Table 20 on page 448.)Any number of SCREEN statements are allowed within a profile, <strong>and</strong> are added toany SCREEN statements in the user directory entry. Duplicate area specificationswithin a profile are not allowed. The user entry overrides a profile entry for anyuser-to-profile duplicate are a specification. This relationship also holds true whenthe user definition redefines a superset or subset of those areas defined by theincluded profile.Oper<strong>and</strong>sareais the area of the screen. Area can be:ALL designating the entire screen. If this area is specified, none of the followingareas can be used.INArea the input areaSTAtarea the system status areaOUTarea the output areas. If this area is specified, none of the following areas canbe used.<strong>CP</strong>Out the output from <strong>CP</strong><strong>VM</strong>Out the output from CMS or the virtual machine operating system running in theuser’s virtual machineINRedisp the input redisplaycoloris the color attribute to be assigned to an area of the screen. Color can be:BLUe GREen PINk REDTURquois WHIte YELlow DEFault (green <strong>and</strong> white)hilightis the extended highlight value to be assigned to an area of a screen. TheChapter 17. Creating <strong>and</strong> Updating a User Directory 553


SCREENhilight value can be:BLInkblinkingNONe (the default) no extended highlightingREVvideo reverse videoUNDerlin underliningUsageNotes1. A default value of NONE is applied for any unspecified extended highlightattribute. DEFAULT is used for any unspecified extended color attribute. TheDEFAULT color is monochrome (green <strong>and</strong> white).2. If the ALL oper<strong>and</strong> is used, it must be the only oper<strong>and</strong> specified on the onlySCREEN statement for the user.3. If the OUTAREA oper<strong>and</strong> is used, <strong>CP</strong>OUT, <strong>VM</strong>OUT, or INREDISP cannot bespecified. If <strong>CP</strong>OUT, <strong>VM</strong>OUT, or INREDISP is specified, the OUTAREA oper<strong>and</strong>cannot be specified.4. No SCREEN statement oper<strong>and</strong>s can appear more than once in a user’sdirectory entry.ExamplesTo define the screen output area of a user’s virtual console as red <strong>and</strong> blinking, <strong>and</strong>the input area yellow <strong>and</strong> reverse video, use the following SCREEN statement inthe virtual machine’s directory entry:SCReen OutArea red blink InArea RevVideo yellow554 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SHARESHARE Directory Control Statement (General)►► SHARE ABSolute y%RELative zNOLimitLIMITSoftLIMITHardLIMITSoftABSolute a%RELative b LIMITHard►◄PurposeThe SHARE statement specifies a virtual machine’s share of <strong>CP</strong>U power.How to SpecifyIf you specify the SHARE statement, it must precede any device statements youspecify in a user’s directory entry. (For a list of device statements, see Table 20 onpage 448.)You can specify only one value (ABSOLUTE or RELATIVE) per statement. MultipleSHARE statements for a user entry are allowed but not recommended. If multipleSHARE statements are found in a user entry, only the last one is used.Multiple SHARE statements are allowed within a profile, but are only used if noSHARE statements are in the user directory entry. If multiple SHARE statementsare in an included profile, only the last one is used.If you specify more than five tokens, DIRECTXA ignores the extra tokens <strong>and</strong>system processing continues as if you had not specified the extra tokens.Oper<strong>and</strong>sABSolute y%specifies absolute share of the all active processors in a system. The variable yis a decimal real number—no or one decimal place—from 0.1 to 100 (forexample, 20.5%, or 80%).RELative zspecifies a relative share of the system. The variable z is a decimal integerbetween 1 <strong>and</strong> 10000.ABSolute a%specifies a user’s maximum absolute share of the all active processors in asystem. The variable a is a decimal real number—no or one decimalplace—from 0.1 to 100 (for example, 20.5%, or 80%). If ABSOLUTE y% wasspecified, y must be less than or equal to a.RELative bspecifies a user’s maximum relative share of the system. The variable b is adecimal integer between 1 <strong>and</strong> 10000. If RELATIVE z was specified, z must beless than or equal to b.NOLimitspecifies that a user’s share of processing resource is not limited.Chapter 17. Creating <strong>and</strong> Updating a User Directory 555


SHAREUsageNotesLIMITSoftspecifies that a user’s share of processing resource is limited. However, thereare times when LIMITSOFT users will receive more than their limit. This occurswhen some users are not using all of their shares (for example, they are waitingfor I/O to complete), <strong>and</strong> there are no NOLIMIT users nor users who have notyet reached their limit <strong>and</strong> can use additional processing resource. If amaximum share is not specified, the minimum share is also the maximum.LIMITHardspecifies that a user’s share of processing resource is limited. WhenLIMITHARD is specified, a user will not receive more than its maximum shareof the processing resource. If a maximum share is not specified, the minimumshare is also the maximum.1. If you do not specify a SHARE statement for a virtual machine, <strong>CP</strong> assigns thatvirtual machine a relative share of 100.2. For more information on scheduler shares, see the z/<strong>VM</strong>: Performance book.3. If a limit is specified without a maximum share being specified, the user’sminimum share is also its maximum share.Examples1. To assign a minimum absolute share of 50%, use the following SHAREstatement in the virtual machine’s directory entry:Share Absolute 50%2. To assign a minimum relative share of 200, use the following SHARE statementin the virtual machine’s directory entry:Share Relative 2003. To assign a minimum absolute share of 50% <strong>and</strong> a maximum absolute share of60%, use the following SHARE statement in the virtual machine’s directoryentry:Share ABSOLUTE 50% ABSOLUTE 60%4. To assign a minimum relative share of 100 <strong>and</strong> a maximum absolute share of75%, where the maximum share is a hard limit, use the following SHAREstatement in the virtual machine’s directory entry:Share RELATIVE 100 ABSOLUTE 75% LIMITHARD556 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SPECIALSPECIAL Directory Control Statement (Device)►► SPEcial vdev 3270Ibm►◄2701 Tele27022703CTCA3088 useridSCTC *BCTCCNCFCTCMSGProc msgprocidHIPERsQDIOdevsdevsnownerid*lannameownerid lanname*SYSTEM switchnmPurposeThe SPECIAL statement defines special virtual devices, which are fully simulated by<strong>CP</strong> <strong>and</strong> not connected with real devices at definition time. Some SPECIAL devicesmay be connected with a real device during normal operation. Refer to the DIALcomm<strong>and</strong> for 3270 <strong>and</strong> communication lines <strong>and</strong> to the COUPLE comm<strong>and</strong> forCTCA <strong>and</strong> 3088 devices. Refer to z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference fordetails.Use SPECIAL HIPER to create a virtual HiperSockets adapter in the virtualmachine, <strong>and</strong> (optionally) connect it to a <strong>VM</strong> LAN segment. During LOGONprocessing, this statement is equivalent to a DEFINE NIC comm<strong>and</strong> followed by aCOUPLE comm<strong>and</strong>.How to SpecifyIf you specify the SPECIAL statement, it must follow any general statements youspecify in a user’s directory entry. (For a list of general statements, see Table 20 onpage 448.)SPECIAL statements are allowed within a profile entry if no duplicate virtual devicenumbers are in the profile. Any virtual device number in a profile that duplicates avirtual device number in a user entry is resolved at logon time, with the userSPECIAL request presented to the system first.Oper<strong>and</strong>svdevFor most SPECIAL devices, this is the virtual device address of the device toChapter 17. Creating <strong>and</strong> Updating a User Directory 557


SPECIALbe defined. For a MSGPROC , HIPERS, or QDIO device, this represents thebase (or first) device address in a series of virtual I/O devices that belong to thesame unit.A simulated adapter can also be created using the NICDEF directory statement.The NICDEF statement allows additional configuration options not available onthe SPECIAL statement.3270is the value for a virtual 3270 display device.CTCA3088SCTCBCTCCNCFCTCspecifies a CTCA, 3088, SCTC, BCTC, CNC or FCTC for a virtual 3088Multisystem Channel Communication Unit logical channel adapter. You mayalso specify:useridis the user ID of a virtual machine allowed to connect to this virtual CTCA,3088, SCTC, BCTC, CNC or FCTC using the <strong>CP</strong> COUPLE comm<strong>and</strong>. Formore information about the <strong>CP</strong> COUPLE comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.* tells <strong>CP</strong> that a <strong>CP</strong> COUPLE comm<strong>and</strong> is to be allowed only from anothervirtual CTCA, 3088, SCTC, BCTC, CNC, or FCTC owned by the samevirtual machine that owns the CTCA or 3088 defined by this SPECIALstatement.If you do not specify a user ID or an asterisk (*), a virtual machine with anyuser ID can connect to this virtual CTCA.270127022703is the value for a communication line. This value is optional <strong>and</strong> used forcompatibility only.Ibmis the virtual device type of the line you are defining. This is a 2741, 3767, orequivalent device. This is the default if it is used with the 270x oper<strong>and</strong>.Teleis the virtual device type of the line you are defining. This is a 3101, 3151,3161, 3162, 3163, or equivalent device.MSGProc msgprocid nrestricts <strong>and</strong> defines a virtual message processor <strong>and</strong> associated messagedevices in the virtual I/O configuration. It creates a message facility environmentfor the user <strong>and</strong> establishes a connection to the specified Coupling Facility (CF)Service Machine supplying the message processor function.If this is being used to define a CFLINK, then n must be between 2 <strong>and</strong> 8; thedefault is 2. If this is being used to define a MSGPROC, then n must be aneven number between 4 <strong>and</strong> 16; the default is 4. However, if the MSGPROC isnot in z/Architecture mode, then the default value (2 or 4, as appropriate) istaken for n, no matter what is specified.558 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SPECIALDefining a message processor by the SPECIAL MSGPROC directory statementallows the system administrator to restrict the message processors a user isallowed to define with the DEFINE MSGPROC comm<strong>and</strong>. Once a SPECIALMSGPROC directory statement is specified in the user’s directory entry, theuser may only define message processors specified by SPECIAL MSGPROCstatements.The virtual message processor will only be defined if the following conditionsexist:v OPTION CFUSER is specified in the directory entry for this userv the vdev specified is the first of four available consecutive device numbers inthe users virtual configurationv the specified CF Service Machine user ID is running prior to the logging on ofthis virtual machine.Note: If the above conditions are not met, but OPTION CFUSER was specifiedin the user directory, the user will have to define the message processorwith the DEFINE MSGPROC comm<strong>and</strong> after logging on. Since theSPECIAL statement was specified, the user will still be restricted to onlydefining the message processors specified in his directory.HIPERsindicates that a simulated HiperSockets adapter should be created based onthis statement. A simulated Network Interface Card (NIC) is defined duringLOGON with devs devices (beginning with the base, vdev). If a <strong>VM</strong> LAN isidentified, the NIC is automatically coupled to ownerid lanname.QDIOindicates that a simulated QDIO adapter should be created based on thisstatement. A simulated Network Interface Card (NIC) is defined during LOGONwith devs devices (beginning with the base device, vdev). If a <strong>VM</strong> LAN orVirtual Switch is identified, the NIC is automatically coupled to the specifiedlanname or switchnm.devsis the number (decimal) of virtual I/O devices to be created for a simulatedNetwork Interface Card (NIC). This number is evaluated during LOGONprocessing. For a simulated HiperSockets adapter, devs must be a decimalvalue between 3 <strong>and</strong> 3,072 (inclusive). For a simulated QDIO adapter, devsmust be a decimal value between 3 <strong>and</strong> 240 (inclusive). The default for eitherHIPERS or QDIO is three (3) devices.ownerid|* lannameidentifies a <strong>VM</strong> LAN segment for an immediate connection to the NetworkInterface Card (NIC). When ownerid <strong>and</strong> lanname are omitted, the simulatedadapter is left in the default (uncoupled) state. When ownerid <strong>and</strong> lanname arespecified, the simulated adapter is automatically connected to the designated<strong>VM</strong> LAN. Note that ownerid may be specified as asterisk (*) to represent theuser ID of the current virtual machine.SYSTEM switchnmidentifies a Virtual Switch for an immediate connection to the Network InterfaceCard (NIC). When SYSTEM switchnm is omitted, the simulated adapter is left inthe default (uncoupled) state. When SYSTEM switchnm is specified, thesimulated adapter is automatically connected to the designated Virtual Switch.Chapter 17. Creating <strong>and</strong> Updating a User Directory 559


SPECIALUsage NotesExamples1. When a simulated NIC is defined (HIPERS or QDIO device types), theSPECIAL statement results in the creation of a series of I/O devices. The basedevice is validated by directory processing, but the remaining devices in therange are validated during LOGON processing. If another device is found in therange established by vdev <strong>and</strong> devs, the simulated NIC cannot be created.2. It is possible to define a simulated HiperSockets NIC or QDIO NIC that will beautomatically coupled to a <strong>VM</strong> LAN (designated by ownerid lanname) or todefine a simulated QDIO NIC that will be automatically coupled to a VirtualSwitch (designated by SYSTEM switchnm). However, if the designated <strong>VM</strong> LANor Virtual Switch is not available when this user signs on, the COUPLE cannotbe performed. To make effective use of this feature, you should consider addinga DEFINE LAN or DEFINE VSWITCH statement in the SYSTEM CONFIG file tocreate the target <strong>VM</strong> LAN or Virtual Switch during system initialization.3. The virtual channel-to-channel adapter defined will be equivalent to aSystem/370 CTCA designed after 1 January 1981. To determine which I/Ocomm<strong>and</strong>s a CTCA supports, refer to the S/360 S/370 Channel-To-ChannelAdapter book.4. When SPECIAL MSGP is processed, if the creation of the CFLINK is delayed(in case the target was not logged on yet or not ready to be the receiver of aCFLINK), the following message is displayed:H<strong>CP</strong>2821I SPECIAL MSGP processing was deferredEach time a coupling facility virtual machine (CF<strong>VM</strong>) finishes logging on, theexisting CF<strong>VM</strong>s reevaluate their SPECIAL MSGPs to determine if any willnominate the new CF<strong>VM</strong>. Then each SPECIAL MSGP that matched is h<strong>and</strong>led.5. The SPECIAL HIPER statement generates multiple virtual I/O devices. If anyother device exists in the range required for the vdev plus devs (minus 1), theHiperSockets adapter cannot be created.1. Define a simulated QDIO adapter using I/O devices 0500–0507 (eight devices)which will be coupled to the SYSTEM-owned INEWS LAN during LOGONprocessing:SPECIAL 500 QDIO 8 SYSTEM INEWS2. Define a simulated HiperSockets adapter using I/O devices FD20–FD2F (16devices) which will be coupled to the user’s own HSTEST LAN during LOGONprocessing:SPECIAL FD20 HIPERS 16 * HSTESTNote that this adapter cannot couple to the designated LAN during LOGONunless it has been defined earlier. This can be accomplished by adding thenecessary DEFINE LAN statement to the SYSTEM CONFIG file.3. To define a CTCA at virtual device number 2FF that may be coupled byLINKMAN, specify one of the following SPECIAL statements in the virtualmachine’s directory entry:Special 2ff Ctca linkmanSpecial 2ff 3088 linkman4. To define a 3088 at virtual device number 3F0 that may be coupled to by anyvirtual machine, specify one of the following SPECIAL statements in the virtualmachine’s directory entry:Special 3f0 3088Special 3f0 Ctca560 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SPECIAL5. To define virtual 3270 display devices at virtual device numbers 101, 102, <strong>and</strong>103, specify the following SPECIAL statements in the virtual machine’s directoryentry:Special 101 3270Special 102 3270Special 103 32706. To define a virtual communication line at virtual device numbers 301, 302, <strong>and</strong>303, specify the following SPECIAL statements in the virtual machine’s directoryentry:Special 301 2702 IbmSpecial 302 2702Special 303 IbmNote: Although the statements differ in content, they all define the same type ofline at their respective device numbers.7. To define a virtual HiperSockets adapter with I/O devices 0500–0507 (eightdevices) <strong>and</strong> connect it to the system-owned LAN named INEWS duringLOGON processing, specify the following SPECIAL statement in the virtualmachine’s directory entry:Special 500 hiper 8 system inewsChapter 17. Creating <strong>and</strong> Updating a User Directory 561


SPOOLSPOOL Directory Control Statement (Device)►► Spool vdev devtype(1)A 0F 22 4WCGM CFS NODATCKclass(1) 0F 22 4WCGM CFS NODATCKwidthlength4WCGM CFS NODATCK2WCGM BTS DATCK►◄Notes:1 The following variables are only recognized for a 3800 printer.PurposeThe SPOOL statement defines virtual unit record devices.How to SpecifyIf you specify the SPOOL statement, it must follow any general statements youspecify in a user’s directory entry. (For a list of general statements, see Table 20 onpage 448.)SPOOL statements are allowed within a profile entry if no duplicate virtual devicenumbers are in the profile. Any virtual device number in a profile that duplicates avirtual device number in a user entry is resolved at logon time, with the userSPOOL request presented to the system first.When processing the SPOOL statement, DIRECTXA checks for a maximum of eighttokens: virtual device number, device type, spooling class, width of the paper, lengthof the paper, number of writable characters, stacker type, <strong>and</strong> data check setting, inthat order. If you specify more than eight tokens, DIRECTXA ignores the extratokens <strong>and</strong> system processing continues as if you had not specified the extratokens.Oper<strong>and</strong>svdevis the virtual device number for the spooling device.devtypeis the device type. Valid device types are:1403 2540 Note 13800 Note 22501 3505 3800-1 Note 33203 3525 3800-3 Note 43211 4245 Printer Note 53262 4248 PRT Note 5PCH Note 6PUnch Note 6RDR Note 7Reader Note 7VAFP Note 8562 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SPOOLNotes:1. Specify 2540 for a reader or a punch.2. 3800 defaults to a 3800 Model 1 printer.3. Specify 3800-1 for a 3800 Model 1 printer.4. Specify 3800-3 for a 3800 Model 3 printer.5. Printer or PRT default to a 1403 printer.6. PCH or PUnch default to a 2540 punch.7. RDR or Reader default to a 2540 reader.8. Specify VAFP for a virtual advanced functional printer. For more information, see theDEFINE (Spooling Device) comm<strong>and</strong> in the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference.classis the spooling class. If omitted, A is used as a default. The variable class is a1-digit alphanumeric character from A to Z, from 0 to 9, or an asterisk (*). Areader is the only valid device that can use an asterisk (*).For spooled output devices, the class governs the punching or printing of thereal spooled output. For spooled input devices, the class controls access tospool files by virtual card readers.width lengthspecifies the physical characteristics of the paper to be loaded into the 3800printer. The variable width is the hexadecimal form width code of the paper, <strong>and</strong>length indicates the decimal length of the paper. Specify length as a decimalnumber using half-inches. If width <strong>and</strong> length are omitted, 14-7/8 x 11 inches isused as a default.The following table lists available form-width codes (values other than thoselisted below are rejected):Code Width in Inches Width in Millimeters01 6-1/2 16502 Reserved 18004 8-1/2 21506 9-1/2 23507 9-7/8 25008 10-5/8 27009 11 2800A 12 3050B Reserved 3220D 13-5/8 3400E 14-3/10 3630F 14-7/8 3782WCGM4WCGMspecifies the number of writable character generation modules (WCGM) for thevirtual 3800 printer. A WCGM is a 64-position portion of the 3800’s charactergeneration storage that holds the scan elements of one character set. A 3800-1can have either two or four WCGMs. A 3800-3 has four WCGMs. If omitted, thedefault is 4WCGM.BTSCFSspecifies the type of stacker for the virtual 3800 printer. You may specify eitherCFS (continuous forms stacker) or BTS (burster trimmer stacker). If omitted, thedefault is CFS.Chapter 17. Creating <strong>and</strong> Updating a User Directory 563


SPOOLDATCKNODATCKspecifies whether <strong>CP</strong> processes certain virtual 3800 data checks for the virtualmachine. If you specify DATCK, <strong>CP</strong> reflects all data checks to the virtualmachine (if the Block Data Check CCW is not issued). If you specifyNODATCK, only data checks due to invalid translate table specifications orunmatched FCB codes are reflected to the virtual machine. If omitted, thedefault is NODATCK.Note: Specifying DATCK severely increases the overhead associated withsimulation of Write <strong>and</strong> Skip CCWs to the virtual 3800. In general, thereflection of data checks due to overprinting <strong>and</strong> invalid EBCDIC codesis not necessary. Therefore, specify DATCK only when absolutelynecessary.Examples1. To define at 00C a spooled reader that can read any class of spool file, specifythe following SPOOL statement in the virtual machine’s directory entry:Spool 00c Reader *2. To define at 00D a spooled punch that creates only class P spool files, specifythe following SPOOL statement in the virtual machine’s directory entry:Spool 00d Punch p3. To define at 00E a spooled 1403 printer that processes class E spool files,specify the following SPOOL statement in the virtual machine’s directory entry:Spool 00e 1403 e4. To define at 00E a virtual 3800 printer with these characteristics:v Only class Z spool filesv 11 X 11 inch paperv Two WCGMsv The continuous forms stackerv No <strong>CP</strong> reflection of data checksspecify the following SPOOL statement in the virtual machine’s directory entry:Spool 00e 3800 z 09 22 2wcgm Cfs NoDatCk564 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SPOOLFILESPOOLFILE Directory Control Statement (General)►► SPOOLFile MAXSPOOL nnnn ►◄PurposeThe SPOOLFILE statement describes virtual machine spool file characteristics. Usethe MAXSPOOL nnnn oper<strong>and</strong> to specify the maximum number of spool filesallowed for a virtual machine.How to SpecifyOnly one SPOOLFILE statement is allowed per user. If you specify the SPOOLFILEstatement, it must precede any device statements specified in a user’s directoryentry <strong>and</strong> must follow the USER statement. (For a list of device statements, seeTable 20 on page 448.) If the SPOOLFILE statement is omitted, the defaultmaximum number of spool files is 9999.One SPOOLFILE statement is allowed within a profile, but is used only if noSPOOLFILE statements are in the user directory entry.When processing the SPOOLFILE statement, DIRECTXA checks for a maximum oftwo tokens: the MAXSPOOL keyword <strong>and</strong> the decimal number of spool files, in thatorder. If you specify more than two tokens, DIRECTXA ignores the extra tokens <strong>and</strong>system processing continues as if you had not specified the extra tokens.Oper<strong>and</strong>sMAXSPOOL nnnnspecifies the maximum number of spool files the user can have at one time.The variable nnnn is a decimal number from 1 to 9999. The spool file IDnumbers for this user will be in this range.UsageNotes1. If a virtual machine’s maximum is reset to a value below currently allocatedspool IDs, those files <strong>and</strong> spool IDs remain valid. No additional files will beallocated above the new maximum, <strong>and</strong> when an old file is deleted, that spoolID will no longer be available.2. The actual maximum number of spool files as defined in a shared CSE directoryis divided among the participating systems so that the total allowed on any onesystem may be far less than that specified by MAXSPOOL (see “Spool FileDirectory Statements” on page 341).The reason for this is that MAXSPOOL actually defines the highest spool ID thata virtual machine can have.ExamplesTo indicate that the virtual machine has a limit of 1000 spool files, specify thefollowing SPOOLFILE statement in the virtual machine’s directory entry:SpoolFile MaxSpool 1000Chapter 17. Creating <strong>and</strong> Updating a User Directory 565


STDEVOPTSTDEVOPT Directory Control Statement (General)►►STDEvopt(1)DASDSYSDASDSYSDASDSYSDASDSYSNOCONCOPYNODATAMOVERDATAMOVERCONCOPYLIBRARYLIBRARYNOCTLCTL►◄Notes:1 You must specify at least one of the oper<strong>and</strong>s. If you want to specify both, you can specify themin any order.PurposeThe STDEVOPT statement specifies the optional storage device managementfunctions available to a virtual machine.How to SpecifyIf you specify the STDEVOPT statement, it must precede any device statementsyou specify in the user entry or profile. (For a list of device statements, seeTable 20 on page 448.)Multiple STDEVOPT statements are allowed within a profile entry. Conflictingoper<strong>and</strong>s are flagged as errors.Oper<strong>and</strong>sDASDSYStells <strong>CP</strong> whether the virtual machine is authorized to control <strong>and</strong> processConcurrent Copy <strong>and</strong> peer-to-peer remote copy CCWs.NODATAMOVER(the default) tells <strong>CP</strong> that the virtual machine is not authorized forConcurrent Copy or peer-to-peer remote copy.NOCONCOPYsame as NODATAMOVER (left here to be compatible with previousreleases of <strong>VM</strong>).DATAMOVERtells <strong>CP</strong> that the virtual machine is authorized to issue Concurrent Copy <strong>and</strong>peer-to-peer remote copy CCWs.CONCOPYsame as DATAMOVER (left here to be compatible with previous releases of<strong>VM</strong>).LIBRARYtells <strong>CP</strong> whether the virtual machine is authorized to control a 3494 or 3495Tape Library Dataserver.NOCTL(the default) tells <strong>CP</strong> that the virtual machine is not authorized to control atape library.566 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


STDEVOPTUsageNotesCTLtells <strong>CP</strong> that the virtual machine is authorized to issue tape library controlcomm<strong>and</strong>s.1. The status of a storage device management function not explicitly specified inthe user entry defaults to nonauthorization (NODATAMOVER or NOCTL), unlessthe authorization (DATAMOVER or CTL) is defined in a profile. An authorizationor nonauthorization explicitly specified in the user entry supersedes theauthorization status defined in a profile.2. With LIBRARY CTL authorization, tape library control comm<strong>and</strong>s can be used toaccess any volume in the library. To ensure integrity of the volumes in thelibrary, LIBRARY CTL authorization should be granted only to virtual machinesthat control the mounting <strong>and</strong> demounting of volumes, such as a guest virtualmachine for an operating system, or a service virtual machine for a tape librarycontrol program that provides automated mounting <strong>and</strong> demounting functions.3. LIBRARY CTL should not be used to authorize a virtual machine to access aparticular tape library. LIBRARY CTL allows a virtual machine to issue tapelibrary comm<strong>and</strong>s to any tape device, regardless of the library in which thedevice resides.4. CONCOPY <strong>and</strong> NOCONCOPY are still accepted for compatibility reasons. Theyprovide the same authorization control as DATAMOVER <strong>and</strong> NODATAMOVER,respectively. That is, specifying CONCOPY will authorize a virtual machine forboth Concurrent Copy comm<strong>and</strong>s <strong>and</strong> peer-to-peer remote copy comm<strong>and</strong>s.Specifying NOCONCOPY will disallow all Concurrent Copy comm<strong>and</strong>s <strong>and</strong>peer-to-peer remote copy comm<strong>and</strong>s.5. Only one DASDSYS option (DATAMOVER, NODATAMOVER, CONCOPY,NOCONCOPY) is allowed in a user or profile directory. Specifying more thanone option will result in error message 776E being sent to the user console <strong>and</strong>the directory will not get updated.Examples1. To specify that a guest virtual machine can initiate <strong>and</strong> control Concurrent Copy<strong>and</strong> peer-to-peer remote copy, specify the following STDEVOPT statement inthe virtual machine’s directory entry:STDEvopt DASDSYS DATAMOVER2. To specify that a virtual machine can control a 3494 or 3495 Tape LibraryDataserver, specify the following STDEVOPT statement in the virtual machine’sdirectory entry:STDEvopt LIBRARY CTL3. To specify that a guest virtual machine can control Concurrent Copy sessions<strong>and</strong> peer-to-peer remote copy, <strong>and</strong> can control a tape library, specify thefollowing STDEVOPT statement in the virtual machine’s directory entry:STDEvopt LIBRARY CTL DASDSYS DATAMOVERChapter 17. Creating <strong>and</strong> Updating a User Directory 567


STORAGESTORAGE Directory Control Statement (General)►► STORAGE size ►◄PurposeThe STORAGE statement specifies the default virtual storage size for a user.How to SpecifyThe STORAGE statement, if used, must follow a USER statement <strong>and</strong> mustprecede any device statements. A STORAGE statement is allowed in a profile if theUSER statement default storage size field of each including virtual machine is eitheromitted or specified as an asterisk (*). A STORAGE statement in a user directoryentry overrides one in a profile.Oper<strong>and</strong>ssizeis the maximum storage size. specify it as nu, where n is a decimal number <strong>and</strong>u is the unit of measure:K kilobytes - 2¹⁰M megabytes - 2²⁰G gigabytes - 2³⁰T terabytes - 2⁴⁰P petabytes - 2⁵⁰E exabytes - 2⁶⁰UsageNotes1. A default storage setting on a USER statement override a STORAGE statementin a profile2. A STORAGE statement in a user’s directory entry overrides one in a profile.568 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSAFFINSYSAFFIN Directory Control Statement (Control)►► SYSaffin ▼ sysafnidnEXIST_ATLOGON_ATNOLOG_AT*►◄PurposeThe SYSAFFIN statement is an optional statement that can be used to define how<strong>and</strong> to which systems of a multisystem complex the subsequent statements apply.How to SpecifyA SYSAFFIN statement has two forms, prefix <strong>and</strong> internal. The prefix form is placedbefore user definitions to describe where or how the user is to be applied to thesystems of the complex. The internal form may be used to define which statementsapply to which systems in the complex. Only the internal form of the SYSAFFINstatement is allowed within a global or profile definition.Each SYSAFFIN prefix control statement applies only to the USER statement thatimmediately follows it.A SYSAFFIN internal control statement applies to the statements that immediatelyfollow it. It is active until the next SYSAFFIN prefix or internal control statement, oruntil the next PROFILE or USER statement, whichever comes first.Note: The system affinity ID, sysafnid, that is used in the following statements is a1- to 8-character alphanumeric value assigned to a system <strong>and</strong> used on aDIRECTORY statement in the beginning of the source directory. TheSYSAFFIN statement, <strong>and</strong> the control statements to which it applies, affectthe system identified by sysafnid.Oper<strong>and</strong>sEXIST_AT sysafnidnspecifies that the following user definition is to be compiled into the objectdirectory by the DIRECTXA utility only when running on a system with one ofthe system affinity IDs (sysafnidn) listed on the SYSAFFIN statement. WhenDIRECTXA is running on any other system, this user definition is not to becompiled into the object directory. This means that any resources owned by thisuser definition (for example, minidisks) do not appear in the object directory ofthe other systems <strong>and</strong>, therefore, cannot be linked to by users on thosesystems.LOGON_AT sysafnidnspecifies that the user directory entry is to be compiled into the objectdirectories of all systems, but the associated virtual machine is to operate (forexample, LOGON) only on specified systems. On any other system, the logonpassword is replaced with the keyword NOLOG. However, the virtual machineChapter 17. Creating <strong>and</strong> Updating a User Directory 569


SYSAFFINUsageNoteswith this user ID <strong>and</strong> all its resources, including minidisks, exist in the objectdirectories of the other systems <strong>and</strong> can be referenced by users on thosesystems.NOLOG_AT sysafnidnspecifies that the specified user directory entry is to be compiled into the objectdirectories of all systems, but the associated virtual machine is not to beoperable on the identified systems (sysafnidn). However, the virtual machine<strong>and</strong> all its resources, including minidisks, are to exist as directory entries in theobject directories of these systems <strong>and</strong> can be referred to by users on thosesystems.*sysafnidnis a 1- to 8-character alphanumeric string that identifies the system that thesubsequent control statements apply to. Valid sysafnidns are defined on theDIRECTORY Control Statement. * indicates that the subsequent controlstatements apply to all systems.1. The default system affinity for user definitions not otherwise prefixed by aSYSAFFIN control statement is LOGON_AT *. This means that the userdefinition is applied to <strong>and</strong> that the defined user can log on at all systems in thecomplex. The default system affinity for all other control statements is *,meaning that all subsequent control statements apply to all systems in thecomplex.2. In a system that uses the LOGON_AT or NOLOG_AT oper<strong>and</strong>s of theSYSAFFIN statement, the class B virtual machine that does the DIAGNOSEcode X'84' operations should have D84NOPAS specified on the OPTIONstatement.3. Except for the logon status of the virtual machine (as defined by the use of aSYSAFFIN prefix statement), the data on the USER statement is common to allsystems in the complex where the user is defined to exist.4. EXIST_AT should not be used for systems sharing spool files in a CSEcomplex.5. The internal form of the SYSAFFIN control statement may be used in userdefinitions, profile definitions, <strong>and</strong> the global definition section. These statementsdefine which portions of the various definitions apply to which systems in thecomplex.ExamplesIn the examples that follow, assume this multisystem complex definition:Directory 07a4 3380 vmaipl *01234-2064 vmaDirectory 0b64 3380 vmbipl 104567-2064 vmbDirectory 0cF4 3380 vmcipl *15211-2064 vmcDirectory 0664 3380 vmdipl *00012-2064 vmd1. The PROFILE DEPT1234 definition will be available on all systems. Profilescannot use the prefix form of the SYSAFFIN statement. They can, however, betailored using the internal form:Profile dept1234SysAffin vmaAccount 00000001 00000002SysAffin vmbAccount 00000003 00000004SysAffin *Link deptdb 100 100 rr570 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSAFFINLink deptdb 101 101 rrSysAffin vmaLink deptdb 200 200 rrSysAffin vmbLink deptdb 201 200 rr2. Defined below are users of DEPTDB with different system affinity situations.v This is the department database, with common disks 100 <strong>and</strong> 101 <strong>and</strong>unique disks 200 <strong>and</strong> 201, depending on whether the system is <strong>VM</strong>A or <strong>VM</strong>B:SysAffin Exist_At vma vmbUser deptdb ...Mdisk 100 ...Mdisk 101 ...SysAffin vmaMdisk 200 ...SysAffin vmbMdisk 201 ...v User TOM has access to all systems <strong>and</strong> through the INCLUDE statementhas access to the department database. Depending on whether he is loggedon to <strong>VM</strong>A or <strong>VM</strong>B, he will have linked a different disk as his 200. He willalso have an appropriate set of R/W minidisks for each system.User tom ...Include dept1234Account 12340001SysAffin vmaMdisk 191 ...Mdisk 193 ...SysAffin vmbMdisk 191 ...Mdisk 193 ...v User MARY is limited to <strong>VM</strong>A access <strong>and</strong> will have access to the departmentdatabase on <strong>VM</strong>A only.SysAffin Logon_At vmaUser mary ...Include dept1234Account 12340002Mdisk 191 ...Mdisk 193 ...3. The following global definition section would define a default machine mode ofXA on system vma <strong>and</strong> a default machine mode of ESA on system vmb.GlobaldefsSysaffin vmaGlobalopts machine xaSysaffin vmbGlobalopts machine esaChapter 17. Creating <strong>and</strong> Updating a User Directory 571


USERUSER Directory Control Statement (Control)►► User userid passwordNOLOGNOPASSAUTOONLYLBYONLYstormstorclpriSymbols►◄Symbols:ON ON ON ONON ON ONONOFF ON ONle ONOFFld ONOFFcdONOFFesPurposeThe USER statement starts each virtual machine’s directory entry. It also defines auser ID <strong>and</strong> password, a logon <strong>and</strong> maximum virtual machine storage size,comm<strong>and</strong> privileges, <strong>and</strong> special symbol usage for the virtual machine.How to SpecifyUSER statements are not allowed within a profile entry.When processing the USER statement, DIRECTXA checks for a maximum of tentokens: userid, password, logon storage size, maximum storage size, privilegeclass, a place holder for compatibility with <strong>VM</strong>/SP, line-end symbol, line-deletesymbol, character-delete symbol, <strong>and</strong> escape character, in that order. If you specifymore than ten tokens, DIRECTXA ignores the extra tokens <strong>and</strong> system processingcontinues as if you had not specified the extra tokens.Oper<strong>and</strong>suseriddefines the virtual machine’s 1- to 8-character user ID. LOGNxxxx, LOGLxxxx,LOGVxxxx, LOGNSYSC, LOGNSYSG, <strong>and</strong> SYSTEM are reserved for <strong>CP</strong> use.You should not assign user IDs that are system keywords (such as comm<strong>and</strong>names, comm<strong>and</strong> oper<strong>and</strong>s, or 1- to 4-digit user IDs that could be spool IDs).Assigning system keywords as user IDs can cause unpredictable results. For alist of restricted user IDs, see z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.You should not assign user IDs that contain colons (:), periods (.), semicolons(;), or slashes (/). These characters are used, or may be used in the future, asdelimiters in several <strong>CP</strong> comm<strong>and</strong>s that also take a user ID as a parameter.Results are unpredictable when these comm<strong>and</strong>s are entered with a user IDcontaining any of these delimiter characters.572 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


USERThe characters that you can use for user IDs are restricted by translation testtables in H<strong>CP</strong>TBL to:alphabeticsA through Znumerics0 through 9others@ # $ _ (underscore) - (hyphen)Note: It is recommended that the characters @, #, ¢, <strong>and</strong> ″ not be used in theuserid because the system, by default, assigns these characters aslogical line editing symbols. Refer to Appendix B in the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference for a discussion of the systemdefaults settings for logical line editing symbolsYou can override the translation tables in H<strong>CP</strong>TBL. See the“TRANSLATE_TABLE Statement” on page 243.passwordspecifies a 1- to 8-character password that a user enters during the log onprocedure.NOLOGspecifies that a user cannot log on. You can use the NOLOG option to createvirtual machines to which no one can log on. For example, you can placespecial system DASD areas (allocation, warm-start, <strong>and</strong> checkpoint areas) onminidisks <strong>and</strong> then assign the minidisks to virtual machines with NOLOGpasswords. This helps you identify areas on a DASD.Also, you can create minidisks for common user data <strong>and</strong> then assign theminidisks to virtual machines with NOLOG passwords. Users can then enter a<strong>CP</strong> LINK comm<strong>and</strong> to access those minidisks when they need the data.Note: It is recommended that the characters @, #, ¢, <strong>and</strong> ″ not be used in theuserid because the system, by default, assigns these characters aslogical line editing symbols. Refer to Appendix B in the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference for a discussion of the systemdefaults settings for logical line editing symbolsNOPASSspecifies that a user does not require a password to log on. It also specifiesthat a virtual machine may be automatically logged on using the XAUTOLOGcomm<strong>and</strong> without password authorization.Even though a user ID is defined with the NOPASS oper<strong>and</strong>, LOGON passwordauthorization may be required when an External Security Manager is installed.For more information, refer to documentation provided by your External SecurityManager.AUTOONLYspecifies that a user can be autologged, but not logged on at a terminal.LBYONLYspecifies that:v Logging on to this virtual machine with the LOGON comm<strong>and</strong> requires use ofthe BY option.v This user ID cannot be used to log on to any virtual machine with the BYoptionChapter 17. Creating <strong>and</strong> Updating a User Directory 573


USERFurthermore, this user ID may not be able to perform functions that requirepassword validation, since LBYONLY is not accepted as a valid password.<strong>CP</strong> allows an External Security Manager (ESM) to override these restrictions,so they are effective only when no ESM is installed or when the ESM defers to<strong>CP</strong>’s processing. See the ESM documentation for more information.storspecifies the virtual machine’s primary address space size at log on. Specifystor as nu where n is a one- to seven-digit decimal number <strong>and</strong> u is the unit ofmeasure (see Table 25). The maximum value you can specify is 16E or 16384P,though the actual maximum size supported may be restricted by the model ofthe processor where the directory is used.The storage field can also contain an asterisk (*) as a placeholder. If it isomitted or specified as an asterisk, this indicates that the storage size is definedby a MAXSTORAGE statement in either the user’s directory entry or a directoryprofile.Values below 16 MB are rounded up to 64 KB boundaries. Values above 16 MBare rounded up to 1 MB boundaries.Table 25. Storage Units of MeasureUnits suffixMaximumallowed as inputK - Kilobytes 2096128M - Megabytes 9999999G - Gigabytes 9999999T - Terabytes 9999999P - Petabytes 16384E - Exabytes 16574 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Note: Allowing large numbers of V=V virtual machines to have large primaryaddress space sizes may affect real storage availability. See usage note1 on page 576.mstorspecifies a maximum virtual machine primary address space size that a usercan specify with the DEFINE STORAGE comm<strong>and</strong>. Specify mstor as nu, wheren is a one- to seven-digit decimal number <strong>and</strong> u is the unit of measure (seeTable 25). The default is 1M (1 MB).The storage field can also contain an asterisk (*) as a placeholder. If it isomitted or specified as an asterisk, this indicates that the maximum storage sizeis defined by a MAXSTORAGE statement in either the user’s directory entry ora directory profile.Note: Allowing large numbers of V=V virtual machines to have large primaryaddress space sizes may affect real storage availability. See usage note1 on page 576.cl specifies the privilege class or classes of <strong>CP</strong> comm<strong>and</strong>s a user can enter.Comm<strong>and</strong> classes are A through Z, <strong>and</strong> 1 through 6. You may specify up to 32classes (if they fit). Each character represents a single privilege class <strong>and</strong> mayappear in any order, without duplication, <strong>and</strong> must not be separated by blanks.The class field can also contain an asterisk (*) as a place holder. If the field isnot specified, or if it contains an asterisk (*) <strong>and</strong> there is no CLASS statement,


USER<strong>CP</strong> uses the default class or classes assigned by the PRIV_CLASSESstatement in the system configuration file (page 184) or by the SYSFCN macroin H<strong>CP</strong>SYS (page 673).Note: If you have not used the user class restructure function to change yourclasses from the <strong>IBM</strong>-defined defaults, only classes A through G arevalid. Refer to Chapter 16, “Redefining Comm<strong>and</strong> Privilege Classes,” onpage 433 for information on defining your own user class structure. For adescription of the different comm<strong>and</strong> classes, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.pri is for <strong>VM</strong>/SP compatibility <strong>and</strong> serves no z/<strong>VM</strong> function. It must be a numberfrom 1 to 99. If the pri specification is not entered, the line-end (le), line-delete(ld), character-delete (cd), <strong>and</strong> escape (es) characters default to ON.leONOFFle is a 1-character line-end symbol or a 2-digit hexadecimal equivalent of thesymbol. Input following a line-end symbol begins a new logical line. ON meansthat the virtual machine uses the system value. OFF means that <strong>CP</strong> will notrecognize line-end symbols. If omitted, the default is ON.Note: If you want to set a system-wide default for the line-end symbol, use theCHARACTER_DEFAULTS statement in the system configuration file. Formore information about setting system-wide defaults, see page 67.ldONOFFld is a 1-character line-delete symbol or a 2-digit hexadecimal equivalent of thesymbol. A line-delete symbol causes the previous logical line input to beignored. ON means that the virtual machine uses the system value. OFF meansthat <strong>CP</strong> will not recognize line-delete symbols. If omitted, the default is ON.Note: If you want to set a system-wide default for the line-delete symbol, usethe CHARACTER_DEFAULTS statement in the system configuration file.For more information about setting system-wide defaults, see page 67.cdONOFFcd is a 1-character delete symbol or a 2-digit hexadecimal equivalent of thesymbol. A character-delete symbol causes the previous character input to beignored. ON means the virtual machine uses the system value. OFF means that<strong>CP</strong> will not recognize character-delete symbols. If omitted, the default is ON.Note: If you want to set a system-wide default for the character-delete symbol,use the CHARACTER_DEFAULTS statement in the system configurationfile. For more information about setting system-wide defaults, see page67.esONOFFes is a 1-character escape symbol or a 2-digit hexadecimal equivalent of thesymbol. The escape symbol causes <strong>CP</strong> to treat the following character literally,Chapter 17. Creating <strong>and</strong> Updating a User Directory 575


USERUsageNoteswithout consideration as an le, ld, or cd character. ON means that the virtualmachine uses the system value. OFF means that <strong>CP</strong> will not recognize escapesymbols. If omitted, the default is ON.Note: If you want to set a system-wide default for the escape symbol, use theCHARACTER_DEFAULTS statement in the system configuration file. Formore information about setting system-wide defaults, page 67.1. For each virtual machine, <strong>CP</strong> creates a segment table to represent the virtualmachine storage. For a virtual machine of 32 MB or less, <strong>CP</strong> creates thesegment table inside the virtual machine definition block (<strong>VM</strong>DBK). For a largervirtual machine, <strong>CP</strong> creates the segment table outside the <strong>VM</strong>DBK in realstorage, as follows:v For a virtual machine larger than 32 MB but less than or equal to 1024 MB,one real storage frame is allocated for the segment table.v For a virtual machine larger than 1024 MB, two consecutive real storageframes are allocated for the segment table.<strong>CP</strong> creates the segment table at the start of the real storage frame, <strong>and</strong> anystorage remaining beyond the end of the segment table may be used for <strong>CP</strong>free storage. However, if a large number of virtual machines are definedarbitrarily large, considerable real storage may be consumed by the segmenttables.2. The cl field may contain an asterisk (*) as a place holder. If no further optionsare to be specified on the USER statement, the asterisk (*) is not required. Ineither case, if the CLASS statement is not supplied, <strong>CP</strong> uses the default classor classes assigned by the PRIV_CLASSES statement in the systemconfiguration file (page 184) or by the SYSFCN macro in H<strong>CP</strong>SYS (page 673).3. If any of the options are specified, all prior options must also be specified. Thedefault for unspecified options is ON.4. The USER statement defines the special symbol usage for a specific virtualmachine. To override the special symbol usage for a specific virtual machine,have the user issue the <strong>CP</strong> TERMINAL comm<strong>and</strong> described in the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference. To set default special symbol usage for theentire system, use the CHARACTER_DEFAULTS statement in the systemconfiguration file (page 67).You cannot use any of the letters A through Z, the numbers 0 through 9, or thebytes X'0E' (shift out) or X'0F' (shift in) for the line-end, line-delete,character-delete, or escape symbols.Examples1. To start a directory entry for user ID BONES that specifies:v WW11QQ as BONES’s passwordv 8M as BONES’s virtual machine storage size at logonv 16M as the maximum virtual machine storage size BONES can definev BONES can enter only class S comm<strong>and</strong>sspecify the following USER statement:User bones ww11qq 8m 16m s2. To start a directory entry for user ID WIZARD that specifies:v JK76TG as WIZARD’s passwordv 4M as WIZARD’s virtual machine storage size at logon576 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


USERv 6M as the maximum virtual machine storage size WIZARD can definev WIZARD can enter class A, B, C, Z, 3, 4, <strong>and</strong> G comm<strong>and</strong>sspecify the following USER statement:User wizard jk76tg 4m 6m abcz34g3. To start a directory entry for user ID SHARDATA that specifies the NOLOGoption, specify the following USER statement:User shardata NoLogChapter 17. Creating <strong>and</strong> Updating a User Directory 577


XAUTOLOGXAUTOLOG Directory Control Statement (General)►►XAUTOlogAUTOlog▼ (1) userid ►◄Notes:1 A total of 8 user IDs can be specified.PurposeThe XAUTOLOG statement designates up to eight users that can enter theXAUTOLOG comm<strong>and</strong> for the virtual machine. All users with class A or class Bprivileges can enter the XAUTOLOG comm<strong>and</strong> for any virtual machine. Therefore,their user IDs do not have to appear on the XAUTOLOG statement.How to SpecifyIf you specify the XAUTOLOG statement, it must precede any device statementsyou specify in a user’s directory entry. (For a list of device statements, see Table 20on page 448.) A directory entry may contain multiple XAUTOLOG statements, butonly a total of eight user IDs (including those in AUTOLOG statements) is allowed.Multiple XAUTOLOG statements are allowed within a profile, but are used only if noXAUTOLOG (or AUTOLOG) statements are in the including user directory entry.Oper<strong>and</strong>suseridspecifies a 1- to 8-character user ID of a user whom you authorize to enter theXAUTOLOG comm<strong>and</strong> for the virtual machine whose directory entry you arecreating. A total of eight user IDs (including those in AUTOLOG statements) canbe specified.UsageNotes1. AUTOLOG is an acceptable synonym for the XAUTOLOG statement. Theminimum abbreviation is AUTO. The XAUTOLOG statement, whether namedXAUTOLOG or AUTOLOG, authorizes the use of the XAUTOLOG comm<strong>and</strong><strong>and</strong> does not authorize the use of the AUTOLOG comm<strong>and</strong>. The AUTOLOGcomm<strong>and</strong> authorization is through the use of a password only.2. In addition to being listed on an XAUTOLOG directory statement, a user musthave class G privileges to enter the XAUTOLOG comm<strong>and</strong> for the virtualmachine. (Users with class A or B privileges can enter the XAUTOLOGcomm<strong>and</strong> for any virtual machine without being specified in an XAUTOLOGstatement.)Examples1. To authorize a user whose ID is LARRY (<strong>and</strong> has class G privileges) to enterthe XAUTOLOG comm<strong>and</strong> for a virtual machine, specify the followingXAUTOLOG statement in the virtual machine’s directory entry:XautoLog larry578 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


XAUTOLOG2. To authorize users whose IDs are OPER1, OPER2, OPER3, <strong>and</strong> JONES (<strong>and</strong>have class G privileges) to enter the XAUTOLOG comm<strong>and</strong> for a virtualmachine, specify the following XAUTOLOG statement in the virtual machine’sdirectory entry:XautoLog oper1 oper2 oper3 jonesChapter 17. Creating <strong>and</strong> Updating a User Directory 579


XCONFIGXCONFIG Directory Control Statement (General)PurposeThe XCONFIG statement specifies control parameters for the extendedconfigurationfacilities provided in the XC virtual machine architecture: access lists<strong>and</strong> address spaces. Some of the control parameters specified on the XCONFIGstatement are used only by XC virtual machines, whereas others are used in alltypes of virtual machines.Each XCONFIG statement contains one of the mutually exclusive major oper<strong>and</strong>sACCESSLIST or ADDRSPACE <strong>and</strong> specifies control parameters for a single aspectof the extended-configuration facilities. For example, a single XCONFIG statementcan contain the ACCESSLIST oper<strong>and</strong> with parameters for access lists, but cannotalso contain the ADDRSPACE option with parameters for address spaces.Descriptions of the ACCESSLIST <strong>and</strong> ADDRSPACE oper<strong>and</strong>s follow.To specify control parameters for more than one element of theextended-configuration facilities, you can specify multiple XCONFIG statements.However, each major option can each appear on, at most, one XCONFIG statementwithin a USER definition, <strong>and</strong> on, at most, one XCONFIG statement within aPROFILE definition.If a major option appears on an XCONFIG statement in both the USER definition<strong>and</strong> in an included PROFILE definition, then any oper<strong>and</strong>s specified in the USERdefinition override those specified (or defaulted) in the PROFILE definition.Oper<strong>and</strong>s that are specified (or defaulted) in the PROFILE definition but not alsospecified in the USER definition are used as specified (or defaulted) in thePROFILE definition.How to SpecifyIf you specify any XCONFIG statements, they must precede any device statements,both when specified within a USER definition <strong>and</strong> when specified within a PROFILEdefinition. (For a list of device statements, see Table 20 on page 448.)UsageNotes1. The XCONFIG statements are processed by <strong>CP</strong> at the time of a user’s logon,<strong>and</strong> the control parameters in effect at logon are used for the user’s entiresession. If changes are made to XCONFIG statements in a user’s <strong>CP</strong> directoryentry, the user must log off <strong>and</strong> log on again for the changed parameters to takeeffect.580 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


XCONFIGXCONFIG ACCESSLIST Oper<strong>and</strong>►► XCONfig ACCEsslist ALSIZE alecount ►◄PurposeThe XCONFIG ACCESSLIST oper<strong>and</strong> specifies the size of the host access list tobe provided for this virtual machine. <strong>CP</strong> creates a host access list for each virtualmachine. For XC virtual machines, each entry in the virtual machine’s host accesslist designates an address space that can be accessed when the virtual machine isin the access-register mode. For XA, or ESA virtual machines, each entry in thevirtual machine’s host access list designates an address space that can beaccessed using DIAGNOSE code X'248' (Copy to primary service). Valid hostaccess list entries are added <strong>and</strong> removed using the ALSERV macroinstruction(access list services). For more information about the ALSERV macroinstruction,see the z/<strong>VM</strong>: <strong>CP</strong> Programming Services book.How to SpecifyIf you do not specify an XCONFIG statement with an ACCESSLIST oper<strong>and</strong>, <strong>CP</strong>will give the virtual machine a 62-entry host access list, by default.Oper<strong>and</strong>sALSIZE alecountspecifies the size, in number of access-list entries, for this virtual machine’shost access list. The variable alecount is a decimal number from 1 to 1022.<strong>CP</strong> allocates host access lists in sizes that contain 6, 14, 30, 62, 126, 254, 510or 1022 entries. If you do not specify alecount as one of these numbers, then<strong>CP</strong> rounds alecount up to the next largest number in this set.UsageNotes1. A virtual machine’s host access list resides in host (<strong>CP</strong>) real storage. When ahost access list is initially created for a virtual machine, sufficient host realstorage for a 6-entry host access list is allocated for the access list. As morehost access list entries are required, additional host storage is allocated to holdthe next larger-sized host access list, until the access-list size reaches the sizespecified by this directory statement. <strong>CP</strong> will reuse any host access list entrythat is in the invalid state before exp<strong>and</strong>ing the host access list in this manner,but once a host access list has been exp<strong>and</strong>ed, it will not be compressed if hostaccess list entries subsequently return to being in the invalid state.2. A 254-entry host access list can require up to 1 page of host real storage <strong>and</strong> a1022-entry host access list can require up to 4 pages of host real storage.3. The host real storage allocated for a virtual machine’s host access list is notavailable for use by <strong>CP</strong> for paging or other operations. To minimize the hoststorage used for access lists, allocate the smallest-sized host access list thatmeets the requirements for a particular virtual machine.ExamplesTo specify that a virtual machine is to have a 126-entry host access list, use thefollowing statement in the user’s directory entry:Chapter 17. Creating <strong>and</strong> Updating a User Directory 581


XCONFIGXconfig AccessList ALsize 126582 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


XCONFIGXCONFIG ADDRSPACE Oper<strong>and</strong>►► XCONfig ADDRspaceMAXNUMBER nnnnn TOTSIZE nnnnnMnnnnGNOSHARESHARE►◄PurposeThe XCONFIG ADDRSPACE oper<strong>and</strong> specifies the maximum number ofnonprimary address spaces (sometimes known as data spaces) <strong>and</strong> the total size inbytes of all nonprimary address spaces that the virtual machine can ownsimultaneously. These address spaces are created using the ADRSPACEmacroinstruction (address-space services) CREATE function. It also specifieswhether the virtual machine can allow other virtual machines to share its addressspaces. Only XC virtual machines can create <strong>and</strong> destroy address spaces using theCREATE <strong>and</strong> DESTROY functions of the ADRSPACE macroinstruction. ESA, XA,<strong>and</strong> XC virtual machines can allow other virtual machines to share their addressspaces by using the PERMIT function of the ADRSPACE macroinstruction. (This islimited to sharing the virtual machine’s primary address space.) For moreinformation about the ADRSPACE macroinstruction, see the z/<strong>VM</strong>: <strong>CP</strong> ProgrammingServices book.How to SpecifyIf you do not specify an XCONFIG ADDRSPACE statement, <strong>CP</strong> uses a default of 0for MAXNUMBER, which indicates no additional address spaces can be created.Oper<strong>and</strong>sMAXNUMBER nnnnnspecifies the maximum number of nonprimary address spaces that this virtualmachine can create <strong>and</strong> have existing concurrently. The variable nnnnn is adecimal number from 0 to 32767.If you omit the MAXNUMBER <strong>and</strong> TOTSIZE oper<strong>and</strong>s from the XCONFIGADDRSPACE statement, the default is MAXNUMBER 0, that is, no additionaladdress spaces can be created.TOTSIZE nnnnnMTOTSIZE nnnnGspecifies the maximum total size, in bytes, of all address spaces that this virtualmachine can create <strong>and</strong> have existing concurrently. The variable nnnnnM is adecimal number from 1 megabyte to 99999 megabytes. The variable nnnnG isa decimal number from 1 gigabyte to 8192 gigabytes.The minimum value for TOTSIZE is 1M for each address space permitted bythe MAXNUMBER oper<strong>and</strong>; if the TOTSIZE oper<strong>and</strong> specifies a total less thanthis number, then an error message is issued. The maximum that can bespecified for TOTSIZE is 8192B.NOSHAREtells <strong>CP</strong> that the virtual machine cannot use the PERMIT function of theADRSPACE macroinstruction to make its address spaces available for accessby other virtual machines. The default is NOSHARE.Chapter 17. Creating <strong>and</strong> Updating a User Directory 583


XCONFIGUsageNotesSHAREtells <strong>CP</strong> that the virtual machine can use the PERMIT function of theADRSPACE macroinstruction to make its address spaces available for accessby other virtual machines.1. Allowing large numbers of nonprimary address spaces <strong>and</strong>/or a large totaladdress space size may affect real storage availability. For each address space,<strong>CP</strong> creates a segment table in real storage, as follows:v For each address space less than or equal to 1024 MB, one real storageframe is allocated for the segment table.v For each address space larger than 1024 MB, two consecutive real storageframes are allocated for the segment table.<strong>CP</strong> creates the segment table at the start of the real storage frame, <strong>and</strong> anystorage remaining beyond the end of the segment table may be used for <strong>CP</strong>free storage. However, if users are permitted to create large numbers ofaddress spaces <strong>and</strong>/or very large size address spaces, considerable realstorage may be consumed by the segment tables.Examples1. To authorize a virtual machine to create up to 128 address spaces, with a totalof 1000 MB of storage, use the following statement in the user’s directory entry:Xconfig AddrSpace MaxNumber 128 TotSize 1000M2. To authorize a virtual machine to create up to 25 address spaces, with a total of2 GB of storage, <strong>and</strong> allow the virtual machine to share its primary addressspace <strong>and</strong> any of its created address spaces with other virtual machines, usethe following statement in the user’s directory entry:Xconfig AddrSpace MaxNumber 25 TotSize 2G Share3. To authorize a virtual machine to share its primary address space with othervirtual machines, but not to create any additional address spaces, use thefollowing statement in the user’s directory entry:Xconfig AddrSpace Share584 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


XSTOREXSTORE Directory Control Statement (General)►►XSTOREALLsize►◄PurposeThe XSTORE statement authorizes a virtual machine that supports Exp<strong>and</strong>edStorage to use the Exp<strong>and</strong>ed Storage facility.How to SpecifyIf you specify the XSTORE statement, it must precede any device statements youspecify in a user’s directory entry. (For a list of device statements, see Table 20 onpage 448.) Refer to Chapter 19, “Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>,”on page 591 for additional information about allocating Exp<strong>and</strong>ed Storage.Oper<strong>and</strong>sMultiple XSTORE statements are allowed within a profile but are used only if noXSTORE statements are in the user directory entry. If multiple XSTORE statementsare in an included profile entry, only the first one is used.When processing the XSTORE statement, DIRECTXA checks for a maximum ofone token: the real Exp<strong>and</strong>ed Storage size. If you specify more than one token,DIRECTXA ignores the extra tokens <strong>and</strong> system processing continues as if you hadnot specified the extra tokens.ALLtells <strong>CP</strong> that all of Exp<strong>and</strong>ed Storage configured on the system be allowed tobe used for this user’s guest partition. If you specify XSTORE without anyoper<strong>and</strong>s, the default is ALL.sizeis the size expressed as nnnnnnnnM megabytes of real Exp<strong>and</strong>ed Storage tobe allocated to the user’s virtual machine on megabyte boundaries. Themaximum size that can be specified is 16777216 MB.The real Exp<strong>and</strong>ed Storage may be allocated to any number of virtual machines atthe same time.User <strong>and</strong> operator comm<strong>and</strong>s are available to manage the allocation of Exp<strong>and</strong>edStorage after user logon (see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference).UsageNotes1. Several comm<strong>and</strong>s allow you to attach, detach, <strong>and</strong> display information aboutthe Exp<strong>and</strong>ed Storage facility. These comm<strong>and</strong>s include ATTACH XSTORE,DETACH XSTORE, <strong>and</strong> QUERY XSTORE. For more information on thesecomm<strong>and</strong>s, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.2. If the request for Exp<strong>and</strong>ed Storage cannot be satisfied at logon time, themaximum amount that can be attached at this time is attached to the virtualmachine.Chapter 17. Creating <strong>and</strong> Updating a User Directory 585


XSTORE3. Multiple users may have Exp<strong>and</strong>ed Storage attached to their virtual machines.ExamplesTo authorize a virtual machine to use all of Exp<strong>and</strong>ed Storage, specify the followingXSTORE statement in the virtual machine’s directory entry:Xstore586 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Part 4. Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Chapter 18. Real Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> . . . . . . . . 589<strong>Planning</strong> Real Storage Needs . . . . . . . . . . . . . . . . . . . 589Real <strong>and</strong> Virtual Storage Requirements for Generating a <strong>CP</strong> Module . . . . 589Determining the Size of the Dynamic Paging Area . . . . . . . . . . . 590Virtual Machine Considerations . . . . . . . . . . . . . . . . . . 590Chapter 19. Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> . . . . . . 591Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 591Exp<strong>and</strong>ed Storage Considerations with Shared CMS Minidisks . . . . . . . 592Attaching Exp<strong>and</strong>ed Storage to a Virtual Machine . . . . . . . . . . . 592Mapping Exp<strong>and</strong>ed Storage . . . . . . . . . . . . . . . . . . . 593Fragmentation . . . . . . . . . . . . . . . . . . . . . . . . 593Discontinuous Exp<strong>and</strong>ed Storage . . . . . . . . . . . . . . . . 593Allocating Exp<strong>and</strong>ed Storage to <strong>CP</strong> . . . . . . . . . . . . . . . . . 596Allocating Retained Exp<strong>and</strong>ed Storage . . . . . . . . . . . . . . 596Pending Retained Exp<strong>and</strong>ed Storage . . . . . . . . . . . . . . . 597Using Exp<strong>and</strong>ed Storage as a Minidisk Cache . . . . . . . . . . . . . 597What Devices Can Be Cached . . . . . . . . . . . . . . . . . 600Turning Caching Off . . . . . . . . . . . . . . . . . . . . . 600<strong>Planning</strong> for <strong>and</strong> Using Minidisk Caching . . . . . . . . . . . . . . 600Special Considerations for CMS Minidisk Volumes Shared betweenProcessors . . . . . . . . . . . . . . . . . . . . . . . 601Performance Considerations . . . . . . . . . . . . . . . . . 602Chapter 20. Allocating DASD Space . . . . . . . . . . . . . . . . 603Direct Access Storage Requirements . . . . . . . . . . . . . . . . 603CKD Device Geometry . . . . . . . . . . . . . . . . . . . . 603FBA Device Geometry . . . . . . . . . . . . . . . . . . . . . 604Storage Calculations . . . . . . . . . . . . . . . . . . . . . 604<strong>CP</strong> Module . . . . . . . . . . . . . . . . . . . . . . . . . . 605Warm Start Data . . . . . . . . . . . . . . . . . . . . . . . . 606Example . . . . . . . . . . . . . . . . . . . . . . . . . . 607Checkpoint Data . . . . . . . . . . . . . . . . . . . . . . . . 607Directory Space . . . . . . . . . . . . . . . . . . . . . . . . 608Example . . . . . . . . . . . . . . . . . . . . . . . . . . 609Directory Size Constraints . . . . . . . . . . . . . . . . . . . 610Paging Space . . . . . . . . . . . . . . . . . . . . . . . . . 610Example . . . . . . . . . . . . . . . . . . . . . . . . . . 611Spooling Space . . . . . . . . . . . . . . . . . . . . . . . . 613Allocating Space for <strong>CP</strong> Abend Dumps . . . . . . . . . . . . . . 614Named Saved System . . . . . . . . . . . . . . . . . . . . . 615Spool Space Example . . . . . . . . . . . . . . . . . . . . . 615Switching Operating Modes for 3390 Devices . . . . . . . . . . . . . 615Mode Switch Procedure . . . . . . . . . . . . . . . . . . . . 616Migration Considerations for the 3390 Model 9 . . . . . . . . . . . . . 617Chapter 21. DASD Sharing . . . . . . . . . . . . . . . . . . . 619Sharing DASD among Multiple Virtual Machines by Using VirtualReserve/Release . . . . . . . . . . . . . . . . . . . . . . . 619When to Use Virtual Reserve/Release . . . . . . . . . . . . . . . 621Sharing DASD without Using Virtual Reserve/Release . . . . . . . . . . 622Sharing DASD Using the CMS Shared File System . . . . . . . . . . . 622© Copyright <strong>IBM</strong> Corp. 1991, 2004 587


Sharing DASD between One Virtual Machine <strong>and</strong> Other Systems Using RealReserve/Release . . . . . . . . . . . . . . . . . . . . . . . 622When to Use Real Reserve/Release . . . . . . . . . . . . . . . 624Sharing DASD among Multiple Virtual Machines <strong>and</strong> Other Systems UsingConcurrent Virtual <strong>and</strong> Real Reserve/Release . . . . . . . . . . . . 624When to Use Concurrent Virtual <strong>and</strong> Real Reserve/Release . . . . . . . 626Restrictions for Using Reserve/Release . . . . . . . . . . . . . . . 626Reserve/Release Summary . . . . . . . . . . . . . . . . . . . . 626Sharing DASD using the Multi-Path Lock Facility . . . . . . . . . . . . 627Cached DASD . . . . . . . . . . . . . . . . . . . . . . . . 628Cache Control . . . . . . . . . . . . . . . . . . . . . . . . 628Cache Control at the Subsystem Level . . . . . . . . . . . . . 629Cache Control at the Device Level . . . . . . . . . . . . . . . 629Cache Control at the Extent Level . . . . . . . . . . . . . . . 629Defining a Minidisk on a Cached DASD . . . . . . . . . . . . . . 629Defining a Cached DASD as a Dedicated Device . . . . . . . . . . . 630Using ESS Parallel Access Volumes . . . . . . . . . . . . . . . . 631Using PAV for Workload Balancing . . . . . . . . . . . . . . . . 631Using PAV for DASD Sharing . . . . . . . . . . . . . . . . . . 632z/<strong>VM</strong> Restrictions on Using PAV . . . . . . . . . . . . . . . . . 633Chapter 22. Defining <strong>and</strong> Managing SCSI F<strong>CP</strong> Disks . . . . . . . . . 635Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 635Defining SCSI Devices . . . . . . . . . . . . . . . . . . . . . 637Emulated FBA Disks on SCSI Disks . . . . . . . . . . . . . . . 637Real SCSI Disks . . . . . . . . . . . . . . . . . . . . . . . 638Additional Considerations . . . . . . . . . . . . . . . . . . . . 639588 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 18. Real Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>This chapter describes:v The real storage requirements for <strong>CP</strong>v How to define a dynamic paging area<strong>Planning</strong> Real Storage NeedsThe amount of real storage you need depends upon the type of work yourinstallation will be performing. A system might include many virtual machines. All ofthese virtual machines require real storage.For example, you may find that the processor does not have enough storage foryour system to provide acceptable response times. If you find your system’sresponse time to be slow or erratic, you may need to do one of the following:v Add more real storagev Run fewer virtual machines.If you are using the system configuration file to define your system, you do notneed to define the amount of real storage available to <strong>CP</strong>. <strong>CP</strong> assumes that it hasall of the storage on the machine available to it. If this assumption is not true, youmust specify the amount of real storage available to <strong>CP</strong> by specifying STORE as anIPL parameter passed by the St<strong>and</strong>-Alone Program Loader (SAPL) to <strong>CP</strong>.Note: The minimum amount of real storage required for operation of z/<strong>VM</strong> is 10MB.Your installation can, within limits, change the size of every area of storage exceptthe <strong>CP</strong> module, which occupies approximately 10 MB. Use the <strong>CP</strong> comm<strong>and</strong>QUERY FRAMES to display the status of real storage <strong>and</strong> to determine how realstorage is currently allocated. The z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Referencebook contains a description of the QUERY FRAMES comm<strong>and</strong>.Real <strong>and</strong> Virtual Storage Requirements for Generating a <strong>CP</strong> ModuleThe <strong>CP</strong> module requires approximately 10 MB of real storage. This amount will varyslightly based on the parameters specified on the STORAGE statement <strong>and</strong> thenumber of devices specified on RDEVICE statements in the system configurationfile. Additional virtual storage in the virtual machine generating the <strong>CP</strong> module isrequired for CMS, the <strong>VM</strong>FBLD program, <strong>and</strong> access to the CMS disks containingthe <strong>CP</strong> module text decks <strong>and</strong> related files. A virtual machine size of 40 MB shouldbe sufficient.In order to IPL the system, there must be sufficient available storage to hold thewarmstart area. This storage is returned to general system use once spooling isinitialized. Usually, one cylinder of CKD DASD or 75 4 KB pages of FBA DASD aredefined for the spooling warmstart area. This is easily contained in a small virtualmachine. However, if you define a large warmstart area, the virtual machine sizemust be increased to accommodate it.Other factors affecting storage requirements include the size of the trace tables <strong>and</strong>the number of devices defined in the system.© Copyright <strong>IBM</strong> Corp. 1991, 2004 589


Real Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Determining the Size of the Dynamic Paging AreaThe dynamic paging area (DPA) holds the virtual storage of virtual machines <strong>and</strong>the storage <strong>CP</strong> needs for pageable modules, spool buffers, trace tables, virtualdisks in storage, <strong>and</strong> other <strong>CP</strong> areas. The storage remaining after you allocate allother areas of storage is used for the DPA. When determining how large a DPA youneed, you should consider your installation’s paging capability. If your system hasenough high performance DASDs or enough cache control units of a size for yoursystem’s paging dem<strong>and</strong>s, you may be able to generate a relatively small DPA <strong>and</strong>still achieve good performance. If, however, your installation has mostly lowerperformance DASDs you may need a larger DPA.Virtual Machine ConsiderationsAllowing large numbers of virtual machines to have large storage sizes (primaryaddress spaces <strong>and</strong>/or data spaces) may affect real storage availability:v For each primary address space larger than 32 MB but less than or equal to1024 MB, one real storage frame is allocated for the segment table.v For each nonprimary address space (data space) less than or equal to 1024 MB,one real storage frame is allocated for the segment table.v For each primary or nonprimary address space larger than 1024 MB, twoconsecutive real storage frames are allocated for the segment table.Although <strong>CP</strong> creates the segment table at the start of the real storage frame, <strong>and</strong>any storage remaining beyond the end of the segment table may be used for <strong>CP</strong>free storage, you should consider the combined effect of giving many users largestorage sizes <strong>and</strong>/or allowing users to create many data spaces <strong>and</strong>/or large dataspaces. Considerable real storage may be consumed by the segment tables.590 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 19. Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>OverviewThe Exp<strong>and</strong>ed Storage facility is an optional feature of certain processor models. Itcan be:v Dedicated to <strong>CP</strong>v Dedicated to one or more virtual machines for use by an operating systemv Partitioned for use between <strong>CP</strong> <strong>and</strong> one or more virtual machines.This chapter tells you what Exp<strong>and</strong>ed Storage is <strong>and</strong> how to:v Attach Exp<strong>and</strong>ed Storage to a virtual machinev Map Exp<strong>and</strong>ed Storagev H<strong>and</strong>le fragmentation of Exp<strong>and</strong>ed Storagev Allocate Exp<strong>and</strong>ed Storage to <strong>CP</strong>v Allocate retained Exp<strong>and</strong>ed Storagev Use Exp<strong>and</strong>ed Storage as a minidisk cache.Exp<strong>and</strong>ed Storage acts as another level of real storage. It allows for the rapidtransfer of 4 KB pages between itself <strong>and</strong> real storage. As real storage is dividedinto 4 KB page frames, Exp<strong>and</strong>ed Storage is divided into 4 KB units called blocks.It is available in increments whose size varies with the model of the processor.You can partition Exp<strong>and</strong>ed Storage. Part of it may be attached to one or morevirtual machines. Another part, the <strong>CP</strong> partition, is used for system paging <strong>and</strong> thecaching of certain kinds of data. For paging, <strong>CP</strong> uses blocks available in the pagingportion of the <strong>CP</strong> partition in preference to DASD slots.To retain some or all of Exp<strong>and</strong>ed Storage exclusively for <strong>CP</strong> use, the class Boperator can enter the RETAIN XSTORE comm<strong>and</strong>. The comm<strong>and</strong> assigns thespecified amount of storage to the <strong>CP</strong> partition. The <strong>CP</strong> partition size limits theamount of Exp<strong>and</strong>ed Storage available for virtual machine partitions.All or part of Exp<strong>and</strong>ed Storage can be retained for <strong>CP</strong>’s exclusive use. This <strong>CP</strong>partition can occupy multiple discontinuous areas of Exp<strong>and</strong>ed Storage. All or partof the remainder can be dedicated to virtual machines.If there is a request for additional Exp<strong>and</strong>ed Storage to be retained by <strong>CP</strong> <strong>and</strong> notenough contiguous Exp<strong>and</strong>ed Storage is available, the request can be satisfied byretaining multiple discontinuous areas of Exp<strong>and</strong>ed Storage. If a request to retainExp<strong>and</strong>ed Storage for <strong>CP</strong> use is for a larger amount than is available because it isin use by one or more virtual machines, <strong>CP</strong> retains the amount of Exp<strong>and</strong>edStorage currently available. It also issues a pending request for the remainder. Thepending request is satisfied when enough Exp<strong>and</strong>ed Storage is detached from oneor more virtual machines.z/<strong>VM</strong> treats Exp<strong>and</strong>ed Storage as another level of real storage. All paging goes toExp<strong>and</strong>ed Storage if possible. Old pages from Exp<strong>and</strong>ed Storage are migrated toDASD when paging use exceeds a high threshold. For the most part, direct pagingto DASD occurs only if Exp<strong>and</strong>ed Storage is totally filled <strong>and</strong> migration cannotmake room in Exp<strong>and</strong>ed Storage quickly enough to keep up with the pagingdem<strong>and</strong>.© Copyright <strong>IBM</strong> Corp. 1991, 2004 591


Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Basically, you can configure Exp<strong>and</strong>ed Storage in any manner that meets yourinstallation’s needs. The granularity is in 1 MB sections, <strong>and</strong> you can attach it to asmany virtual machine guests as you have megabytes of Exp<strong>and</strong>ed Storage.In addition, <strong>CP</strong> uses Exp<strong>and</strong>ed Storage as a minidisk cache that shares Exp<strong>and</strong>edStorage with paging.Exp<strong>and</strong>ed Storage Considerations with Shared CMS MinidisksIf you have DASD volumes that contain CMS minidisks that are shared amongdifferent processors, you must take special action before IPLing z/<strong>VM</strong>. For eachDASD volume that contains CMS minidisks that are physically shared amongprocessors, specify one of the following:v SHARED YES on the RDEVICE TYPE DASD statement in the systemconfiguration filev SHARED YES on the SET RDEVICE TYPE DASD comm<strong>and</strong>This definition prevents all minidisks on these volumes from being eligible forminidisk caching. If you do not specify YES for the SHARED parameter or oper<strong>and</strong>,a data integrity exposure can exist if any system other than the one that is cachingdata through the minidisk cache has write access to the volume.For more information on minidisk caching, see “Using Exp<strong>and</strong>ed Storage as aMinidisk Cache” on page 597. For information on the RDEVICE systemconfiguration file, see “RDEVICE Statement (DASD)” on page 195. For informationon the SET SHARED <strong>and</strong> SET RDEVICE comm<strong>and</strong>s, see the z/<strong>VM</strong>: <strong>CP</strong>Comm<strong>and</strong>s <strong>and</strong> Utilities Reference. For more information on the DASD RDEVICEmacroinstruction, see “DASD Types” on page 746.Attaching Exp<strong>and</strong>ed Storage to a Virtual MachineYou can use either the XSTORE user directory control statement or the ATTACHXSTORE comm<strong>and</strong> to attach Exp<strong>and</strong>ed Storage to a virtual machine for its directuse. The difference is that if you use the XSTORE user directory control statement,the area of Exp<strong>and</strong>ed Storage specified is automatically attached to the virtualmachine at logon. With the ATTACH XSTORE comm<strong>and</strong>, the area is attached whenthe comm<strong>and</strong> is entered. For more information on the XSTORE user directorycontrol statement, see “XSTORE Directory Control Statement (General)” on page585.When <strong>CP</strong> attaches Exp<strong>and</strong>ed Storage to a virtual machine, it looks for contiguousExp<strong>and</strong>ed Storage that is not already attached to another virtual machine orassigned as <strong>CP</strong>-retained Exp<strong>and</strong>ed Storage. This search starts from Exp<strong>and</strong>edStorage block 0.The amount <strong>and</strong> location of the Exp<strong>and</strong>ed Storage that is attached depends on howExp<strong>and</strong>ed Storage is currently allocated. The response from the ATTACH comm<strong>and</strong>indicates the amount that is actually attached. The QUERY XSTORE MAPcomm<strong>and</strong> can be used to determine its location.The term contiguous is emphasized because certain types of fragmentation canoccur that permit <strong>CP</strong> to attach Exp<strong>and</strong>ed Storage that is larger than what would betruly contiguous. See “Fragmentation” on page 593 for more information aboutfragmentation.592 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Mapping Exp<strong>and</strong>ed StorageFragmentationYou should develop a map of Exp<strong>and</strong>ed Storage <strong>and</strong> determine which virtualmachines should have access to this valuable resource. Any Exp<strong>and</strong>ed Storage thatyou attach for <strong>CP</strong>’s exclusive use (retained) should be at the top of the map(highest block number), <strong>and</strong> any Exp<strong>and</strong>ed Storage attached to virtual machinesshould be drawn from the lowest block numbers. This ordering for the map matchesthe most likely format produced as the output of the QUERY XSTORE MAPcomm<strong>and</strong>.With this map, you can check that Exp<strong>and</strong>ed Storage requirements are notover-committed. You can use the class B QUERY XSTORE MAP comm<strong>and</strong> todetermine how <strong>CP</strong> has actually attached Exp<strong>and</strong>ed Storage. This should matchyour map for this configuration.Since the amount of Exp<strong>and</strong>ed Storage varies from one configuration to another,this map only serves one particular configuration. One map for each configurationmay be useful. See “Attaching Exp<strong>and</strong>ed Storage to a Virtual Machine” on page592 for a description of how <strong>CP</strong> attaches Exp<strong>and</strong>ed Storage as users log on withXSTORE user directory control statements or enter ATTACH XSTORE comm<strong>and</strong>s.Two types of fragmentation can occur when Exp<strong>and</strong>ed Storage is attached to <strong>CP</strong><strong>and</strong> virtual machines:v QUERY XSTORE MAP shows a section of Exp<strong>and</strong>ed Storage as N/A (notapplicable). This is caused by the hardware configuration. For example, thesecond <strong>and</strong> fourth sections of Exp<strong>and</strong>ed Storage could be partitioned to the otherside of a multiprocessor.This Exp<strong>and</strong>ed Storage is not available for use by <strong>CP</strong> or any virtual machine.When <strong>CP</strong> attaches Exp<strong>and</strong>ed Storage for a virtual machine, it can cross theseareas to attach the amount requested. The amount of N/A Exp<strong>and</strong>ed Storage isnot counted toward satisfying the request.v The portion of Exp<strong>and</strong>ed Storage is attached to a virtual machine or is retainedby <strong>CP</strong>.This is true fragmentation. <strong>CP</strong> cannot attach Exp<strong>and</strong>ed Storage to a virtualmachine that crosses an area already attached to a virtual machine or retainedfor <strong>CP</strong>.Discontinuous Exp<strong>and</strong>ed StorageGenerally, Exp<strong>and</strong>ed Storage is not expected to become fragmented. It is assignedwhen the system operator first IPLs the system <strong>and</strong> logs on critical virtualmachines. In general, this situation remains static.However, if Exp<strong>and</strong>ed Storage is attached to virtual machines, detached, <strong>and</strong>attached again with a different size, fragmentation can occur that the systemoperator may want to correct. By using the QUERY XSTORE MAP comm<strong>and</strong>, thesystem operator can keep track of how Exp<strong>and</strong>ed Storage is attached <strong>and</strong>determine whether fragmentation exists.If fragmentation does occur, the operator can use the RETAIN XSTORE, ATTACHXSTORE, <strong>and</strong> DETACH XSTORE comm<strong>and</strong>s to rearrange the attachment ofExp<strong>and</strong>ed Storage. By doing this carefully, fragmentation can be reduced oreliminated.Chapter 19. Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> 593


Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Note: The system operator must be certain that all virtual machines that haveExp<strong>and</strong>ed Storage attached <strong>and</strong> that will be manipulated by thisrearrangement are not running a guest that would be affected by thedetaching of Exp<strong>and</strong>ed Storage. In general, you should do this when theguest is no longer using Exp<strong>and</strong>ed Storage, the guest operating system isreset, or the logged-on Exp<strong>and</strong>ed Storage is released.The example shown in Figure 30, Figure 31 on page 595, <strong>and</strong> Figure 32 on page596 shows how a normal attachment can become fragmented <strong>and</strong> then rearranged.In all cases where a virtual machine owns Exp<strong>and</strong>ed Storage, no guest is runningin that virtual machine at the time a detach is done.┌───────────────────────────┐ Top of Exp<strong>and</strong>ed Storage│ User D │││├───────────────────────────┤│ User C │││├───────────────────────────┤│││││ User B │││││├───────────────────────────┤│││ User A │││││││└───────────────────────────┘ Block 0Figure 30. Map of Exp<strong>and</strong>ed Storage Allocation—No FragmentationIf User C logs off <strong>and</strong> User X logs on with a request for a smaller amount ofExp<strong>and</strong>ed Storage, a small amount of unattached Exp<strong>and</strong>ed Storage exists (seeFigure 31 on page 595, step 1). This by itself is not fragmentation. However, if UserB logs off <strong>and</strong> User Y logs on with a request for less than User C had but largerthan the previously unattached amount, fragmentation occurs (see Figure 31 onpage 595, step 2). The two discontinuous fragments cannot be joined. If User Qlogs on <strong>and</strong> requests an amount equal to the sum of the two pieces, User Q’svirtual machine only gets the amount associated with the larger piece (seeFigure 31 on page 595, step 3). QUERY XSTORE or QUERY XSTORE USER alsoshows this fragmentation, since the last response has the total amount that can beattached that is greater than the maximum that can be attached to a single virtualmachine.594 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Step 1 Step 2 Step 3┌───────────────────────┐ ┌────────────────────────┐ ┌────────────────────────┐│ │ │ │ │ ││ User D │ │ User D │ │ User D ││ │ │ │ │ ││ │ │ │ │ │├───────────────────────┤ ├────────────────────────┤ ├────────────────────────┤│ │ │ │ │ ││ Free │ │ Free │ │ Free ││ │ │ │ │ │├───────────────────────┤ ├────────────────────────┤ ├────────────────────────┤│ │ │ │ │ ││ User X │ │ User X │ │ User X ││ │ │ │ │ ││ │ │ │ │ │├───────────────────────┤ ├────────────────────────┤ ├────────────────────────┤│ │ │ │ │ ││ │ │ Free │ │ User Q ││ │ │ │ │ ││ User B │ ├────────────────────────┤ ├────────────────────────┤│ │ │ User Y │ │ User Y ││ │ │ │ │ │├───────────────────────┤ ├────────────────────────┤ ├────────────────────────┤│ User A │ │ User A │ │ User A ││ │ Blk │ │ Blk │ │ Blk└───────────────────────┘ 0 └────────────────────────┘ 0 └────────────────────────┘ 0Figure 31. Map of Exp<strong>and</strong>ed Storage Allocation—with FragmentationBy using several comm<strong>and</strong>s, this situation can be corrected. First, detach theExp<strong>and</strong>ed Storage associated with User Q. This is the virtual machine that receivedthe wrong amount of Exp<strong>and</strong>ed Storage (see Figure 32 on page 596, step 1). Then,detach the Exp<strong>and</strong>ed Storage associated with User X. This is between the two freeareas (see Figure 32 on page 596, step 2). This creates a large contiguous portionof Exp<strong>and</strong>ed Storage. Now, attach Exp<strong>and</strong>ed Storage to User Q <strong>and</strong> User X withtheir original amounts. The fragmentation is now removed (see Figure 32 on page596, step 3).Chapter 19. Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> 595


Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Step 1 Step 2 Step 3┌───────────────────────┐ ┌────────────────────────┐ ┌────────────────────────┐│ │ │ │ │ ││ │ │ │ │ ││ User D │ │ User D │ │ User D ││ │ │ │ │ ││ │ │ │ │ │├───────────────────────┤ ├────────────────────────┤ ├────────────────────────┤│ │ │ │ │ ││ Free │ │ │ │ ││ │ │ │ │ │├───────────────────────┤ │ │ │ User Q ││ │ │ │ │ ││ │ │ │ │ ││ User X │ │ Free │ │ ││ │ │ │ ├────────────────────────┤│ │ │ │ │ │├───────────────────────┤ │ │ │ User X ││ │ │ │ │ ││ │ │ │ │ ││ User B │ ├────────────────────────┤ ├────────────────────────┤│ │ │ User Y │ │ User Y ││ │ │ │ │ │├───────────────────────┤ ├────────────────────────┤ ├────────────────────────┤│ User A │ │ User A │ │ User A ││ │ Blk │ │ Blk │ │ Blk└───────────────────────┘ 0 └────────────────────────┘ 0 └────────────────────────┘ 0Figure 32. Map of Exp<strong>and</strong>ed Storage Allocation — Fragmentation RemovedThis example is a fairly simple one. The fragmentation might be worse. It could alsocontain some sections that are marked <strong>CP</strong>(RETAINED). In the cases where<strong>CP</strong>(RETAINED) exists, you can enter RETAIN XSTORE NONE to start the process.After you have corrected the Exp<strong>and</strong>ed Storage fragmentation, use the RETAINXSTORE comm<strong>and</strong> to reinstate the amount to be retained for <strong>CP</strong>.Allocating Exp<strong>and</strong>ed Storage to <strong>CP</strong>System initialization attaches Exp<strong>and</strong>ed Storage to <strong>CP</strong> by default. Use the RETAINXSTORE comm<strong>and</strong> to set aside Exp<strong>and</strong>ed Storage for the exclusive use of <strong>CP</strong>.Retained Exp<strong>and</strong>ed Storage is not available to be attached to virtual machines.Note: The RETAIN XSTORE comm<strong>and</strong> is used to prevent a guest with anXSTORE user directory control statement in its directory entry from loggingon <strong>and</strong> taking enough Exp<strong>and</strong>ed Storage from the system to causeperformance problems. It controls inadvertent operational errors.Allocating Retained Exp<strong>and</strong>ed StorageWhen the RETAIN XSTORE comm<strong>and</strong> is entered, <strong>CP</strong> sets aside Exp<strong>and</strong>ed Storagefor <strong>CP</strong>’s exclusive use starting with the highest block number. This corresponds tothe top of the map discussed under “Mapping Exp<strong>and</strong>ed Storage” on page 593.If the amount to be retained cannot be found at the highest block numbers, <strong>CP</strong>takes any Exp<strong>and</strong>ed Storage not assigned to virtual machines. This action couldcause fragmentation. To minimize fragmentation, the system operator should enterRETAIN XSTORE immediately after the system initializes. If the map for the596 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>configuration is followed, the presence of virtual machines logging on at the timeshould not cause a problem. Exp<strong>and</strong>ed Storage is attached to the virtual machinesstarting from the lowest block number.Pending Retained Exp<strong>and</strong>ed StorageIf not enough Exp<strong>and</strong>ed Storage is available to satisfy a RETAIN XSTOREcomm<strong>and</strong>, the remaining amount is designated as pending retained Exp<strong>and</strong>edStorage. When a virtual machine detaches Exp<strong>and</strong>ed Storage, <strong>CP</strong> uses some or allof the amount detached to fulfill the pending retain. If the operator wants to deletepending retain, the RETAIN XSTORE comm<strong>and</strong> should be entered again with theamount given on the comm<strong>and</strong> equal to the current amount retained.Note: Since virtual machines can detach Exp<strong>and</strong>ed Storage in an unpredictableway, pending retain can also cause fragmentation.Using Exp<strong>and</strong>ed Storage as a Minidisk CacheExp<strong>and</strong>ed Storage can also be used as a write-through minidisk cache for CMS orother guests’ data. (Write-through means that anything written to the minidisk isalso reflected in the cache.) This use of Exp<strong>and</strong>ed Storage is self-tuning <strong>and</strong> totallytransparent. It can help eliminate I/O bottlenecks <strong>and</strong> improve system responsetime. Response time may be improved because many reads become synchronousinstructions <strong>and</strong> less <strong>CP</strong> time is spent on I/O related tasks.Real storage can also be used for minidisk caching.Using Exp<strong>and</strong>ed Storage as a minidisk cache may also reduce the complexity ofconfiguring I/O <strong>and</strong> tuning. You may be able to eliminate replication of heavily usedread-only shared minidisks such as the CMS S <strong>and</strong> Y disks <strong>and</strong> the tools disks. Youcan limit load balancing to write activity on DASD volumes. You can allow moreDASD per control unit, while maintaining a given response time.Exp<strong>and</strong>ed storage is faster than DASD control unit caches. Control unit cachestransfer at channel speeds; Exp<strong>and</strong>ed Storage transfers at near central storagespeeds.<strong>CP</strong>-managed centralized cache has automatic load balancing. There is no need todecide which DASD to cover. It also uses space more efficiently.For cacheable I/O, data integrity is maintained by always updating the cache afteran I/O operation. (This includes I/O error conditions.) Where minidisk caching hasbeen specifically prohibited for an otherwise cacheable interface, cache invalidationmay be used to ensure data integrity.For non-cacheable I/O, <strong>CP</strong> cannot always determine which records on the minidiskare being referenced. <strong>CP</strong> causes cache invalidation if, after investigation of thechannel program it determines the data cannot be cached. Data integrity ismaintained by cache invalidation.Blocks are discarded from the cache when the data on the physical volume ischanged in a way that bypasses the cache. The cache is invalidated when:v An I/O error occurs on cacheable I/Ov A noncacheable I/O operation occurs to a writeable minidisk that either:– May have data in the cacheChapter 19. Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> 597


Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>– Overlaps another minidisk which may have data in the cachev DASD is detached from the systemv The Exp<strong>and</strong>ed Storage partition that contains minidisk caching blocks is attachedto a guest virtual machine.Unnecessary cache invalidation decreases performance by reducing the cache hitratio. To avoid problems, see “<strong>Planning</strong> for <strong>and</strong> Using Minidisk Caching” on page600.<strong>CP</strong> Minidisk Cache Enhancements:With the enhancements to the <strong>CP</strong> minidisk cache feature in Version 5 Release 1the following are potential items to consider when migrating from previous releasesof z/<strong>VM</strong> or <strong>VM</strong>/XA SP.v Reconfigure exp<strong>and</strong>ed storage as main storage if it is specifically for minidiskcache.Some processors allow a portion of main storage to be configured as exp<strong>and</strong>edstorage. Installations that configure storage as exp<strong>and</strong>ed storage in order to useminidisk cache should consider reconfiguring this exp<strong>and</strong>ed storage as mainstorage.v Review storage allocation for minidisk cache.Prior to <strong>VM</strong>/ESA 1.2.2, the amount of exp<strong>and</strong>ed storage allocated for minidiskcache could be fixed or bounded (minimum <strong>and</strong> maximum) with the RETAINXSTORE MDC comm<strong>and</strong>. Now the amount of storage, either real or exp<strong>and</strong>ed,can be fixed or bounded with the SET MDCACHE comm<strong>and</strong>. The RETAINXSTORE MDC comm<strong>and</strong> is maintained for compatibility purposes. When theamount of storage allocated for minidisk cache is not a fixed amount, the arbiterfunction of minidisk cache determines how much storage to allocate.The arbiter was completely changed in <strong>VM</strong>/ESA 1.2.2. This eliminated somelimitations of the previous arbiter. If the arbiter was ineffective for your system inthe past, it may now be acceptable <strong>and</strong> should be tried. If the size of the minidiskcache was previously fixed or bounded, you will want to either allow the arbiter todynamically determine the minidisk cache size or you will want to alter the valuesin consideration of both real <strong>and</strong> exp<strong>and</strong>ed storage usage.A new method of influencing the arbiter is setting a bias with the SET MDCACHESTORAGE BIAS or SET MDCACHE XSTORE BIAS comm<strong>and</strong>s. This can bepreferable to setting a fixed minimum or maximum for systems where paging<strong>and</strong>/or minidisk cache size requirements vary significantly over time.v Try letting the minidisk cache size default.For both MDC in real storage <strong>and</strong> MDC in exp<strong>and</strong>ed storage, the default is nocache size restrictions <strong>and</strong> no biasing (that is, a bias setting of 1.00). Underthese conditions, the real storage arbiter usually strikes a good balance betweenusing real storage for MDC <strong>and</strong> using it for dem<strong>and</strong> paging. Likewise, theexp<strong>and</strong>ed storage arbiter usually makes a good trade-off between usingexp<strong>and</strong>ed storage for MDC <strong>and</strong> using it for paging. The default settings shouldbe good for most systems <strong>and</strong> are at least a good starting point. One potentialexception is when storage is very unconstrained. In that case, bias settings in therange of 0.1 to 0.5 may give better results.v When using exp<strong>and</strong>ed storage for minidisk cache, also use some real storage forminidisk cache.In situations where exp<strong>and</strong>ed storage is to be used for most minidisk caching, itis better to allow some real storage to also be used for minidisk caching ratherthan setting the real MDC size to 0 or setting it off.598 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>v Use SET MDCACHE or SET RDEVICE comm<strong>and</strong>s instead of SET SHARED toenable minidisk cache on volumes.Prior to z/<strong>VM</strong> 4.4.0, you could define all DASD volumes as shared volumes in thesystem generation or system configuration file <strong>and</strong> then enable particularvolumes for minidisk cache with the SET SHARE OFF comm<strong>and</strong>. Now you mustexplicitly use the SET MDCACHE RDEV comm<strong>and</strong> or the SET RDEVICEcomm<strong>and</strong> with MDC option to enable minidisk cache.v Enable caching for minidisks that were poor c<strong>and</strong>idates in the past.There may be minidisks that were disabled for caching because most of the I/Oto them were writes. It may now be reasonable to enable these minidisksbecause the writes will not cause inserts in the cache <strong>and</strong> the reads mightbenefit from caching. Some overhead to check for data in the cache whenperforming a write I/O (to maintain integrity) does exist. Therefore, disablingminidisk cache for write-only minidisks would save some system resources.v Disable caching for minidisks that are poor c<strong>and</strong>idates.You may want to revisit <strong>and</strong> change the devices for which you disabled orenabled minidisk caching. There may be some minidisks that are poorc<strong>and</strong>idates for minidisk cache, but did not matter in the past since the type of I/Oor format made them ineligible for minidisk cache. With several restrictions beinglifted, (such as the 4 KB block size) it may be worthwhile to revisit theseminidisks <strong>and</strong> make sure they have minidisk cache disabled. VSE pagingvolumes may be c<strong>and</strong>idates.v Consider using minidisk caching with guest operating systems.Because many of the restrictions formerly associated with minidisk caching havebeen removed, it can now often be used to improve the performance of guestoperating systems.The main benefits of minidisk caching are to reduce the load on the I/Osubsystem <strong>and</strong> to reduce elapsed time by eliminating read I/Os when therequested records are found in the cache.Minidisk caching uses a fair share concept to prevent any one virtual machinefrom flooding cache storage by inserting large amounts of data. As with serversthat support many users, you should normally use the directory optionNOMDCFS (no minidisk cache fair share) to turn off the minidisk cache fair sharelimit for production guest virtual machines.v Reformat some minidisks to smaller blocksize.Each CMS file consists of at least one DASD record even if the file is very small.The capacity of 4 KB formatted minidisks that consist of mostly small files maybe increased by reformatting them using 2 KB, 1 KB or 512 byte sizes. Prior to<strong>VM</strong>/ESA 1.2.2, reformatting to a smaller size would have made the minidiskineligible for minidisk caching. Care must be taken, however, because as therecord size gets smaller, the number of available bytes per track is reduced.v Prepare for minidisk caching on devices shared between first <strong>and</strong> second levelsystems.Prior to z/<strong>VM</strong> 4.4.0, most second level systems did not use minidisk cachebecause it required exp<strong>and</strong>ed storage, which most second level test systems donot have. Now that minidisk cache can use real storage instead of exp<strong>and</strong>edstorage, second level systems benefit. Care should be used for minidisks sharedwith first level systems in order to have all changes reflected to the second levelsystem. For example, a minidisk is cached by a second level system <strong>and</strong> achange is made to the minidisk by the first level system. The change will not bereflected on the second level system if the data had been in the second levelChapter 19. Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> 599


Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>system cache. You must purge the cache on the second level system with theSET MDCACHE MDISK FLUSH comm<strong>and</strong> <strong>and</strong> reaccess the minidisk to see thechanges.v Avoid mixing st<strong>and</strong>ard format <strong>and</strong> non-st<strong>and</strong>ard format records on the samecylinder.Mixing different format records on the same cylinder makes the minidisk cachefeature less efficient. The minidisk cache is more efficient for st<strong>and</strong>ard formatrecords. However, when both formats exist on the same cylinder, <strong>CP</strong> treats allI/O to that cylinder as non-st<strong>and</strong>ard.What Devices Can Be CachedMinidisk caching does not apply to:v DEVNO defined full-pack minidisksv FBA minidisks that are not page-alignedv Virtual disks in storagev Dedicated or attached DASDv Shared DASDv Devices other than DASD.Minidisk caching applies to linked minidisks. This includes:v Normal user minidisksv CMS S <strong>and</strong> Y disksv Temporary disksv Overlapping minidisksv Minidisks formatted <strong>and</strong> reserved for use by the *BLOCKIO system service, forexample:– SQL/DS minidisks– Shared file system minidisks.Turning Caching OffBy default, <strong>CP</strong> caches all eligible minidisks on all volumes unless minidisk cachinghas been turned off. To turn off minidisk caching for the system, enter the comm<strong>and</strong>as follows:set mdcache system offTo turn off minidisk caching for all minidisks on a volume, you can do one of thefollowing:v SET MDCACHE RDEVv Define SHARED YES on the RDEVICE TYPE DASD system configuration filestatement for that volumeTo turn off minidisk caching for an individual minidisk, code the NOMDC option onthe MINIOPT user directory control statement in the <strong>CP</strong> directory. For moreinformation, see “MINIOPT Directory Control Statement (Device)” on page 524.<strong>Planning</strong> for <strong>and</strong> Using Minidisk CachingThe sharing of Exp<strong>and</strong>ed Storage between a minidisk cache <strong>and</strong> paging is doneautomatically. To control the sizes of the minidisk cache portion of Exp<strong>and</strong>edStorage, use the RETAIN or SET MDCACHE comm<strong>and</strong>s to set the minimum <strong>and</strong>maximum size of Exp<strong>and</strong>ed Storage. The size of the minidisk cache can be fixed by600 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>setting the maximum equal to the minimum. Use the QUERY MDCACHE comm<strong>and</strong>to show the sizes. For the format <strong>and</strong> description of these comm<strong>and</strong>s, see thez/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.To display the current size of the minidisk cache <strong>and</strong> the minimum <strong>and</strong> maximum ofits possible size, use the QUERY MDCACHE comm<strong>and</strong>.To display the rate per second at which information is read <strong>and</strong> written to theminidisk cache, use the INDICATE LOAD comm<strong>and</strong>. This comm<strong>and</strong> also displaysthe number of successful cache lookups. The INDICATE comm<strong>and</strong> statistics are forboth real <strong>and</strong> exp<strong>and</strong>ed storage MDC use.Attention: If different systems share a minidisk, use the MINIOPT user directorycontrol statement to avoid caching those minidisks. If the minidisk is used inread-only status, it can be shared between two systems. Special attention must bepaid to volumes that will be shared in a CSE complex. See “Sharing DASDVolumes” on page 336 for more detail.Special Considerations for CMS Minidisk Volumes Sharedbetween ProcessorsIf you have DASD volumes that contain CMS minidisks that are shared amongdifferent processors (such as in a CSE complex), you must take action beforeIPLing <strong>VM</strong>/ESA. This also applies if you are running <strong>VM</strong>/ESA as V=V guest whenthe guest will be using minidisk caching <strong>and</strong> the first-level system will be cachingusing minidisk caching.For each DASD volume that contains CMS minidisks <strong>and</strong> that more than oneprocessor physically shares, specify one of the following:v SHARED YES on the RDEVICE TYPE DASD statement in the systemconfiguration filev SHARED YES on the SET RDEVICE TYPE DASD comm<strong>and</strong>v SHARED=YES on the RDEVICE macroinstruction in the H<strong>CP</strong>RIO ASSEMBLEfile.This prevents all minidisks on those volumes from being eligible for minidiskcaching. If you do not specify YES for the SHARED parameter or oper<strong>and</strong>, a dataintegrity exposure can exist. The exposure is caused if any system other than theone that is using minidisk caching to cache data has write access to the disk, suchas in a CSE complex.Note, the SET SHARED ON comm<strong>and</strong> disables minidisk caching for all minidiskson a real DASD volume. The SET MDC RDEV comm<strong>and</strong> disables minidisk cachingon a volume, <strong>and</strong> the SET MDC MDISK disables caching for a single minidisk.Defining a shared device using either the SET RDEVICE comm<strong>and</strong> or theRDEVICE system configuration file statement or macroinstruction, described in theprevious list, is the recommended method for shared volumes. It prevents anycaching of data that might occur before the SET SHARED comm<strong>and</strong> can beentered. For example, caching might occur as part of initialization of operator <strong>and</strong>autologged virtual machines.Notes:1. One possible exception is that if only one processor among the sharingprocessors is writing, <strong>and</strong> the same processor is the only one trying to cachedata for that volume, for that processor only, minidisk caching may be allowedChapter 19. Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> 601


Exp<strong>and</strong>ed Storage <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>(YES need not be specified for the SHARED parameter or oper<strong>and</strong>). For allother sharing processors, YES should be specified for the SHARED parameteror oper<strong>and</strong>.2. The SET SHARED comm<strong>and</strong> <strong>and</strong> either the SET RDEVICE SHARED YEScomm<strong>and</strong>, the RDEVICE SHARED YES system configuration file statement, orthe RDEVICE SHARED=YES macroinstruction can also be used to specifywhether virtual reserve/release CCWs should be translated to realreserve/release CCWs (see Chapter 21, “DASD Sharing,” on page 619).Performance ConsiderationsMinidisk cache should be turned off for minidisks that are only read <strong>and</strong> written viaMAPMDISK <strong>and</strong> the corresponding data space. Minidisks which use a combinationof data space access/MAPMDISK <strong>and</strong> virtual I/O (Diagnose <strong>and</strong> channel program)should be evaluated on an individual basis to determine if minidisk cache shouldremain enabled.To prevent unnecessary cache invalidation, do the following:v Perform backup with read-only links whenever possible.v Consider restoring minidisks without full-pack writeable access as follows:– Link to the user’s minidisk rather than relocating it within a full-pack minidisk– Define another minidisk to exactly overlap the one being restored.v Consider disabling caching for minidisks that are accessed by both CMS usersrunning on the first-level <strong>VM</strong>/ESA system <strong>and</strong> by CMS users running on asecond-level guest where the second-level system has write access.In addition, to improve performance when using minidisk caching, do the following:v Eliminate replicated volumesv Aligned FBA minidisks on page boundariesv Consider moving the following to cached control units:– Minidisks frequently accessed through the noncacheable interfaces– Minidisks shared between first- <strong>and</strong> second-level systems– Real devices that are physically shared across processorsv Specify NOMDC on the MINIOPT user directory control statement for minidisksnot to be cached. Specifically, do this for write-only minidisks such as those usedfor journaling, logs, <strong>and</strong> tracking.Minidisk caching is generally self-tuning. You may either need to try some manualtuning (such as the recommendations above) or add additional Exp<strong>and</strong>ed or RealStorage if your installation experiences:v A large oscillation in the number of blocks in the cache. (Paging is causing lessExp<strong>and</strong>ed Storage from being used for caching.)v A high I/O activity to DASDs that contain cacheable minidisksv A low minidisk caching hit ratio.602 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 20. Allocating DASD SpaceThis chapter tells you how to calculate disk space for the following <strong>CP</strong> storageareas:v <strong>CP</strong> modulev Warm start datav Checkpoint datav User directoryv Paging spacev Spooling space.It also describes switching operating modes for 3390 devices. The 3390 Model 9 isnot recommended for <strong>CP</strong> system areas <strong>and</strong> does not support 3380 trackcompatibility mode.Direct Access Storage RequirementsIn the following paragraphs you will find many references to disk space. It isimportant to underst<strong>and</strong> the fundamentals of disk space to avoid confusion whendealing with various DASD types.It is helpful to underst<strong>and</strong> z/<strong>VM</strong>’s requirements for disk space in general. It is alsohelpful to underst<strong>and</strong> the differences <strong>and</strong> similarities between z/<strong>VM</strong>’s view ofCount-Key-Data (CKD) <strong>and</strong> fixed block architecture (FBA) devices. Examples ofthese devices are:CKD 3380, 3390FBA 9336, emulated 9336 on SCSI diskNote: z/<strong>VM</strong> may support some DASD types only as an emulation mode on otherDASD. See the list of supported devices in z/<strong>VM</strong>: General Information.z/<strong>VM</strong>’s reference to disk space is always done in units called pages. A disk page isa 4096–byte record on disk. This means that z/<strong>VM</strong> requires that all its disk space(warm start data, directory, <strong>and</strong> so on) be formatted as 4096-byte records. z/<strong>VM</strong>also requires that you identify the use for which specific pages on disk are allocatedto each type of z/<strong>VM</strong> reference. For example, you must identify pages for paging,for the directory, <strong>and</strong> for other areas.CKD Device Geometryz/<strong>VM</strong> views CKD devices by their geometric characteristics (such as number ofcylinders). Each cylinder has a fixed page capacity, meaning that a fixed number of4K records fit on a cylinder. This number varies for each CKD DASD type. z/<strong>VM</strong>references its data by a cylinder number <strong>and</strong> a page number on that cylinder. Forz/<strong>VM</strong> space you must format <strong>and</strong> allocate pages in groups of cylinders.Note: z/<strong>VM</strong> supports only CKD devices that accept the Extended-Count-Key-Data(ECKD) channel program protocol. Space on these devices is alsoexpressed in units of cylinders. For more efficient disk I/O, an extendedchannel comm<strong>and</strong> architecture is used. This architecture is based primarilyon the CKD comm<strong>and</strong> set. Therefore the term CKD, as used in this <strong>and</strong>other z/<strong>VM</strong> books, really refers to ECKD.© Copyright <strong>IBM</strong> Corp. 1991, 2004 603


Allocating DASD SpaceLater in this chapter you are asked to figure your particular DASD requirements asa number of records or pages, then convert this number to an equivalent number ofcylinders. This means dividing the page requirements by the number of pages percylinder for particular device types. Allocating space for minidisks on z/<strong>VM</strong>-ownedECKD volumes is also done in units of cylinders. Use of space within this allocationis also done in units of cylinders by way of the MDISK directory control statement.This is convenient because no conversion is required in this case.FBA Device GeometryFBA devices appear as linear address spaces of 512-byte blocks. The blocks areconsecutively numbered from 0 to n, where n is the highest block number on thevolume. z/<strong>VM</strong> groups eight consecutive blocks to form a z/<strong>VM</strong> page <strong>and</strong> this pagemust begin on a 4K boundary. z/<strong>VM</strong> then views the volume as a collection of pagesnumbered from 0 to (n-7)/8. For example, blocks 0-7 make up page 0. There is noconcept of cylinder boundaries in this structure.You must allocate space on FBA volumes in units of pages (in contrast to units ofcylinders on CKD volumes). When you figure your disk space requirements as anumber of pages, you can use these numbers directly in system configuration filestatements or in the ICKDSF service program (pages). Page numbers must bemultiplied by 8 to convert them into block numbers used by the MDISK controlstatement. When assigning minidisk space, you must know the available extents ofyour disk in block numbers (see Table 27 on page 605).Note: It is recommended that all FBA minidisks as well as full-pack minidiskvolumes be aligned on page boundaries for optimization of disk space.Otherwise, the resulting residual blocks of disk space might not be formatted<strong>and</strong> utilized. Additional restrictions apply for SFS file pool minidisks that arenot page-aligned. For more information, see z/<strong>VM</strong>: CMS File Pool <strong>Planning</strong>,<strong>Administration</strong>, <strong>and</strong> Operation. If the starting block number is a multiple ofeight <strong>and</strong> the number of blocks is a multiple of eight, then the minidisk isdefined to be on a page boundary.It is helpful to underst<strong>and</strong> how much disk space you need to allocate for <strong>CP</strong> storageareas. This chapter shows you how to calculate <strong>CP</strong> storage areas in terms of thenumber of cylinders on the various types of CKD devices <strong>and</strong> the number of 4 KBpages on FBA devices.StorageCalculationsFor each area of storage, a calculation to determine the number of cylinders or 4KB pages needed is given. You will need to refer to information in the systemconfiguration file for some of the calculations.Table 26. CKD DASD Storage CapacitiesTable 26 lists the storage capacity of various CKD devices. Table 27 on page 605lists the storage capacity of FBA devices.DASD Type Pages per Track Tracks per Cylinder Cylinders per Disk Pages per Cylinder3380Model3380ModelKE10 15 2655 15010 15 1770 150604 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Allocating DASD SpaceTable 26. CKD DASD Storage Capacities (continued)DASD Type Pages per Track Tracks per Cylinder Cylinders per Disk Pages per Cylinder338010 15 885 150All othermodels3390-1 12 15 1113 1803390-2 12 15 2226 1803390-3 12 15 3339 1803390-9 12 15 32760¹ 180Note:1Value can be up to the maximum number of cylinders on the disk.Note: One page of <strong>CP</strong> storage is equivalent to 4096 bytes of contiguous diskspace.|||||||||||||Table 27. FBA DASD Storage CapacitiesDASD Type Number ofBlocksNumber ofAccessPositionsNumber ofBlocks PerAccess Position9336-20 1,672,881 2153 777 111Emulated 9336-20 onSCSINotes:12,147,483,640 1, 2– 777 3Number ofPages PerAccessPositionFBA blocks allocated for <strong>CP</strong> use must be within the first 64 GB (134,217,728 blocks) of the volume.2Due to CMS file system limitations for status <strong>and</strong> control information to reside below 16 MB in virtual storage,there is a practical limitation on the size of CMS minidisks. As a minidisk increases in size, or more files reside onthe disk, the amount of virtual storage associated with the disk for CMS file system status <strong>and</strong> control increasesin storage below 16 MB. The current ECKD DASD limitation is 32767 cylinders for a 3390 disk on an ESS device,or about 22 GB of data. <strong>IBM</strong> suggests that customers defining FBA SCSI disks for use by CMS set a practicallimit of about 22 GB. If larger disks are defined, they should be limited to contain very few files, or the CMS filesystem may not be able to obtain enough virtual storage below 16 MB to format or access those disks. For moreinformation, see the ACCESS comm<strong>and</strong> in the z/<strong>VM</strong>: CMS Comm<strong>and</strong>s <strong>and</strong> Utilities Reference. The maximumsize for FBA SCSI disks supported for use by CMS or GCS is 381 GB.3These values are simulated for emulated 9336-20 on SCSI <strong>and</strong> are not directly related to the total number ofblocks allowed on real SCSI hardware.111 3<strong>CP</strong>ModuleThe <strong>CP</strong> module resides on a CMS-formatted minidisk, usually the parm disk. Youneed to allocate sufficient disk space for the parm disk, which may contain:v System configuration filesv One or more <strong>CP</strong> modulesv Logo filesv Text decks for <strong>CP</strong> exitsThe size of the <strong>CP</strong> module depends on the size of:v <strong>IBM</strong>-supplied text decksv Customized H<strong>CP</strong>SYS (system definition) <strong>and</strong> H<strong>CP</strong>RIO (real I/O configuration)ASSEMBLE files, if usedChapter 20. Allocating DASD Space 605


Allocating DASD Spacev Other customized text decks included in the <strong>CP</strong> moduleThe H<strong>CP</strong>LDR option PAGEB causes the <strong>CP</strong> module to be greatly larger.The size of the system configuration file does not affect the size of the <strong>CP</strong> module.Therefore, if you are migrating from a previous <strong>VM</strong> release in which you used theH<strong>CP</strong>SYS <strong>and</strong> H<strong>CP</strong>RIO files to define your system, <strong>IBM</strong> strongly recommends thatyou migrate all of the data from your H<strong>CP</strong>SYS <strong>and</strong> H<strong>CP</strong>RIO files to the systemconfiguration file.Table 28 shows the minimum contiguous cylinders/4 KB pages required for the <strong>CP</strong>module when you are not using the H<strong>CP</strong>SYS <strong>and</strong> H<strong>CP</strong>RIO files or the H<strong>CP</strong>LDRPAGEB option.Table 28. Minimum Space Required for the <strong>CP</strong> ModuleDevice Number of Cylinders or Pages3380 18 cylinders3390 14 cylindersFBA 2600 pagesWarm Start DataYou specify the number of cylinders or 4 KB pages to allocate to the warm startarea. The number required is based on the maximum number of spool files that canexist at one time, which in turn is determined by the number of users defined in thedirectory <strong>and</strong> the number of spool files permitted each user, or the number ofcylinders or pages available for spool files. You can specify up to 9 cylinders (CKDDASD) or 2000 4 KB pages (FBA DASD) for the warm start area. The warm start<strong>and</strong> checkpoint save area cannot begin at cylinder 0 (CKD DASD) or before page16 (FBA DASD).Use the WARMSTART oper<strong>and</strong> of the SYSTEM_RESIDENCE statement in thesystem configuration file to specify the location <strong>and</strong> size of the area to be used forwarm start data:v The starting location is specified as the cylinder or page number that designatesthe real starting location where the <strong>CP</strong> warm start information is to be saved. ForCKD device types, this value is a nonzero decimal cylinder number ranging from1 to 65535. For FBA devices, this value is a 4 KB page number beginning withpage 16 or greater.v The maximum size of the warm start area is specified as the number of cylindersor 4 KB pages to be allocated for the warm start information area. For CKDdevices, this must be a number from 1 to 9 that represents cylinders. For FBAdevices, this must be a number from 1 to 2000 that represents 4 KB pages. Youcan use one of the following formulas to calculate the size.If the warm start volume is a CKD DASD, use this formula to calculate number ofcylinders required:maxfilesn = ------------1022 x ppcIf the warm start volume is an FBA DASD, use this formula to calculate number of 4KB pages required:606 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Allocating DASD Spacemaxfilesp = ----------1022n is the number of cylinders required for the warm start area.p is the number of 4 KB pages required for the warm start area.maxfilesis the maximum number of spool files that can exist at one time.ppcis a device-dependent value selected from Table 26 on page 604. The valuerepresents the number of 4 KB pages that will fit on one cylinder.ExampleFor example, assume you chose a 3390 DASD as the device to be used for warmstart data. Each 4 KB page of a CKD DASD allows 1022 spool file pointers. A 3390DASD has 180 4 KB pages per cylinder. Therefore each cylinder of a 3390 DASDcan point to 183960 files. So a 9-cylinder warm start area (the maximum) allows asystem-wide maximum of more than 1.6 million (1655640) spool files.For information on how to specify the oper<strong>and</strong>s, see “SYSTEM_RESIDENCEStatement” on page 230.CheckpointDataYou specify the number of cylinders or 4 KB pages to allocate the checkpoint area.The number required for the checkpoint area is based on the number of <strong>CP</strong>-ownedvolumes in the configuration, the number of real spooling devices defined in the realI/O configuration, <strong>and</strong> the maximum number of users that will be logged on at thesame time. Accounting, EREP, <strong>and</strong> symptom records are also stored in thecheckpoint area. Normally, these records are retrieved by virtual machines identifiedin the system configuration file. But if those virtual machines are not activelyretrieving the records, they will accumulate <strong>and</strong> take up space in the checkpointarea.You can specify up to 9 cylinders (CKD DASD) or 2000 4 KB pages (FBA DASD)for the checkpoint area. The warm start <strong>and</strong> checkpoint save area cannot begin atcylinder 0 (CKD DASD) or before page 16 (FBA DASD).Use the CHECKPOINT oper<strong>and</strong> of the SYSTEM_RESIDENCE statement in thesystem configuration file to specify the location <strong>and</strong> size of the area to be used forcheckpoint (system restart) data:v The starting location is specified as the cylinder or page number that designatesthe real starting location where the <strong>CP</strong> warm start information is to be saved. ForCKD devices, this value is a nonzero decimal cylinder number ranging from 1 to65535. For FBA devices, this value is a 4 KB page number beginning with page16 or greater.v The maximum size of the checkpoint area is specified as the number of cylindersor 4 KB pages to be allocated for the checkpoint information area. For CKDdevices, this must be a number from 1 to 9 that represents cylinders. For FBAdevices, this must be a number from 1 to 2000 that represents 4 KB pages. Youcan use one of the following formulas to calculate the size.If the checkpoint volume is a CKD DASD, use this formula to calculate number ofcylinders required:Chapter 20. Allocating DASD Space 607


Allocating DASD Spaceppc+4+((nvl+119)/120)+((nrs+60)/61)+(((nau*10)+39)/40)n = ------------------------------------------------------ppcIf the checkpoint volume is an FBA device, use this formula to calculate number of4 KB pages required:p = 100+((nvl+119)/120)+((nrs+60)/61)+(((nau*10)+39)/40)n is the number of cylinders required for the checkpoint area.p is the number of 4 KB pages required for the checkpoint area.ppcis a device-dependent value selected from Table 26 on page 604. The valuerepresents the number of 4 KB pages that will fit on one cylinder.nvlis the number of <strong>CP</strong>-owned volumes present in the configuration when thecheckpoint process began.nrsis the number of real spooling devices defined in the real I/O configuration.nauis the number of users active on the system when the checkpoint processbegan.DirectorySpaceTo allocate a disk so that it contains space for the directory, use the Device SupportFacilities program (ICKDSF). See the Device Support Facilities User’s Guide <strong>and</strong>Reference book for additional information. The z/<strong>VM</strong> user directory cannot beginbefore page 16 on FBA DASD.If you follow the installation procedures in the z/<strong>VM</strong>: Guide for AutomatedInstallation <strong>and</strong> Service, you should have enough disk space for two directories.This allows you to build a new directory whenever needed, without reformatting <strong>and</strong>reallocating space each time. If you wish to reallocate the area on which thedirectory resides, you may use the ICKDSF program, which can be invoked by the<strong>CP</strong> utility <strong>CP</strong>FMTXA.A minimum of 4 cylinders (CKD DASD) or 600 pages (FBA DASD) should beallocated to the z/<strong>VM</strong> directory. This provides for two directories of 2 cylinders (CKDDASD) or 300 pages (FBA DASD) each. The space required for the directorydepends on the number <strong>and</strong> size of the virtual machine configurations defined. Ifyou have not allocated enough space for your directory, you will receive a messagesaying so.You can estimate the minimum disk space required for your directory by using oneof the following formulas:For CKD DASD, use the formula below (round up any fraction to the next wholenumber) to calculate the minimum number of cylinders required to contain theobject directory:tcbscylinders= -------- * 2ppc608 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Allocating DASD SpaceFor FBA DASD, use the formula below to calculate the minimum number of pagesrequired to contain the object directory:pages= tcbs * 2cylindersis the minimum number of cylinders of the CKD DASD type targeted to containthe object directory.To calculate the minimum disk space required for an object directory, use theformula below for total control block space (tcbs) to calculate the number ofpages. Then divide the result (tcbs) by the pages per cylinder value to obtainthe number of cylinders for that type of DASD.pagesis the minimum number of 4 KB pages of FBA DASD targeted to contain theobject directory.To calculate the minimum disk space required for an object directory, use theformula below for tcbs to calculate the number of pages.ppcis the number of pages per cylinder for the device type you intend to use foryour object directory, as listed in Table 26 on page 604.tcbsis an estimate of the total number of pages required for directory control blocks,comprising the index pages, the PROFILE definitions, <strong>and</strong> the USER definitions.It can be found by using the following formula:tcbs = 12 + ((512 + cpus x 16 + devices x 80 + iucvs x 32) / 4096) x userswherecpusis the number of virtual <strong>CP</strong>Us defined for a typical virtual machine.devicesis the number of virtual devices defined for a typical virtual machine,including those defined using SPOOL, CONSOLE, DEDICATE, MDISK,SPECIAL, <strong>and</strong> LINK statements. Include in the count for a user any devicesthat are defined in an imbedded PROFILE directory entry.iucvsis the number of IUCV statements defined for a typical virtual machine.usersis the number of virtual machines in the User Directory, including thosedefined using USER, PROFILE, <strong>and</strong> POOL statementsExampleFor an installation with 5000 users, the numbers might look like:users = 5000cpus = 1devices = 20iucvs = 2For these values, the number of pages of storage required would be:tcbs = 12 + ((512 + 1 x 16 + 20 x 80 + 2 x 32) / 4096) * 5000tcbs = 12 + 2676 = 2688Chapter 20. Allocating DASD Space 609


Allocating DASD Spacecylinders = 2688/180 x 2 = 15 x 2 = 30pages = 2688 x 2 = 5336For a 3390 at 180 pages per cylinder, the required space would be 30 cylinders.For an FBA device, the required space would be 5376 pages.This is the minimum amount of space to be allocated. You should apply a growthfactor to this amount to accommodate changes <strong>and</strong> additions to your system. Also,since this is only an approximation, if you make extensive use of directorystatements not mentioned in the explanation of oper<strong>and</strong>s in the forumla, you shouldapply a larger growth factor to the result.Directory Size ConstraintsThe constraining factors on the number of users in the directory are as follows:v The maximum size of the source directory that can be h<strong>and</strong>led by the file editor.To maximize the effective size of the source directory, you can do the following:– Minimize the amount of virtual storage CMS is using by accessing as fewdisks as possible. This allows as much virtual storage as possible for thesource directory.– Decrease the average number of records needed to describe a virtualmachine by eliminating comments <strong>and</strong> by effective use of profiles.– Convert a very large monolithic source directory to cluster form.v Disk space. The object directory must fit on one disk volume. With the size ofdisk supported by <strong>CP</strong>, this should not be a problem. The other limitations willcome into play before this one is reached.PagingSpaceThe amount of paging space you need to allocate on disk depends on thesecharacteristics of your installation:v The number <strong>and</strong> size of logged-on virtual machinesv The number <strong>and</strong> size of data spacesv The work load running in each virtual machine.Use this formula to calculate the number of disk pages you need to allocate forpaging space:pages = (block paging factor) * (total virtual storage)Where:total virtual storage=(maximum number of logged-on users) * (average virtual machine size) +(maximum number of defined data spaces) * (average data space size)Notes:1. Multiplying the total virtual storage by block paging factor (a value from 2through 4) is needed to account for block paging. <strong>CP</strong> improves real storagemanagement with block paging support. With this feature, <strong>CP</strong> or a virtualmachine has faster access to disk for paging even without Exp<strong>and</strong>ed Storageattached. In block paging, multiple pages of related information move to <strong>and</strong>from disk as a single unit. The block paging feature requires more disk space to610 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Allocating DASD Spacetransfer pages at maximum efficiency <strong>and</strong> speed. Therefore, you should allocatetwo to four times more disk space than the total virtual storage used by loggedon virtual machines <strong>and</strong> data spaces.2. Number <strong>and</strong> average size of data spaces refers to data spaces provided by <strong>VM</strong>data space support.3. For CKD devices, to calculate the number of cylinders of that device typeneeded, divide the number of disk pages needed for paging space by thenumber of pages per cylinder for that device type, <strong>and</strong> round up. For FBAdevices to determine the number of blocks needed for paging space, multiplythe number of pages by 8, since there are 8 512-byte blocks in a page.ExampleTable 29 shows the amount of space in cylinders on a 3390 DASD that you need toallocate as paging space based on the number of users <strong>and</strong> their average virtualmachine size. Table 30 on page 612 shows the amount of space in pages <strong>and</strong> inblocks on an FBA DASD that you need to allocate as paging space based on thesame factors. Note that:v The number of cylinders or pages shown are the minimums required.v Two is the multiplication factor used for block paging.v The calculations shown do not take into account that storage may be shared byseveral users. You should take this factor into account.To achieve best performance, use multiple DASD volumes. For example, if youneed to allocate 1000 cylinders on a 3390, try allocating 100 cylinders on each of10 different 3390s, or 200 cylinders on each of five different disks. Paging in <strong>CP</strong> isbased on MLOAD values whereby a device is chosen if its MLOAD value is equalto or less than the system average MLOAD value. MLOAD is the number of queuedpaging requests for a disk volume times the device service time.Table 29. 3390 Cylinders Needed for Paging Space Based on FormulaScenario Number of Cylinders100 users; average virtual machine size 500 KB 139100 users; average virtual machine size 2 MB 569500 users; average virtual machine size 2 MB 2845500 users; average virtual machine size 2 MB; 10 users with 2 data spaces each; averagedata space size 25 MB426710 users; average virtual machine size 16 MB 45510 users; average virtual machine size 32 MB 910Chapter 20. Allocating DASD Space 611


Allocating DASD SpaceTable 29. 3390 Cylinders Needed for Paging Space Based on Formula (continued)Scenario Number of CylindersExamples:1. For example, 2845 cylinders is obtained from the following computation:(2 X [(500 X 2 X 256) + (0 X 0 X 256)]) / 180 = 2845│ │ │ │ │ │ │ │ │multiplier ─────┘ │ │ │ │ │ │ │ │for block users │ │ number of │ │ │ 3390 cylinderspaging │ │ data │ │ ││ │ spaces │ │ pages per cylinder│ │ │ │virtual │ average │machine │ data │size (MB)│ space ││ size (MB) │││└ pages in 1MB ─┘Note: The actual number obtained by the formula is 2844.44. Rounding up to the next whole cylinder gives 2845cylinders.2. The following example shows the calculation for the same installation using <strong>VM</strong> data space support:(2 X [(500 X 2 X 256) + ((2 X 10) X 25 X 256)]) / 180 = 4267│ │ │ │ │ │ │ │ │ │multiplier ─────┘ │ │ │ │ │ │ │ │ │for block users │ │ number of │ │ │ │ 3390 cylinderspaging │ │ data │ │ │ ││ │ spaces users │ │ pages per cylinder│ │ │ │virtual │ average │machine │ data │size (MB)│ space ││ size (MB) │││└──── pages in 1MB ───┘Note: The actual number obtained by the formula is 4266.67 Rounding up to the next whole cylinder gives 4267cylinders.A properly configured 3390 DASD (see note below) in an ESS 2105-F20 <strong>and</strong> usedonly for paging can be expected to h<strong>and</strong>le up to 200 pages a second. Thisassumes that there is adequate space defined on the volume to support blockpaging, as described earlier in this chapter. This information can be used toestimate the number of volumes required.Note: “Properly configured” means a volume that is allocated to paging only <strong>and</strong>whose control unit is attached to other volumes that contain paging areas,spooling areas, <strong>and</strong> guest minidisks. Do not mix spooling <strong>and</strong> paging on thesame volume unless the rates are below 25 pages per second for paging<strong>and</strong> spooling together. Temporary disk space should be isolated to its ownvolumes or distributed with minidisks on volumes that do not contain pagingor spooling areas. These recommendations allow <strong>VM</strong> to use seldom-endingchannel programs to increase the efficiency of its paging I/O. Placing othertypes of data on paging volumes may reduce the effectiveness of thesechannel programs.Table 30. FBA Pages Needed for Paging Space Based on FormulaScenarioFBANumber of Pages Number of Blocks100 users; average virtual machine size 500 KB 25000 200000612 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Allocating DASD SpaceTable 30. FBA Pages Needed for Paging Space Based on Formula (continued)ScenarioFBANumber of Pages Number of Blocks100 users; average virtual machine size 2 MB 102400 819200500 users; average virtual machine size 2 MB 512000 4096000500 users; average virtual machine size 2 MB; 10 users with 2data spaces each; average data space size 25 MB768000 614400010 users; average virtual machine size 16 MB 81920 65536010 users; average virtual machine size 32 MB 163840 131720Examples:1. For example, 512000 pages is obtained from the following computation:(2 X [(500 X 2 X 256) + (0 X 0 X 256)]) = 512000 pages│ │ │ │ │ │ │multiplier ─────┘ │ │ │ │ │ │for block users │ │ number of │ │paging │ │ data │ ││ │ spaces │ ││ │ │ │virtual │ average │machine │ data │size (MB)│ space ││ size (MB) │││└─ pages in 1MB ─┘2. The following example shows the calculation for the same installation using <strong>VM</strong> dataspace support:(2 X [(500 X 2 X 256) + ((2 X 10) X 25 X 256)]) = 768000 pages│ │ │ │ │ │ │ │multiplier ─────┘ │ │ │ │ │ │ │for block users │ │ number of │ │ │paging │ │ data │ │ ││ │ spaces users │ ││ │ │ │virtual │ average │machine │ data │size (MB)│ space ││ size (MB) │││└──── pages in 1MB ───┘SpoolingSpaceSpooling space is space on disk that <strong>CP</strong> requires to hold spool files on disk. Whenyou allocate spool space, you should take these requirements into consideration:v Normal spooling spacev The space required to write a dumpv The space required for a named saved system (NSS)v The space required for system data files, such as:– Saved segments– UCR data files– Trace data files– Image librariesChapter 20. Allocating DASD Space 613


Allocating DASD Space– NLS files.Allocating Space for <strong>CP</strong> Abend Dumps<strong>CP</strong> abend dumps share spooling space with spool files. Thus, dumps can be sentto spool as long as enough spool space overall is available to contain the categoryof dump requested. During system initialization, <strong>CP</strong> sets aside enough disk spaceto contain a hard abend dump, which changes dynamically as the system operates.A class B user can change the current dump setting with the SET DUMP comm<strong>and</strong>.The SET DUMP comm<strong>and</strong> also allows the class B user to specify a preferred orderfor multiple disk volumes to be used for allocation of <strong>CP</strong> abend dump space. Inaddition, the amount of disk space will be determined by the dump option specified,that is, <strong>CP</strong> or ALL. When the <strong>CP</strong> option is specified, <strong>CP</strong> sets aside enough diskspool space for a <strong>CP</strong>-only real storage dump.During system initialization, enough space should be available for a <strong>CP</strong>-only dump.Only if the SET DUMP comm<strong>and</strong> is entered with the ALL option will enough spoolspace be set aside for the contents of all of real storage, up to 2 GB.Table 31 shows you how much dump space in cylinders (CKD DASD) or 4 KBpages <strong>and</strong> blocks (FBA DASD) you need to allocate for an entire dump of realstorage, based on how much real storage you have <strong>and</strong> what type of DASD youuse.Table 31. Amount of Dump Space Based on Real Storage <strong>and</strong> Type of DASDReal Storage Size 3390 CylindersFBANumber of Pages Number of Blocks4 MB 6 1039 83128 MB 12 2063 1650416 MB 23 4112 3289632 MB 46 8213 6570464 MB 92 16416 131328128 MB 183 32821 262568256 MB 365 65632 525056<strong>CP</strong> uses dump space to write a dump of real storage if <strong>CP</strong> abends. Allocating dumpspace is optional. In general, your dump space should be large enough to containan entire dump of real storage.To calculate the approximate amount of storage needed on a disk, use the followingformula:number of pages needed = number of pages of real storage below 2G + xThe x in the formula above represents 9 pages for the dump file information record,1 page for the symptom record, 1 page for the bit map for each 128 MB of realstorage, 1 page for storage key data for every 16 MB, <strong>and</strong> 3 pages for anadjustment, for a total of 15.This formula applies to relatively small dumps. For larger dumps the x in theformula may have to be increased.614 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Named Saved SystemTo save a copy of an operating system running in a virtual machine, space must bereserved on a <strong>CP</strong>-owned volume for the named saved system. Named savedsystems require one page of spool space for each page saved, plus an additionalinformation page or pages. <strong>CP</strong> uses the information pages to save the virtualmachine’s register contents, PSW, <strong>and</strong> storage keys. The number of informationpages required depends on the number of virtual machine pages being saved. Thefollowing formula shows this relationship:information pages = 1 + virtual machine pages / 4096Round up the result of this calculation to the next whole number.Allocating DASD SpaceFor example, to save a 32 MB virtual machine, you need 8195 pages on disk (8192virtual machine pages plus 3 information pages).Spool Space ExampleThe following table shows you how much spooling space in files per pack you needto specify for CKD DASD based on the type of DASD you have <strong>and</strong> the averagespool file size on your system. Three average spool file sizes are given: small (2KB), medium (50 KB), <strong>and</strong> large (100 KB).Device Small (2 KB) Medium (50 KB) Large (100 KB)3390-1 100,170 15,411 8,0143390-2 200,340 30,822 16,028*3390-3 300,510 46,233 24,0423390-9 901,530 138,696 72,122* Large work load (100 KB) <strong>and</strong> using a 3390-22226 X 12 = 26712 X 15 = 400680 / 25 = 16,028 files/pack| | | |Number of Pages/Track Tracks/Cyl. Pages/FileCylindersThe table below shows you how much spooling space in files per pack you need tospecify for FBA DASD based on the type of DASD you have <strong>and</strong> the work loadrunning on your system. Three work load sizes are given: small (2 KB), medium (50KB), <strong>and</strong> large (100 KB).Device Small (2 KB) Medium (50 KB) Large (100 KB)9336-20 104,554 16,085** 8,364** Medium work load (50 KB) <strong>and</strong> using a 9336-201,672,881 / 8 = 209,110 - 2 = 209,108 / 13 = 16,085 files/pack| | | |Number of Blocks/Page Reserved Pages Pages/FileBlocksSwitching Operating Modes for 3390 DevicesAttention: All mode switches require the affected device to be formatted, so youshould move your data off the device before beginning this procedure.To switch operating modes for a 3390 device, you will need to vary the deviceoffline. If the device is defined to z/<strong>VM</strong> or is to be dynamically sensed, you mayChapter 20. Allocating DASD Space 615


Allocating DASD Spaceneed to perform a SET RDEVICE so that <strong>CP</strong> recognizes the new device type.Otherwise, the integrity of the control blocks associated with the device isjeopardized.If you have the devices defined in the system configuration file:When the device is defined as a 3380 it is necessary to update the RDEVICEstatement to define the device as a 3390. Defined in this manner, z/<strong>VM</strong> willrecognize the mode switch when the device is varied online. This should bedone at a convenient time, such that the next IPL of the system will have thenecessary definitions. Although it is not a requirement, for consistency, thedevice type can also be specified as 3390 in the I/O Configuration Dataset(IOCDS).If you are switching from 3380 track compatibility mode to 3390 mode, <strong>and</strong> thedevice type is not defined as a 3390, z/<strong>VM</strong> does not allow the device to bevaried back online without first performing a SET RDEVICE to change thedevice type. If the device type is not also changed in the system configurationfile, the device will remain offline <strong>and</strong> unusable after the next IPL.If the devices are dynamically sensed:No changes are required in the system configuration file. The SET RDEVICEcomm<strong>and</strong> can be used to change the device definition for the current mode ofthe 3390 device. During IPL, the 3390 device will be brought online in its currentmode of operation.Remember that the 3390 Model 9 does not support 3380 track compatibility mode,so do not perform this procedure with this device.Mode Switch ProcedureUse the following procedure for switching 3390 operating modes:616 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>1. Prevent all applications <strong>and</strong> users from using the device. For example, if thedevice is being used by the system for minidisks, all users must detach thoseminidisks, <strong>and</strong> the device must be detached from the system. If the device isbeing used by one guest, that guest must detach the device.2. Move the data off the affected device. The procedure of switching modesdestroys the data on the device <strong>and</strong> changes the track format.If you wish to restore the data to the same device after switching modes, youshould not use service programs that require identical track formats (such asDASD Dump Restore). For information on moving data, see Using <strong>IBM</strong> 3390Direct Access Storage in a <strong>VM</strong> Environment, GC26-4575.3. Vary the device offline to all processors that have access to it, except the onefrom which you perform the mode switch.4. Attach the device to the virtual machine of the person who is performing themode switch; typically, this person is the system programmer. The virtualmachine to which the device will be attached must have Class F authority.5. Use the SETMODE parameter of the ICKDSF INSTALL comm<strong>and</strong> to change themode. For information about using ICKDSF for this operation, see Using <strong>IBM</strong>3390 Direct Access Storage in a <strong>VM</strong> Environment, GC26-4575.6. Reformat the affected device when all mode switches are made, being sure thatyou have moved the data off the device before you begin.You should use ICKDSF for formatting <strong>and</strong> allocating disks rather than<strong>CP</strong>FMTXA, which has been used for those purposes in the past. For informationon using this option, see the Device Support Facilities User’s Guide <strong>and</strong>Reference, GC35-0033.


Allocating DASD SpaceAny CMS minidisks on the device also must be formatted using CMS FORMAT.7. Detach the device from the virtual machine of the person who performed themode switch.8. If the mode switch is:v For a device defined in the system configuration file:– From 3380 track compatibility mode to 3390 mode <strong>and</strong> the device type isdefined as a 3380, you must redefine the device as a 3390 by first varyingthe device offline <strong>and</strong> then entering either of the following comm<strong>and</strong>s:set rdevice rdev type dasdset rdevice rdev clearThen vary the device back online. You must also change the definition ofthis device in the system configuration file.– From 3380 track compatibility mode to 3390 mode <strong>and</strong> the device type isdefined as a 3390, vary the device offline <strong>and</strong> then back online.– From 3390 mode to 3380 track compatibility mode, vary the device offline<strong>and</strong> then back online.v For a dynamically sensed device:– From 3380 track compatibility mode to 3390 mode or from 3390 mode to3380 track compatibility mode, you must redefine the device by varyingthe device offline <strong>and</strong> entering either of the following comm<strong>and</strong>s:set rdevice rdev type dasdset rdevice rdev clearThen vary the device back online.For information on reformatting the volume for a particular use (<strong>CP</strong> <strong>and</strong> CMSminidisks), <strong>and</strong> moving <strong>CP</strong>-owned volumes <strong>and</strong> CMS minidisks, see the Using<strong>IBM</strong> 3390 Direct Access Storage in a <strong>VM</strong> Environment, GC26-4575.Remember that the device type you use when restoring data is different fromthe one you used to back up the data in Step 2 on page 616.9. After the data is restored, attach the device again to the system or guest <strong>and</strong>allow applications to continue.Migration Considerations for the 3390 Model 9The z/<strong>VM</strong> support of 3390 Model 9 will not affect migration, but there are datamigration considerations if you plan to move data from other devices to a 3390Model 9.The 3390 Model 9 is formatted as a CKD device <strong>and</strong> is supported for formatting byICKDSF <strong>and</strong> the <strong>CP</strong>FMTXA utility. The allocation map format on a 3390 Model 9device will be an extent-based allocation map as opposed to the cylinder-basedallocation map currently used for existing CKD DASD. This is because the existing4K cylinder-based allocation record is not large enough to account for the numberof cylinders on a 3390 Model 9 device.Because the DDR comm<strong>and</strong> is capable of doing a straight copy from an existing3390 device to a 3390 Model 9 device, this may result in a Model 9 device having acylinder-based allocation map record. The 3390 Model 9 device will still be usableby z/<strong>VM</strong>, but because of the limitation of the cylinder-based allocation map record,only the first 4K cylinders of the device will be capable of being used.The reverse situation is also possible where a 3390 Model 1, 2 or 3 device couldhave an extent-based allocation map. This, however, will not be allowed by <strong>CP</strong>. If aChapter 20. Allocating DASD Space 617


Allocating DASD Space3390 contains an extent-based allocation map <strong>and</strong> an operator attempts to attachthis 3390 Model 1, 2 or 3 as a <strong>CP</strong> volume, a warning message will be issued.If either type of data movement is performed, the output disk should be reallocatedusing the ICKDSF <strong>CP</strong>VOLUME ALLOCATE comm<strong>and</strong> if the device is intended tobe used as a <strong>CP</strong> volume. ICKDSF will convert a cylinder-based allocation maprecord on a 3390 Model 9 device into the extent-based allocation record that isnecessary to use the entire device. An extent-based allocation record found on a3390 model 1, 2 or 3 can also be converted by ICKDSF into a cylinder-basedallocation map record.The following coexistence considerations should also be noted:v 3390 Model 9 devices can coexist in the same string with other 3390 devices,but cannot coexist in the same string with other 3380 devices.v 3390 Model 9 B-units (B9C) cannot be intermixed in a string with other models ofthe 3390.618 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 21. DASD SharingUnder z/<strong>VM</strong>, you can share information on a DASD volume among:v Multiple virtual machinesv One virtual machine <strong>and</strong> operating systems running on other processorsv Multiple virtual machines <strong>and</strong> operating systems running on other processors.v Among CMS minidisks on different systems using CSE. For more information onthis, see Chapter 10, “Setting Up Cross System Extensions (CSE),” on page 333.Note that the guest operating system or application must provide the protection byusing reserve/release. <strong>CP</strong> only grants access to the DASD <strong>and</strong> h<strong>and</strong>les virtualreserve/release for MDISK <strong>and</strong> LINK definitions.This chapter tells you how to share DASD under various circumstances:v Among multiple virtual machines by using reserve/releasev Without using virtual reserve/releasev Using the CMS Shared File Systemv Between a virtual machine <strong>and</strong> other systemsv Among multiple virtual machines <strong>and</strong> other systems.It also includes sections on the restrictions for using reserve/release, using theMulti-Path Lock Facility (MPLF), using cached DASD as high-speed storagedevices, <strong>and</strong> using ESS Parallel Access Volumes.Sharing DASD among Multiple Virtual Machines by Using VirtualReserve/ReleaseIf you need to share data among virtual machines running under <strong>VM</strong> but do notneed to share it with operating systems running on other processors, the followingmethod of sharing DASD gives you the best results for non-CMS guests. Thismethod is called virtual reserve/release.Sharing data between virtual machines involves the use of minidisks. A minidisk is avirtual DASD for a specific virtual machine. This virtual DASD is mapped to anextent of cylinders on a real DASD. <strong>CP</strong> can manage DASD sharing in full-packminidisks <strong>and</strong> on smaller minidisks.Note: Virtual reserve/release is also supported for virtual disks in storage, whichare minidisks allocated from system storage rather than mapped to realDASD.To share a minidisk among virtual machines, you must do the following:1. Code the MDISK user directory control statement in the virtual machine’sdirectory entry. For example, the following MDISK user directory controlstatement for a virtual machine (<strong>VM</strong>1):MDISK 197 3390 001 100 WORKPK MWV <strong>VM</strong>1PASSv Defines a minidisk at <strong>VM</strong>1’s 197 virtual device numberv Specifies that this minidisk is to be on the 3390 DASD with the volume IDWORKPKv Specifies that this minidisk starts at cylinder 001 <strong>and</strong> encompasses 100cylinders. Ensure that no other MDISK user directory control statement is© Copyright <strong>IBM</strong> Corp. 1991, 2004 619


DASD Sharingdefined to use any of these same cylinders. DASD RESERVE/RELEASE isnot intended to control sharing of overlapping minidisks.v Includes an access mode of MW (multi-write) with a V (indicating that thisminidisk can be shared between virtual machines) <strong>and</strong> a password of<strong>VM</strong>1PASS.2. Code the LINK user directory control statement in another virtual machine’sdirectory. The LINK user directory control statement <strong>and</strong> the <strong>CP</strong> LINK comm<strong>and</strong>each allow virtual machines to access another user’s minidisk. Suppose asecond virtual machine (<strong>VM</strong>2) has this LINK user directory control statement inits directory:LINK <strong>VM</strong>1 197 197 MWThis statement links <strong>VM</strong>2 to <strong>VM</strong>1’s minidisk. MW indicates that <strong>VM</strong>2 requestsmulti-write access to the minidisk. (The MW access mode on the MDISK userdirectory control statement permits <strong>VM</strong>2 to obtain write access to this minidiskat the same time that <strong>VM</strong>1 has write access to it.)If <strong>VM</strong>2 does not have this LINK statement in its directory, it can link to <strong>VM</strong>1’sminidisk with the <strong>CP</strong> LINK comm<strong>and</strong>. For example, entering:link vm1 197 197 mw vm1passwill perform this link. Or you can use the CMS <strong>VM</strong>LINK comm<strong>and</strong> to link <strong>and</strong>access the disk. <strong>VM</strong>LINK finds a free virtual device number <strong>and</strong> access modeletter:vmlink vm1 197 (noname pw vm1passWith the LINK <strong>and</strong> <strong>VM</strong>LINK comm<strong>and</strong>s, <strong>VM</strong>2 needed to specify the appropriatepassword (<strong>VM</strong>1PASS in this example) to be granted access. Using minidiskpasswords helps you to protect shared data, because only those users whoknow the correct password can link to the minidisk with the <strong>CP</strong> LINK comm<strong>and</strong><strong>and</strong> the CMS <strong>VM</strong>LINK comm<strong>and</strong>.Note: All DASD that do not respond to a sense ID request must be defined ineither the system configuration file using RDEVICE statements or in theH<strong>CP</strong>RIO ASSEMBLE file using an RDEVICE macroinstruction. All DASDthat hold minidisks must be attached to SYSTEM, either at systeminitialization by appearing in either the system configuration file using<strong>CP</strong>_OWNED or USER_VOLUME_LIST statements or in the H<strong>CP</strong>SYSASSEMBLE file using a SYS<strong>CP</strong>VOL or SYSUVOL macroinstruction orlater by issuing the comm<strong>and</strong> ATTACH rdev TO SYSTEM.For more information about these system configuration file statements, see“RDEVICE Statement” on page 188, “<strong>CP</strong>_OWNED Statement” on page 73, <strong>and</strong>“USER_VOLUME_LIST Statement” on page 255. For more information aboutthese macroinstructions, see Appendix B, “Defining Your System (H<strong>CP</strong>SYSMacroinstructions),” on page 643 <strong>and</strong> Appendix C, “Defining I/O Devices UsingH<strong>CP</strong>RIO,” on page 705.3. Specify that the DASD will not be shared with another operating system. Thedefault setting of the SHARED oper<strong>and</strong> of the RDEVICE system configurationfile statement (SHARED NO) <strong>and</strong> the RDEVICE macroinstruction(SHARED=NO) takes care of this for you. A NO setting means this volumecannot be shared with an operating system running on another processor. Youcan also use the <strong>CP</strong> SET SHARED comm<strong>and</strong> to accomplish this. For example,if you enter:set shared off for 197the device at real device number 197 cannot be shared with other operatingsystems. However, you should enter SET SHARED OFF only after careful620 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DASD Sharingconsideration. See the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference for moreinformation about the SET SHARED OFF comm<strong>and</strong>.Note: This method is for sharing a minidisk between virtual systems on thesame real system—not for sharing with another real system. Therefore,set the SHARED oper<strong>and</strong> to NO (the default). Setting the SHAREDoper<strong>and</strong> to YES applies only to sharing full-pack minidisks betweenmultiple real systems. Sharing is managed by <strong>CP</strong> simulation of the guestreserve/release request through the MDISK block. Note that to invokethis support, the access mode must include V (for example, MWV forshared multiwrite mode). For information on sharing a dedicated devicewith another system running native on another processor, see “SharingDASD between One Virtual Machine <strong>and</strong> Other Systems Using RealReserve/Release” on page 622. For information on sharing a full-packminidisk among multiple virtual systems <strong>and</strong> other systems runningnative, see “Sharing DASD among Multiple Virtual Machines <strong>and</strong> OtherSystems Using Concurrent Virtual <strong>and</strong> Real Reserve/Release” on page624 <strong>and</strong> “Spool File Directory Statements” on page 341.Figure 33 shows two virtual machines sharing a minidisk defined on a DASDthrough virtual reserve/release.Real Machine<strong>VM</strong>1<strong>VM</strong>2<strong>VM</strong>3SharedminidiskSharedminidiskFigure 33. Virtual Reserve/ReleaseThree virtual machines sharing two different minidisks through virtualreserve/release support <strong>and</strong> one channel pathWhen to Use Virtual Reserve/ReleaseIn general, you should use virtual reserve/release when you need to share DASDamong virtual machines running under <strong>VM</strong> but do not need to share the DASD withother systems <strong>and</strong> the guest operating system is not CMS. If the operating systemChapter 21. DASD Sharing 621


DASD Sharingis CMS, use the Shared File System. Note that the operating system running in avirtual machine must support reserve/release CCWs for you to use virtualreserve/release.Sharing DASD without Using Virtual Reserve/ReleaseIf the guest operating systems do not support reserve/release CCWs, you can stillshare DASD between virtual machines. However, no write protection is providedusing this method. To do this, define a minidisk for one virtual machine <strong>and</strong> haveother virtual machines link to that minidisk. The process is similar to that describedfor virtual reserve/release with the following exceptions:1. You do not have to specify a V as part of the access mode on the MDISK userdirectory control statement.2. You do not have to be concerned with the SHARED setting.The major difference between this method of sharing DASD <strong>and</strong> virtualreserve/release is best illustrated by the case where you have included an accessmode of MW (multiple write) on the MDISK definition. With virtual reserve/release,although many virtual machines can obtain write access to the minidisk, only onevirtual machine can write to it at any one time if it uses virtual reserve release. Ifyou do not use virtual reserve/release, two virtual machines can both obtain writeaccess to the minidisk at the same time. To ensure data integrity, you should usevirtual reserve/release when you need to give multiple virtual machines write accessto a minidisk.Note: Sharing DASD without using virtual reserve/release is not recommended.You could read incomplete data or have an abend.The SET WRKALLEG comm<strong>and</strong> supports the MVS Sysplex Environment. SETWRKALLEG allows MVS guests running in a single virtual machine to shareminidisks without using reserve <strong>and</strong> release CCWs. For more information, see theSET comm<strong>and</strong> in the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.Sharing DASD Using the CMS Shared File SystemThe CMS Shared File System allows users to organize their files into groups calleddirectories <strong>and</strong> selectively share those files <strong>and</strong> directories with other users. To dothis, a collection of minidisks is assigned to a single virtual machine called a filepool server machine. The collection of minidisks is called a file pool. A file poolcontains the files for many users, not just one. The file pool server virtual machinemanages all the files in the file pool.For additional information on the Shared File System, see the z/<strong>VM</strong>: CMS File Pool<strong>Planning</strong>, <strong>Administration</strong>, <strong>and</strong> Operation book <strong>and</strong> the z/<strong>VM</strong>: CMS User’s Guide.Sharing DASD between One Virtual Machine <strong>and</strong> Other Systems UsingReal Reserve/ReleaseThis method of sharing DASD with other systems, called real reserve/release,involves the use of dedicated devices. A dedicated device is exclusively owned by asingle virtual machine. For example, suppose you want <strong>VM</strong>1 to have soleownership of the 3390 DASD with volume ID SYSPK. Assume that this 3390 wasdefined (in either the RDEVICE system configuration file statement or622 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DASD Sharingmacroinstruction) at real device number 872. The DEDICATE user directory controlstatement gives a virtual machine exclusive use of a device. For example, thestatement:DEDICATE 872 872in <strong>VM</strong>1’s directory gives <strong>VM</strong>1 ownership of the device at real device number 872,<strong>and</strong> defines the DASD at <strong>VM</strong>1’s 872 virtual device number. (It is generally a goodidea to keep real <strong>and</strong> virtual device numbers the same.)You can also use the ATTACH comm<strong>and</strong> to dedicate a device to a virtual machine.The comm<strong>and</strong>:attach 872 to vm1 as 872is equivalent to the previous DEDICATE user directory control statement.Then define DASD that are accessible from more than one processor as shared inthe system configuration file. (Define the DASD as shareable to <strong>CP</strong> by codingSHARED YES in the system configuration file.) Hardware <strong>and</strong> software are thenprepared for the sharing environment <strong>and</strong> reserve/release comm<strong>and</strong>s are h<strong>and</strong>ledby the control unit.<strong>VM</strong>1 can now share this dedicated DASD with another system, as shown inFigure 34 on page 624.Chapter 21. DASD Sharing 623


DASD SharingReal Machine 1 Real Machine 2<strong>VM</strong><strong>VM</strong>2<strong>VM</strong>3<strong>VM</strong>1Shared diskdevice withfour channel pathsMVS/XAReal Machine 3 Real Machine 4MVS/XAMVS/SPFigure 34. Real Reserve/ReleaseVirtual machine 1 sharing a diskdevice with three operating systemsin three real machines using realreserve/release supportWhen to Use Real Reserve/Releasespot id=urrr xreftext=’When to Use Real Reserve/Release’. In general, you shoulduse real reserve/release when you need to share a DASD among one virtualmachine <strong>and</strong> other systems. Note, a dedicated DASD cannot be shared amongvirtual machines but can be shared among one virtual machine <strong>and</strong> other systems.Sharing DASD among Multiple Virtual Machines <strong>and</strong> Other SystemsUsing Concurrent Virtual <strong>and</strong> Real Reserve/ReleaseThe third method of sharing DASD, concurrent virtual <strong>and</strong> real reserve/release,combines virtual reserve/release <strong>and</strong> real reserve/release. It allows DASD to beshared among multiple virtual machines <strong>and</strong> operating systems running on otherprocessors. Figure 35 on page 625 shows <strong>VM</strong> sharing a DASD between two virtualmachines <strong>and</strong> a native system.624 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DASD SharingReal Machine 1Real Machine 2<strong>VM</strong><strong>VM</strong>2<strong>VM</strong>3<strong>VM</strong>1Shared diskdevice withfour channelpathsMVS/XAReal Machine 3 Real Machine 4MVS/XAMVS/SPVirtual machines 1 <strong>and</strong> 2 sharing a diskdevice with three operating systems inthree real machines using concurrent virtual<strong>and</strong> real reserve/release supportFigure 35. Concurrent Virtual <strong>and</strong> Real Reserve/ReleaseConcurrent virtual <strong>and</strong> real reserve/release involves the use of full-pack minidisks. Afull-pack minidisk is a single minidisk allocated on an entire DASD volume. Afull-pack minidisk encompasses all the primary (or addressable) tracks of thevolume. In the example under “Sharing DASD among Multiple Virtual Machines byUsing Virtual Reserve/Release” on page 619, <strong>VM</strong>1 defined a minidisk on a portionof the volume called WORKPK. You need to do the following to use concurrentvirtual <strong>and</strong> real reserve/release:1. Define the DASD as a shareable full-pack minidisk. The following MDISK userdirectory control statement defines a full-pack minidisk:MDISK 199 3390 000 END SYSPK MWV FULLP1This statement allocates all addressable cylinders of the 3390 called SYSPK asminidisk space, thus making SYSPK a full-pack minidisk. (This method is thepreferred way of defining a full-pack minidisk because the number of cylindersdoes not need to be known when writing the MDISK statement.) The V at theend of the statement indicates that this DASD can be shared between virtualmachines. To access the DASD, another virtual machine must use the LINKuser directory control statement or the LINK comm<strong>and</strong>. The procedure is thesame as described for virtual reserve/release under “Sharing DASD amongMultiple Virtual Machines by Using Virtual Reserve/Release” on page 619.Chapter 21. DASD Sharing 625


DASD Sharing2. Define the DASD as shareable to <strong>CP</strong> by coding SHARED YES in the systemconfiguration file. As an alternative, you can use the <strong>CP</strong> SET SHARED ONcomm<strong>and</strong>. For example, if you enter:set shared on for 199<strong>CP</strong> recognizes the full-pack minidisk at real device number 199 as a sharedDASD.When to Use Concurrent Virtual <strong>and</strong> Real Reserve/ReleaseIn general, you should use concurrent virtual <strong>and</strong> real reserve/release when youneed to share DASD among many virtual machines <strong>and</strong> other systems. Do not usethis method when you need to share DASD only among virtual machines, becausethe <strong>CP</strong> overhead is much greater than if you use virtual reserve/release.Restrictions for Using Reserve/ReleaseReserve/ReleaseTo use real reserve/release or concurrent virtual <strong>and</strong> real reserve/release, all of thefollowing must support reserve/release CCWs:v The operating system running under <strong>VM</strong>v The system with which the guest will be sharing DASDv The shared DASD.Virtual reserve/release must be enabled for any guest virtual machine reserve to beaccepted, even if only one guest is using the device. Virtual reserve/release allowsreserve/release CCWs to be issued by the guest. Real reserve/release allowsCCWs to reach the device. <strong>CP</strong> simulates reserve/release if virtual reserve/release isenabled <strong>and</strong> real reserve/release is not. <strong>CP</strong> issues the reserve/release CCWs ifboth are enabled.Note, concurrent virtual <strong>and</strong> real reserve/release support should be used only whenDASD must be shared among many virtual machines <strong>and</strong> operating systems onother real machines. When DASD must be shared only among virtual machines,virtual reserve/release support should be used because it requires much less <strong>CP</strong>overhead.SummaryTable 32 summarizes the differences between different settings of SET SHARED<strong>and</strong> the V attribute of the MDISK user directory control statement.Table 32. Reserve/Release SummarySET SHARED V Attribute on DescriptionMDISKON No V attribute The minidisk cannot be shared between a virtualmachine guest <strong>and</strong> a native system. There is novirtual reserve/release.ON V attribute Both real <strong>and</strong> virtual reserve/release are available.The minidisk can be shared between virtual machineguests <strong>and</strong> a native system.OFF V attribute Only virtual reserve/release is available; no realreserves are issued. The minidisk cannot be sharedwith a native system.OFF No V attribute No reserve/release support is available at all.626 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DASD SharingSharing DASD using the Multi-Path Lock FacilityDASD data can be shared between native systems, between <strong>VM</strong> guests, orbetween native systems <strong>and</strong> <strong>VM</strong> guests through the use of the Multi-Path LockFacility (MPLF) on the D/T3990 model 6 DASD control unit. The MPLF provideslocking serialization for data on the DASD, <strong>and</strong> the operating systems or programsuse the D/T3990 MPLF channel comm<strong>and</strong>s to control the locks. The TransactionProcessing Facility (TPF) is an example of an operating system that can exploit theMPLF.<strong>VM</strong> allows guests to use the D/T3990 model 6 MPLF for data that resides ondedicated devices or on full-pack minidisks.For dedicated devices, the real MPLF support is authorized by the LKFAC option ofthe directory control statement. Authorizing a guest for LKFAC automaticallyenables all of that guest’s dedicated devices to use the real MPLF. The guest mustthen issue the appropriate MPLF channel programs to exploit the function.For full-pack minidisks, the real MPLF support is also authorized by the LKFACoption of the directory control statement. In addition, the SET LKFACR ONcomm<strong>and</strong> must be issued to enable each full-pack minidisk to use the real MPLF.Again, once the device is enabled, the guest must then issue the appropriate MPLFchannel programs to exploit the function.Unlike dedicated devices where guest authorization enables all dedicated guestdevices, full-pack minidisks are enabled on a device-by-device basis. This allowsone guest to use the real MPLF for some full-pack minidisks while at the same timeusing <strong>VM</strong>’s simulated MPLF for other full-pack minidisks in the virtual configuration.<strong>VM</strong>’s simulation of the MPLF can be used to share data between <strong>VM</strong> guests whenthe real hardware is unavailable. Simulation is available for both full-pack <strong>and</strong>non-full-pack minidisks. Simulation is based on the D/T3990 model 3 MPLF RPQ,while real MPLF support is based on the D/T3990 model 6.Like the real MPLF, simulated MPLF requires the user to be authorized by theLKFAC option of the directory OPTION control statement. In addition, the user mustissue the SET LKFAC comm<strong>and</strong> to create the simulated MPLF environment. Thenthe guest must issue the appropriate MPLF channel programs to utilize the function.The SET LKFAC comm<strong>and</strong> assumes that all full-pack minidisks <strong>and</strong> all non-full-packminidisks in the configuration are part of the simulated MPLF. However, no action istaken until the first MPLF-related I/O request is issued to a device. At that time, thedevice <strong>and</strong> the 31 associated device addresses are considered to be ’active’ in thesimulated configuration. For example, I/O to device 191 would cause devices 180through 19F to be part of one simulated partition (simulating the 32 deviceaddresses on a real DASD subsystem).Even with the global nature of simulated MPLF, real MPLF can coexist. Forexample, if device 180 had been enabled for real MPLF (SET LKFACR ON) beforethe simulated MPLF was enabled or ’active’, then the real MPLF would override thesimulation for device 180.Note: Real MPLF <strong>and</strong> Simulated MPLF are mutually exclusive. It is recommendedthat the choice be made for each device range before the guest is IPL’d. If,after the guest is IPL’d, you decide to change a device from simulated to realor real to simulated, then the change will cause a SYSTEM RESET <strong>and</strong> theChapter 21. DASD Sharing 627


DASD SharingCachedDASDguest will have to be re-ipl’d. It is also recommended that all the deviceswithin one 32-address range use the same type of MPLF—either all usingreal MPLF, or all using simulated MPLF.Virtual machines can use cached DASD as high-speed storage devices. The termcached DASD refers to a DASD with a control unit that contains a cache. A cacheis a high-performance, r<strong>and</strong>om-access, electronic storage device. Frequently usedpages are kept in the cache where the processor can quickly access them withoutgoing to the DASD itself. See the z/<strong>VM</strong>: General Information book for a list ofsupported cached DASD control units <strong>and</strong> a description of which DASD can beconnected to them.A cached DASD control unit provides the high-speed cache as a connectionbetween the processor channels <strong>and</strong> certain DASD. Figure 36 shows a storagecontrol unit logically attached to a string of 3380 DASD.ProcessorStorage ControlStorage directorStorage directorCache3380 DASD stringFigure 36. 3380 Cached DASDI/O to <strong>and</strong> from the cache is performed electronically. This is faster than normalDASD access, which involves seeking <strong>and</strong> rotational delays.Note: <strong>CP</strong> limits the channel comm<strong>and</strong> support to the basic device support.Therefore, <strong>CP</strong> does not support the speed-matching buffer.CacheControlThere are three levels of cache control for combinations of 3880 <strong>and</strong> 3990 storagecontrols with 3380 <strong>and</strong> 3390 DASD: the subsystem level, the device level, <strong>and</strong> theextent level. To enable caching at a given level means to enable a DASD to accept628 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DASD SharingCCWs that activate or deactivate caching at that level: the Define Extent CCW forextent-level caching <strong>and</strong> the Set Subsystem Mode CCW for device- <strong>and</strong>subsystem-level caching.Cache control is hierarchical. If subsystem caching is not enabled, then device- <strong>and</strong>extent-level caching can be enabled for DASD using that storage control, but nocaching can be performed. If device-level caching is not enabled, then extent-levelcaching can be enabled for that DASD, but it cannot be performed.Cache Control at the Subsystem LevelCaching at the subsystem level is controlled with the DASDOPT directory controlstatement, the ATTACH comm<strong>and</strong>, <strong>and</strong> the SET CACHE comm<strong>and</strong>.The DASDOPT statement with the SYSCTL oper<strong>and</strong>, the ATTACH comm<strong>and</strong> withthe SYSCTL oper<strong>and</strong>, <strong>and</strong> the SET CACHE comm<strong>and</strong> with the SUBSYSTEMoper<strong>and</strong> enable devices using the storage control to accept CCWs that activate <strong>and</strong>deactivate caching at the subsystem level.The SET CACHE SUBSYSTEM comm<strong>and</strong> can also turn caching off for devicesusing the storage control.Cache Control at the Device LevelDevice-level caching is controlled with the DASDOPT directory statement, theATTACH comm<strong>and</strong>, <strong>and</strong> the SET CACHE comm<strong>and</strong>.The DASDOPT statement with the DEVCTL oper<strong>and</strong>, the ATTACH comm<strong>and</strong> withthe DEVCTL oper<strong>and</strong>, <strong>and</strong> the SET CACHE comm<strong>and</strong> with the DEVICE optionenable a device to accept CCWs that activate <strong>and</strong> deactivate caching for a device.When two users have full-pack minidisks on the same volume, both enabled forcaching, their choices to activate or deactivate caching can conflict. The conflict canbe moderated by using reserve/release (see “Sharing DASD among Multiple VirtualMachines <strong>and</strong> Other Systems Using Concurrent Virtual <strong>and</strong> Real Reserve/Release”on page 624).The SET CACHE DEVICE comm<strong>and</strong> can also turn off caching that was enabled bythe DASDOPT DEVCTL directory statement or the ATTACH DEVCTL comm<strong>and</strong>.Cache Control at the Extent LevelCaching at the extent level is controlled through the MINIOPT directory statement.The MINIOPT CACHE statement enables a device to accept CCWs that activate<strong>and</strong> deactivate extent-level caching for a device. MINIOPT CACHE is the default.Extent-level caching is not available for full-pack minidisks. MINIOPT NOCACHEturns off extent-level caching. Setting NOTRAN on can invalidate MINIOPT CACHE.Defining a Minidisk on a Cached DASDYou can define a minidisk on a 3390 DASD attached to a 3990 Storage Models 3 or6.The previous sections of this chapter told you how to define a minidisk on DASDother than cached DASD. To define a minidisk on a 3390 DASD attached to astorage control unit (with a cache), you must first define your 3390s by coding anRDEVICE system configuration file statement or macroinstruction. For example, youwould code the RDEVICE system configuration file statement as:RDEVICE 197-19A TYPE DASD SHARED YESChapter 21. DASD Sharing 629


DASD SharingOr, you would code the RDEVICE macroinstruction as:RDEVICE DEVNO=(197,4),DEVTYPE=3390,SHARED=YESBoth of these statements define real devices 197, 198, 199, <strong>and</strong> 19A.Next, you must decide whether you want to define a full-pack minidisk. Minidisksother than full-packs are discussed first.Non-Full-pack Minidisk: To define a 3390 as a minidisk for a virtual machine, codean MDISK user directory control statement (<strong>and</strong>, optionally, a MINIOPT userdirectory control statement) with this format:MDISK 198 3390 0001 0500 XARES MWV ALLMINIOPT CACHENotice that not all of the cylinders on this DASD have been allocated; therefore, thisis not a full-pack minidisk. The MINIOPT user directory control statement indicatesthis 3390 DASD has access to the cache of a storage control unit.After you define a minidisk on a cached DASD, other virtual machines can link tothat minidisk in the same way that they would link to a minidisk on a normal DASD.This procedure is explained in “Sharing DASD among Multiple Virtual Machines byUsing Virtual Reserve/Release” on page 619.Full-Pack Minidisk: To define a 3390 Model 3 as a full-pack minidisk, you need inyour virtual machine’s directory entry an MDISK user directory control statement<strong>and</strong>, optionally, a DASDOPT user directory control statement. For example:MDISK 197 3390 0 END XARES MWV ALLDASDOPT DEVCTLorMDISK 197 3390 0000 3339 XARES MWV ALLDASDOPT DEVCTLBecause all addressable cylinders of this 3390 (Model 3) have been allocated, thisis a full-pack minidisk. The DASDOPT user directory control statement <strong>and</strong> itsoper<strong>and</strong>s (DEVCTL, SYSCTL, <strong>and</strong> NOCTL) determine which types of CCWs thedevice can accept. If you do not include a DASDOPT user directory controlstatement after the MDISK user directory control statement, the default is DEVCTL.For more information on the DASDOPT user directory control statement, see“DASDOPT Directory Control Statement (Device)” on page 472.Defining a Cached DASD as a Dedicated DeviceYou can give your virtual machine exclusive use of a cached DASD with theDEDICATE user directory control statement. In your virtual machine’s directory,code a DEDICATE user directory control statement <strong>and</strong> optionally a DASDOPT userdirectory control statement. To dedicate a cached DASD at real device number 199to virtual device number 199, include these statements in your directory:DEDICATE 199 199DASDOPT SYSCTLIf you do not include the DASDOPT user directory control statement, the default forany 3990 is DEVCTL.630 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DASD SharingUsing ESS Parallel Access Volumesz/<strong>VM</strong> provides support for the Parallel Access Volumes (PAV) feature of the <strong>IBM</strong>Enterprise Storage Server (ESS). The ESS must be defined to z/<strong>VM</strong> as 3390 Model2, 3, or 9 DASD on a 3990 Model 3 or 6 Storage Controller. 3380 track-compatibilitymode for the 3390 Model 2 or 3 DASD is also supported. z/<strong>VM</strong> supports the PAVfeature only for guest use where the device is dedicated (attached) to the guest.The PAV feature allows you to configure base <strong>and</strong> alias (logical) DASD volumes.Figure 37 illustrates the relationship between base <strong>and</strong> alias volumes. The basevolume is the real (physical) DASD space. It has a unique subchannel ID. Aliasvolumes (X <strong>and</strong> Y in this example) are logical volumes that map the physical spaceoccupied by the base. The alias volumes do not have their own space; they are“shadows” of the base. However, each alias volume also has a unique subchannelID. This allows concurrent I/O to a base volume <strong>and</strong> all of its associated aliasvolumes.Figure 37. Base <strong>and</strong> Alias Parallel Access VolumesFor z/<strong>VM</strong>, base volumes are defined in IO<strong>CP</strong> as UNIT=3990 (or 2105) on theCNTLUNIT statement <strong>and</strong> UNIT=3390B (or 3380B) on the IODEVICE statement.Alias volumes are defined as UNIT=3990 (or 2105) on the CNTLUNIT statement<strong>and</strong> UNIT=3390A (or 3380A) on the IODEVICE statement. Each volume (base oralias) can be assigned any available <strong>VM</strong> real device number. Use the ESSconfiguration console to initially define which volumes are base volumes, whichvolumes are alias volumes, <strong>and</strong> which alias volumes are associated with eachbase. Use the <strong>CP</strong> QUERY PAV comm<strong>and</strong> to view the current allocation of base <strong>and</strong>alias volumes.Using PAV for Workload BalancingThe main purpose of the PAV feature is to increase system throughput <strong>and</strong> reduceI/O bottlenecks by allowing multiple concurrent I/O operations to the same physicalDASD space. This allows the guest to use the PAV feature for workload balancing.Guest<strong>VM</strong>Base Alias X Alias YFigure 38. Using Parallel Access Volumes for Workload BalancingChapter 21. DASD Sharing 631


DASD SharingFigure 38 on page 631 illustrates the use of PAV for workload balancing. For thisapplication, the base volume <strong>and</strong> all its associated alias volumes (X <strong>and</strong> Y in thisexample) are dedicated to the guest with the <strong>CP</strong> ATTACH comm<strong>and</strong>. The virtualdevice numbers <strong>and</strong> subchannel IDs assigned to the volumes are immaterial. Tomaximize workload performance, the guest can schedule I/O on whichever of thebase <strong>and</strong> alias volumes seems most appropriate, <strong>and</strong> can schedule I/O concurrentlyon some or all of the associated volumes.To use PAV in this manner, the guest must contain support for managing <strong>and</strong>serializing the workload data across the volumes. z/<strong>VM</strong> acts only as the “pipe”between the guest <strong>and</strong> the hardware. Once the necessary base <strong>and</strong> associatedalias volumes are attached to the guest, the guest must manage their use.An example of a guest operating system that contains the necessary support forPAV workload balancing is z/OS. In addition to the workload support, a z/OS guesthas the ability to dynamically move an alias volume from its current base volume toa different base volume if the workload dem<strong>and</strong>s it. On z/<strong>VM</strong>, you can use the <strong>CP</strong>QUERY PAV comm<strong>and</strong> to keep track of the dynamic movement of alias volumesperformed by a z/OS guest.Using PAV for DASD SharingAnother use of the PAV feature is for sharing data across multiple operatingsystems running as guests on z/<strong>VM</strong>.GuestBGuestAVDISK<strong>VM</strong>632 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Figure 39. Using Parallel Access Volumes for DASD SharingFigure Figure 39 illustrates the use of PAV for sharing data among multiple guests.In this example, alias X is attached (with the <strong>CP</strong> ATTACH comm<strong>and</strong>) to Guest A.Alias Y is attached to Guest B. Both alias X <strong>and</strong> alias Y are associated with thesame base volume. The base volume is not attached to either guest in thisexample, but it can also be used for sharing. The virtual disk in storage shown inthe example is linked to both Guest A <strong>and</strong> Guest B through the z/<strong>VM</strong> user directory.The linked virtual disk in storage is important because it demonstrates a method forserializing the data that is shared between the two guests. The virtual disk instorage could contain, for example, the VSE lock file. The virtual disk in storagewould not be necessary in a read-only environment. In that case, the alias volumescould be attached to the guests with the R/O option on the ATTACH comm<strong>and</strong>. A


DASD Sharingmethod to serialize access to the alias volumes must be devised, becausereserve/release is not supported on alias volumes (the CCWs will be rejected). Byusing a linked virtual disk in storage, reserve/release can be used against the virtualdisk in storage to control access to the alias volumes. Also, free (not attached) base<strong>and</strong> alias volumes associated with the volumes being shared must be clear of allwrite activity.It is the sole responsibility of the guests to manage <strong>and</strong> serialize any datathat is shared using alias volumes. z/<strong>VM</strong> provides only the “pipe” for dataexchange between the hardware <strong>and</strong> the guests.z/<strong>VM</strong> Restrictions on Using PAV1. An alias volume cannot be IPLed.2. An alias volume cannot be attached to the SYSTEM user ID.3. An alias volume cannot be attached to a guest if its associated base volume iscurrently attached to SYSTEM. Alternatively, a base volume cannot be attachedto SYSTEM if any of its associated alias volumes are attached to one or moreguests.4. An alias volume will not come on-line to z/<strong>VM</strong> without an associated basevolume. Also, a base volume must have at least one associated alias volume forz/<strong>VM</strong> (for example, the QUERY PAV comm<strong>and</strong>) to recognize the device as aParallel Access Volume.5. A base volume cannot be changed or deleted with the SET RDEVICE, DELETERDEVICE, DELETE DEVICE, or MODIFY DEVICE comm<strong>and</strong> unless allassociated alias volumes have been deleted with the DELETE RDEVICEcomm<strong>and</strong>.Chapter 21. DASD Sharing 633


DASD Sharing634 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Chapter 22. Defining <strong>and</strong> Managing SCSI F<strong>CP</strong> DisksOverviewz/<strong>VM</strong> supports SCSI F<strong>CP</strong> disk logical units (SCSI disks) for both system <strong>and</strong> guestuse. SCSI disks can be used directly by a guest operating system when an F<strong>CP</strong>subchannel is dedicated to a guest. Such a guest must contain its own SCSI devicedriver – Linux on zSeries is one such guest.SCSI disks can also be used as emulated 9336 model 20 fixed-block-architecture(FBA) disks. CMS <strong>and</strong> <strong>CP</strong> rely almost exclusively on this emulated-FBA support fortheir SCSI usage. Specifically, this usage includes system paging, spooling,directory services, minidisks, <strong>and</strong> all other system functions <strong>and</strong> programmingservices that support FBA disks. Guests that support FBA disks (such as CMS,GCS, RSCS, Linux, <strong>and</strong> VSE) also can use SCSI disks through the emulated-FBAsupport, without requiring any specific SCSI support in the guests.||||||||||||||||z/<strong>VM</strong> supports emulated FBA disks <strong>and</strong> their underlying SCSI disks up to 1 terabyteminus 1 page (2,147,483,640 512-byte blocks) in size, without regard to thecapacity of real 9336 disks. Directory, paging, <strong>and</strong> spooling allocations, however,must reside within the first 64 GB (16,777,216 blocks) of a <strong>CP</strong>-formatted volume.Other types of <strong>CP</strong> allocations (TDSK, PERM, <strong>and</strong> PARM) may exist beyond the first64 GB.Note: Due to CMS file system limitations for status <strong>and</strong> control information toreside below 16 MB in virtual storage, there is a practical limitation on thesize of CMS minidisks. As a minidisk increases in size, or more files resideon the disk, the amount of virtual storage associated with the disk for CMSfile system status <strong>and</strong> control increases in storage below 16 MB. The currentECKD DASD limitation is 32767 cylinders for a 3390 disk on an ESS device,or about 22 GB of data. <strong>IBM</strong> suggests that customers defining FBA SCSIdisks for use by CMS set a practical limit of about 22 GB. If larger disks aredefined, they should be limited to contain very few files, or the CMS filesystem may not be able to obtain enough virtual storage below 16 MB toformat or access those disks. For more information, see the ACCESScomm<strong>and</strong> in the z/<strong>VM</strong>: CMS Comm<strong>and</strong>s <strong>and</strong> Utilities Reference. Themaximum size for FBA SCSI disks supported for use by CMS or GCS is 381GB.An emulated FBA disk requires the following elements within its configurationdefinition:F<strong>CP</strong> device numberA real device number for a subchannel associated with an F<strong>CP</strong> channel,providing access to the fibre-channel fabric.Target worldwide port name (WWPN)The unique worldwide port name associated with a target port on a SCSIcontroller.Logical unit number (LUN)The number of a specific logical unit (i.e. logical device) associated with thetarget port.Refer to Figure 40 on page 636 for an illustration of these required elements.© Copyright <strong>IBM</strong> Corp. 1991, 2004 635


Defining <strong>and</strong> Managing SCSI F<strong>CP</strong> Disksz/<strong>VM</strong>LPARF<strong>CP</strong>Subchannel112F<strong>CP</strong>Subchannel2F<strong>CP</strong>ChannelStorage Area Network(Fibre-Channel Fabric)1WWPNWWPN2StorageSubsystem12LUN 1LUN 2z/<strong>VM</strong> Configuration ElementFigure 40. Required Elements for SCSI F<strong>CP</strong> definitionFigure 41 on page 637 illustrates the overall system architecture related to z/<strong>VM</strong>’sSCSI support. The figure shows how channel programs for emulated FBA disks areprocessed through an emulation layer <strong>and</strong> a SCSI driver into the fibre-channelfabric. The figure also shows how guests with their own SCSI support can use adedicated F<strong>CP</strong> subchannel to access the fabric directly. Note that the elementsdescribed above in Figure 40 are contained in the “F<strong>CP</strong> Channel <strong>and</strong> Storage AreaNetwork” portions of Figure 41 on page 637.636 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Defining <strong>and</strong> Managing SCSI F<strong>CP</strong> DisksLinuxECKDz/OSECKDLinux CMS Linux z/<strong>VM</strong>FBA FBA SCSI SCSI<strong>CP</strong>CCW TranslationI/O SchedulerFBA EmulationSCSI Driver StackDedicatedSubchannelChannelsF<strong>CP</strong>ChannelESCON/FICONStorage Area Network(Fibre-Channel Fabric)Figure 41. SCSI System ArchitectureDefining SCSI DevicesEmulated FBA Disks on SCSI DisksA SCSI device is defined to the z/<strong>VM</strong> system by specifying an EDEVICE statementin the system configuration file (see z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>), byissuing a <strong>CP</strong> SET EDEVICE comm<strong>and</strong> (see z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference), or by using z/<strong>VM</strong>’s HCM <strong>and</strong> HCD support (see z/OS <strong>and</strong> z/<strong>VM</strong>:Hardware Configuration Manager User’s Guide <strong>and</strong> z/<strong>VM</strong>: I/O Configuration). TheEDEVICE statement, SET EDEVICE comm<strong>and</strong>, <strong>and</strong> the HCM <strong>and</strong> HCD programsall provide the parameters to identify the SCSI device (F<strong>CP</strong> device number, targetWWPN, <strong>and</strong> LUN) to <strong>CP</strong>. The emulated FBA disk is assigned a real device numberChapter 22. Defining <strong>and</strong> Managing SCSI F<strong>CP</strong> Disks 637


Defining <strong>and</strong> Managing SCSI F<strong>CP</strong> Disks<strong>and</strong> becomes associated with a SCSI disk through an F<strong>CP</strong> device, which also hasa real device number. The device number of an emulated FBA disk must not conflictwith the device number of any real device in the z/<strong>VM</strong> system. That is, all emulatedFBA disks <strong>and</strong> all real devices must have unique real device numbers, even thoughthe emulated FBA disks are not real devices.When defining emulated FBA disks to represent SCSI disks, there must be aone-to-one relationship between each FBA disk <strong>and</strong> its underlying SCSI disk. A pathto a specific SCSI disk comprises the three elements described in “Overview” onpage 635: the F<strong>CP</strong> device number, target WWPN, <strong>and</strong> LUN. You can definemultiple paths to the SCSI disk associated with an emulated FBA disk – these pathsshould be routed through different network components to achieve the greatestavailability for the disk. In other words, the different paths must use different F<strong>CP</strong>channels, the channels should be connected to different switches, <strong>and</strong> the pathsshould end at different target ports of the SCSI controller. You might want to keepthe paths completely separate by means of appropriate zoning within your fabric.All paths defined for an emulated FBA disk should represent physical paths throughthe fabric to the same real SCSI disk. If you define multiple paths for an emulatedFBA disk but the paths go to different SCSI disks, or if you define more than oneemulated FBA disk with the same underlying real SCSI disk, or if you definemultiple paths to the same SCSI disk using the same F<strong>CP</strong> channel, thenunpredictable results <strong>and</strong>/or data-integrity problems could occur.Once the emulated FBA disk is defined, it is managed on z/<strong>VM</strong> like a real 9336FBA disk. <strong>CP</strong> comm<strong>and</strong>s such as VARY, ATTACH, <strong>and</strong> QUERY execute as if theemulated disk were a real FBA disk. This also applies to user-directory <strong>and</strong>system-configuration-file statements.The following comm<strong>and</strong>s can be used to manage emulated FBA disks:v SET EDEVICE, to create, modify, or clear an emulated-device definitionv DELETE EDEVICE, to delete an emulated-device definitionv QUERY EDEVICE, to query an emulated-device definition.See the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference for more information on thesecomm<strong>and</strong>s.Note: The SET EDEVICE <strong>and</strong> DELETE EDEVICE comm<strong>and</strong>s are not allowedwhen HCM <strong>and</strong> HCD are controlling z/<strong>VM</strong>’s software configuration.Real SCSI DisksThe following comm<strong>and</strong>s can be used to manage an F<strong>CP</strong> device dedicated to aguest for direct access to SCSI disks through a SCSI device driver:vvATTACHDETACHv QUERY F<strong>CP</strong>v SET LOADDEVv QUERY LOADDEVSee the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference for more information on thesecomm<strong>and</strong>s.638 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Defining <strong>and</strong> Managing SCSI F<strong>CP</strong> DisksAdditional ConsiderationsThe following are restrictions for emulated SCSI devices:v For <strong>CP</strong> volumes (formatted with <strong>CP</strong>FMTXA), paging, spooling, <strong>and</strong> directoryallocations must not be allocated above page 16,777,216 (representing 64 GB ofdisk storage) on the emulated FBA disk.v As with all FBA minidisks, Reserve <strong>and</strong> Release CCW comm<strong>and</strong>s issued to anemulated FBA disk are supported only among guests within the same z/<strong>VM</strong>system image. If a guest operating system has access to either a dedicated FBAdisk or to an emulated FBA full-pack minidisk that has been defined as sharedamong multiple z/<strong>VM</strong> images, then Reserve <strong>and</strong> Release CCW comm<strong>and</strong>s willbe rejected.v A single F<strong>CP</strong> channel can be shared by multiple logical partitions <strong>and</strong> multiplevirtual machines, but the operating systems in those logical partitions <strong>and</strong> virtualmachines must not attempt to share a real SCSI device (as specified by aWWPN <strong>and</strong> LUN pair). All such operating systems will appear to the SCSIcontroller as being the same host system (or SCSI initiator), potentially leading toproblems with concurrent-write access to the disk <strong>and</strong> with error-recoveryprocedures. A real SCSI device can be shared (if it makes sense for theparticular device) if each operating system has its own path through separateF<strong>CP</strong> channels to the SCSI device.v <strong>IBM</strong> strongly recommends that you never assign different logical unit numbers(LUNs) to the same logical device within a SCSI controller. Otherwise, sharedaccess to a device may happen without being detected, <strong>and</strong> unpredictable resultscan occur.Chapter 22. Defining <strong>and</strong> Managing SCSI F<strong>CP</strong> Disks 639


640 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Appendix A. Sample Utility ProgramsThis appendix describes a sample (unsupported) utility program, DRAWLOGO,which is supplied with z/<strong>VM</strong>. A sample XEDIT macro, X$DRWL$X, which is used byDRAWLOGO, is also supplied. The DRAWLOGO sample program is shipped with afile type of SAMPEXEC. The X$DRWL$X sample XEDIT macro has a file type ofSAMPXEDI. By default these files are loaded onto the MAINT 2C2 disk.To use the DRAWLOGO utility, you must change its file type from SAMPEXEC toEXEC <strong>and</strong> change the file type of X$DRWL$X from SAMPXEDI to XEDIT.© Copyright <strong>IBM</strong> Corp. 1991, 2004 641


DRAWLOGODRAWLOGO►► DRAWLOGO fnLOGOftAfm►◄PurposeUse DRAWLOGO to create logo screens for your z/<strong>VM</strong> system. DRAWLOGO letsyou edit the text of a logo file <strong>and</strong> modify the 3270 screen attributes in a logo file.For information on how to use this utility, see the “Creating Logo Screens” on page282.Oper<strong>and</strong>sUsageReturnNotesCodesfn is the file name of the logo file.ft is the file type of the logo file. The default file type is LOGO.fm is the file mode of the logo file. The default file mode is A.1. When you enter DRAWLOGO, you are placed in an XEDIT session. If theDRAWLOGO utility does not recognize the type of logo (online message, bodyof logo, input area, or printer separator page), DRAWLOGO prompts you for thetype of logo.2. To put the new logo configuration file into production, use the <strong>CP</strong> REFRESHcomm<strong>and</strong>. See the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.3. DRAWLOGO invokes the X$DRWL$X XEDIT macro, which must be available.In addition to the return code listed, DRAWLOGO may return a return code from theCMS LISTFILE <strong>and</strong> CMS XEDIT comm<strong>and</strong>s. See the z/<strong>VM</strong>: CMS Comm<strong>and</strong>s <strong>and</strong>Utilities Reference for a list of return codes that the CMS LISTFILE <strong>and</strong> CMSXEDIT comm<strong>and</strong>s generate.CodeMeaning4 No minidisk accessed in R/W mode642 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Appendix B. Defining Your System (H<strong>CP</strong>SYSMacroinstructions)This appendix describes how to code the system control file, H<strong>CP</strong>SYS ASSEMBLE,<strong>and</strong> describes each of the H<strong>CP</strong>SYS macroinstructions, including the purpose,syntax, <strong>and</strong> examples, <strong>and</strong> how to use them.If you do not define your system using a system configuration file, you must codethe system control file, H<strong>CP</strong>SYS ASSEMBLE. You can code in the H<strong>CP</strong>SYSASSEMBLE file any of the macroinstructions listed in Table 33. You must code theones listed as Required; the others are optional. Table 33 shows you whereinformation on each macroinstruction can be found, <strong>and</strong> whether it is required oroptional, <strong>and</strong> gives a brief description of each macroinstruction. Although themacroinstructions are in alphabetic order, this is not the order in which you wouldcode them in H<strong>CP</strong>SYS ASSEMBLE. See “Coding H<strong>CP</strong>SYS ASSEMBLE” on page644 for the order in which the macroinstructions must appear in the file.Table 33. H<strong>CP</strong>SYS MacroinstructionsMacroCSELDEV(page 646)CSELVOLEXCLUDE(page 649)CSELVOLINCLUDE(page 650)CSESYS(page 653)CSETRACE(page 658)CSEUSER(page 659)SYSACNT(page 661)SYSADDIN(page 663)SYS<strong>CP</strong>VOL(page 664)RequiredorOptionalFunctionOptional Changes the defaults for the CSE tracklocation <strong>and</strong> format for particular devicetypes.Optional Defines the DASD volumes to be excludedfrom the cross system link operation.Optional Defines the DASD volumes to be included inthe cross system link operation.Optional Describes the topography of a CSEcomplex.Optional Establishes the number of pages of <strong>CP</strong>storage allocated for the CSE trace tables.Optional Defines virtual machines that will notparticipate in cross system spooling <strong>and</strong>cross system message <strong>and</strong> querycomm<strong>and</strong>s.Optional Specifies the user IDs of up to two virtualmachines for which the <strong>CP</strong> accountingsystem service (*ACCOUNT) is toaccumulate records.Optional Specifies a list of installation-added entrypoints in <strong>CP</strong> which are to be called duringsystem initialization.Required Defines <strong>and</strong> generates a list of <strong>CP</strong>-ownedDASD volumes. (<strong>CP</strong>-owned DASD volumesinclude the <strong>CP</strong> system residence volume<strong>and</strong> those DASD volumes that contain realsystem paging, spooling, dump, directory,<strong>and</strong> temporary disk space.)Can Be Replaced bySystem ConfigurationFile StatementXLINK_DEVICE_DEFAULTSXLINK_VOLUME_EXCLUDEXLINK_VOLUME_INCLUDEXLINK_SYSTEM_EXCLUDEXLINK_SYSTEM_INCLUDEXSPOOL_SYSTEMXSPOOL_TRACEXSPOOL_XLIST_INPUTXSPOOL_XLIST_OUTPUTSYSTEM_USERIDS<strong>CP</strong>_ADDON_INITIALIZE_ROUTINES<strong>CP</strong>_OWNED© Copyright <strong>IBM</strong> Corp. 1991, 2004 643


Defining Your SystemTable 33. H<strong>CP</strong>SYS Macroinstructions (continued)MacroSYSDUMP(page 667)SYSEND(page 668)SYSEREP(page 669)SYSEXCL(page 671)SYSFCN(page673)SYSFORM(page 675)SYSID(page 677)SYSINCL(page 680)SYSJRL(page 682)SYSMAXU(page 686)SYSOPR(page 687)SYSOPTS(page 689)SYSPCLAS(page 691)SYSRES(page 693)SYSSTORE(page 697)SYSSYMP(page 699)SYSTIME(page 701)SYSUVOL(page 703)RequiredorOptionalFunctionOptional Defines the user ID of the virtual machinethat receives system dump files.Can Be Replaced bySystem ConfigurationFile StatementSYSTEM_USERIDSRequired Ends the H<strong>CP</strong>SYS ASSEMBLE file. Not ApplicableOptional Specifies the user IDs of up to two virtualmachines for which the *LOGREC systemservice is to accumulate EREP records.Optional Defines the volumes that are to be excludedfrom the user volume list.Optional Contains the privilege classes authorized toperform internal <strong>CP</strong> functions that arecontrolled by privilege class.Optional Creates a list of user form names <strong>and</strong> theircorresponding operator form numbers.Optional Defines a system identifier for the processoron which you run <strong>VM</strong>/ESA.Optional Defines user volumes by means of a genericvolume identifier.Optional Specifies the inclusion of the journaling orpassword suppression facility.SYSTEM_USERIDSUSER_VOLUME_EXCLUDEPRIV_CLASSESFORM_DEFAULTUSERFORMSYSTEM_IDENTIFIERSYSTEM_IDENTIFIER_DEFAULTUSER_VOLUME_INCLUDEFEATURESJOURNALINGOptional Specifies the user logon limit. FEATURESRequired Defines the user ID of the primary systemoperator.SYSTEM_USERIDSOptional Sets <strong>CP</strong> initialization options. Not ApplicableOptional Specifies classification titles for specificclasses of printed output.Required Describes the layout of the <strong>CP</strong> systemresidence disk.PRINTER_TITLERequired Defines your real storage configuration. STORAGEOptional Specifies the user IDs of up to two virtualmachines for which the *SYMPTOM systemservice is to accumulate symptom records.Required Specifies information required to set thehardware time-of-day (TOD) clock.Optional Generates a list of DASD that containminidisks for users.FEATURESSYSTEM_RESIDENCESYSTEM_USERIDSTIMEZONE_BOUNDARYTIMEZONE_DEFINITIONUSER_VOLUME_LISTCoding H<strong>CP</strong>SYS ASSEMBLEThis appendix contains a section for each H<strong>CP</strong>SYS macroinstruction. Each sectiondescribes the function, syntax, oper<strong>and</strong>s (required <strong>and</strong> optional), <strong>and</strong> codingexamples for the macroinstruction. Some rules you must follow when you code theH<strong>CP</strong>SYS ASSEMBLE file are:644 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Defining Your Systemv SYS<strong>CP</strong>VOL, SYSOPR, SYSRES, SYSSTORE, <strong>and</strong> SYSTIME are required <strong>and</strong>must be the first macroinstructions in H<strong>CP</strong>SYS ASSEMBLE. Except for being firstin the file, they do not have to appear in any order.v The SYSEND macroinstruction must be the last instruction in the H<strong>CP</strong>SYSASSEMBLE file.v The optional macroinstructions must appear after SYS<strong>CP</strong>VOL, SYSOPR,SYSRES, SYSSTORE, <strong>and</strong> SYSTIME, <strong>and</strong> before SYSEND. Except for this rule<strong>and</strong> the following rule, the optional macroinstructions can appear in any order.v All CSExxxx macroinstructions must appear after all SYSxxxx macroinstructions<strong>and</strong> before the SYSEND macroinstruction.v Do not code START, CSECT, or END assembler instructions—themacroinstruction expansions generate these instructions. If you do code theseinstructions, MNOTEs are generated.v You may code labels on the macroinstructions to identify them. Themacroinstruction expansions ignore the labels.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 645


CSELDEVCSELDEV (Optional)►►labelCSELDEVDEVTYPE=devtype,CLASS=n(1),CYL=nnnnn,TRK=nn►►,RECL=nnnnn,RECS=nn►◄Notes:1 Although this macro lets you change the definitions of CYL, TRK, RECL, <strong>and</strong> RECS, it is notrecommended. The following parameters can be specified in any order.PurposeCode the CSELDEV macroinstruction to change the defaults for the CSE tracklocation format for particular device types. You may specify as many CSELDEVmacros as you need. If CSELDEV macros are coded, they must appear after theCSESYS macro <strong>and</strong> before the SYSEND macro.See Usage Note 5 on page 648 for a warning about changing the defaults for thismacro.ParametersDEVTYPE=indicates that a device type is to be changed.devtypespecifies the type of DASDs that are to have their default values changed.CLASS=nwhenever DEVTYPE=device is specified, n defines the cylinder size group towhich the particular device being described belongs.When DEVTYPE=3380 is specified, n should have the following values (thedefault value is 3):CLASS Cylinders0 17701 17702 17703 2655When DEVTYPE=3390 is specified, n should have the following values:CLASS Cylinders1 11132 22263 33399 10017¹¹ Value can be up to the maximum number of cylinders on the DASD.646 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


CSELDEVWhen DEVTYPE=9345 is specified, n should have the following values:CLASS Cylinders1 14402 2156UsageNotesIt is always correct to specify a class value which represents a number ofcylinders that is higher than the actual number of cylinders on the device or totake the default.CYL=nnnnndefines the cylinder where the CSE track is located for every DASD defined asdevtype within the above syntax diagram. The value of nnnnn should be from 0to the maximum cylinder on the volume. The default is 0. See Usage Note 5 onpage 648.TRK=nndefines the track on which the CSE track is located for every CKD DASDdefined as devtype within the above syntax diagram. The variable nn should bein the range of 0 to 64 but cannot be 0 if CYL=0. The default is 1. See UsageNote 5 on page 648.For ECKD capable CKD devices multiple tracks are used. The number of tracksused for ECKD capable CKD devices depends on the number of cylinders onthe volume. The value specified in TRK=nn is not used for an ECKD capableCKD device.RECL=nnnnndefines the number of cylinders made available for CSE use. This value shouldbe at least equal to the number of cylinders on the volume. If nnnnn is smallerthan the number of cylinders on the volume links to minidisks starting on acylinder with a number higher than nnnnn are denied. The value of nnnnnshould be in the range of 203 to the maximum cylinder on the volume. Table 34on page 652 shows the map record defaults for each device type. See UsageNote 5 on page 648.For CKD devices nnnnn also defines the record length of the map records. Onthese devices one byte in the map record corresponds to one cylinder. Allcylinders are mapped in one physical record per system. On ECKD-capableCKD devices there may be several physical records per system. One byte inthe map record corresponds to two cylinders. Each physical record is 256 bytes<strong>and</strong> maps 512 cylinders. The number of physical records needed depends onthe number of cylinders made available to CSE. See Usage Note 5 on page648.RECS=nndefines the number of map records on the CSE track. You should use as manyrecords as will fit on one track. Table 34 on page 652 shows the map recorddefaults for each device type. See Usage Note 5 on page 648.1. As many CSELDEV macros as are needed may be specified.2. The CYL, TRK, RECL, <strong>and</strong> RECS keywords allow you to specify CSE trackvalues that are different from the default values associated with the device type.This is not recommended unless there is a valid reason for doing so.3. If the CSELDEV CLASS oper<strong>and</strong> is not coded for 3380 devices, CSE uses avalue of 2655 cylinders for all type K 3380 devices <strong>and</strong> 1770 for non-type Kdevices.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 647


CSELDEV4. The default parameters for model K devices are those associated with 3380CLASS=3, which are 2655 cylinders <strong>and</strong> 12 map records. If you want to makeall 3380s use the same parameters as model Ks, add the three followingCSELDEV macros to each H<strong>CP</strong>SYS ASSEMBLE file:CSELDEVCSELDEVCSELDEVDEVTYPE=3380,CLASS=0,RECL=2655,RECS=8DEVTYPE=3380,CLASS=1,RECL=2655,RECS=8DEVTYPE=3380,CLASS=2,RECL=2655,RECS=85. Although the CSELDEV macro lets you change the definitions of cylinder, track,record length, <strong>and</strong> map records for the CSE track, it is not recommended. Thislets you provide link support for new devices with new geometries, should thatbecome necessary in the future.Attention: Current upper limits may exceed capacities of present devices <strong>and</strong>cause errors when attempting to access beyond a particular device limit.Therefore, any change of defaults should be done with caution.MigrationAidsYou can achieve the function of the CSELDEV macroinstruction by using theXLINK_DEVICE_DEFAULTS statement in a system configuration file. See“XLINK_DEVICE_DEFAULTS Statement” on page 259.648 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


CSELVOL EXCLUDECSELVOL EXCLUDE (Optional),►►labelCSELVOLEXCLUDE=( ▼ volid ) ►◄PurposeParametersCode the CSELVOL EXCLUDE macroinstruction to define DASD volumes to beexcluded from the cross system link operation. You may enter as many CSELVOLEXCLUDE macros as you need. If CSELVOL EXCLUDE macros are coded, theymust appear after the CSESYS macro <strong>and</strong> before the SYSEND macro. They shouldbe identical with the CSELVOL EXCLUDE macros for the other systems you aregenerating. If you omit the CSELVOL EXCLUDE macro, the default excludes allvolumes residing on the system that are not specified in the CSELVOL INCLUDEmacro.EXCLUDEindicates that the volumes specified as volid are not to be shared through crosssystem link. These volumes, if mounted <strong>and</strong> shared among systems, have noextended link protection.Note: If CSELVOL INCLUDE or EXCLUDE is not specified, all DASD volumesare included in cross system link.volidspecifies the 1- to 6-character volume identifier of a volume to be excluded fromsharing by cross system link. You can use generic volume IDs. A genericvolume identifier is a 1- to 6-character pattern that can use asterisks (*) in placeof any number of characters <strong>and</strong> percent signs (%) in place of exactly onecharacter. For example, CSELVOL EXCLUDE=(HC%P*) excludes all volumes whichbegin with HC <strong>and</strong> have a P as their fourth character.MigrationAidsYou can achieve the function of the CSELVOL EXCLUDE macroinstruction by usingthe XLINK_VOLUME_EXCLUDE statement in a system configuration file. See“XLINK_VOLUME_EXCLUDE Statement” on page 266.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 649


CSELVOL INCLUDECSELVOL INCLUDE (Optional)►►labelCSELVOLINCLUDE=( ▼ volid ),(1),CYL=0,CYL=nnnnn,TRK=1,TRK=nn,RECL=nnnnn►►,RECS=nn►◄Notes:1 Although this macro lets you change the definitions of CYL, TRK, RECL, <strong>and</strong> RECS, it is notrecommended. The following parameters may be specified in any order.PurposeCode the CSELVOL INCLUDE macroinstruction to define the DASD volumes to beincluded in the cross system link operation. You may enter as many CSELVOLINCLUDE macros as you need. If CSELVOL INCLUDE macros are coded, theymust appear after the CSESYS macro <strong>and</strong> before the SYSEND macro. They shouldbe identical with the CSELVOL INCLUDE macros for the other systems you aregenerating. If you do not use this macro, all volumes are included.See Usage Note 5 on page 651 for a warning about changing the defaults for thismacro.ParametersINCLUDEindicates that the volumes specified as volid are to be shared through crosssystem link.volidspecifies the 1- to 6-character volume identifier of a volume to be shared bycross system link. You can use generic volume IDs. A generic volume identifieris a 1- to 6-character pattern that can use asterisks (*) in place of any numberof characters <strong>and</strong> percent signs (%) in place of exactly one character. Forexample, CSELVOL INCLUDE=(HC%P*) includes all volumes which begin with HC<strong>and</strong> have a P as their fourth character.CYL=nnnnndefines the cylinder where the CSE track is located for every volid. The value ofnnnnn should be from 0 to the maximum cylinder on the volume. The default is0. Keep in mind that some devices do require multiple cylinders for the CSEarea. See Table 34 on page 652 for the cylinder defaults. If a volume which isto be included in cross system link is to be used as an IPL device for thest<strong>and</strong>-alone dump utility, a cylinder other than the default of 0 must be specifiedfor that volume. See Usage Note 5 on page 651.TRK=nndefines the track on which the CSE track is located for every CKD DASD650 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


CSELVOL INCLUDEUsageNotesdefined as volid within the above syntax diagram. The value of nn should be inthe range of 0 to 64, but it cannot be 0 if CYL=0. The default is 1. See UsageNote 5.For ECKD capable CKD devices multiple tracks are used. The number of tracksused for ECKD capable CKD devices depends on the number of cylinders onthe volume. The value specified in TRK=nn is not used for an ECKD capableCKD device.RECL=nnnnndefines the number of cylinders made available for CSE use. This value shouldbe at least equal to the number of cylinders on the volume. If it is smaller thanthe number of cylinders on the volume, links to minidisks starting on a cylinderwith a number higher than nnnnn are denied. The value of nnnnn should be inthe range of 203 to the maximum cylinder on the volume. Table 34 on page 652shows the map record defaults for each device type. See Usage Note 5.For CKD devices nnnnn also defines the record length of the map records. Onthese devices one byte in the map record corresponds to one cylinder. Allcylinders are mapped in one physical record per system. On ECKD capableCKD devices there may be several physical records per system. One byte inthe map record corresponds to two cylinders. Each physical record is 256 bytes<strong>and</strong> maps 512 cylinders. The number of physical records needed depends onthe number of cylinders made available to CSE. See Usage Note 5.RECS=nndefines the number of map records on the CSE track. The variable nn shouldbe at least equal to the number of systems that share the volume. If nn issmaller than the number of sharing systems, then all links to minidisks on thisvolume are denied. It is recommended that you use as many records as can fiton one track. Refer to Table 34 on page 652 for the default values. See UsageNote 5.1. You can specify as many CSELVOL INCLUDE macros as you need. As manyCSELVOL macros as are required may be specified.2. All the CSELVOL INCLUDE macros must precede any CSELVOL EXCLUDEmacros.3. If CSELVOL INCLUDE or EXCLUDE macros are not specified, all DASDvolumes are included in cross system link.4. If CSELVOL INCLUDE macros are coded in H<strong>CP</strong>SYS, volumes not specified inthe CSELVOL INCLUDE statements are not included in cross system link.5. Although the CSELVOL INCLUDE macro lets you change the definitions ofcylinder, track, record length, <strong>and</strong> map records for the CSE track, we do notrecommend that you do so. Leaving the defaults alone enables you to providelink support for new devices with new geometries, should that support becomenecessary in the future.Attention: Current upper limits may exceed capacities of present devices <strong>and</strong>cause errors when attempting to access beyond a particular device limit.Therefore, any change of defaults should be done with caution.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 651


CSELVOL INCLUDETable 34 shows the map record defaults for each device type.Table 34. Map Record Defaults for Each Device TypeDevice TypeNumber ofMap RecordsMapRecordLengthNumber of Cylinders forCSE Area3380 non-type K 11 1770 13380 type K 8 2655 13390-1 12 1113 13390-2 8 2226 13390-3 8 3339 13390-9 56 65520 9OTHER 8 1024 16. The values selected for CYL <strong>and</strong> TRK must be valid for the device type or typeson which the specified volumes reside but are not checked by this macro, sincethe device type is unknown.7. These defaults support the current CKD <strong>and</strong> ECKD capable CKD DASD. Thelength of each map record is the maximum number of cylinders on any currentlyexisting model of that device type. The number of records defined for “other”devices is 8, but the actual number of records used is limited to the number thatfit on a track of such “other” device.8. You must use the XLINK FORMAT comm<strong>and</strong> to format any volids specified.(See “Generating the Cross System Link Facility” on page 349.) Otherwisewhen you IPL a system that uses CSE, <strong>CP</strong> does not permit access to, orminidisks on, that volume identifier. For more information about the XLINKFORMAT comm<strong>and</strong>, see z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.9. The number of cylinders for a CSE area (in Table 34) cannot be changed. Theydescribe the number of cylinders needed to hold the CSE information for ECKDDASD only. If the last cylinder on the volume is specified for the CSE area <strong>and</strong>multiple cylinders are needed, CSE will not wrap to the beginning of the volumefor the other CSE area cylinders.MigrationAidsYou can achieve the function of the CSELVOL INCLUDE macroinstruction by usingthe XLINK_VOLUME_INCLUDE statement in a system configuration file. See“XLINK_VOLUME_INCLUDE Statement” on page 268.652 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


CSESYSCSESYS (Optional)►►labelCSESYS CSEID=systemname ►►►(1) P<strong>VM</strong> 12,SYSTEM1=(sysname1 , , , )cvmname1 timeout1 alias1P<strong>VM</strong> 12,SYSTEM2=(sysname2, , , )cvmname2 timeout2 alias2►►►P<strong>VM</strong> 12,SYSTEM3=(sysname3, , , )cvmname3 timeout3 alias3►►P<strong>VM</strong> 12 (2),SYSTEM4=(sysname4, , , )cvmname4 timeout4 alias4►►,,,►,NOSPOOL=( ▼ sysnamea ) ,LNKONLY=( ▼ sysnameb ) ,LN2ONLY=( ▼ sysnamec )►,NOLINK=( ▼ sysnamed ),►◄Notes:1 The commas between the values in the SYSTEM1 through SYSTEM4 parameters are required ifa value is given or if a default value is assumed. The comma is not required after the last valuethat is specified <strong>and</strong> the closing parenthesis. For example, SYSTEM1=(KGNVHH,,10) orSYSTEM1=(KGNVHH)2 The following parameters may be specified in any order.PurposeCode the CSESYS macroinstruction to specify the topography of the CSE complex.The CSESYS macroinstruction is optional; if you code it, you must place it after allthe SYSxxxx macroinstructions in H<strong>CP</strong>SYS ASSEMBLE, but before the SYSENDmacroinstruction. Only one CSESYS macroinstruction may be specified.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 653


CSESYSParametersCSEID=establishes the identification of one system in the CSE complex. When thesystem is defined for CSE LNKONLY, systemname must be one of the namesspecified in SYSTEM[1,2,3,4] keywords but must not match the system namespecified in the SYSID macroinstruction.Normally, the specification of all other CSExxx macroinstructions for everysystem in the same complex is identical. CSEID is the only oper<strong>and</strong> that mustbe different, so that every system’s CSEID is unique.systemnameis a 1- to 8-character name that identifies the hardware system where this <strong>CP</strong>nucleus with CSE active is to run, as it appears in the SYSID macroinstructionin H<strong>CP</strong>SYS.Although more than one name can be specified in the SYSID macroinstructionof H<strong>CP</strong>SYS, for integrity reasons a <strong>CP</strong> nucleus with CSE active depends on anexact relationship of all systems in the complex. Because of this, cross systemspooling <strong>and</strong> CSE comm<strong>and</strong>s are only active when executing on the hardwaresystem specified in CSEID.systemname must also be specified as the system name in one of theSYSTEM[1,2,3,4] keywords.SYSTEM1,SYSTEM2,...,SYSTEM4define the individual systems in the CSE complex. These oper<strong>and</strong>s are referredto collectively as SYSTEM[1,2,3,4] oper<strong>and</strong>s. At least two systems, SYSTEM1<strong>and</strong> SYSTEM2, must be specified. All SYSTEM[1,2,3,4] oper<strong>and</strong>s must becoded in the same order in the H<strong>CP</strong>SYS for every system in the CSE complex.sysname1,sysname2,...,sysname4is a 1- to 8-character name that identifies each system to be included in thecomplex. One of these system names must also be specified as systemname inthe CSEID oper<strong>and</strong>. By default, these systems will be included in both crosssystem spooling <strong>and</strong> cross system link. However, the LNKONLY, LN2ONLY,NOLINK, <strong>and</strong> NOSPOOL oper<strong>and</strong>s allow additional control over which systemsare to be included in, or excluded from, cross system link <strong>and</strong> cross systemspooling.System names should not be ALL or *.cvmname1,cvmname2,...,cvmname4specifies the 1- to 8-character user ID of the communication virtual machine(C<strong>VM</strong>) used by CSE. This oper<strong>and</strong> is optional. This user ID defaults to P<strong>VM</strong>.timeout1,timeout2,...,timeout4specifies the number of seconds that CSE is to wait for a response fromanother system. This waiting period is not associated with any particulartransaction but applies to the overall status of the communication link. It comesinto play only if this system has sent requests to another, <strong>and</strong> no response toany of those requests was received during the period specified. If the timeoutperiod expires, any incomplete requests are terminated with an error. CSEassumes that the C<strong>VM</strong> link to that system (or the system itself) is down. Theoperator is notified of this event by a message.No cross system spool processing can take place between these two systemsuntil the connection is restored. However, cross system link processingcontinues. This oper<strong>and</strong> is optional. The default is 12 seconds.654 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


CSESYSalias1,alias2,...,alias4specifies a second 1- to 8-character name that can be used in <strong>CP</strong> comm<strong>and</strong>sinstead of sysname[1,2,3,4] to identify the system. This oper<strong>and</strong> is optional.NOSPOOL=specifies that the systems within the parentheses are excluded from sharingspool files with this system but continue to participate in cross system link <strong>and</strong>cross system comm<strong>and</strong>s. Each system name specified in NOSPOOL must alsohave been specified in one of the SYSTEM[1,2,3,4] oper<strong>and</strong>s.sysnameaspecifies the 1- to 8-character name of a system to be excluded from sharingspool files.It is not meaningful to code the name of the main system in NOSPOOL. (Themain system is the system that was specified in the CSEID oper<strong>and</strong>.) However,since it may be convenient to do so, no error message is issued if this is done.LNKONLY=specifies that the systems within the parentheses are included in cross systemlink only. None of these systems can share spool file access with any othersystem in the complex, nor can they send or receive CSE comm<strong>and</strong>s.LNKONLY, if coded, must appear after the required CSEID, SYSTEM1, <strong>and</strong>SYSTEM2 oper<strong>and</strong>s. Each system specified by LNKONLY is included in crosssystem link only if the system is not also specified on the NOLINK oper<strong>and</strong>.sysnamebspecifies the 1- to 8-character names of the systems to be included in crosssystem link only. This name must not be the same as any of thesysname[1,2,3,4] oper<strong>and</strong>s specified in the SYSTEM1 through SYSTEM4keywords, since these are automatically included in cross system link unlessalso specified in a NOLINK statement. All systems with the LNKONLYparameter must be coded in the same order for all systems in the CSEcomplex. If they are not identical, multiple R/W access could be allowed for theshared DASD <strong>and</strong> may result in data loss.Note: You cannot generate a complex of exclusively LNKONLY systems, sinceSYSTEM1 <strong>and</strong> SYSTEM2 must always be specified. When you generateH<strong>CP</strong>SYS for a system that operates in LNKONLY mode, use thesystemname from one of the SYSTEM[1,2,3,4] keywords as the oper<strong>and</strong>for CSEID.LN2ONLY=specifies that the systems within the parentheses are included in cross systemlink only. None of these systems can share spool file access with any othersystem in the complex, nor can they send or receive CSE comm<strong>and</strong>s.LN2ONLY performs the same operation as LNKONLY. LN2ONLY, if coded,must appear after the required CSEID, SYSTEM1, <strong>and</strong> SYSTEM2 oper<strong>and</strong>s.Each system specified by LN2ONLY is included in cross system link only if thesystem is not also specified on the NOLINK oper<strong>and</strong>.sysnamecspecifies the 1- to 8-character names of the systems to be included in crosssystem link only. This name must not be the same as any of thesysname[1,2,3,4] oper<strong>and</strong>s specified in the SYSTEM1 through SYSTEM4keywords, since these are automatically included in cross system link unlessalso specified in a NOLINK statement. All systems with the LN2ONLYparameter must be coded in the same order for all systems in the CSEAppendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 655


CSESYSUsageNotescomplex. If they are not identical, multiple R/W access could be allowed for theshared DASD <strong>and</strong> may result in data loss.Note: You cannot generate a complex of exclusively LN2ONLY systems, sinceSYSTEM1 <strong>and</strong> SYSTEM2 must always be specified. When you generateH<strong>CP</strong>SYS for a system that operates in LN2ONLY mode, use thesystemname from one of the SYSTEM[1,2,3,4] keywords as the oper<strong>and</strong>for CSEID.NOLINK=specifies that the systems within the parentheses are excluded from crosssystem link <strong>and</strong> cannot access each other’s minidisks by using cross systemlink. This has no effect on their participation in cross system spooling or CSEcomm<strong>and</strong>s.If a system name is specified in both a LNKONLY (or LN2ONLY orSYSTEM[1,2,3,4]) <strong>and</strong> a NOLINK parameter, the NOLINK specificationoverrides LNKONLY <strong>and</strong> LN2ONLY.sysnamedspecifies the 1- to 8-character names of systems to be excluded from crosssystem link. This name must be the same as one of the sysname[1,2,3,4]oper<strong>and</strong>s specified in the SYSTEM1 through SYSTEM4 keywords.Note: Use of NOLINK is not compatible with the operation of DIRMAINTRelease 5 within the complex, since DIRMAINT depends on the sharedCMS minidisk protection provided by CSE.1. CSESYS is an optional macro, coded in H<strong>CP</strong>SYS only if CSE is to be active.2. If CSE is active, one of the SYSTEM[1,2,3,4] oper<strong>and</strong>s must be the same asthe CSEID oper<strong>and</strong>.3. To include one or more systems in cross system link only, use LNKONLY,LN2ONLY, or both LNKONLY <strong>and</strong> LN2ONLY.4. The maximum number of systems that can be defined for cross system link is56 if the CSE complex uses only shared ECKD devices. If any shared CKDdevices are used, then the number of systems supported depends on thedevice type. If more than 56 systems are specified for cross system link,H<strong>CP</strong>SYS ASSEMBLE does not assemble, <strong>and</strong> an MNOTE is issued.5. If message 2890E is received when the system is IPLED or when a volume isattached to the system, check that the CSE system <strong>and</strong> volume tables inH<strong>CP</strong>SYS are correct <strong>and</strong> that the CSE track is on the correct volume. If thesystem is running an earlier <strong>VM</strong> release than z/<strong>VM</strong> 1.1 <strong>and</strong> this is an ECKDdevice, enter XLINK FORMAT for the volume.6. Migration Incompatibility Note — In previous releases of <strong>VM</strong>, you couldspecify different system IDs on the SYSID (page 677) <strong>and</strong> the CSESYSmacroinstructions. If you decide to migrate your H<strong>CP</strong>SYS ASSEMBLE file to thez/<strong>VM</strong> Release 2.1 system configuration file, you can only have one system ID.To specify the system ID in the system configuration file, use theSYSTEM_IDENTIFIER statement (page 226) or theSYSTEM_IDENTIFIER_DEFAULT statement (page 228). Use the system ID youdefine on these statements when you use the following system configuration filestatements:656 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


CSESYSStatement Function PageXLINK_SYSTEM_EXCLUDE Tells <strong>CP</strong> which systems not to include in the cross system link<strong>and</strong> which systems <strong>CP</strong> should prevent from accessing eachother’s minidisks. (This statement has no effect on the system’sparticipation in cross system spooling or cross systemcomm<strong>and</strong>s.)XLINK_SYSTEM_INCLUDE Tells <strong>CP</strong> which systems to include in the cross system link. 264XSPOOL_SYSTEM Tells <strong>CP</strong> the names of the systems participating in cross systemcomm<strong>and</strong>s <strong>and</strong> spooling operations.263271For more information about the system configuration file, see page Chapter 6, “TheSystem Configuration File,” on page 51.ExamplesIn this example of a three-system complex, two systems (KGNVHH <strong>and</strong> KGNVHB)are sharing fully, with the third system (KGNRMD) included only in minidisk sharing.SYSTEM1 is known as KGNVHH <strong>and</strong> SYSTEM2 as KGNVHB in the SYSIDmacroinstruction in the H<strong>CP</strong>SYS ASSEMBLE file <strong>and</strong> in the CSEID oper<strong>and</strong> of theCSESYS macro. The system that is to be included only in minidisk sharing isdefined as KGNRMD in the SYSID macroinstruction of the H<strong>CP</strong>SYS ASSEMBLEfile. This LNKONLY system called KGNRMD may have a CSESYS macroinstructionthat looks like this:CSESYS CSEID=KGNVHH,SYSTEM1=(KGNVHH.....,SYSTEM2=(KGNVHB.....,LNKONLY=(KGNRMD)orCSESYS CSEID=KGNVHB,SYSTEM1=(KGNVHH.....,SYSTEM2=(KGNVHB.....,LNKONLY=(KGNRMD)The CSESYS macroinstruction for system KGNVHH looks like:CSESYS CSEID=KGNVHH,SYSTEM1=(KGNVHH.....,SYSTEM2=(KGNVHB.....,LNKONLY=(KGNRMD)The CSESYS macroinstruction for system KGNVHB looks like:CSESYS CSEID=KGNVHB,SYSTEM1=(KGNVHH.....,SYSTEM2=(KGNVHB.....,LNKONLY=(KGNRMD)Note: You cannot generate a complex of exclusively LNKONLY <strong>and</strong> LN2ONLYsystems, because SYSTEM1 <strong>and</strong> SYSTEM2 must always be specified.MigrationAidsYou can achieve the function of the CSESYS macroinstruction by using thefollowing statements in a system configuration file:v XLINK_SYSTEM_EXCLUDE (page 263)v XLINK_SYSTEM_INCLUDE (page 264)v XSPOOL_SYSTEM (page 271).Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 657


CSETRACECSETRACE (Optional)►►labelCSETRACEPAGES=nnn►◄PurposeParametersCode the CSETRACE macroinstruction to establish the number of pages of <strong>CP</strong>storage allocated for the CSE trace tables. If CSETRACE is coded, it must appearin the H<strong>CP</strong>SYS ASSEMBLE file immediately after the CSESYS macro. If theCSETRACE macro is not specified, 4 pages are allocated.PAGESspecifies the number of pages that <strong>CP</strong> is to allocate for the CSE trace tableswhen the system is initialized.nnnis an integer in the range of 0 to 255. If nnn=0, there are no pages allocated forCSE trace tables.UsageNotes1. The first trace table page provides enough space to hold 16 synchronizationrequests <strong>and</strong> 111 C<strong>VM</strong> communication requests. Each additional page providesspace for 127 more C<strong>VM</strong> communication requests. When this number isexceeded, the trace tables wrap around, <strong>and</strong> the previously recorded entries areoverwritten.MigrationAidsYou can achieve the function of the CSETRACE macroinstruction by using theXSPOOL_TRACE statement in a system configuration file. See “XSPOOL_TRACEStatement” on page 273.658 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


CSEUSERCSEUSER (Optional),►►labelCSEUSEREXCLINP=( ▼ usern ),►◄,,EXCLOUT=( ▼ usern )EXCLOUT=( ▼ usern ),,EXCLINP=( ▼ usern )PurposeCode the CSEUSER macroinstruction to define virtual machines that will notparticipate in cross system spooling <strong>and</strong> cross system message <strong>and</strong> querycomm<strong>and</strong>s. If CSEUSER macros are coded, they must appear after the CSESYSmacro <strong>and</strong> before the SYSEND macro. Within ASSEMBLER limitations, any numberof CSEUSER macros may be specified.Input <strong>and</strong> output spool files owned by user IDs listed in the CSEUSER macro arenot accessible to the other systems in the CSE complex.ParametersUsageNotesEXCLINPindicates that input (reader) spool files owned by the user IDs specified asusern are not to be accessible to the other systems in the CSE complex.EXCLOUTindicates that output (printer <strong>and</strong> punch) spool files owned by the user IDsspecified as usern are not to be accessible to the other systems in the CSEcomplex.usernspecifies the 1- to 8-character user ID of the virtual machine whose input oroutput files are to be excluded from access to cross system spooling. Amaximum of 255 characters, including commas, are allowed in usern definitions.1. User IDs listed in the CSEUSER macro have operational characteristics that aredifferent from those that are not listed. The users associated with these userIDs:v Can log on to more than one system in the complex at the same time. Userswhose user IDs are not listed here are prevented from doing so.v Receive messages generated by the <strong>CP</strong> MSG, MSGNOH, WNG, <strong>and</strong> SMSGcomm<strong>and</strong>s, but only from users on the same system they are on, unless theuser entering the <strong>CP</strong> comm<strong>and</strong> specified the AT parameter.In addition, when these users:Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 659


CSEUSERv Enter a <strong>CP</strong> QUERY userid or QUERY NAMES comm<strong>and</strong>, only the system onwhich the comm<strong>and</strong> was entered is queried, unless the AT parameter wasused.v Are the target of a <strong>CP</strong> QUERY userid comm<strong>and</strong>, only the system on whichthe comm<strong>and</strong> was entered is queried, unless the AT parameter was used.2. These service virtual machines operate only in a single system within the CSEcomplex. CSE automatically excludes:v The system operator (SYSOPR macro in H<strong>CP</strong>SYS).v The communication virtual machine (C<strong>VM</strong>). See “Preparing theCommunication Virtual Machine (C<strong>VM</strong>)” on page 350 for information on howto specify a C<strong>VM</strong> virtual machine.Do not code any CSEUSER macro for these virtual machines. Your installationmay decide that other service virtual machines should also be excluded, but forease of operation <strong>and</strong> administration of the CSE complex, keep exclusions to aminimum.3. The CSEUSER EXCLINP list for every system in the CSE complex must be thesame; the CSEUSER EXCLOUT list for every system in the CSE complex mustbe the same.MigrationAidsYou can achieve the function of the CSEUSER macroinstruction by using thefollowing statements in a system configuration file:v XSPOOL_XLIST_INPUT—See “XSPOOL_XLIST_INPUT Statement” on page274.v XSPOOL_XLIST_OUTPUT—See “XSPOOL_XLIST_OUTPUT Statement” onpage 276.660 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSACNTSYSACNT (Optional)►►labelSYSACNTUSERID=OPERACCTUSERID=userid(userid1,userid2)►◄PurposeCode the SYSACNT macroinstruction to specify user IDs of up to two virtualmachines for which the <strong>CP</strong> accounting system service (*ACCOUNT) is toaccumulate records. When the virtual machines thus identified to <strong>CP</strong> are connectedto *ACCOUNT, accounting records are sent to them.In addition, these virtual machines are automatically logged on during <strong>CP</strong>initialization.The SYSACNT macroinstruction is optional; if you code it, you must place it afterthe first five required macroinstructions in H<strong>CP</strong>SYS ASSEMBLE (SYS<strong>CP</strong>VOL,SYSOPR, SYSRES, SYSSTORE, <strong>and</strong> SYSTIME) but before the SYSENDmacroinstruction. If this macro is not coded, <strong>CP</strong> processes the virtual machinehaving the user ID OPERACCT as the accounting record recording virtual machine.Note: Any virtual machine identified on the SYSACNT macro must contain anIUCV directory control statement that authorizes the application running inthe virtual machine to connect to the *ACCOUNT system service. Failure tosupply this required authority results in the failure of the connection requestfrom the virtual machine. If the RETRIEVE utility is used to collectaccounting records <strong>and</strong> this authority is not coded in the directory, theRETRIEVE utility will fail.ParametersUsageNotesUSERID=OPERACCTUSERID=useridUSERID=(userid1,userid2)specifies the user IDs of the virtual machines for which the *ACCOUNT systemservice is to accumulate <strong>and</strong> checkpoint accounting records. Either one or twouser IDs may be specified. The user IDs are alphanumeric character strings ofup to 8 characters. OPERACCT is the default user ID.1. If the user ID specified on the SYSACNT macro has an entry in the userdirectory, that user ID is logged on at system initialization.Examples1. To specify OPERACCT as the user ID of the accounting virtual machine, youcan do one of the following:v Omit the SYSACNT macrov Code the SYSACNT macro as follows:SYSACNT USERID=OPERACCTAppendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 661


SYSACNT2. To specify DISKACNT as the user ID of the accounting virtual machine, codethe SYSACNT macro as follows:SYSACNT USERID=DISKACNT3. To specify OPERACCT <strong>and</strong> DISKACNT as the user IDs of the accountingrecord recording virtual machines, code the SYSACNT macro as follows:SYSACNT USERID=(OPERACCT,DISKACNT)MigrationAidsYou can achieve the function of the SYSACNT macroinstruction by using theSYSTEM_USERIDS statement in a system configuration file. See“SYSTEM_USERIDS Statement” on page 232.662 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSADDINSYSADDIN (Optional)►►labelSYSADDIN ▼ ,entry point name ►◄PurposeCode the SYSADDIN macroinstruction to generate a list of installation-added entrypoints in <strong>CP</strong> which are to be called during system initialization.The SYSADDIN macroinstruction is optional; if you code it, you must place it afterthe first five required macroinstructions in H<strong>CP</strong>SYS ASSEMBLE (SYS<strong>CP</strong>VOL,SYSOPR, SYSRES, SYSSTORE, <strong>and</strong> SYSTIME) but before the SYSEND orCSESYS macroinstruction.Parametersentry point nameis the installation-defined entry point which is to be called during systeminitialization. The variable entry point name is a 1-character to 8-characteridentifier. This must be a valid <strong>CP</strong> entry point, which can be located with the <strong>CP</strong>LOCATE comm<strong>and</strong>. The entry point must be MP (multi-processor)-capable <strong>and</strong>use a dynamic savearea.UsageNotes1. Entry points listed must be included in the <strong>CP</strong> module.2. <strong>CP</strong> will schedule each of the specified entry points for execution during thesystem initialization process. However, the entry points may not run until afterinitialization is complete.ExamplesMigrationAidsTo specify LOCALMOD, USERMOD, <strong>and</strong> XMOD as entry points to be startedduring system initialization code the SYSADDIN macro as follows:SYSADDIN LOCALMOD,USERMOD,XMODYou can achieve the function of the SYSADDIN macroinstruction by using the<strong>CP</strong>_ADDON_INITIALIZE_ROUTINES statement in a system configuration file. See“<strong>CP</strong>_ADDON_INITIALIZE_ROUTINES Statement” on page 72.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 663


SYS<strong>CP</strong>VOLSYS<strong>CP</strong>VOL (Required)►►labelSYS<strong>CP</strong>VOL ▼ ,volid,OWN(volid ,D ),SHR►◄PurposeCode the SYS<strong>CP</strong>VOL macroinstruction to define <strong>and</strong> generate a list of up to 255<strong>CP</strong>-owned DASD volumes. <strong>CP</strong>-owned volumes are the <strong>CP</strong> system residencevolume <strong>and</strong> volumes that contain real system paging, spooling, dump, directory, ortemporary disk space. SYS<strong>CP</strong>VOL is required <strong>and</strong> must appear as one of the firstfive macroinstructions in the H<strong>CP</strong>SYS ASSEMBLE file.When CSE is not used, all the volumes listed in SYS<strong>CP</strong>VOL containing SPOLspace may be used to read <strong>and</strong> write spool files. (Spool files are written only once,at the time they are created.)When CSE is active, shared access to spool files for all systems in the complex isprovided by physically sharing the spooling DASD. Although physically this is bothread <strong>and</strong> write sharing, logically the sharing is on a read-only basis. This meansthat some volumes must be identified as available for writing the spool files that arecreated on this system, <strong>and</strong> others must be identified as available only for readingspool files created on other systems. The SYS<strong>CP</strong>VOL macro allows this byspecifying the SHR <strong>and</strong> OWN oper<strong>and</strong>s.Note: It is recommended that the system residence volumes <strong>and</strong> paging volumesnot be shared among systems in a CSE complex.Parametersvolidspecifies the 1- to 6-character volume identifier. All volids with SPOL spacemust be specified in exactly the same position in the SYS<strong>CP</strong>VOL lists for allsystems in the CSE complex. An example follows, but it does not define asmany volumes as would be expected in a production system.D indicates that the spool space on volume volid is to be reserved exclusively fordumps.SHRindicates that the identified volume is owned by another system in the CSEcomplex. This system cannot create or destroy spool files on it. It can, however,read spool files previously written by the owning system.OWNindicates that the volume identified is owned by this system (the system you aregenerating) <strong>and</strong> that only this system can create or destroy spool files on thisvolume. The other systems in the CSE complex, which have volid coded withthe SHR parameter, have shared access to this system’s spool files becausethey can read the data on this volume. OWN is the default <strong>and</strong> need not bespecified.664 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYS<strong>CP</strong>VOLUsage Notes1. Before <strong>CP</strong> can use a DASD, you must format, label, <strong>and</strong> allocate space on theDASD. You may do this by using the Device Support Facilities program(ICKDSF) or the CMS utility <strong>CP</strong>FMTXA. However, ICKDSF is the recommendedmethod of <strong>CP</strong> volume maintenance <strong>and</strong> is required for certain DASD types.ECKD capable CKD devices should be formatted without filler records usingICKDSF. For more information on the ICKDSF program, see the Device SupportFacilities User’s Guide <strong>and</strong> Reference book. For more information on the<strong>CP</strong>FMTXA utility, see the z/<strong>VM</strong>: CMS Comm<strong>and</strong>s <strong>and</strong> Utilities Reference book.2. You must specify the system residence volume identification on the SYS<strong>CP</strong>VOLmacroinstruction. You must also identify, as <strong>CP</strong>-owned, volumes that containcheckpoint <strong>and</strong> warm-start data, paging, spooling, dump, directory, or temporarydisk space. You can identify all other volumes by coding the SYSUVOLmacroinstruction or by logically attaching (ATTACH comm<strong>and</strong>) the entire device.3. If a volume is specified in the SYS<strong>CP</strong>VOL statement but is not mounted when<strong>CP</strong> is loaded, <strong>CP</strong> considers that volume unavailable. <strong>CP</strong> continues processing,if possible. The system operator may mount <strong>and</strong> attach the volume (using theclass A ATTACH comm<strong>and</strong>) to the system when it is needed. This providesextra space for future growth.4. If you want to add new volumes to the system after system generation, add newvolume identifications to the end of the SYS<strong>CP</strong>VOL list. Then reassembleH<strong>CP</strong>SYS ASSEMBLE, rebuild the <strong>CP</strong> nucleus, <strong>and</strong> reload <strong>CP</strong> (see thegeneration procedures in z/<strong>VM</strong>: Guide for Automated Installation <strong>and</strong> Service).This procedure allows you to warm start the system without disturbing therelative entry number that locates system spool buffers.Attention: If you delete any volume that contains spool space from theSYS<strong>CP</strong>VOL list, or any volume that contains spool space is moved to a differentposition in the SYS<strong>CP</strong>VOL list, a clean start is required. A clean start causesdeletion of spool files <strong>and</strong> system data files, including named saved systems<strong>and</strong> saved segments. Files that are to be preserved over such a change shouldbe dumped to tape using the SPXTAPE DUMP comm<strong>and</strong>.After the clean start, SPXTAPE LOAD should be used to restore the spool files<strong>and</strong> system data files from tape. This ensures that spool files <strong>and</strong> system datafiles that existed on the system before deletion of movement of volumes in theSYS<strong>CP</strong>VOL list are restored correctly.5. If you specify D for a volume <strong>and</strong> the spool space on that volume is already inuse for spool files when the system is IPLed, those spool files remain on thatvolume until an SPXTAPE or SPOOL comm<strong>and</strong> moves them.6. For a singlez/<strong>VM</strong> system, that is, one that is not associated with other systemsby means of CSE, all <strong>CP</strong> volumes should be owned by that system, <strong>and</strong> SHRshould not be specified. Since OWN is the default, no change to the traditionalcoding of SYS<strong>CP</strong>VOL is required.7. The following notes apply only when CSE is in use:a. All volumes that have SPOL extents must be included in the SYS<strong>CP</strong>VOLmacro for each system, with the same relative position in each system’sSYS<strong>CP</strong>VOL macro. It is suggested that all volumes with SPOL extents begrouped by system <strong>and</strong> placed first in the SYS<strong>CP</strong>VOL list.b. If D is specified for volid, CSE treats volid the same way as if OWN werespecified; only this system may allocate spool space (for dumps) on thisvolume.The variable volid must be coded with the SHR parameter in theSYS<strong>CP</strong>VOL lists of all the other systems in the CSE complex.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 665


SYS<strong>CP</strong>VOLc. In the SYS<strong>CP</strong>VOL list, you cannot change the order of the volumes thatcontain SPOL space unless a clean start is performed on all systems in thecomplex. If you do change the order, you may have to use SPXTAPE toavoid losing spool files. However, if you add new SPOL space volumes tothe end of the SYS<strong>CP</strong>VOL lists of the associated systems without disturbingthe position <strong>and</strong> sequence of existing volumes, a clean start is not required.8. At system initialization (IPL), if more than one DASD volume has the samevolume serial (volid) <strong>and</strong> that volid is in the <strong>CP</strong> or user volume list, the volumewith the lowest device number is attached to the system. This rule does notapply to duplicates of the system residence (IPLed) volume.9. The list of <strong>CP</strong>-owned volumes generated by <strong>CP</strong>_OWNED statements in thesystem configuration file completely supersedes the list of <strong>CP</strong>-owned volumesgenerated by the SYS<strong>CP</strong>VOL macroinstruction.Examples1. To designate the spool space on volume <strong>CP</strong>DSK1 for dumps only, code theSYS<strong>CP</strong>VOL macro as follows:SYS<strong>CP</strong>VOL <strong>CP</strong>DRM1,(<strong>CP</strong>DSK1,D),<strong>CP</strong>DSK22. To designate spool space on volumes to be used for CSE code the SYS<strong>CP</strong>VOLmacro as follows:SYS<strong>CP</strong>VOL list for system KGNRMD1:SYS<strong>CP</strong>VOLRD1RES,(SPOOL1,OWN),(SPOOL2,SHR),(SPOOL3,SHR),(SPOOL4,OWN),(SPOOL5,SHR),(SPOOL6,SHR),(SPOOL7,OWN),(SPOOL8,SHR),(SPOOL9,SHR)SYS<strong>CP</strong>VOL list for system KGNRMD2:SYS<strong>CP</strong>VOLRD2RES,(SPOOL1,SHR),(SPOOL2,OWN),(SPOOL3,SHR),(SPOOL4,SHR),(SPOOL5,OWN),(SPOOL6,SHR),(SPOOL7,SHR),(SPOOL8,OWN),(SPOOL9,SHR)SYS<strong>CP</strong>VOL list for system KGNRMD3:SYS<strong>CP</strong>VOLRD3RES,(SPOOL1,SHR),(SPOOL2,SHR),(SPOOL3,OWN),(SPOOL4,SHR),(SPOOL5,SHR),(SPOOL6,OWN),(SPOOL7,SHR),(SPOOL8,SHR),(SPOOL9,OWN)5.ExplanationEach system owns three volumes that contain <strong>CP</strong> spooling space. The position ofthe spooling volumes is the same in each list. The only nonspooling volumes listedare the system residence volumes RD1RES, RD2RES, <strong>and</strong> RD3RES. These arethree different volumes, but they occupy the same position in each list in order tokeep the position of the spooling volumes constant. Rather than allow an entry todefault to OWN, it has been explicitly stated in each case. This makes visualchecking of the lists less difficult.Note: System residence volume IDs should be unique.MigrationAidsYou can achieve the function of the SYS<strong>CP</strong>VOL macroinstruction by using the<strong>CP</strong>_OWNED statement in a system configuration file. See “<strong>CP</strong>_OWNED Statement”on page 73.666 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSDUMPSYSDUMP (Optional)►►labelSYSDUMPUSERID=OPERATNSUSERID=userid►◄PurposeCode the SYSDUMP macroinstruction to identify the user ID of the virtual machinethat receives system dump files. The SYSDUMP macroinstruction is optional; if youcode it, you must place it after the first five required macroinstructions in H<strong>CP</strong>SYSASSEMBLE (SYS<strong>CP</strong>VOL, SYSOPR, SYSRES, SYSSTORE, <strong>and</strong> SYSTIME) butbefore the SYSEND macroinstruction. If this macro is not coded, the virtual machinehaving the user ID OPERATNS receives the system dump files.ParametersUsageNotesUSERID=OPERATNSUSERID=useridis the user ID of the virtual machine that receives spooled system dumps. Thevariable userid must be an alphanumeric character string of up to 8 characterslong. OPERATNS is the default user ID.<strong>CP</strong> creates system dump files as a result of system abends <strong>and</strong> system restarts.You can also use the <strong>VM</strong>DUMP comm<strong>and</strong> to send virtual machine dumps to thevirtual machine you specify in the SYSDUMP macroinstruction.ExamplesMigrationAids1. To specify OPERATNS as the user ID of the virtual machine that receivessystem dump files you can do one of the following:v Omit the SYSDUMP macrov Code the SYSDUMP macro with no parametersv Code the SYSDUMP macro as follows:SYSDUMP USERID=OPERATNS2. To specify MRDUMP as the user ID of the virtual machine that receives systemdump files, code the SYSDUMP macro as follows:SYSDUMP USERID=MRDUMPYou can achieve the function of the SYSDUMP macroinstruction by using theSYSTEM_USERIDS statement in a system configuration file. See“SYSTEM_USERIDS Statement” on page 232.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 667


SYSENDSYSEND (Required)►►labelSYSEND►◄PurposeExamplesMigrationAidsUse the SYSEND macroinstruction to end the H<strong>CP</strong>SYS assembly. The SYSENDmacroinstruction is required <strong>and</strong> must appear as the last macroinstruction inH<strong>CP</strong>SYS ASSEMBLE.To end the H<strong>CP</strong>SYS assembly, code the SYSEND macro as follows:SYSENDThere is no equivalent statement in a system configuration file for the SYSENDmacroinstruction.668 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSEREPSYSEREP (Optional)►►labelSYSEREPUSERID=OPEREREPUSERID=userid(userid1,userid2)►◄PurposeCode the SYSEREP macroinstruction to identify the user IDs of one or two virtualmachines for which the *LOGREC system service is to accumulate records. Whenthe virtual machines thus identified to <strong>CP</strong> connect to the *LOGREC system service,EREP records are sent to them.These virtual machines are automatically logged on during <strong>CP</strong> initialization.The SYSEREP macroinstruction is optional; if you code it, you must place it afterthe first five required macroinstructions in H<strong>CP</strong>SYS ASSEMBLE (SYS<strong>CP</strong>VOL,SYSOPR, SYSRES, SYSSTORE, <strong>and</strong> SYSTIME) but before the SYSENDmacroinstruction. If this macro is not coded, <strong>CP</strong> processes the virtual machinehaving the user ID OPEREREP as the error recording virtual machine.Note: Any virtual machine identified on the SYSEREP macro must contain anIUCV directory control statement authorizing the application running in thevirtual machine to connect to the *LOGREC system service. Failure to supplythis required authorization will result in the failure of the connection requestfrom the virtual machine. If the RETRIEVE utility is used to collect errorrecords <strong>and</strong> this authorization is not coded in the directory, RETRIEVE willfail.ParametersUsageNotesUSERID=OPEREREPUSERID=useridUSERID=(userid1,userid2)are the user IDs of the virtual machines for which the *LOGREC system serviceis to accumulate <strong>and</strong> checkpoint error records. One or two user IDs can bespecified. The variable userid must be an alphanumeric character string of up to8 characters. OPEREREP is the default user ID.If the user ID specified on the SYSEREP macroinstruction has an entry in the userdirectory at system initialization, the associated virtual machine is logged on to thesystem.Examples1. To specify OPEREREP as the user ID of the error recording virtual machine,you can do one of the following:v Omit the SYSEREP macrov Code the SYSEREP macro as follows:SYSEREP USERID=OPEREREPAppendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 669


SYSEREP2. To specify MISSEREP as the user ID of the error recording virtual machine,code the SYSEREP macro as follows:SYSEREP USERID=MISSEREP3. To specify OPEREREP <strong>and</strong> MISSEREP as the user IDs of the error recordingvirtual machines, code the SYSEREP macro as follows:SYSEREP USERID=(OPEREREP,MISSEREP)MigrationAidsYou can achieve the function of the SYSEREP macroinstruction by using theSYSTEM_USERIDS statement in a system configuration file. See“SYSTEM_USERIDS Statement” on page 232.670 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSEXCLSYSEXCL (Optional)►►labelSYSEXCL ▼ ,volid►◄PurposeCode the SYSEXCL macroinstruction to define volumes that are to be excludedfrom the user volume list. (User volumes are those volumes that you use to containminidisks.) During system IPL, <strong>CP</strong> attaches to the system any volume specified onthe SYSUVOL macro <strong>and</strong> any volume whose volume identifier (volid) matches ageneric volume identifier specified on the SYSINCL macro, unless the volume isalso specified on the SYSEXCL macro.The SYSEXCL macroinstruction is optional; if you code it, you must place it afterthe first five required macroinstructions in H<strong>CP</strong>SYS ASSEMBLE (SYS<strong>CP</strong>VOL,SYSOPR, SYSRES, SYSSTORE, <strong>and</strong> SYSTIME) but before the SYSEND orCSESYS macroinstruction.Parametersvolidis the user volume identification. The variable volid is a 1- to 6-characteridentifier. Each character can be a letter, number, or hyphen.The variable volid can also be specified as a generic volume identifier. Ageneric volume identifier is specified as 1 to 5 characters followed by anasterisk (*). For example, SYSEXCL EM* excludes all volumes whose volumeidentifiers begin with the letters “EM”.UsageNotes1. If a volume identifier matches a volid pattern specified on both the SYSINCL<strong>and</strong> SYSEXCL macros, <strong>CP</strong> does not attach the volume to the system duringinitialization.2. Dedicated devices are not user volumes. They must be attached to the user towhich they are dedicated <strong>and</strong> not to the system. Therefore, if you code aSYSINCL macro, you may want to specify dedicated devices on the SYSEXCLmacro.Examples1. To define as user volumes all volumes except <strong>VM</strong>TST1 <strong>and</strong> <strong>VM</strong>TST2, code thefollowing macros:SYSINCL *SYSEXCL <strong>VM</strong>TST1,<strong>VM</strong>TST22. To define as user volumes all volumes whose identifiers begin with “US” exceptfor any whose identifiers begin with “USER”, code the following macros:SYSINCL US*SYSEXCL USER*Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 671


SYSEXCLMigration AidsYou can achieve the function of the SYSEXCL macroinstruction by using theUSER_VOLUME_EXCLUDE statement in a system configuration file. See“USER_VOLUME_EXCLUDE Statement” on page 251.672 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSFCNSYSFCN (Optional)►►labelSYSFCN(1),OPER=A,OPER=classes,<strong>CP</strong>RD=CE,<strong>CP</strong>RD=classes,<strong>CP</strong>WT=C,<strong>CP</strong>WT=classes►►,SERV=F,SERV=classes,DFLT=G,DFLT=classes►◄Notes:1 The following parameters can be specified in any order.PurposeCode the SYSFCN macroinstruction to change the privilege class authorizing thefollowing <strong>CP</strong> functions:v Logging on as the primary system operatorv Intensive error recordingv Using the read function of the <strong>CP</strong> IO<strong>CP</strong> utilityv Using the write function of the <strong>CP</strong> IO<strong>CP</strong> utilityv Specifying the default user class.A default SYSFCN macro is supplied in the sample H<strong>CP</strong>SYS ASSEMBLE file. If youwant to change some or all of the privilege classes assigned to these <strong>CP</strong> functions,you must include a SYSFCN macro statement in H<strong>CP</strong>SYS that specifies thechanges you want to make.The SYSFCN macroinstruction is optional; if you code it, you must place it after thefirst five required macroinstructions in H<strong>CP</strong>SYS ASSEMBLE (SYS<strong>CP</strong>VOL,SYSOPR, SYSRES, SYSSTORE, <strong>and</strong> SYSTIME) but before the SYSENDmacroinstruction. If SYSFCN is not coded, all the default privilege classes are used.ParametersOPER=classesOPER=Aspecifies the classes for the primary system operator. The default is A.<strong>CP</strong>RD=classes<strong>CP</strong>RD=CEspecifies the classes authorized to issue IO<strong>CP</strong> READ. The default is CE.<strong>CP</strong>WT=classes<strong>CP</strong>WT=Cspecifies the classes authorized to issue IO<strong>CP</strong> WRITE. The default is C.SERV=classesSERV=Fspecifies the classes authorized to perform intensive error recording. Thedefault is F.DFLT=classesAppendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 673


SYSFCNUsageNotesDFLT=Gspecifies the default classes for users who do not have a class defined in theirdirectory entries. The default is G.Coding the OPER=classes oper<strong>and</strong> allows any user ID with any of the specifiedclasses to become the system operator ID if the primary operator logs off.ExamplesMigrationAidsTo specify the class of the system operator as ABD, code the SYSFCN macro asfollows:SYSFCN OPER=ABDYou can achieve the function of the SYSFCN macroinstruction by using thePRIV_CLASSES statement in a system configuration file. See “PRIV_CLASSESStatement” on page 184.674 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSFORMSYSFORM (Optional)►►labelSYSFORM(1),,DEFPRT=STANDARD,DEFPRT=userform►▼(userform,operform ),NARROW►,DEFPUN=STANDARD,DEFPUN=userform,DEFCON=STANDARD,DEFCON=userform,DEFRDR=STANDARD,DEFRDR=userform►◄Notes:1 The following parameters can be specified in any order.PurposeCode the SYSFORM macroinstruction to create a list of user form names <strong>and</strong> theircorresponding operator form numbers. You can also use SYSFORM to (a) specifyforms as NARROW, so that a narrow separator page is printed <strong>and</strong> (b) generatedefault user form names to be used when files are created on virtual printers, virtualpunches, virtual consoles, or real card readers.The SYSFORM macroinstruction is optional; if you code it, you must place it afterthe first five required macroinstructions in H<strong>CP</strong>SYS ASSEMBLE (SYS<strong>CP</strong>VOL,SYSOPR, SYSRES, SYSSTORE, <strong>and</strong> SYSTIME) but before the SYSENDmacroinstruction.Parametersuserformis a 1- to 8-character user form name.operformis a 1- to 8-character operator form number.NARROWspecifies that the form be 86 columns wide. If you specify NARROW, separatorinformation does not print beyond the 86th column.DEFPRTspecifies the default user form for virtual printer spool files. If DEFPRT is notspecified, the default is DEFPRT=STANDARD.DEFPUNspecifies the default user form for virtual punch spool files. If DEFPUN is notspecified, the default is DEFPUN=STANDARD.DEFCONspecifies the default user (<strong>and</strong>, implicitly, operator) forms for virtual consolespool files. If DEFCON is not specified, the default is DEFCON=STANDARD.DEFRDRspecifies the default user (<strong>and</strong>, implicitly, operator) forms for files created on areal card reader. If DEFRDR is not specified, the default isDEFRDR=STANDARD.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 675


SYSFORMUsage NotesExamplesThe userform <strong>and</strong> operform oper<strong>and</strong>s establish the correspondence between theuser form <strong>and</strong> operator form. If no user form <strong>and</strong> operator form pairs are specified,no form list is generated, <strong>and</strong> <strong>CP</strong> makes no distinction between user forms <strong>and</strong>operator forms.1. To use <strong>CP</strong>’s default values you can do one of the following:v Omit the SYSFORM macro from H<strong>CP</strong>SYSv Code the SYSFORM macro with no oper<strong>and</strong>s.<strong>CP</strong> assigns default forms of STANDARD for the printer, punch, console, <strong>and</strong>card reader.2. You can specify the following default forms:v LISTING for virtual printer files <strong>and</strong> real card reader filesv PLAIN for virtual punch files.To do this, code the SYSFORM macro as follows:SYSFORM DEFPRT=LISTING,DEFPUN=PLAIN,DEFRDR=LISTING3. To specify the same default values as in the previous example:a. Create a list of user form names (for example, LISTING, DOCUMENT, <strong>and</strong>PLAIN) <strong>and</strong> the corresponding operator form numbers (G1PW <strong>and</strong> G1PN).b. Specify that G1PN is to be no more than 86 columns wide.c. Code the SYSFORM macro as follows:SYSFORM (LISTING,G1PW), *(DOCUMENT,G1PN,NARROW), *(PLAIN,G1PN,NARROW), *DEFPRT=LISTING, *DEFPUN=PLAIN, *DEFRDR=LISTINGNote that if you need more than one line to code the SYSFORM macro, you mustcode a continuation character in column 72 <strong>and</strong> start the next line in column 16.MigrationAidsYou can achieve the function of the SYSFORM macroinstruction by using thefollowing statements in a system configuration file:v FORM_DEFAULT—See “FORM_DEFAULT Statement” on page 150.v USERFORM—See “USERFORM Statement” on page 247.676 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSIDSYSID (Optional)►►labelSYSID(1),,systemid▼ (systemid,model,cpuid ),sysgate,NOSYSGAT►►DEFAULT=defid,defid(defid ),defgate,NOSYSGAT►◄Notes:1 The following parameters can be specified in any order.PurposeCode the SYSID macroinstruction to create a system identifier for the processor onwhich you run z/<strong>VM</strong>. If your installation has several processors, you can createsystem identifiers for each one. At <strong>CP</strong> initialization, <strong>CP</strong> matches the processormodel <strong>and</strong> <strong>CP</strong>U identification numbers with your system identifier. Then, the systemidentifier appears on printed output separator pages <strong>and</strong> in the status area of 3270display screens.The SYSID macro also identifies the system gateway name for a system. Thesystem gateway is identified automatically when <strong>CP</strong> initializes on the system. Asystem gateway provides a way to access private or global resources on a specificsystem within a CS or TSAF collection. It also provides access to private or globalresources in a CS collection from an adjacent TSAF collection. Similarly, resourcesin a TSAF collection can be accessed from an adjacent CS collection. See thez/<strong>VM</strong>: Connectivity book for more information about gateways.By default, the system gateway name is the same as the system ID for the system;this is the recommended naming convention. However, if this default conflicts withanother gateway name, you can use SYSID to specify a unique system gatewayname for the system.The SYSID macroinstruction is optional. If you code it, you must place it after thefirst five required macroinstructions in H<strong>CP</strong>SYS ASSEMBLE (SYS<strong>CP</strong>VOL,SYSOPR, SYSRES, SYSSTORE, <strong>and</strong> SYSTIME) but before the SYSENDmacroinstruction.Note: If you do not code the SYSID macroinstruction, the z/<strong>VM</strong> system will nothave a system identifier or system gateway name. Also, if the processormodel <strong>and</strong> <strong>CP</strong>U identification number do not match any SYSID entries <strong>and</strong>the DEFAULT oper<strong>and</strong> is not coded, a system identifier or system gatewaywill not be identified.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 677


SYSIDParametersUsageNotessystemidis the 1- to 8-character system identification.modelis a 3- or 4-digit hexadecimal number that identifies the processor unit modelnumber.cpuidis a 6-digit hexadecimal identification number of the processor in the processorcomplex. If you specify a 5-digit number, the high-order digit is set to 0. Only 5-or 6- digit numbers are accepted.sysgateis the 1- to 8-character name of the system gateway that will be identified whenthis system initializes. The sysgate name is optional; if not specified, the systemgateway name defaults to the systemid for the system. ISFC will then use thisvalue as its node name within a CS collection.If you specify NOSYSGAT as the sysgate value, a system gateway name is notidentified for the system. Also, the specified system cannot join a CS collection.DEFAULT=identifies the defaults that are used if <strong>VM</strong> is initialized on a processor that is notlisted in the SYSID macroinstruction.defidis the one- to eight-character default system identification. <strong>CP</strong> uses thedefid value when <strong>VM</strong> is loaded on a system whose model <strong>and</strong> <strong>CP</strong>Uidentification number are unknown. If you do not code the DEFAULToper<strong>and</strong>, <strong>VM</strong> will not have a default system identifier.defgateis the one- to eight-character default name of the system gateway. If you donot specify a defgate value, the specified defid value is used as the defaultsystem gateway name.If you specify NOSYSGAT as the defgate value, a system gateway name isnot identified for the system. Also, the specified system cannot join a CScollection.1. Migration Incompatibility Note — In previous releases of <strong>VM</strong>, you couldspecify different system IDs on the CSESYS (page 653) <strong>and</strong> the SYSID macros.If you migrate your H<strong>CP</strong>SYS ASSEMBLE file to the system configuration file,you can only have one system ID.To specify the system ID in the system configuration file, use theSYSTEM_IDENTIFIER statement (page 226) or theSYSTEM_IDENTIFIER_DEFAULT statement (page 228).Use the system ID you define on these statements when you use the followingsystem configuration file statements:Statement Function PageXLINK_SYSTEM_EXCLUDE Tells <strong>CP</strong> which systems not to include in the cross system link <strong>and</strong> whichsystems <strong>CP</strong> should prevent from accessing each other’s minidisks. (Thisstatement has no effect on the system’s participation in cross systemspooling or cross system comm<strong>and</strong>s.)263678 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSIDStatement Function PageXLINK_SYSTEM_INCLUDE Tells <strong>CP</strong> which systems to include in the cross system link. 264XSPOOL_SYSTEM Tells <strong>CP</strong> the names of the systems participating in cross system comm<strong>and</strong>s<strong>and</strong> spooling operations.271For more information about the system configuration file, see page Chapter 6, “TheSystem Configuration File,” on page 51.Examples1. If your installation has one processor <strong>and</strong> you want to specify ONLYSYS as thesystem identifier for printer separator pages <strong>and</strong> in the system screen logo,code the SYSID macro as follows:SYSID DEFAULT=ONLYSYSThe system gateway for this system will also be identified as ONLYSYS.2. As the following example shows, you can specify values for several systemswhen coding the SYSID macro:SYSID (SYSTEM1,2064,073499,SYS1), *(SYSTEM2,2064,123664), *(SYSTEM3,2064,123512,NOSYSGAT), *DEFAULT=(OTHERSYS,OTHERGAT)When SYSTEM1 initializes (processor model 2064, identification number073499), the system gateway SYS1 will be identified. Because a sysgate valueis not specified for SYSTEM2, the system gateway name for this system willalso be identified as SYSTEM2. On SYSTEM3, the NOSYSGAT value indicatesthat a system gateway will not be identified when this system initializes.Because the DEFAULT parameter was coded, any processor not specified onSYSID will be identified as system OTHERSYS; its system gateway will beidentified as OTHERGAT.Note: If you need more than one line to code the SYSID macro, you must code acontinuation character in column 72 <strong>and</strong> start the next line in column 16.MigrationAidsYou can achieve the function of the SYSID macroinstruction by using the followingstatements in a system configuration file:v SYSTEM_IDENTIFIER—See “SYSTEM_IDENTIFIER Statement” on page 226.v SYSTEM_IDENTIFIER_DEFAULT—See “SYSTEM_IDENTIFIER_DEFAULTStatement” on page 228.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 679


SYSINCLSYSINCL (Optional)►►labelSYSINCL ▼ ,v* ►◄PurposeCode the SYSINCL macroinstruction to define user volumes by means of a genericvolume identifier <strong>and</strong> to include those volumes in the user volume list. (Uservolumes are those volumes that you use to contain minidisks.) During system IPL,<strong>CP</strong> attaches to the system any volumes whose volume identifier matches a genericvolume identifier specified in the SYSINCL list, but will not use them for paging,spooling, directory or temporary disk space. A volume must be attached to thesystem before users can link to minidisks it contains.The SYSINCL macroinstruction is optional; if you code it, you must place it after thefirst five required macroinstructions in H<strong>CP</strong>SYS ASSEMBLE (SYS<strong>CP</strong>VOL,SYSOPR, SYSRES, SYSSTORE, <strong>and</strong> SYSTIME) but before the SYSEND orCSESYS macroinstruction.Parametersv is the generic volume identifier. The variable v consists of 0 to 5 characters.Each character can be a letter, number, or hyphen. The variable v must befollowed by an asterisk. A single asterisk (*) attaches all volumes to the system.UsageNotes1. You can specify volumes that you do not want to define as user volumes byspecifying them on the SYSEXCL macro (see page 671).2. If a volume identifier matches a generic volume identifier specified on both theSYSINCL <strong>and</strong> SYSEXCL macros, <strong>CP</strong> does not attach the volume to the systemduring initialization.3. If a volume is normally attached to the system through the SYSINCL list, <strong>CP</strong>does not notify the operator if the volume is not mounted. If a user volume isnecessary for normal system operation, specify it on the SYSUVOL macro sothat the operator is notified during system initialization that the volume is notmounted.Examples1. To define as user volumes all volumes not specified by the SYSEXCL macro, sothat <strong>CP</strong> attaches them to the system during initialization, code the SYSINCLmacro as follows:SYSINCL *2. To define as user volumes all volumes whose volume identifiers begin witheither “MVS”, “USER”, or “CMS”, so that <strong>CP</strong> attaches them to the system duringinitialization, code the SYSINCL macro as follows:SYSINCL MVS*,USER*,CMS*680 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Migration AidsYou can achieve the function of the SYSINCL macroinstruction by using theUSER_VOLUME_INCLUDE statement in a system configuration file. See“USER_VOLUME_INCLUDE Statement” on page 253.SYSINCLAppendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 681


SYSJRLSYSJRL (Optional)►► label SYSJRLJOURNAL=NO(1)►◄JOURNAL=YESOptionsOptions:,STQUERY=NO,STQUERY=YES,LOGUID=OPERATOR,LOGUID=userid,LOGLOC=(10,60),LOGLOC=(n,m),LOGLMT=(2,3,4),LOGLMT=(x,y,z)►►,LNKUID=OPERATOR,LNKUID=userid,LNKLMT=(2,5,10),LNKLMT=(x,y,z),PSUPRS=NO,PSUPRS=YESNotes:1 The defaults you receive appear above the line in the Options fragment.PurposeCode the SYSJRL macroinstruction to specify the inclusion of the journaling orpassword suppression facility, or both.The SYSJRL macroinstruction is optional; if you code it, you must place it after thefirst five required macroinstructions in H<strong>CP</strong>SYS ASSEMBLE (SYS<strong>CP</strong>VOL,SYSOPR, SYSRES, SYSSTORE, <strong>and</strong> SYSTIME) but before the SYSENDmacroinstruction. If the SYSJRL macro is not coded, all the default values are used.ParametersJOURNAL=NOJOURNAL=YESspecifies whether the journaling facility is to be operative in the system beinggenerated.STQUERY=NOSTQUERY=YESspecifies whether the ability to use the SET <strong>and</strong> QUERY comm<strong>and</strong>s to set <strong>and</strong>query the journaling function should be part of the system being generated.STQUERY=YES can be specified only if JOURNAL=YES is also specified.LOGUID=OPERATORLOGUID=useridspecifies the user ID that should receive the indication that an invalid logonpassword count has been reached or exceeded. If this user ID is disconnectedor logged off, the system operator receives the message generated.LOGLOC=(10,60)682 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSJRLLOGLOC=(n,m)specifies the maximum number of invalid password attempts <strong>and</strong> the delay timeuntil another logon is allowed. The variable n is the maximum number of invalidpassword attempts. The value of n may range from 1 to 255. The default is 10logon attempts.The variable m is the delay time in minutes until the next logon attempt. Thevalue of m may range from 0 to 255. The default is 60 minutes.If anyone makes more than n unsuccessful attempts to log on to a given userID or terminal, an error message is issued. Nobody can log on to that user ID,or at the terminal where the attempts were made, until m minutes have passed.Anyone who tries receives an error message.LOGLMT=(2,3,4)LOGLMT=(x,y,z)specifies the invalid LOGON/AUTOLOG/XAUTOLOG threshold. The valuesspecified apply to all unsuccessful logon attempts at a single terminal <strong>and</strong> for asingle user ID.The variable x is the value that when reached causes <strong>CP</strong> to generate a type 04accounting record for that <strong>and</strong> each subsequentLOGON/AUTOLOG/XAUTOLOG that contains an invalid password.The variable y is the value that when reached causes <strong>CP</strong> to send a message tothe virtual machine with the user ID specified by the LOGUID oper<strong>and</strong> for that<strong>and</strong> each subsequent LOGON/AUTOLOG/XAUTOLOG that contains an invalidpassword.The variable z is the value that determines how many logon attempts <strong>CP</strong> is topermit before it returns the terminal to the <strong>VM</strong> logo. When more than z logonattempts have been made with invalid passwords from a single terminal, <strong>CP</strong>displays a new <strong>VM</strong> logon screen <strong>and</strong> allows a new logon sequence to bestarted.The variable z also indicates how many AUTOLOG <strong>and</strong> XAUTOLOG attemptswith invalid passwords <strong>CP</strong> allows. No further AUTOLOG or XAUTOLOGcomm<strong>and</strong>s can be entered by a user who has entered more than z AUTOLOGor XAUTOLOG comm<strong>and</strong>s with invalid passwords for the duration of the logonsession. To dynamically set the system limit for the number of incorrectpasswords a user can enter on the AUTOLOG <strong>and</strong> XAUTOLOG comm<strong>and</strong>s,use the SET CMDLIMIT comm<strong>and</strong>. To query the system limit for the number ofincorrect passwords that are allowed, use the QUERY CMDLIMIT comm<strong>and</strong>.Note: The variable z can be any decimal number from 1 to 255. Variables x<strong>and</strong> y can be any decimal number from 0 to 255. The number 0 is aspecial case indicating that the applicable function should be bypassed.For example, if LOGLMT=(0,5,5) is specified, no accounting records aregenerated.LNKUID=OPERATORLNKUID=useridspecifies the user ID that should receive the indication that an invalid linkpassword count has been reached or exceeded. If this user ID is disconnectedor logged off, the system operator receives the message generated.LNKLMT=(2,5,10)LNKLMT=(x,y,z)specifies the invalid link password threshold. The value specified applies to asingle user ID for a single logon session. The variable x is the value that whenAppendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 683


SYSJRLreached causes a type 06 accounting record to be generated for that <strong>and</strong> eachsubsequent LINK comm<strong>and</strong> that contains an invalid password. The variable y isthe value that when reached causes a message to be sent to the user IDspecified by the LNKUID oper<strong>and</strong> for that <strong>and</strong> each subsequent LINK comm<strong>and</strong>that contains an invalid password. The variable z is the value that whenreached causes the LINK comm<strong>and</strong> to be disabled for the current logonsession.Note: The variable z (which in <strong>VM</strong>/XA has a limit of 10) can be any decimalnumber from 1 to 255. Variables x <strong>and</strong> y can be any decimal numberfrom 0 to 255. The number 0 is a special case indicating that theapplicable function is to be bypassed. For example, if LNKLMT=(2,0,10)is specified, no message is sent.|PSUPRS=NOPSUPRS=YESspecifies whether the facility that suppresses the password on the comm<strong>and</strong>line is initially part of the system being generated. Coding PSUPRS=YESprevents passwords entered on the AUTOLOG, LINK, LOGON, or XAUTOLOGcomm<strong>and</strong> line from being accepted. The status of the password suppressionfacility can be modified after system initialization with the SET PASSWORDcomm<strong>and</strong>. Specifying PSUPRS=YES provides additional security for yourinstallation.ExamplesCode the SYSJRL macro as followsSYSJRL JOURNAL=YES, *STQUERY=YES, *LOGUID=LOGGER, *LOGLOC=(5,120), *LOGLMT=(5,5,5), *LNKUID=LOGGER, *LNKLMT=(5,5,5), *PSUPRS=YESto specify the following system security options:v The journaling facility is operative.v The ability to use the SET <strong>and</strong> QUERY comm<strong>and</strong>s to set <strong>and</strong> query journalingoptions is available.v User ID LOGGER receives the indication that an invalid logon password counthas been reached or exceeded.v A maximum of five invalid password attempts are allowed to a given user orterminal after which an error message is issued <strong>and</strong> logons from that user ID <strong>and</strong>terminal are not allowed for 2 hours.v After five unsuccessful logon attempts, <strong>CP</strong> writes a type 04 accounting record<strong>and</strong> sends a message to LOGGER, <strong>and</strong> no more than five AUTOLOG <strong>and</strong>XAUTOLOG attempts with invalid passwords are allowed.v User ID LOGGER should receive the indication that an invalid link passwordcount has been reached or exceeded.v If five invalid link passwords are entered by a single user for a single logonsession, <strong>CP</strong> generates a type 06 accounting record, sends a message toLOGGER (specified by LNKUID) <strong>and</strong> disables the link comm<strong>and</strong> for that user forthe current logon session.v The password suppression on the comm<strong>and</strong> line is initially part of the system.684 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSJRLMigration AidsYou can achieve the function of the SYSJRL macroinstruction by using the followingstatements in a system configuration file:v FEATURES—See “FEATURES Statement” on page 136.v JOURNALING—See “JOURNALING Statement” on page 160.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 685


SYSMAXUSYSMAXU (Optional)►►labelSYSMAXU MAXUSERS= nnnnnOFF►◄PurposeCode the SYSMAXU macroinstruction to specify the user logon limit. TheSYSMAXU macro is optional. If you code it, you must place it after the first fiverequired macros in H<strong>CP</strong>SYS ASSEMBLE (SYS<strong>CP</strong>VOL, SYSOPR, SYSRES,SYSSTORE, <strong>and</strong> SYSTIME) but before the SYSEND macro. If the SYSMAX macrois not specified, the system does not set any limit.ParametersUsageNotesnnnnnis the maximum number of users that can be logged on. The range is from 1 to99999.OFFindicates that an unlimited number of users can log on.1. If this macro is not specified, the system does not set any limits.2. The operator or a virtual machine, if the user directory for the virtual machinewas created with the IGNMAXU oper<strong>and</strong> of the OPTION control statement, canlog on or be logged on by the AUTOLOG or XAUTOLOG comm<strong>and</strong> even if thenumber of logged on users is equal to or greater than the maximum user limit.ExamplesMigrationAidsTo set the limit to 9999, code the SYSMAXU macro as follows:SYSMAXU MAXUSERS=9999You can achieve the function of the SYSMAXU macroinstruction by using theFEATURES statement in a system configuration file. See “FEATURES Statement”on page 136.686 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSOPRSYSOPR (Required)►►labelSYSOPR(1)SYSOPER=OPERATORSYSOPER=userid,DISCOPER=YES,DISCOPER=NO►◄Notes:1 The SYSOPR <strong>and</strong> DISCOPER parameters may be specified in any order, but must be separatedwith a comma.PurposeCode the SYSOPR macroinstruction to specify the primary system operator’s userID <strong>and</strong> disconnect status. SYSOPR is required <strong>and</strong> must appear as one of the firstfive macroinstructions in H<strong>CP</strong>SYS ASSEMBLE.ParametersUsageNotesSYSOPER=OPERATORSYSOPER=useridis the primary system operator’s user ID. The variable userid is analphanumeric character string up to 8 characters long. If you do not code theSYSOPER oper<strong>and</strong>, the user ID is automatically OPERATOR.DISCOPER=YESDISCOPER=NOindicates whether <strong>CP</strong> should disconnect the primary system operator when asoftware-initiated IPL occurs <strong>and</strong> the primary system operator is not logged ontothe primary system console.If you specify DISCOPER=YES, <strong>and</strong> the primary system operator is not loggedonto the primary system console when a software-initiated IPL occurs, <strong>CP</strong>disconnects the primary system operator. If you specify DISCOPER=NO, <strong>CP</strong>does not force the primary system operator to be disconnected. If you do notcode the DISCOPER oper<strong>and</strong>, YES is assumed.Specifying DISCOPER=NO has implications for system security. For moreinformation, see usage note 3.1. <strong>CP</strong> logs on a system operator with the user ID you specify on the SYSOPERoper<strong>and</strong>, regardless of whether that user ID has an entry in the user directory.2. If you do not code a SYSOPR macroinstruction in H<strong>CP</strong>SYS ASSEMBLE, atsystem initialization <strong>CP</strong> logs on a virtual machine with the user ID OPERATOR.3. If you specify DISCOPER=NO, <strong>CP</strong> allows the primary system operator toremain logged onto the primary system console after all software-initiated IPLs.This makes the primary system operator’s user ID available to any user withaccess to the primary system console, which could lead to a system-widecompromise of security. If you specify DISCOPER=NO, make sure that theprimary system console <strong>and</strong> all alternate system consoles are in a secureenvironment <strong>and</strong> are continuously monitored by authorized personnel.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 687


SYSOPR4. When the primary system operator logs off, the next user that logs on with atleast one of the privilege classes required for the system operator will becomethe primary system operator. However, this can be overridden by either:v specifying alternate operators using the ALTERNATE_OPERATORSstatement in the system configuration filev selecting a new operator using the SET SYSOPER comm<strong>and</strong>.For more information about the ALTERNATE_OPERATORS statement, see“ALTERNATE_OPERATORS Statement” on page 58.For more information on defining operator privilege class, see the“PRIV_CLASSES Statement” on page 184 or “SYSFCN (Optional)” on page673.ExamplesMigrationAids1. To specify OPERATOR as the user ID of the primary system operator <strong>and</strong>enable the disconnect function, code the SYSOPR macro as one of thefollowing:SYSOPRSYSOPR DISCOPER=YESSYSOPR SYSOPER=OPERATORSYSOPR SYSOPER=OPERATOR,DISCOPER=YES2. To specify OP as the user ID for the primary system operator <strong>and</strong> disable thedisconnect function, code the SYSOPR macro as follows:SYSOPR SYSOPER=OP,DISCOPER=NOYou can achieve the function of the SYSOPR macroinstruction by using theSYSTEM_USERIDS statement in a system configuration file. See“SYSTEM_USERIDS Statement” on page 232.688 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSOPTSSYSOPTS (Optional)►►labelSYSOPTS <strong>CP</strong>CHECKING= OFFONABEND(ON, )<strong>VM</strong>STOPSENSE=YESNO►◄PurposeCode the SYSOPTS macroinstruction to specify initialization options for <strong>CP</strong>. Youcan specify whether <strong>CP</strong> should attempt to dynamically allocate device blocks fordevices not already defined in the system configuration file or H<strong>CP</strong>RIO.The SYSOPTS macroinstruction is optional; if you code it, you must place it inH<strong>CP</strong>SYS ASSEMBLE before the SYSEND macroinstruction.Parameters<strong>CP</strong>CHECKING=OFFIndicates that <strong>CP</strong> internal checking is to be deactivated.<strong>CP</strong>CHECKING=ONtells <strong>CP</strong> to activate <strong>CP</strong> internal checking to confirm the assertions established in<strong>CP</strong> code <strong>and</strong> take the appropriate action based on whether ABEND or<strong>VM</strong>STOP is specified.<strong>CP</strong>CHECKING=(ON,ABEND)Indicates that an abend should occur. Whether it is a hard abend or a softabend is controlled by the specific assertion case. It is typically a hard abend.<strong>CP</strong>CHECKING=(ON,<strong>VM</strong>STOP)This parameter is permitted only when <strong>CP</strong> is itself running in a virtual machine,<strong>and</strong> is generally useful only for debugging <strong>CP</strong>. Specifying this parameter causes<strong>CP</strong> to issue a Diagnose X'8' instruction when an untrue assertion isencountered, specifying a comm<strong>and</strong> string length of zero. This causes thevirtual machine to stop <strong>and</strong> for <strong>CP</strong> to post a read to the console. A message issent to the console (via a Diagnose X'8' MESSAGE * comm<strong>and</strong>) providinginformation about the cause of the stop.SENSE=YEStells <strong>CP</strong> to sense devices dynamically <strong>and</strong> build device definition blocks fordevices not already defined in the system configuration file or H<strong>CP</strong>RIO.SENSE=NOtells <strong>CP</strong> not to sense devices dynamically <strong>and</strong> tells <strong>CP</strong> to build device definitionblocks for only those devices explicitly defined in the system configuration fileusing RDEVICE statements or in H<strong>CP</strong>RIO using RDEVICE macroinstructions.UsageNotes1. If you do not specify the SYSOPTS macro, or if you specify the SYSOPTSmacro without specifying the SENSE option, <strong>CP</strong>’s default action for devices thatyou did not explicitly define in the system configuration file or in H<strong>CP</strong>RIOASSEMBLE is SENSE=YES.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 689


SYSOPTS2. If you specify SENSE=NO, you must explicitly define all the devices required atIPL time in either the system configuration file or in H<strong>CP</strong>RIO ASSEMBLE. If youdo not define the minimum number of required <strong>CP</strong>-owned volumes in thesystem configuration file or in H<strong>CP</strong>RIO ASSEMBLE, <strong>CP</strong> will end the IPL byloading a disabled wait state.3. Even if you specify SENSE=NO, you can use the SET RDEVICE comm<strong>and</strong> todefine new devices after you initialize <strong>CP</strong>. For more information about the SETRDEVICE comm<strong>and</strong>, see the z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference.ExamplesMigrationAidsTo have <strong>CP</strong> build device blocks for devices that have not been defined in thesystem configuration file or in H<strong>CP</strong>RIO ASSEMBLE, code the SYSOPTS macro asfollows:SYSOPTS SENSE=YESThere is no equivalent statement in a system configuration file for the SYSOPTSmacroinstruction.690 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSPCLASSYSPCLAS (Optional)►►labelSYSPCLAS,►◄▼(c,’title’ ),TOP,BOTTOMPurposeCode the SYSPCLAS macro to specify the printed output classes that are tocontain classification titles. <strong>CP</strong> prints classification titles on the output separatorpage <strong>and</strong> optionally, at the top or bottom of each page of output. You can specify adifferent classification title for each class of output (A through Z, 0 through 9). TheSYSPCLAS macroinstruction is optional; if you code it, you must place it after thefirst five required macroinstructions in H<strong>CP</strong>SYS ASSEMBLE (SYS<strong>CP</strong>VOL,SYSOPR, SYSRES, SYSSTORE, <strong>and</strong> SYSTIME) but before the SYSENDmacroinstruction.You can specify the SYSPCLAS macro only once. If you omit the SYSPCLASmacro, or you code the macro with no oper<strong>and</strong>s, <strong>CP</strong> does not print anyclassification titles. If more than one print class is to have a classification title, theoper<strong>and</strong> should be repeated for each class. Each oper<strong>and</strong> is separated by acomma.ParametersUsageNotesc is one alphanumeric character specifying the spool file class.titleis a classification title for this class. It may be up to 46 characters long. It mustbe enclosed in single quotation marks.TOPspecifies that this title is to be printed both on the separator page <strong>and</strong> at the topof each page of output.BOTTOMspecifies that this title is to be printed both on the separator page <strong>and</strong> at thebottom of each page of output.1. The title line is inserted at the top or bottom of each page. To do this, <strong>CP</strong> insertsa CCW to print one space, followed by the title line before or after each Skip toChannel 1 CCW issued by the operating system running in the virtual machinethat is printing the file. There are several implications to this:v The titles are inserted as the file is being created. If the file is later changedto a different class, the titles in the file are not changed. However, the title onthe separator page always reflects the true class of the file.v Inserting the title on the output page adds a line of output to the printed page.If the virtual machine application is counting lines, its count will be incorrect.This can produce blank pages within the output listing.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 691


SYSPCLASv If the operating system running in the virtual machine that is printing the filedoes not use Skip to Channel 1, the title lines are never printed.2. If you specify the same class more than once, <strong>CP</strong> prints only the first title youspecify.Examples1. If you do not want to have <strong>CP</strong> print classification titles, omit the SYSPCLASoper<strong>and</strong> or code it as follows:SYSPCLAS2. If you want <strong>CP</strong> to print the title “SPECIAL PRIORITY—TOP SECRET” on theseparator page of all class R output, code the SYSPCLAS macro as follows:SYSPCLAS (R,’SPECIAL PRIORITY -- TOP SECRET’)3. If you want <strong>CP</strong> to print the title “SPECIAL PRIORITY—TOP SECRET” on theseparator page <strong>and</strong> at the top of each page of all class N output, code theSYSPCLAS macro as follows:SYSPCLAS (N,’SPECIAL PRIORITY -- TOP SECRET’,TOP)4. If you want <strong>CP</strong> to (a) print the title “NO PRIORITY” on the separator page of allclass B output, (b) print the title “INTERNAL PRIORITY” on the separator page<strong>and</strong> at the bottom of each page of all class N output, <strong>and</strong> (c) print the title“SPECIAL PRIORITY—TOP SECRET” on the separator page <strong>and</strong> at the top ofeach page of all class Q output, code the SYSPCLAS macro as follows:SYSPCLAS (B,’NO PRIORITY’,), *(N,’INTERNAL PRIORITY’,BOTTOM), *(Q,’SPECIAL PRIORITY -- TOP SECRET’,TOP)Note: If you need more than one line to code the SYSPCLAS macro, you mustcode a continuation character in column 72 <strong>and</strong> start the next line incolumn 16.MigrationAidsYou can achieve the function of the SYSPCLAS macroinstruction by using thePRINTER_TITLE statement in a system configuration file. See “PRINTER_TITLEStatement” on page 182.692 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSRESSYSRES (Required)►►labelSYSRES SYSVOL= volid*,SYSRES=dev ,SYSTYPE=devtype ►► ,SYSNUC=startloc(startloc ),nunits,SYSCKP=startloc(startloc ),nunits,volid,devtype►► ,SYSWRM=startloc(startloc ),nunits,volid,devtype,SYSCLR=NO,SYSCLR=YES►◄PurposeCode the SYSRES macroinstruction to describe the layout of the <strong>CP</strong> systemresidence disk. The SYSRES macroinstruction is required <strong>and</strong> must appear as oneof the first five macroinstructions in H<strong>CP</strong>SYS ASSEMBLE.Note: For information on how to calculate the values for the SYSCKP <strong>and</strong>SYSWRM oper<strong>and</strong>s, refer to Chapter 20, “Allocating DASD Space,” on page603.ParametersSYSVOL=volidSYSVOL=*is not used; code any 1-character to 6-character string.SYSRES=devis not used; code any 1-character to 4-character string.SYSTYPE=devtypeis not used; code any 4-character string.SYSNUC=startlocSYSNUC=(startloc,nunits)is not used; code any 1-character to 6-character string.SYSCKP=startlocSYSCKP=(startloc,nunits,volid,devtype)specifies the real starting location <strong>and</strong>, optionally, the maximum number of unitsthe checkpoint process uses to preserve system restart data.Note: This definition is overridden by the SYSTEM_RESIDENCE statement inthe system configuration file.The variable startloc is either the cylinder or page number that designates thereal starting location where the <strong>CP</strong> checkpoint information is to be saved. ForCKD device types, this value is a nonzero decimal cylinder number rangingfrom 1 to 65535. For FBA devices, this value is a 1-digit to 6-digit 4 KB pagenumber that is greater than 3 (pages 0-3 are reserved).Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 693


SYSRESThe variable nunits is a number designating the maximum number of cylindersor 4 KB pages to be allocated for the checkpoint information area. For CKDdevice types, this must be a number from 1 to 9 that represents cylinders. ForFBA devices, this must be a number from 1 to 2000 that represents 4 KBpages. If you do not specify the nunits option, the default depends on thedevice type:Device Type Cylinders Pages3380 (emulated) 13390 (real or emulated) 1FBA (emulated) 100For information on calculating the size of the checkpoint area, refer to“Checkpoint Data” on page 607.The variable volid defines the volume label of the device to be used as theSYSCKP device. If not specified, it defaults to the system resident volume.The variable devtype is the device type of the checkpoint volume <strong>and</strong> must bespecified when the volume label is explicitly coded:v For a 3390 in native mode, specify 3390.v For a 3390 in 3380 track compatibility mode, specify 3380.v For a RAMAC ® or 2105 emulating a 3380, specify 3380.v For a RAMAC or 2105 emulating a 3390, specify 3390.v For a 2105 emulating a 9336, specify 9336 or the generic FB-512.SYSWRM=startlocSYSWRM=(startloc,nunits,volid,devtype)is the real starting location <strong>and</strong>, optionally, the maximum number of units to beused for saving warm start data.Note: This definition is overridden by the SYSTEM_RESIDENCE statement inthe system configuration file.The variable startloc is either the cylinder or page number that designates thereal starting location where the <strong>CP</strong> warm start information is to be saved. ForCKD device types, this value is a nonzero decimal cylinder number rangingfrom 1 to 65535. For FBA devices, this value is a 1-digit to 6-digit 4 KB pagenumber that is greater than 3 (pages 0-3 are reserved).The variable nunits is a number designating the maximum number of cylindersor 4 KB pages to be allocated for the warm start information area. For CKDdevice types, this must be a number from 1 to 9 that represents cylinders. ForFBA devices, this must be a number from 1 to 2000 that represents 4 KBpages. If you do not specify the nunits option, the default depends on thedevice type:Device Type Cylinders Pages3380 (emulated) 13390 (real or emulated) 1FBA (emulated) 75For information on calculating the size of the warm start area, refer to “WarmStart Data” on page 606.694 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSRESUsageNotesThe variable volid defines the volume label of the device to be used as theSYSWRM device. If not specified, it defaults to the system resident volume.The variable devtype is the device type of the warm start volume <strong>and</strong> must bespecified when the volume ID is explicitly coded:v For a 3390 in native mode, specify 3390.v For a 3390 in 3380 track compatibility mode, specify 3380.v For a RAMAC or 2105 emulating a 3380, specify 3380.v For a RAMAC or 2105 emulating a 3390, specify 3390.v For a 2105 emulating a 9336, specify 9336 or the generic FB-512.SYSCLR=YESSYSCLR=NOspecifies automatic clearing of all previously written data <strong>and</strong> directory areasthat are on TDISK DASD space. This prevents other users from accidentallyaccessing these areas. If YES is specified, TDISK DASD space is cleared tobinary zeros at <strong>CP</strong> initialization <strong>and</strong> when <strong>CP</strong> attaches a <strong>CP</strong>-owned volume thatcontains TDISK allocations. TDISK space is also cleared when a user detachesa TDISK minidisk. Specifying SYSCLR=YES provides additional security foryour <strong>VM</strong>/ESA installation. If you specify NO <strong>and</strong> the TDISK is a CKD device,the system clears only cylinder 0. If you specify NO <strong>and</strong> the TDISK is an FBAdevice, the system clears only the first two pages. The SYSCLR option is notrequired. The default is NO.Note: This setting is overridden by the CLEAR_TDISK setting on theFEATURES statement in the system configuration file.1. The SYSVOL=, SYSRES=, SYSTYPE=, <strong>and</strong> SYSNUC= parameters are notused because <strong>CP</strong> is IPLed from a module.2. The SYSCKP <strong>and</strong> SYSWRM areas must not overlap.3. When preparing a system residence device, be sure to format <strong>CP</strong> paging,spooling, dumping, directory, warm start, <strong>and</strong> checkpoint areas in 4 KB format.You can use the Device Support Facilities program (ICKDSF), or the CMS utility<strong>CP</strong>FMTXA. However, ICKDSF is the preferred method of <strong>CP</strong> volumemaintenance <strong>and</strong> is invoked by <strong>CP</strong>FMTXA.4. You must specify the system residence volume identification for the checkpointarea <strong>and</strong> the warm start area on the SYS<strong>CP</strong>VOL macroinstruction. For moreinformation about the SYS<strong>CP</strong>VOL macroinstruction, see “SYS<strong>CP</strong>VOL(Required)” on page 664.5. You can query the current setting of the SYSCLR option by entering the QUERYTDISKCLR comm<strong>and</strong>.Examples1. The following example shows how to code the SYSRES instruction so that:v The warm start area begins at cylinder 204 <strong>and</strong> occupies one cylinder on the3390 DASD identified by SYS001.v The checkpoint area begins at page 101 <strong>and</strong> occupies 300 pages the 9336DASD identified by SYS002.v <strong>CP</strong> clears:– All TDISK space during system IPLAppendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 695


SYSRES– All TDISK space after IPL whenever it attaches a DASD volume to thesystem for use as temporary disk space because of an ATTACH comm<strong>and</strong>– TDISK minidisks whenever they are detached from a guest virtualmachine because of a DETACH comm<strong>and</strong>.SYSRES SYSVOL=xxxxxx,SYSRES=xxxx,SYSTYPE=xxxx,SYSNUC=xxxxxx, *SYSWRM=(204,1,SYS001,3390),SYSCKP=(100,300,SYS002,9336), *SYSCLR=YESNote: If you need more than one line to code the SYSRES macro, you mustcode a continuation character in column 72 <strong>and</strong> start the next line incolumn 16.MigrationAidsYou can achieve the function of the SYSRES macroinstruction by using thefollowing statements in a system configuration file:v FEATURES—See “FEATURES Statement” on page 136.v SYSTEM_RESIDENCE—See “SYSTEM_RESIDENCE Statement” on page 230.696 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSSTORESYSSTORE (Required)►►labelSYSSTORERMSIZE=MAXRMSIZE=yyyyM,TRACE=nnnn►◄PurposeCode the SYSSTORE macroinstruction to configure the use of real storage. Thismacroinstruction is required <strong>and</strong> must appear as one of the first fivemacroinstructions in H<strong>CP</strong>SYS ASSEMBLE.ParametersRMSIZE=MAXtells <strong>CP</strong> to use the maximum available real storage that you have installed.Because <strong>CP</strong> no longer creates static storage management tables, you need notspecify the exact amount of storage to be used.RMSIZE=yyyyMspecifies the amount of real storage available for <strong>CP</strong>. If the actual amount ofreal machine storage is greater than RMSIZE, the storage available to <strong>CP</strong> willbe the RMSIZE value. If the actual amount of real machine storage is less thanRMSIZE, the system displays a message to the operator at initialization timestating the amount of storage available.The variable yyyy is a one- to four-digit decimal number that states the numberof megabytes (M) of real storage. The value of yyyy can range from 1 to 2048.One megabyte is 1,048,576 bytes.Notes:1. <strong>CP</strong> no longer creates storage management tables according to the RMSIZEoper<strong>and</strong> you specify. Instead, it builds the necessary storage managementat IPL time based on the maximum available amount of storage. Therefore,if you specify an RMSIZE value greater than the actual storage available,you will not waste storage.2. The maximum values you specify for the remaining oper<strong>and</strong>s aredetermined by the actual amount of real storage your system has, notnecessarily by the value you specify on the RMSIZE oper<strong>and</strong>.TRACE=nnnnspecifies the decimal number of 4 KB pages <strong>CP</strong> allocates to the internal tracetable for each processor in the configuration. For example, if you run z/<strong>VM</strong> on auniprocessor <strong>and</strong> you specify TRACE=4, <strong>CP</strong> allocates 4 pages as the internaltrace table. If you run z/<strong>VM</strong> on a dyadic processor <strong>and</strong> you specify TRACE=4,<strong>CP</strong> allocates 8 pages as the internal trace table (4 pages for each processor).If you do not specify the TRACE oper<strong>and</strong>, <strong>CP</strong> allocates to the internal tracetable 1 page for each 64 pages (256 KB) of real storage or 100 pages,whichever is smaller.The minimum value you can specify is TRACE=3; the maximum value must beless than or equal to 1/4 of RMSIZE. For example, if you specify RMSIZE=16m(4096 pages), then you must then specify TRACE as less than or equal to 448.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 697


SYSSTOREExamples1. To specify 16 MB of real storage <strong>and</strong> allow <strong>CP</strong> default values for the internaltrace table, code the SYSSTORE macro as follows:SYSSTORE RMSIZE=16M<strong>CP</strong> assigns 64 pages per processor for the internal trace table (1 page for each256 KB of real storage, or 4 pages for each MB).MigrationAidsYou can achieve the function of the SYSSTORE macroinstruction by using theSTORAGE statement in a system configuration file. See “STORAGE Statement” onpage 222.698 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSSYMPSYSSYMP (Optional)►►labelSYSSYMP USERID= OPERSYMPuserid(userid1,userid2)►◄PurposeCode the SYSSYMP macroinstruction to specify the user IDs of one or two virtualmachines for which the <strong>CP</strong> *SYMPTOM system service is to accumulate symptomrecords. When the virtual machines identified to <strong>CP</strong> connect to the <strong>CP</strong> *SYMPTOMsystem service, symptom records are sent to them.In addition, these virtual machines are automatically logged on during <strong>CP</strong>initialization.The SYSSYMP macroinstruction is optional; if you code it, you must place it afterthe first five required macroinstructions in H<strong>CP</strong>SYS ASSEMBLE (SYS<strong>CP</strong>VOL,SYSOPR, SYSRES, SYSSTORE, <strong>and</strong> SYSTIME) but before the SYSENDmacroinstruction. If this macro is not coded, <strong>CP</strong> processes the virtual machinehaving the user ID OPERSYMP as the symptom record recording virtual machine.Note: Any virtual machine specified by the SYSSYMP macro must contain anIUCV directory control statement that authorizes the application running inthe virtual machine to connect to the <strong>CP</strong> *SYMPTOM system service. Failureto supply this required authority results in the failure of the connectionrequest from the virtual machine. If the RETRIEVE utility is used to collectsymptom records <strong>and</strong> this authority is not coded in the directory, RETRIEVEwill fail.ParametersUSERID=OPERSYMPUSERID=useridUSERID=(userid1,userid2)specifies the user IDs of virtual machines for which the <strong>CP</strong> *SYMPTOM systemservice is to accumulate <strong>and</strong> checkpoint symptom records. One or two user IDscan be specified. The user IDs are alphanumeric strings of up to 8 characterseach. OPERSYMP is the default user ID.UsageNotesIf the user ID specified on the SYSSYMP macroinstruction has an entry in the userdirectory at system initialization, the virtual machine designated by that user ID islogged on to the system.Examples1. To specify OPERSYMP as the user ID of the symptom record recording virtualmachine, you can do one of the following:v Omit the SYSSYMP macrov Code the SYSSYMP macro as follows:SYSSYMP USERID=OPERSYMPAppendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 699


SYSSYMP2. To specify DISKSYMP as the user ID of the symptom record recording virtualmachine, code the SYSSYMP macro as follows:SYSSYMP USERID=DISKSYMP3. To specify OPERSYMP <strong>and</strong> DISKSYMP as the user IDs of the symptom recordrecording virtual machines, code the SYSSYMP macro as follows:SYSSYMP USERID=(OPERSYMP,DISKSYMP)MigrationAidsYou can achieve the function of the SYSSYMP macroinstruction by using theSYSTEM_USERIDS statement in a system configuration file. See“SYSTEM_USERIDS Statement” on page 232.700 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSTIMESYSTIME (Required)►►labelSYSTIME(1),ZONE=0,ZONE=dif,LOC=EAST,LOC=WEST,ID=GMT,ID=xxx►◄Notes:1 The following parameters can be specified in any order.PurposeCode the SYSTIME macroinstruction to generate information that <strong>CP</strong> needs to setthe hardware time of day (TOD) clock. The value stored in the TOD clock alwaysrepresents Coordinated Universal Time (UTC); the SYSTIME macroinstruction letsyou correct the value to local time. The SYSTIME macroinstruction is required <strong>and</strong>must appear as one of the first five macroinstructions in H<strong>CP</strong>SYS ASSEMBLE.ParametersZONE=0ZONE=difis the time zone differential from Coordinated Universal Time (UTC). If you donot specify ZONE, <strong>CP</strong> uses a differential value of 0 hours from UTC.The value dif is the time zone differential specified in hours, minutes, <strong>and</strong>seconds (h,m,s). The form for dif can be:(h,m,s)(h,m)(h,,s)(,m,s)(,,s)(,m)hNote that h,m, <strong>and</strong> s are positional; if not specified, they must be replaced bycommas. If you code only hours, you do not have to use parentheses. Forinstance, you can specify ZONE=5, or ZONE=(7,30,30), or ZONE=(6,,30).The total value of dif cannot exceed 13 hours.LOC=EASTLOC=WESTspecifies whether the time zone differential is to be taken as EAST or WEST ofCoordinated Universal Time. EAST is the default. If the value of ZONE is 0, themacro definition ignores the setting of LOC.ID=GMTID=xxxis the name of the time zone. The default is GMT (Greenwich Mean Time). Thevalue xxx is a 3-character alphanumeric string.Appendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 701


SYSTIMEExamples1. If your installation is in the Eastern St<strong>and</strong>ard Time zone, code the SYSTIMEmacro as follows:SYSTIME ZONE=5,LOC=WEST,ID=EST2. If your installation is in the Pacific St<strong>and</strong>ard Time zone, code the SYSTIMEmacro as follows:SYSTIME ZONE=8,LOC=WEST,ID=PSTMigrationAidsYou can achieve the function of the SYSTIME macroinstruction by using thefollowing statements in a system configuration file:v TIMEZONE_BOUNDARY—See “TIMEZONE_BOUNDARY Statement” on page237.v TIMEZONE_DEFINITION—See “TIMEZONE_DEFINITION Statement” on page239.702 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SYSUVOLSYSUVOL (Optional)►►labelSYSUVOL ▼ ,volid►◄PurposeCode the SYSUVOL macroinstruction to generate a list of user DASD volumes.(User volumes are those volumes you use to contain minidisks.) At system IPL, <strong>CP</strong>attaches the specified user volumes to the system but does not use them forpaging, spooling, directory, or temporary disk space. A volume must be attached tothe system before users can link to minidisks it contains.The SYSUVOL macroinstruction is optional; if you code it, you must place it afterthe first five required macroinstructions in H<strong>CP</strong>SYS ASSEMBLE (SYS<strong>CP</strong>VOL,SYSOPR, SYSRES, SYSSTORE, <strong>and</strong> SYSTIME) but before the SYSEND orCSESYS macroinstruction.Parametersvolidis the user volume identification. The variable volid is a 1- to 6-characteridentifier. Each character can be a letter, number, or hyphen.UsageNotes1. If you do not specify user volumes in the SYSUVOL macroinstruction, a volumecan nevertheless be attached to a virtual machine or system. Use the <strong>CP</strong>ATTACH comm<strong>and</strong> to do so.2. If a volume is specified in the SYSUVOL macroinstruction but is not mountedwhen <strong>CP</strong> is loaded, <strong>CP</strong> considers that volume as unavailable. <strong>CP</strong> notifies theoperator that the volume is not mounted <strong>and</strong> continues processing, if possible.The system operator can mount <strong>and</strong> attach (ATTACH comm<strong>and</strong>) the volume tothe system when it is needed. This provides extra space for future growth.3. You can also define user volumes by specifying a generic volume identifier. Formore information, see “SYSINCL (Optional)” on page 680.4. When more than one DASD volume is found at system initialization (IPL) tohave the same volume serial (volid), <strong>and</strong> that volume serial is in the <strong>CP</strong> or uservolume list, the volume attached to the system is the one at the lowest devicenumber. This rule does not apply to duplicates of the system residence (IPLed)volume.ExamplesMigrationAidsTo specify UDSK1, UDSK2, <strong>and</strong> UDSK3 as user volumes, code the SYSUVOLmacro as follows:SYSUVOL UDSK1,UDSK2,UDSK3You can achieve the function of the SYSUVOL macroinstruction by using theUSER_VOLUME_LIST statement in a system configuration file. SeeAppendix B. Defining Your System (H<strong>CP</strong>SYS Macroinstructions) 703


SYSUVOL“USER_VOLUME_LIST Statement” on page 255.704 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIOCoding H<strong>CP</strong>RIO ASSEMBLEThis appendix describes how to define your I/O devices to <strong>CP</strong> using the RDEVICEmacroinstruction in the real I/O configuration file (H<strong>CP</strong>RIO ASSEMBLE).Note: Now that z/<strong>VM</strong> uses device sensing to dynamically determine the devicecharacteristics, most devices no longer require an RDEVICEmacroinstruction to be coded in H<strong>CP</strong>RIO. However, some older devices don’tsupport device sensing <strong>and</strong> need to be explicitly defined in either the systemconfiguration file or H<strong>CP</strong>RIO. To determine if a given device can be definedin the system configuration file refer to Chapter 5, “Defining I/O Devices,” onpage 45. If the device is not listed in any of the configuration guide tables forthe system configuration file, then you must define this device in H<strong>CP</strong>RIO.Devices that are defined in H<strong>CP</strong>RIO are considered static definitions <strong>and</strong>cannot be changed with either the RDEVICE statement in the systemconfiguration file or the SET RDEVICE comm<strong>and</strong>.No additional device support is being provided in H<strong>CP</strong>RIO. New device support willonly be provided in the SYSTEM CONFIGURATION file.To define your installation’s real I/O configuration in the real I/O configuration file,H<strong>CP</strong>RIO ASSEMBLE, you must code macroinstructions in the file. H<strong>CP</strong>RIOASSEMBLE has two macroinstructions:RDEVICEUse this macroinstruction to define each real I/O device or group of I/Odevices in your installation’s I/O configuration.RIOGENUse this macroinstruction to end the H<strong>CP</strong>RIO assembly <strong>and</strong> to define yourinstallation’s primary <strong>and</strong> alternate system consoles.Note: On 3090 processor complexes, you must define the real I/O configurationto the hardware. This means that rdev will be device specific on theseprocessors. While the H<strong>CP</strong>RIO macroinstruction will assemble correctly withany real device number between X'0000' <strong>and</strong> X'FFFF', the input/outputconfiguration program (IO<strong>CP</strong>) for each processor has different restrictions.See the 3090 Input/Output Configuration Program User’s Guide <strong>and</strong>Reference book.The following rules apply to the H<strong>CP</strong>RIO ASSEMBLE file.1. You may code the RDEVICE macroinstructions in any order. z/<strong>VM</strong> does notsupport multiple RDEVICE macroinstruction statements for a single physicaldevice.2. You can specify a maximum of 4096 devices for the real system.3. The RDEVICE macroinstruction definition ignores any labels that you specify onRDEVICE macroinstructions. The macro definition appends the device numberto the characters RDEV to generate its own label. For example, the macrodefinition generates the label RDEV0234 for device number 0234.4. You must code the RIOGEN macroinstruction last in H<strong>CP</strong>RIO ASSEMBLE.© Copyright <strong>IBM</strong> Corp. 1991, 2004 705


Defining I/O Devices5. You must not code START, CSECT, or END statements in the H<strong>CP</strong>RIOASSEMBLE—the macroinstruction expansions generate these records. If youcode these statements, an MNOTE is issued.6. Device initialization is started in the order listed in the H<strong>CP</strong>RIO, but each deviceis initialized asynchronously. This results in device initializations completing in adifferent order from that listed in the H<strong>CP</strong>RIO. If duplicate DASD volume labelsare in the H<strong>CP</strong>RIO, the volume with the lowest real device number is attachedto the system <strong>and</strong> brought online.7. You must be very careful when coding statements before the first RDEVICEmacroinstruction because many statements that may not generate code dogenerate implicit CSECT definitions that will cause problems later. SPACE,TITLE, EJECT, <strong>and</strong> COMMENT cards are always specifically allowed before thefirst RDEVICE macro.RDEVICEMacroinstructionsYou must code an RDEVICE macroinstruction for each real I/O device or group ofdevices in the real I/O configuration. During system initialization, <strong>CP</strong> brings onlineall devices you define in H<strong>CP</strong>RIO for which there are real counterparts. <strong>CP</strong> bringsDASDs online based on the lowest physical address.The general format of the RDEVICE macroinstruction is as follows:►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE=type,UIRATE=DEFAULT,UIRATE=INFINITYvalue►►options►◄706 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>DEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies the real I/O device number you assign a device. Thevariable rdev must be a one- to four-digit hexadecimal number in the range 0through FFFF.DEVNO=(rdev,nnnn) specifies the real I/O device numbers you assign a rangeof devices. The variable rdev must be a one- to four-digit hexadecimal numberin the range 0 through FFFF. The variable nnnn is a decimal number that tells<strong>CP</strong> to create a group of real device specifications with consecutive devicenumbers. For example, if you specify DEVNO=(0100,8), real device numbers0100, 0101, 0102, 0103, 0104, 0105, 0106, <strong>and</strong> 0107 are defined. The defaultvalue for nnnn is 1.DEVTYPE=typeDEVTYPE=type specifies the type of device.UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.


Defining I/O DevicesDEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.optionsoptions are device-specific options you specify for the device.RDEVICE—General Usage NotesDedicated AFP* Printers1. Appendix D, “Configuration Guide for Printers,” on page 769 lists according todevice:v The DEVTYPE oper<strong>and</strong> you must specifyv Other required oper<strong>and</strong>s you must specifyv Optional oper<strong>and</strong>s you can specifyv The place in this chapter where coding of the RDEVICE macroinstruction forthat device is described.2. “Unsupported Devices” on page 763 describes how to code the RDEVICEmacroinstruction for any unsupported devices.3. Remember to code the RIOGEN macroinstruction at the end of your H<strong>CP</strong>RIOASSEMBLE file. See “RIOGEN” on page 766 for details on the RIOGENmacroinstruction.Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 707


AFP PrintersCommon Control Unit (CCU) Printers►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE=AFP1,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄PurposeThe following printers are supported as advanced function printers using advancedfunction printing licensed programs:3825 3827 3828 3835 3900Note: Printers defined as advanced function printers that follow the CCUspecifications can be used only as dedicated devices. For information aboutprinters that follow CCU specifications, see the AFP Printer Information book.The printers listed above, that are useable only when dedicated, are Group 3printers.ParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. It must be a one- to four-digithexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default value fornnn is 1.DEVTYPE=AFP1specifies an advanced function printer (AFP) that follows the CCU specification.Note that printers defined in this manner can only be used as dedicateddevices.UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.708 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


AFP Printersvalue can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a Hot I/O conditionis detected.For more information about advanced function printers, see the PSF/<strong>VM</strong> SystemProgramming Guide.Usage Notes1. When the RDEVICE macro is used with DEVTYPE=AFP1 to define anadvanced function printer, only the DEVNO <strong>and</strong> DEVTYPE oper<strong>and</strong> may bespecified.Examples1. To specify an advanced function printer at device number 0110, code theRDEVICE macro as follows:RDEVICE DEVNO=0110,DEVTYPE=AFP12. To specify three advanced function printers at device numbers 0111, 0112, <strong>and</strong>0113, code the RDEVICE macro as follows:RDEVICE DEVNO=(0111,3),DEVTYPE=AFP1Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 709


AFP Printers3820 Printer►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE=3820,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄PurposeThe dedicated 3820 printers are defined using this RDEVICE format.ParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. It must be a one- to four-digithexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default value fornnn is 1.DEVTYPE=3820specifies that a 3820 advanced function printer is being defined. Note thatprinters defined in this manner can be used only as dedicated devices.UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.Usage NotesWhen the RDEVICE macro is used with DEVTYPE=3820 to define a 3820 printer,only the DEVNO <strong>and</strong> DEVTYPE oper<strong>and</strong> may be specified.Examples1. To specify a 3820 printer at device number 0110, code the RDEVICE macro asfollows:RDEVICE DEVNO=0110,DEVTYPE=3820710 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


AFP Printers2. To specify three 3820 printers at device numbers 0111, 0112, <strong>and</strong> 0113, codethe RDEVICE macro as follows:RDEVICE DEVNO=(0111,3),DEVTYPE=3820Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 711


Display PrintersPrinters Attached to a Display Control Unit712 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Display PrintersDisplay Printers►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE= 3286328732883289,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄PurposeThe following display printers are supported (display printers are printers that allowkey-operator-initiated copy only):3262 3287 3812 1 24224 13268 3288 3816 1 24234 13286 3289 4214 424552106262Notes:1. Supported as advanced function printers using Print Services Facility/VirtualMachine (PSF/<strong>VM</strong>), Program Number 5684-141.2. You can download fonts using PSF/<strong>VM</strong>.ParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. It must be a one- to four-digithexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default value fornnn is 1.DEVTYPE=3286DEVTYPE=3287DEVTYPE=3288DEVTYPE=3289specifies the type of device (3286, 3287, 3288, or 3289).Other display printers supported are the 3262, 3268, 3812, 3816, 4214, 4224,4234, 4245, 5210, <strong>and</strong> 6262. For these printers, however, DEVTYPE must becoded as 3287.UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 713


Display PrintersATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.Examples1. To specify three 3286 display printers, at device numbers 0171, 0172, <strong>and</strong>0173, code the RDEVICE macro as follows:RDEVICE DEVNO=(0171,3),DEVTYPE=32862. To specify a 3262 or 3268 display printer at device number 0174, code theRDEVICE macro as follows:RDEVICE DEVNO=0174,DEVTYPE=32873. To specify a 3288 display line printer at device number 0180, code theRDEVICE macro as follows:RDEVICE DEVNO=0180,DEVTYPE=32884. To specify 3289 display line printers at device numbers 0181, 0182, <strong>and</strong> 0183,code the RDEVICE macro as follows:RDEVICE DEVNO=(0181,3),DEVTYPE=32895. To specify a 4234 display line printer at device number 0184, code theRDEVICE macro as follows:RDEVICE DEVNO=0184,DEVTYPE=3287714 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Impact Printers<strong>CP</strong> System-Managed Impact PrintersAppendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 715


Impact PrintersImpact Printers►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE=3203,MODEL=532113262 ,MODEL=n42454248(1)►►,AFP=YES,AFP=NO (2),CHARS=ucsname,CLASS=A,CLASS=,(3)▼ cl( )(4)NONE*►►,DEST=OFF,DEST=,(3)▼ dest( )*,FCB=fcbname (2),FEATURE=UNVCHSET►►,FOLD=NO,FOLD=YES,FORM=STANDARD,FORM=operform*,IMAGE=imagelib,INDEX=1(5),INDEX=nn,SEP=YES,SEP=NO►►,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄Notes:1 The following parameters can be specified in any order.2 The CHARS <strong>and</strong> FEATURE parameters can be specified for only 3203 <strong>and</strong> 3211 printers.3 The left <strong>and</strong> right parentheses are required if you are coding more than one cl or dest, optional ifcoding one cl or dest.4 If you specify CLASS=NONE (meaning that the printer is to be dedicated to a virtual machine),you cannot specify the AFP, CHARS, FCB, FEATURE, FOLD, FORM, <strong>and</strong> SEP parameters.5 The INDEX parameter can be specified for only 3211 printers.PurposeThe <strong>CP</strong> system-managed 3203, 3211, 3262, 4245, 4248, <strong>and</strong> 6262 impact printersare defined using this RDEVICE format.ParametersDEVNO=rdev716 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Impact PrintersDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. It must be a one- to four-digithexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default value fornnn is 1.DEVTYPE=devtypespecifies the device type <strong>and</strong> model.Notes:1. The default is MODEL=5 for the 3262, <strong>and</strong> MODEL=1 for the 4245 <strong>and</strong> the4248.2. Although the 4248 Model 2 is supported, it must be specified as MODEL=1.3. The 3262 Model 5 is supported as a 3262 or in 4248-compatibility mode.Specify it as a 4248 when it is used in 4248-compatibility mode.4. The 4245 Model 1 is supported as a 4245 or in 3262-compatibility mode.Specify it as a 3262 MODEL=5 when it is used in 3262-compatibility mode.5. The 4248 Models 1 <strong>and</strong> 2 are supported as 4248s or in 3211-compatibilitymode. Specify it as a 3211 when it is used in 3211-compatibility mode.6. The 6262 Model 14 must be specified as a 4248 MODEL=1.7. The 6262 Model 22 must be specified as a 4248 MODEL=1.AFP=YESAFP=NOspecifies whether the printer is to process files with advanced function printer(AFP) characteristics, XABs, or X'5A' CCWs. The default is YES.CHARS=ucsnameFor a printer with the UNVCHSET feature, CHARS=ucsname specifies the 1- to4-character suffix of the name of the default universal character set (UCS)buffer image to be used. The variable ucsname must correspond to one of theUCS images stored in the image library. For example, if you specify:RDEVICE DEVNO=0003,DEVTYPE=3203,CHARS=ANThe image library must contain a member named 3203AN.CLass=clCLass=ACLass=*CLass=NONEspecifies the output spooling class(es) the printer can print. (To change thespooling classes without recoding <strong>and</strong> reassembling the H<strong>CP</strong>RIO file, use the<strong>CP</strong> START comm<strong>and</strong>.)You can specify CLASS in one of the following ways:v If you omit the CLASS parameter, class A is assumed by default.v CLASS=cl,... to list up to eight output spooling classes, separated bycommas. The spooling class, cl, is one alphanumeric character. If you codeonly one spooling class, you do not have to use parentheses. For example,you can specify multiple classes as CLASS=(A,B,C) <strong>and</strong> a single class asCLASS=A or CLASS=(A).v CLASS=NONE specifies that <strong>CP</strong> will not use the printer for spooling.v CLASS=* specifies that the printer processes files regardless of class.Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 717


Impact PrintersNote: If you specify CLASS=NONE (meaning that the printer is to be dedicatedto a virtual machine), you cannot specify the AFP, CHARS, FCB,FEATURE, FOLD, FORM, <strong>and</strong> SEP parameters.DEST=destDEST=OFFDEST=*specifies the output destination value(s) the printer can print. (To change thespooling destination values without having to recode <strong>and</strong> reassemble theH<strong>CP</strong>RIO file, use the <strong>CP</strong> START comm<strong>and</strong>.)You can specify DEST in one of the following ways:v By default—if you omit the DEST parameter, DEST OFF is assumed.v DEST=dest,...—to list up to four output destination values, separated bycommas. Each value, dest, is one to eight alphanumeric characters in length.If you code more than one destination, you must use parentheses. Forexample, you can specify multiple destinations as:DEST=(FLOOR3,SOUTH3RD,PERCIVAL)When you code only one destination, parentheses are not necessary. Forexample:DEST=FLOOR3v DEST=*—specifies that the printer processes files regardless of destination.FCB=fcbnamespecifies the 1- to 4-character suffix of the name of the default forms controlbuffer (FCB) image to be used after a cold start or force start. This mustcorrespond to one of the forms control buffer images added to an image library.For example, if you specify:RDEVICE DEVNO=0008,DEVTYPE=4248,FCB=FCB8the image library must contain a member named 4248FCB8.FEATURE=UNVCHSETspecifies that the printer is a universal character set printer.FEATURE=UNVCHSET can be specified only for 3203 <strong>and</strong> 3211 printers.FOLD=NOFOLD=Yesspecifies whether lowercase should be folded (translated) into uppercase. Thedefault is NO.FORM=operformFORM=*FORM=STANDARDis the current spooling form number that the printer can process. This formimplicitly determines the default operator form for the real printer when theoperator starts the device after a cold start without specifying a form. Specifythis parameter in one of the following ways:v FORM=STANDARD, where STANDARD indicates that the type of paper tobe mounted on the printer is the type of paper that the installation hasassigned the name STANDARD. The default value is FORM=STANDARD.v FORM=operform, where operform specifies a 1- to 8-character operator formnumber for the files the printer can process.v FORM=*, where the asterisk specifies that the printer can process filesregardless of form number.718 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Impact PrintersEach installation establishes its own set of form names, assigns those formnames to types of paper, <strong>and</strong> informs the operations staff <strong>and</strong> end users of thecorrelation between form names <strong>and</strong> types of paper.IMAGE=imagelibspecifies the image library to be used after a cold start. The default isIMAGnnnn, where nnnn is the device type number.INDEX=nnINDEX=1specifies the position at which to start printing, where nn can be from 1 to 31, 1being the default. This parameter is only for devices that emulate the 3211.SEP=YESSEP=NOspecifies whether a separator is desired for output files. The default is YES.UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.Examples1. To specify a 3203 printer at device number 0110 that prints only class A spoolfiles (the default value), code the RDEVICE macro as follows:RDEVICE DEVNO=0110,DEVTYPE=3203,MODEL=52. To specify three 4245 printers at device numbers 0111, 0112, <strong>and</strong> 0113 that arenot to be used to print spool files, code the RDEVICE macro as follows:RDEVICE DEVNO=(0111,3),DEVTYPE=4245,CLASS=NONE3. To specify a 3262 printer at device number 0110 that prints only class A spoolfiles (the default value), code the RDEVICE macro as follows:RDEVICE DEVNO=0110,DEVTYPE=3262,MODEL=5Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 719


3800 Printers<strong>CP</strong> System-Managed 3800 Printers720 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


3800 Printers3800 Printer►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE=3800,MODEL=1,MODEL=3,MODEL=8(1) (2)►►,AFP=YES,AFP=NO,CHARS=ffff,CLASS=A,►,CLASS=▼ cl(3) )((4)NONE*►,DEST=OFF,,DPMSIZE=1,DPMSIZE=n,FCB=6,FCB=lpi,FEATURE=4WCGMS►,DEST=▼ dest(3) )(*►,FLASH=flashlib,FORM=STANDARD,FORM=operform*,IMAGE=IMAG3800,IMAGE=imagelib,SEP=YES,SEP=NO►►,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄Notes:1 If you specify MODEL=8, you cannot specify the AFP, CHARS, CLASS, DEST, DPMSIZE, FCB,FLASH, FORM, IMAGE, <strong>and</strong> SEP parameters.2 The following parameters can be specified in any order.3 The left <strong>and</strong> right parentheses are required if you are coding more than one cl or dest, optional ifcoding one cl or dest.4 If you specify CLASS=NONE (meaning that the printer is to be dedicated to a virtual machine),you cannot specify the AFP, CHARS, DEST, DPMSIZE, FCB, FEATURE, FLASH, FORM, IMAGE,<strong>and</strong> SEP parameters.PurposeUse this RDEVICE format to define the <strong>CP</strong> system-managed 3800 printers.Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 721


3800 PrintersParametersDEVNO=rdevspecifies a real I/O device number. The variable rdev must be a 1- to 4-digithexadecimal number from X'0000' to X'FFFF'.DEVNO=(rdev,nnn)specifies the real I/O device numbers for a range of devices. The variable nnnis a decimal repetition count <strong>and</strong> creates a group of real device control blockswith consecutive device numbers. The default is 1.DEVTYPE=3800specifies the device type.MODEL=1MODEL=3MODEL=8specifies the model number of the 3800 printer. The default is 1.Notes:722 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>1. The 3800 Models 3 <strong>and</strong> 6 are supported in Model 1 compatibility mode,defined as a Model 1, or by using the Advanced Function Printinglicensed program, defined as a Model 3. If you are using them asadvanced function printers, code AFP=YES.2. The 3800 Model 8 is supported using an Advanced Function Printinglicensed program; code AFP=YES.3. If you specify MODEL=8, you cannot specify the following parameters:AFP, CHARS, CLASS, DEST, DPMSIZE, FCB, FLASH, FORM, IMAGE,<strong>and</strong> SEP.AFP=YESAFP=NOspecifies whether the printer is to process files with advanced function printer(AFP) characteristics, XABs, or X'5A' CCWs. The default is YES.Note: If you specify MODEL=8 or CLASS=NONE, you cannot specify AFP.CHARS=ffffspecifies the name of a character-arrangement table for the separator page tobe used after a cold start. The default values for 3800 printers are:For Model 1, CHARS=GF10.For Model 3 or Model 6, CHARS=GF12.Note: If you specify MODEL=8 or CLASS=NONE, you cannot specify CHARS.CLASS=clCLASS=NONECLASS=*specifies the output spooling class or classes the 3800 Model 1, Model 3, orModel 6 printer can print. (To change the spooling classes without having torecode <strong>and</strong> reassemble the H<strong>CP</strong>RIO file, use the <strong>CP</strong> START UR comm<strong>and</strong>.)You can specify CLASS in one of the following ways:v If you omit CLASS, the default is class A.v CLASS=cl,... to list up to eight output spooling classes, separated bycommas. The spooling class, cl, is one alphanumeric character. If you codeonly one spooling class, you do not have to use parentheses. For example,you can specify multiple classes as CLASS=(A,B,C) <strong>and</strong> a single class asCLASS=A or CLASS=(A).


3800 Printersv CLASS=NONE specifies that <strong>CP</strong> will not use the printer for spooling.v CLASS=* specifies that the 3800 processes files regardless of class.Notes:1. If you specify MODEL=8, you cannot specify CLASS.2. If you specify CLASS=NONE (meaning that the 3800 is to be dedicated to avirtual machine), you cannot specify the following parameters: AFP, CHARS,DEST, DPMSIZE, FCB, FEATURE, FLASH, FORM, IMAGE, <strong>and</strong> SEP.DEST=OFFDEST=destDEST=*specifies the output destination value or values the 3800 Model 1, Model 3, orModel 6 printer can print. (To change the spooling destination values withouthaving to recode <strong>and</strong> reassemble the H<strong>CP</strong>RIO file, use the <strong>CP</strong> START URcomm<strong>and</strong>.)You can specify DEST in one of the following ways:v If you omit DEST, the default is OFF. A 3800 with DEST set to OFF will onlyprocess files with DEST specifically set to, or defaulted to, OFF.v DEST=dest,... to list up to four output destinations, separated by commas.The destination value, dest, is a 1- to 8-character alphanumeric string. If youcode only one destination, you do not have to use parentheses. For example,you can specify multiple destinations asDEST=(FLOOR3,SOUTH3RD,PERCIVAL) <strong>and</strong> a single destination asDEST=FLOOR3.v DEST=* specifies that the 3800 processes files regardless of destination.Note: If you specify MODEL=8 or CLASS=NONE, you cannot specify DEST.DPMSIZE=nspecifies the maximum size of the delayed purge queue (see note 1) that the3800 Model 1, Model 3, or Model 6 printer uses after a cold start. The defaultvalue for n is 1, the maximum, 9.Notes:1. After the 3800 prints a file, <strong>CP</strong> places the file on the delayed purge queue.<strong>CP</strong> puts all files on the delayed purge queue in system hold status. Whenthe queue is full, <strong>CP</strong> purges the oldest file. This delay helps ensure that the3800 (a) transfers the last page of the file from the page buffer in the 3800printer to paper <strong>and</strong> (b) stacks the printed page.2. If you specify MODEL=8 or CLASS=NONE, you cannot specify DPMSIZE.3. Specifying 0 for DPMSIZE saves some spool DASD space because filesprinted on the 3800 are purged immediately. However, this decreases thepossibility of recovering a printer file which has failed during printing.FCB=lpispecifies the name of the forms control buffer for the separator page to be usedafter a cold start. Note that you can override this value by naming a formscontrol buffer on the <strong>CP</strong> START UR comm<strong>and</strong>. The default value for lpi is 6.Note: If you specify MODEL=8 or CLASS=NONE, you cannot specify FCB.FEATURE=4WCGMSspecifies that the 3800 has the 4-writable-character generation module feature.For a 3800 model 1, the default is 2WCGMS. For a 3800 model 3 <strong>and</strong> model 8,the default is 4WCGMS.Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 723


3800 PrintersNote: If you specify CLASS=NONE, you cannot specify FEATURE.FLASH=flashlibspecifies the flash overlay for use with this device.Note: If you specify MODEL=8 or CLASS=NONE, you cannot specify FLASH.FORM=STANDARDFORM=operformFORM=*is the current spooling form number that the printer can process. This formimplicitly determines the default operator form for the real printer when theoperator starts the device after a cold start without specifying a form.You can specify FORM in one of the following ways:v FORM=STANDARD, where STANDARD indicates that the type of paper tobe mounted on the printer is the type of paper that the installation hasassigned the name STANDARD. Each installation establishes its own set ofform names, assigns those form names to types of paper, <strong>and</strong> informs theoperations staff <strong>and</strong> end users of the correlation between form names <strong>and</strong>types of paper. The default is STANDARD.v FORM=operform to specify a 1- to 8-character operator form number for thefiles the printer can process.v FORM=* specifies that the printer can process files regardless of formnumber.Note: If you specify MODEL=8 or CLASS=NONE, you cannot specifyFORM.IMAGE=IMAG3800IMAGE=imagelibspecifies the name of the image library to be used after a cold start. Note thatyou can override this value by specifying an image library name on the <strong>CP</strong>START UR comm<strong>and</strong>. The default is IMAG3800.Note: If you specify MODEL=8 or CLASS=NONE, you cannot specify IMAGE.SEP=YESSEP=NOtells <strong>CP</strong> whether the printer should use a separator page between output files.The default is YES.Note: If you specify MODEL=8 or CLASS=NONE, you cannot specify SEP.UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> from724 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


3800 Printersbroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.Examples1. To specify a Model 3 3800 printer at device number 0500 that is to be dedicatedto a virtual machine, use the following RDEVICE macroinstruction:RDEVICE DEVNO=0500,DEVTYPE=3800,MODEL=3,CLASS=NONE2. To specify three Model 8 3800 printers at device numbers 0501, 0502, <strong>and</strong> 0503that are to be dedicated to virtual machines, use the following RDEVICEmacroinstruction:RDEVICE DEVNO=(0501,3),DEVTYPE=3800,MODEL=83. To specify a Model 1 3800 printer at device number 0505 that has all of thefollowing characteristics:v Is to be used to print spool filesv Prints any class spool filesv Has the 4-writable-character generation module (WCGM) featurev Has a delayed purge queue length of 5use the following RDEVICE macroinstruction:RDEVICE DEVNO=0505,DEVTYPE=3800,MODEL=1,CLASS=*, *FEATURE=4WCGMS,DPMSIZE=5Note: If you need more than one line to code the RDEVICE macroinstruction,you must code a continuation character in column 72 <strong>and</strong> start the nextline in column 16.Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 725


Unit Record DevicesUnit Record Devices726 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Unit Record Devices3505 Card Reader►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE=3505,CLASS=A,CLASS=clNONE►►,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄ParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. It must be a one- to four-digithexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default value fornnn is 1.DEVTYPE=3505specifies the type of device (3505).CLASS=clCLASS=ACLASS=NONEspecifies the spooling class the card reader assigns to spool files it creates. (Tochange the spooling class the card reader assigns without recoding <strong>and</strong>reassembling the H<strong>CP</strong>RIO file, use the <strong>CP</strong> START comm<strong>and</strong>.)You can specify CLASS in one of the following ways:v If you omit the CLASS oper<strong>and</strong>, class A is assumed by default.v CLASS=cl, where the spooling class, cl, is one alphanumeric character.v CLASS=NONE to specify that <strong>CP</strong> will not use the card reader for spooling.UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 727


Unit Record Devicesvalue can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.Examples1. To specify three 3505 card readers at device numbers 00C1, 00C2, <strong>and</strong> 00C3that are not to be used to read spool files, code the RDEVICE macro as follows:RDEVICE DEVNO=(00C1,3),DEVTYPE=3505,CLASS=NONE2. To specify a 3505 card reader at device number 00C4 that reads information inas class R spool files, code the RDEVICE macro as follows:RDEVICE DEVNO=00C4,DEVTYPE=3505,CLASS=R728 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Unit Record Devices3525 Card Punch►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE=3525(1)►►,CLASS=A,CLASS=▼ cl(2) )((3)NONE,,FORM=STANDARD,FORM=operform*,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄Notes:1 The following parameters may be specified in any order.2 The left <strong>and</strong> right parentheses are required if you are coding more than one cl or optional if codingone cl.3 If you specify CLASS=NONE (meaning that the punch is to be dedicated to a virtual machine),you cannot specify the FORM parameter.ParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. It must be a one- to four-digithexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default value fornnn is 1.DEVTYPE=3525specifies the type of device (3525). Note that the 3525 is supported only forpunching; the printing features are not supported.CLASS=(cl)CLASS=ACLASS=*CLASS=NONEspecifies the output spooling classes. (To change these spooling classeswithout recoding <strong>and</strong> reassembling the H<strong>CP</strong>RIO file, use the <strong>CP</strong> STARTcomm<strong>and</strong>.)You can specify CLASS in one of the following ways:v If you omit the CLASS oper<strong>and</strong>, class A is assumed by default.v CLASS=cl to list up to eight output spooling classes, separated by commas.The spooling class, cl, is one alphanumeric character. If you code only onespooling class, you do not have to use parentheses. For example, you canspecify multiple classes as CLASS=(A,B,C) <strong>and</strong> a single class as CLASS=Aor CLASS=(A).Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 729


Unit Record Devicesv CLASS=NONE specifies that <strong>CP</strong> will not use the card punch for spooling.v CLASS=* specifies that the punch can process files regardless of class.Note: If you specify CLASS=NONE (meaning that the punch is to be dedicatedto a virtual machine), you cannot specify the FORM oper<strong>and</strong>.FORM=operformFORM=*FORM=STANDARDis the current spooling form number that the punch can process. This formimplicitly determines the default operator form for the real punch when theoperator starts the device after a cold start without specifying a form. Specifythis oper<strong>and</strong> in one of the following ways:v FORM=operform, where operform specifies a 1- to 8-character operator formnumber for the files the punch can process.v FORM=*, where the asterisk specifies that the punch can process filesregardless of form number.v Do not specify FORM. The default value is FORM=STANDARD.UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.Examples1. To specify a 3525 punch at device number 00D0 that punches only class Aspool files (the default value), code the RDEVICE macro as follows:RDEVICE DEVNO=00D0,DEVTYPE=35252. To specify three 3525 punches at device numbers 00D1, 00D2, <strong>and</strong> 00D3 thatare not to be used to punch spool files, code the RDEVICE macro as follows:RDEVICE DEVNO=(00D1,3),DEVTYPE=3525,CLASS=NONE3. To specify a 3525 punch at device number 00D4 that punches class E, F, <strong>and</strong> Gspool files, code the RDEVICE macro as follows:RDEVICE DEVNO=00D4,DEVTYPE=3525,CLASS=(E,F,G)730 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Unit Record Devices3890 Document Processor►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE=3890,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄PurposeThe 3890 Document Processor is supported as a dedicated-only device.ParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. The variable rdev must be aone- to four-digit hexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default value fornnn is 1.DEVTYPE=3890specifies the type of device (3890).UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.ExamplesTo specify a 3890 document processor at device number 100,RDEVICE DEVNO=(100),DEVTYPE=3890Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 731


Display Terminals <strong>and</strong> AdaptersDisplay Terminals <strong>and</strong> Adapters732 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Display Terminals <strong>and</strong> Adapters3250 Display►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE=3250,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄PurposeThe 3250 is supported as a dedicated-only device.ParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. The variable rdev must be aone- to four-digit hexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default value fornnn is 1.DEVTYPE=3250specifies the type of device (3250).UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.Examples1. To specify a 3250 display at device number 0006, code the RDEVICE macro asfollows: RDEVICE DEVNO=0006,DEVTYPE=32502. To specify three 3250 displays at device numbers 0007, 0008, <strong>and</strong> 0009, codethe RDEVICE macro as follows: RDEVICE DEVNO=(007,3),DEVTYPE=3250Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 733


Display Terminals <strong>and</strong> Adapters3270-Family Displays►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE= 31903290,MODEL=231783179 ,MODEL=modelno31803270327732783279►►,FEATURE=OPRDREMUL3270(OPRDR,EMUL3270)(EMUL3270,E3270HLD)(OPRDR,EMUL3270,E3270HLD),UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄ParametersDEVNO=rdevis the real I/O device number. The variable rdev must be a 1- to 4-digithexadecimal number from X'0000' to X'FFFF'.DEVNO=(rdev,nnn)are the real I/O device numbers for a range of devices. The variable rdev mustbe a 1- to 4-digit hexadecimal number from X'0000' to X'FFFF'. The variablennn is a decimal repetition count <strong>and</strong> creates a group of real device controlblocks with consecutive device numbers. If omitted, the default for nnn is 1.DEVTYPE=devtypeis the type of device. Valid device types are: 3178, 3179, 3180, 3190, 3270,3277, 3278, 3279, or 3290. However, <strong>CP</strong> only recognizes two categories ofdisplay devices, 3277 <strong>and</strong> all others. The 3277 must be specified as a 3277;other device types may be specified as any of the other valid device types. Forexample, a 3191 display could be specified as a 3270, a 3190, or any othervalid device number, except 3277.Notes:1. The 3270-PC is supported in control-unit terminal mode <strong>and</strong>distributed-function terminal (DTF) mode when defined as a 3270.2. The 3101 must be connected to a 7171 Control Unit. You must also specifyFEATURE=EMUL3270.3. If you want to see what other displays are supported, see the z/<strong>VM</strong>: GeneralInformation book, which lists all displays supported for this release.MODEL=modelno (do not specify for a 3190 or 3290)specifies the model number which determines the display screen format. Ifomitted, the default is 2. Note that <strong>CP</strong> determines the real size of the screenwhen the terminal is powered-on or enabled. Table 35 on page 735 shows theoptions. (Also see Usage Note 2 on page 736.)734 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Display Terminals <strong>and</strong> AdaptersTable 35. Model Options Depending on Screen SizeModel(modelno)Number ofCharactersScreenSize Valid for DEVTYPE=2 1920 24 x 80 3178, 3179, 3180, 3191, 3192, 3193,3194, 3270, 3277, 3278, 32792A 1600 20 x 80 3270, 32782C 1600 20 x 80 3270, 32793 2560 32 x 80 3178, 3179, 3180, 3192, 3193, 3270,3278, 32794 3440 43 x 80 3178, 3180, 3192, 3193, 3270, 32785 3564 27 x 132 3178, 3180, 3270, 3278The model number is set to 2 if the terminal is attached to a 7171 DeviceAttachment Control Unit or ASCII Subsystem (EMUL3270 is specified).FEATURE=specifies one to three display features. The features can be coded in any order.If you specify more than one feature, you must separate the features with acomma <strong>and</strong> surround them by parenthesis. The features are:OPRDRspecifies an operator identification card reader on a 327X display. If youspecify FEATURE=OPRDR, the virtual machine operator can gain access tothe system (log on) only by inserting a magnetically encoded card. Usingthe badge reader is optional for each user ID <strong>and</strong> not required. It cannot beused instead of a correct password but may be used after a correctpassword is supplied for an additional security measure. If you do not wantaccess authorization by a card reader, do not code FEATURE=OPRDR.EMUL3270specifies that the device is a TTY ASCII display terminal connected to thesystem through a 7171 ASCII DACU or ASCII Subsystem (an emulated3270).E3270HLDspecifies that the display terminal telecommunications connection to the7171 ASCII DACU or ASCII Subsystem is to remain after logging off ordisconnecting. E3270HLD is valid only if EMUL3270 is also coded.UIRATE=This optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 735


Display Terminals <strong>and</strong> AdaptersUsage Notes1. If you specify DEVTYPE=3270, device type 3278 is generated in the H<strong>CP</strong>RIOfile. All device types except for the 3277 are equivalent to device type 3278.2. The MODEL=modelno is optional. If not specified, MODEL=2 is the default.Otherwise, the model specified is generated. The actual value of MODEL isdetermined by <strong>CP</strong> during display initialization <strong>and</strong> is set accordingly. TheMODEL parameter is used when <strong>CP</strong> cannot determine the real devicecharacteristics.Note that for the RDEVICE macro, the model number refers to the displayscreen format as shown in Table 35 on page 735. The model number, asspecified on the RDEVICE statement, may or may not correspond to the modelnumber on the display itself. MODEL defaults to 2 if the screen size does notmatch 2A, 2C, 3, 4, or 5.For example, a 3192 that has the same screen size as a 3278 Model 2 can begenerated that way or it can be generated as a 3190 (with no model specified).A 3192 that is the same size as a 3278 Model 3 should be generated that wayor as a 3190 (with no model specified).A 3192 that is the same size as a 3278 Model 4 should be generated that wayor as a 3190 (with no model specified).All of the above is true for 3191, 3192, 3193, <strong>and</strong> 3194.The RDEVICE macroinstruction only accepts models types of 2, 3, 4, 5, 2A, or2C. Other model types that are supported for various terminal types include:3178 C1,C2,C3,C43179 1,G1,G23180 13279 2B,2X,3A,...3290 220,230,T30These terminals <strong>and</strong> models are supported but can only be coded as modeltypes 2, 3, 4, 5, 2A, or 2C. However, when they are logged on to, <strong>CP</strong>determines the real size of the screen <strong>and</strong> uses it.3. You must ensure that the device numbers specified by the DEVNO parametercorrespond to the device numbers required for that category of display terminalin the controller.4. Refer to the 7171 ASCII Device Attachment Control Unit Description <strong>and</strong><strong>Planning</strong> Guide to determine which type of device (DEVTYPE) to code for aTTY ASCII terminal attached to a 7171 DACU or ASCII Subsystem.Examples1. To specify a 3277 display at device number 0140, code the RDEVICEmacroinstruction as follows:RDEVICE DEVNO=0140,DEVTYPE=32772. To specify Model 2A 3278 displays at device numbers 0141, 0142, <strong>and</strong> 0143that do use the operator identification card reader, code one of the followingRDEVICE macroinstructions:RDEVICE DEVNO=(0141,3),DEVTYPE=3278,MODEL=2A,FEATURE=OPRDRRDEVICE DEVNO=(141,3),DEVTYPE=3278, FEATURE=OPRDR3. To specify a 3279 Model 3 display device number 0144 that does not use theoperator identification card reader, code the RDEVICE macroinstruction asfollows:RDEVICE DEVNO=0144,DEVTYPE=3279,MODEL=3736 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Display Terminals <strong>and</strong> Adapters4. To specify a 3180 Model 1 display with a screen format of 43 by 80, code theRDEVICE macroinstruction as follows:RDEVICE DEVNO=0145,DEVTYPE=3278,MODEL=45. To specify a 3179 Model 1 display, code the RDEVICE macroinstruction asfollows:RDEVICE DEVNO=0146,DEVTYPE=3279,MODEL=26. To specify a 3290 display at device number 0145, code the RDEVICEmacroinstruction as follows:RDEVICE DEVNO=0145,DEVTYPE=32907. To specify a series of 3278 or 3279 displays that are a variety of models,beginning at device number 2C0, code the RDEVICE macroinstruction asfollows:RDEVICE DEVNO=(2C0,8),DEVTYPE=32708. To specify a TTY device attached to a 7171 DACU or ASCII Subsystem atdevice number FE0 that emulates a 3278 <strong>and</strong> to which the telecommunicationline is always held, code the RDEVICE macroinstruction as follows:RDEVICE DEVNO=FE0,DEVTYPE=3278,FEATURE=(EMUL3270,E3270HLD)9. To specify a TTY device attached to a 7171 DACU or ASCII Subsystem atdevice number 220 that emulates a 3277 <strong>and</strong> for which the user controls theholding of the telecommunication line, code the RDEVICE macroinstruction asfollows:RDEVICE DEVNO=220,DEVTYPE=3277,FEATURE=EMUL3270Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 737


Display Terminals <strong>and</strong> AdaptersTeleprocessing Integrated Adapters►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE=ICA ,ADAPTER= ELANHDLCILANTELE2►►,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄ParametersDEVNO=rdevDEVNO=(rdev,nnn)specifies a real I/O device number or numbers. The variable rdev must be a 1-to 4-digit hexadecimal number in the range X'0000' through X'FFFF'. If you arespecifying a range of devices using DEVNO=(rdev,nnn), rdev is the first real I/Odevice in the range <strong>and</strong> nnn is a decimal number indicating the total number ofconsecutive devices. The default for nnn is 1.DEVTYPE=ICAtells <strong>CP</strong> that the device is an integrated communication adapter.ADAPTER=tells <strong>CP</strong> what teleprocessing protocol being defined. The valid protocols <strong>and</strong>their meanings are:ELAN802.3 local area networkHDLCHigh-level data link control (X.25 network)ILAN<strong>IBM</strong> Token Ring Local Area NetworkTELE2U.S. Telegraph Terminal Control—type 2.UIRATE=This optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.738 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Display Terminals <strong>and</strong> Adaptersvalue can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.ExamplesTo specify an integrated adapter attachment to an <strong>IBM</strong> Token Ring Local AreaNetwork, code the RDEVICE macro as follows:RDEVICE DEVNO=(220,12),DEVTYPE=ICA,ADAPTER=ILANAppendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 739


Display Terminals <strong>and</strong> Adapters5080 <strong>and</strong> 6090 Graphics Display►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE= 5080HFGD,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄PurposeThe 5080 is supported as a dedicated-only device.ParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. The variable rdev must be aone- to four-digit hexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default is 1.DEVTYPE=5080DEVTYPE=HFGDspecifies the type of device. HFGD (high function graphics device) isinterchangeable with 5080. It is listed here for compatibility with <strong>VM</strong>/SP HPO.To specify 6090, code 5080.UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.Examples1. To specify a 5080 display at device number 0006, code the RDEVICE macro asfollows:RDEVICE DEVNO=0006,DEVTYPE=5080 (or DEVTYPE=HFGD)2. To specify three 5080 displays at device numbers 0007, 0008, <strong>and</strong> 0009, codethe RDEVICE macro as follows:740 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Display Terminals <strong>and</strong> AdaptersRDEVICE DEVNO=(0007,3),DEVTYPE=5080 (or DEVTYPE=HFGD)3. To specify a 6090 display at device numbers 0010, code the RDEVICE macroas follows:RDEVICE DEVNO=0010,DEVTYPE=5080Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 741


Tape UnitsTape Units742 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Tape Units3422, 3480, 3490 <strong>and</strong> 3590 Tape Drives►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE= 3422348034903590,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄ParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. The variable rdev must be aone- to four-digit hexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default is 1.DEVTYPE=devtypespecifies the type of device (3422, 3480 or 3490).For 3480s <strong>and</strong> 3490s, specify the devtype based on the model of your tapedevice:Device Model Specify Type3480 A11, B11, A22, B22 34803490 A01, A02, B02, B04, D31, D32 34803490 A10, A20, B20, B40, C10, C11, C22,D41, D423490UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.Examples1. To specify a 3422 tape drive at device member 0422, code the RDEVICE macroas follows:Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 743


Tape UnitsRDEVICE DEVNO=0422,DEVTYPE=34222. To specify a 3480 tape drive at device number 0450, code the RDEVICE macroas follows:RDEVICE DEVNO=0450,DEVTYPE=34803. To specify a 3490 tape drive, Model A01, A02, B02, B04, D31, or D32, at devicenumber 0462, code the RDEVICE macro as follows:RDEVICE DEVNO=0462,DEVTYPE=34904. To specify a 3490 tape drive Model A10, A20, B20, B40, D41, or D42, at devicenumber 0480, code the RDEVICE macro as follows:RDEVICE DEVNO=0480,DEVTYPE=3490744 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DASDDASDAppendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 745


DASDDASD Types►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE= 338033903851,SHARED=NO,SHARED=YES►►,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄PurposeThis section describes how to code the RDEVICE macro for the following devices:3380 DASD 3390 DASD3850 Mass Storage SystemSee also “FBA DASD” on page 749.Notes:1. A 3380 attached to a 3880-11 or 3880-13 requires no special treatment.2. 3995 Models 131, 132 (Optical Library Dataserver), look like 3088’s <strong>and</strong> mustbe defined as such. For a description of how to code RDEVICE for a 3088 see“CTCA, 3088 Multisystem Channel Communication Unit, <strong>and</strong> 3737 RemoteChannel-to-Channel Unit” on page 760.3. 3995 Models 151, 152 (Optical Library Dataserver), look like 3390’s <strong>and</strong> mustbe defined as such.ParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. The variable rdev must be aone- to four-digit hexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default value fornnn is 1.DEVTYPE=devtypespecifies the device type plus model for 3330. Code this parameter as follows:For a Specify3380 DEVTYPE=3380 (The use of the CUTYPE keyword isignored.)3390 DEVTYPE=3390 (The use of the CUTYPE keyword isignored.)746 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DASDFor a Specify3390 in 3380 trackcompatibility mode3850 DEVTYPE=3851.DEVTYPE=3380 or 3390 except when device is usedfor the SYSRES device. If the IPL device is operatingin 3380 track compatibility mode, you must specifyDEVTYPE=3380 <strong>and</strong> on the SYSRES macroSYSTYPE=3380.SHARED=YESSHARED=NOindicates whether the device is to be shared concurrently between multiple realsystems. The default is SHARED=NO. For more information on sharing DASDs,see Chapter 21, “DASD Sharing,” on page 619.Note: <strong>VM</strong>/ESA supports the 3850 Mass Storage System only when it isdedicated to a virtual machine. Because hardware that is supported asdedicated-only cannot be shared concurrently between multiple realsystems, do not code the SHARED oper<strong>and</strong> for the 3851 Mass StorageFacility nor for the DASD attached to the 3850 Mass Storage System.Devices that contain CMS minidisks that will be shared in a CSE or<strong>VM</strong>/ISF complex should be specified as SHARED=YES (see “Spool FileDirectory Statements” on page 341).UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.Usage Notes1. If you generate a 3390 DASD attached to a 3990 Models 3 or 6 StorageControl, <strong>and</strong> that device is physically attached to the system, the operator mayrequest I/O to an offline device.2. The following comm<strong>and</strong>s may be entered to an offline device:v SET CACHEv SET DASDFWvDISCARDv QUERY PINNEDv QUERY RSAWv QUERY CACHEAppendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 747


DASDv QUERY DASDFW.Note: The only way to ensure that the operating system never requests I/O to adevice is not to generate it, or to ensure that it is physically inaccessible.Restrictions1. DASDs on ESCON channels must be formatted without filler records. This isbecause you must use ECKD channel programs to control DASD on an ESCONchannel <strong>and</strong> the ECKD comm<strong>and</strong>, LOCATE RECORD, may fail if there are fillerrecords. Also, system performance will be seriously degraded if you issuenon-ECKD channel programs to an ESCON-attached DASD.2. Any minidisks being used by the shared file system (SFS) that are participatingin virtual machine data-space mappings that are on ESCON channels must beformatted without filler records because virtual machine data-space mappedminidisks use <strong>CP</strong> paging routines to perform I/O.There are two cases depending on the ownership of the ESCON attachedvolume:a. <strong>CP</strong> owned:Cylinder 0 <strong>and</strong> all <strong>CP</strong>-owned extents must have been formatted for <strong>CP</strong>. <strong>CP</strong>will do I/O operations to the volume based on how cylinder 0 was formatted;that is, with or without filler records. If the volume is a 3380 formatted withfiller records, paging forces CKD usage for the packs <strong>and</strong> CKD usage willcause comm<strong>and</strong> rejects.b. Non <strong>CP</strong>-owned:The format of the volume is not known because the mapped minidisk isformatted however the user or application wanted. <strong>CP</strong> will always use ECKDchannel programs when doing mapped minidisk paging. This may cause theECKD comm<strong>and</strong>, LOCATE RECORD, to fail if there are filler records.3. The 3990 Models 3 <strong>and</strong> 6 Storage Control are track caching control units.Therefore, it is not recommended that DASD attached to 3990 Models 3 <strong>and</strong> 6Storage Control units be used for paging, or if they are, the cache should beturned off for any paging devices attached to them.4. If you issue QUIESCE/RESUME while running <strong>VM</strong>/ESA with a 3990 StorageControl attached, you will receive a message indicating that these comm<strong>and</strong>sare not supported.Examples1. To specify a Model AE4 or BE4 3380 DASD at device number 0A70, code theRDEVICE macro as follows:RDEVICE DEVNO=0A70,DEVTYPE=33802. To specify a 3390 DASD at device number 0A80, code the RDEVICE macro asfollows:RDEVICE DEVNO=0A80,DEVTYPE=33903. To specify the 3851 Mass Storage Facility of the 3850 Mass Storage System atdevice number 0A90, code the RDEVICE macro as follows:RDEVICE DEVNO=0A90,DEVTYPE=3851748 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DASDFBA DASD►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE= 9336FB-512,SHARED=NO,SHARED=YES►►,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄PurposeThis section describes how to code the RDEVICE macro for FBA DASD.ParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. The variable rdev must be aone- to four-digit hexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice specifications with consecutive device numbers. The default is 1.DEVTYPE=9336DEVTYPE=FB-512specifies the type of device. If you specify 9336, this indicates the specific FBAdevice type. If you specify FB-512, this implies that the device is one of thecurrently supported FBA device types.SHARED=YESSHARED=NOindicates whether the device is to be shared concurrently between multiple realsystems. The default is SHARED=NO.UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 749


DASDUsage Notes1. During device initialization time, the device model information will be obtaineddynamically from the hardware. If the MODEL= parameter is specified, it will beignored.2. If execution of the Read Device Characteristics (RDC) CCW is unsuccessfulduring DASD initialization time, the device will be brought online as dedicatedsupported.Examples1. To specify an FBA DASD generically at device number 220, code the RDEVICEmacro as follows:RDEVICE DEVNO=220,DEVTYPE=FB-5122. To specify a 9336 DASD at device numbers 0336, 0337, <strong>and</strong> 0338, code theRDEVICE macro as follows:RDEVICE DEVNO=(336,3),DEVTYPE=9336,SHARED=YES750 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Communication DevicesCommunication DevicesAppendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 751


Communication Devices2701 Data Adapter►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE=2701 ,ADAPTER= BSCA<strong>IBM</strong>1TELE2►►,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄ParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. The variable rdev must be aone- to four-digit hexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default is 1.DEVTYPE=2701specifies the type of device.ADAPTER=BSCAADAPTER=<strong>IBM</strong>1ADAPTER=TELE2specifies the terminal control adapter that connects to the device it controls.The BSCA adapter is supported as a dedicated-only device.UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.Examples1. To specify a 2701 line adapter at device number 00F0, code the RDEVICEmacro as follows:752 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Communication DevicesRDEVICE DEVNO=00F0,DEVTYPE=2701,ADAPTER=BSCA2. To specify three 2701 line adapters at device numbers 00F1, 00F2, <strong>and</strong> 00F3,code the RDEVICE macro as follows:RDEVICE DEVNO=(00F1,3),DEVTYPE=2701,ADAPTER=BSCAAppendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 753


Communication Devices3705, 3725, <strong>and</strong> 3745 Line Adapters, 2741 Terminal, <strong>and</strong> 3151, 3161,3162, 3163, <strong>and</strong> 3167 Display Terminals►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE=3705 ,ADAPTER= <strong>IBM</strong>1TELE2BSCA,BASEADD=rdev►►,SETADDR=4,SETADDR=sadnum,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄PurposeNote: To define 3705, 3720, 3725, <strong>and</strong> 3745 communication controllers, see “37xxCommunications Controllers <strong>and</strong> 3x74 Controllers” on page 757.ParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. The variable rdev must be aone- to four-digit hexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default is 1.DEVTYPE=devtypespecifies the type of device. For 3705, 3725, or 3745 line adapters, specifyDEVTYPE=3705. For a 2741, 3151, 3161, 3162, 3163, or 3167, specifyDEVTYPE=3705.ADAPTER=<strong>IBM</strong>1ADAPTER=TELE2ADAPTER=BSCAis the terminal control or transmission adapter used to connect atelecommunication I/O device to its control unit. Specify one of the followingvalues for adapter:v <strong>IBM</strong>1 specifies that an <strong>IBM</strong> Terminal Adapter Type I attaches a 1050 or 2741to a 3705, 3725, or 3745 (generated as a 3705).v TELE2 specifies that a <strong>CP</strong>T-TWX (Models 33/35) Terminal, 3101, 3151,3161, 3162, or 3163 attaches to a Line Interface Base Type I in a 3705,3725, or 3745 (generated as a 3705).v BSCA specifies an <strong>IBM</strong> Binary Synchronous Terminal Control Type II for a3705, 3725, or 3745 (generated as a 3705).The BSCA adapter is supported as dedicated-only.BASEADD=rdevis the one- to four-digit hexadecimal device number of the communicationscontroller to which the line adapter attaches.754 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Communication DevicesSETADDR=sadnumis the set address (SAD) comm<strong>and</strong> to be entered for a telecommunication lineattached to a control unit. The default is 4.sadnumComm<strong>and</strong>0 SADZERO1 SADONE2 SADTWO3 SADTHREE4 (No SAD comm<strong>and</strong> is entered)UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION It is not recommended that you set the UIRATE value to INFINITYfor any great length of time. Hot I/O detection protects <strong>CP</strong> from brokenhardware that floods the system with unsolicited interrupts. If you turn Hot I/Odetection off, you may experience performance degradation or a system abend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.Usage Notes<strong>VM</strong>/ESA supports native ASCII devices.Examples1. To specify at device number 0451 an <strong>IBM</strong> Binary Synchronous Terminal ControlType II that:a. Attaches to the 3705 communication controller at device number 0441b. Enters the SADZERO comm<strong>and</strong>,code the RDEVICE macro as follows:RDEVICE DEVNO=0451,DEVTYPE=3705,ADAPTER=BSCA, *BASEADD=0441,SETADDR=02. To specify at device number 0452 an <strong>IBM</strong> Terminal Adapter Type I that:a. Attaches a 1050 to the 3725 communication controller at device number0442b. Enters the SADONE comm<strong>and</strong>,code the RDEVICE macro as follows:RDEVICE DEVNO=0452,DEVTYPE=3705,ADAPTER=<strong>IBM</strong>1, *BASEADD=0442,SETADDR=13. To specify a 2741 at device number 0460, code the RDEVICE macro as follows:RDEVICE DEVNO=0460,DEVTYPE=3705,ADAPTER=<strong>IBM</strong>1,BASEADD=04224. To specify a 3151 at device number 0462, code the RDEVICE macro as follows:RDEVICE DEVNO=0462,DEVTYPE=3705,ADAPTER=TELE2,BASEADD=0422Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 755


Communication DevicesNote: If you need more than one line to code the RDEVICE macro, you must codea continuation character in column 72 <strong>and</strong> start the next line in column 16.756 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


37xx Communications Controllers <strong>and</strong> 3x74 ControllersCommunication Devices►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE=3705 ,ADAPTERS=TYPE4 ,MODEL=modelno ►►,<strong>CP</strong>NAME=cpname,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄PurposeThe 370x communication controllers are supported as dedicated-only devices or bySNA attachment through <strong>VM</strong>/VTAM or VCNA. The 3720, 3725, <strong>and</strong> 3745, ifspecified as dedicated-only devices, must be specified as 3705s.The 3x74 controllers are supported as follows:3174-1L, -11LThrough non-SNA channel attachment or through <strong>VM</strong>/VTAM or VCNA3174-1R, 51R, 81R, 11R, 61R, 91RThrough remote SNA attachment through <strong>VM</strong>/VTAM or VCNA or dedicated-onlyfor remote non-SNA attachment3174-2R, 3R, 52R, 53R, 82R, 12R, 13R, 62R, 63R, 92RThrough remote SNA attachment through <strong>VM</strong>/VTAM or VCNA3274-1A, 21A, 31A, 31A, 41AThrough SNA channel attachment through <strong>VM</strong>/VTAM or VCNA3274 1B, 21B, 1D, 21D, 31D, 41DFull support for non-SNA attachment3274-1C, 21C, 31C, 51CDedicated-only for non-SNA attachment3274-1C, 21C, 31C, 41C, 51C, 61CThrough remote SNA attachment through <strong>VM</strong>/VTAM or VCNAParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. The variable rdev must be aone- to four-digit hexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default is 1.DEVTYPE=3705specifies the type of device. For a 3174, 3274, 3705, 3720, 3725, or 3745,specify DEVTYPE=3705.ADAPTER=TYPE4specifies the transmission adapter used to connect a communication controllerto the channel. For a 3174, 3274, 3705, 3720, 3725, or 3745, specifyADAPTER=TYPE4.Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 757


Communication DevicesMODEL=modelnospecifies the model code for the device or device group you are defining. Themodel number can be any model number that is valid for the device or devicegroup as follows:A1 A2B1 B2 B3 B4C1 C2 C3 C4 C5 C6D1 D2 D3 D4 D5 D6 D7 D8E1 E2 E3 E4 E5 E6 E7 E8F1 F2 F3 F4 F5 F6 F7 F8G1 G2 G3 G4 G5 G6 G7 G8H1 H2 H3 H4 H5 H6 H7 H8J1 J2 J3 J4K1 K2 K3 K4L1 L2 L3 L41 2 3 4 5 6 7 8<strong>CP</strong>NAME=cpnameis the 1- to 8-character name of an emulation program. Note that <strong>CP</strong> will notautomatically load this (see “Setting Up a Virtual Machine for CommunicationController Support for Emulator Program (EP)” on page 321).UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.Usage Notes1. z/<strong>VM</strong> supports the 3174 Subsystem Control Unit Model 1L for local channelattachment. For bisynchronous communications attachment, z/<strong>VM</strong> supports theModels 1R, 51R, <strong>and</strong> 81R as dedicated-only through the <strong>VM</strong>/Pass-ThroughFacility (P<strong>VM</strong>) Release 3 or through RSCS networking.2. To define 3705, 3725, <strong>and</strong> 3745 line adapters, see “3705, 3725, <strong>and</strong> 3745 LineAdapters, 2741 Terminal, <strong>and</strong> 3151, 3161, 3162, 3163, <strong>and</strong> 3167 DisplayTerminals” on page 754.Examples1. To specify three Model B1 3705 communications controllers at device numbers0462, 0463, <strong>and</strong> 0464 that have emulation programs named X6000, code theRDEVICE macro as follows:RDEVICE DEVNO=(0462,3),DEVTYPE=3705,MODEL=B1, *ADAPTER=TYPE4,<strong>CP</strong>NAME=X6000758 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Communication DevicesNote: If you need more than one line to code the RDEVICE macro, you mustcode a continuation character in column 72 <strong>and</strong> start the next line incolumn 16.2. To specify a 3725 as a Model D1 3705 communications controller at devicenumber 0465, code the RDEVICE macro as follows:RDEVICE DEVNO=0465,DEVTYPE=3705,MODEL=D1,ADAPTER=TYPE43. To specify a Model 41A 3274 controller at device number 0E0, code theRDEVICE macro as follows:RDEVICE DEVNO=0E0,DEVTYPE=3705,ADAPTER=TYPE4,MODEL=E8Appendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 759


Communication DevicesCTCA, 3088 Multisystem Channel Communication Unit, <strong>and</strong> 3737Remote Channel-to-Channel Unit►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE=CTCA3088,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄PurposeThe CTCA, 3088 MCCU, <strong>and</strong> 3737 are supported as dedicated-only devices.ParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. The variable rdev must be aone- to four-digit hexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default value is 1.DEVTYPE=CTCADEVTYPE=3088specifies the type of device. Specify the 3737 Remote Channel-to-Channel UnitModel 2 as a CTCA.UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.Examples1. To specify a 3088 multisystem channel communication unit logical channeladapter at device number 0100, code the RDEVICE macro as follows:RDEVICE DEVNO=0100,DEVTYPE=30882. To specify CTCAs at device numbers 0101, 0102, <strong>and</strong> 0103, code theRDEVICE macro as follows:RDEVICE DEVNO=(0101,3),DEVTYPE=CTCA760 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Dynamic Switching DevicesDynamic Switching DevicesAppendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 761


Dynamic Switching Devices9032 <strong>and</strong> 9033 ES Connection Directors (ESCDs)►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE= 90329033,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄ParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. The variable rdev must be aone- to four-digit hexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default is 1.DEVTYPE=9032DEVTYPE=9033specifies the type of device (9032 or 9033).UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.ExamplesTo specify a 9032 ES Connection Director at device number 100, code theRDEVICE macro as follows:RDEVICE DEVNO=0100,DEVTYPE=9032762 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Unsupported DevicesUnsupported Devices►►labelRDEVICE DEVNO= rdev(rdev,nnn),DEVTYPE=nnn►► ,CLASS=DASDTAPE ,FEATURE= DPSRESERVE(DPS,RESERVE)(RESERVE,DPS)TERMDISPLAYRDRPRTPUNSWITCH,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄PurposeNote: When you generate a device as an unsupported device, you must dedicatethe device to a virtual machine. Dedicate a device to a virtual machine bycoding the DEDICATE control statement in the virtual machine’s directoryentry or by entering the <strong>CP</strong> ATTACH comm<strong>and</strong>.ParametersDEVNO=rdevDEVNO=(rdev,nnn)DEVNO=rdev specifies a real I/O device number. The variable rdev must be aone- to four-digit hexadecimal number in the range 0 through FFFF.DEVNO=(rdev,nnn) specifies real I/O device numbers for a range of devices.The variable nnn is a decimal repetition count <strong>and</strong> creates a group of realdevice control blocks with consecutive device numbers. The default is 1.DEVTYPE=nnnnwhere nnnn is an unsupported device type.CLASS=DASDCLASS=TAPECLASS=TERMCLASS=DISPLAYCLASS=RDRCLASS=PRTCLASS=PUNCLASS=SWITCHis the device class of the unsupported device; valid classes for unsupporteddevices include:Class ValueClass For Unsupported DeviceDASD Direct access storage devicesTAPE Tape devicesTERM TerminalsAppendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 763


Unsupported DevicesDISPLAYDisplay mode devicesRDR Unit record input devicesPRT Unit record printer devicesPUN Unit record punch devicesSWITCHDynamic switching devices.FEATURE=DPSFEATURE=RESERVEFEATURE=(DPS,RESERVE)FEATURE=(RESERVE,DPS)specifies the optional features for an unsupported DASD or tape device.v DPS should be specified whenever a device is defined as an unsupporteddevice <strong>and</strong> it contains support for the dynamic path selection (DPS) function:CCW comm<strong>and</strong> codes X’34’, Sense Path Group Identifier (SNID), <strong>and</strong> X’AF’,Set Path Group Identifier (SPID).When DPS is specified, <strong>VM</strong>’s control program places <strong>VM</strong>’s path groupidentifier (PGID) in the device’s control unit for each path to the control unit.This enables the use of a single PGID for all devices connected to thecontrol unit, regardless of the number of guests that might be using thedifferent devices on the control unit, how many times a given guest isre-IPLed, or how a given device might be shifted from one guest to anotherover time. A guest operating system such as <strong>IBM</strong>’s MVS/XA <strong>and</strong>MVS/ESA has an ″alternate-PGID″ capability to deal with the <strong>VM</strong> PGID onthese channel paths.When DPS is not specified, <strong>VM</strong> takes no action with regard to path groups orPGIDs. It is the responsibility of the guest to which the unsupported device isdedicated or attached to form <strong>and</strong> maintain path groups, if desired, using theguest’s own PGID. The use of a guest’s PGID is often operationallycumbersome if not unworkable for DPS devices, because a PGID on achannel path to a control unit applies to all devices connected to the controlunit, <strong>and</strong> a PGID can only be changed after clearing any previous PGID witha system-reset of the channel path(s).DPS should not be specified if the guest operating system to which thedevice will be dedicated or attached does not contain “alternate PGID”support.The DPS parameter does not apply to devices that are defined to <strong>VM</strong> assupported devices. In all other cases the DPS parameter, if specified,generates an MNOTE <strong>and</strong> processing for that particular RDEVICE macro isterminated.v RESERVE should be specified whenever a device is defined as anunsupported device <strong>and</strong> the device contains support for the reserve/releasefunction: CCW comm<strong>and</strong> codes X’B4’, Device Reserve (RES), X’94’, DeviceRelease (REL), <strong>and</strong> X’14’, Unconditional Reserve (UR).When RESERVE is specified for an unsupported device, <strong>VM</strong>’s controlprogram issues the Device Release CCW comm<strong>and</strong> to the device wheneverthe virtual machine to which the device is dedicated or attached is reset (bythe System Clear, System Reset, or IPL comm<strong>and</strong>s).If RESERVE is not specified for an unsupported device that contains supportfor the reserve/release function, a malfunction of the guest to which thedevice is dedicated or attached might leave a device reservation held by theguest, preventing the device from being accessed by other sharing systems.764 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Unsupported DevicesThe RESERVE parameter does not apply to devices that are defined to <strong>VM</strong>as supported devices. In these cases the RESERVE parameter, if specified,generates an MNOTE <strong>and</strong> processing for that particular RDEVICE macro isterminated.You can code DPS <strong>and</strong> RESERVE in any order. A single feature does not needto be enclosed in parentheses.UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> frombroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.ExamplesTo specify a type 9000 unsupported DASD, code the RDEVICE macroinstruction asfollows:RDEVICE DEVNO=0FFF,DEVTYPE=9000,CLASS=DASDTo specify an unsupported DASD, that supports dynamic path selection, pick adevice type value that does not correspond to any <strong>IBM</strong> device type; for example,device type 8000 <strong>and</strong> code the RDEVICE macroinstruction as follows:RDEVICE DEVNO=0FE0,DEVTYPE=8000,CLASS=DASD, *FEATURE=DPSTo specify an unsupported DASD, that supports both dynamic path selection <strong>and</strong>reserve/release, pick a device type value that does not correspond to any <strong>IBM</strong>device type; for example device type 7000 <strong>and</strong> code the RDEVICE macroinstructionas follows:RDEVICE DEVNO=0FD0,DEVTYPE=7000,CLASS=DASD, *FEATURE=(DPS,RESERVE)To specify an unsupported tape that supports dynamic path selection, select adevice type value that does not correspond to any <strong>IBM</strong> device type; for exampledevice type 9100 <strong>and</strong> code the RDEVICE macroinstruction as follows:RDEVICE DEVNO=0FE0,DEVTYPE=9100,CLASS=TAPE,FEATURE=DPSAppendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 765


RIOGENRIOGEN►►labelRIOGENCONS=DYNAMICCONS=rdev,,UIRATE=DEFAULT,UIRATE=INFINITYvalue►◄,ALTCONS= ( ▼ rdev )PurposeParametersUse the RIOGEN macroinstruction to complete the real I/O definition <strong>and</strong> define theprimary <strong>and</strong> alternate system consoles. It must appear as the last macroinstructionin the H<strong>CP</strong>RIO file.CONS=DYNAMICtells <strong>CP</strong> that the console addresses are defined in the system configuration file.CONS=rdevspecifies the real hexadecimal device number of the <strong>CP</strong> primary systemconsole. You must specify the real device number in an RDEVICEmacroinstruction. This device must be a locally attached 3270-type supporteddisplay (see “3270-Family Displays” on page 734 for a list of 3270-type displayssupported).ALTCONS=(rdev)ALTCONS=(rdev,...,rdev)specifies the device number or a list of device numbers to be used as alternatesystem consoles. The maximum number of primary <strong>and</strong> alternate consoles is32. If you specify a single device number, you can omit the parentheses.Although you do not need to specify alternate device numbers in an RDEVICEmacroinstruction, you receive an MNOTE if you decide not to do so. Analternate device can be any locally attached 3270-type device. If the primarysystem console is not operational at system initialization, <strong>CP</strong> tries to access thefirst alternate console. If the first alternate console is not operational, <strong>CP</strong> tries tostart the next alternate console, <strong>and</strong> so on. If <strong>CP</strong> finds an operational console, ituses it as the primary system operator’s console. If <strong>CP</strong> cannot find anoperational alternate console (or if you specified no alternate console), <strong>CP</strong>enters a disabled wait state with a wait state code of X'1010' in the PSW.UIRATE=DEFAULTUIRATE=INFINITYUIRATE=valueThis optional parameter allows the detection of a hot I/O occurrence to becustomized for a device.DEFAULT results in 16 unsolicited interrupts per second before a hot I/Ocondition is detected. This value is the same rate used for those devices thathave no UIRATE parameter specified.INFINITY turns hot I/O recovery off for the device.ATTENTION: It is not recommended that you set the UIRATE value toINFINITY for any great length of time. Hot I/O detection protects <strong>CP</strong> from766 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


RIOGENUsageNotesbroken hardware that floods the system with unsolicited interrupts. If you turnHot I/O detection off, you may experience performance degradation or a systemabend.value can be a decimal number from 1 to 62500 which specifies the number ofconsecutive unsolicited interrupts allowed per second before a hot I/O conditionis detected.1. For practical purposes, alternate system consoles should be close to primarysystem consoles. Because the system operator may have to respond tomessages on an alternate console, the most convenient location for an alternateconsole is near the primary console.2. 3250 displays are not valid for the RIOGEN macroinstruction.3. During a software re-IPL caused by either a system incident or the SHUTDOWNREIPL comm<strong>and</strong>, <strong>CP</strong> determines whether the operator virtual machine isconnected to the primary system console. If the operator virtual machine isdisconnected, logged off, or logged onto a console other than the primaryconsole, <strong>CP</strong> disconnects the operator virtual machine when the system isreinitialized. This is a security measure to reduce the risk of <strong>CP</strong> logging theoperator virtual machine on to an unattended console.ExamplesThe following example defines a primary system console (001F) with an alternateconsole (0050).RIOGEN CONS=001F,ALTCONS=0050You can indicate that you are defining console addresses in the systemconfiguration file by coding:RIOGEN CONS=DYNAMICAppendix C. Defining I/O Devices Using H<strong>CP</strong>RIO 767


RIOGEN768 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Appendix D. Configuration Guide for PrintersTable 36 gives the following information for each printer:v The printer type <strong>and</strong> the page in Appendix C, “Defining I/O Devices UsingH<strong>CP</strong>RIO” that describes in detail how to code the RDEVICE macroinstruction forthe printer (including examples)v The DEVTYPE oper<strong>and</strong> you must specifyv The DEVNO oper<strong>and</strong> you must specifyv Optional oper<strong>and</strong>s you can specify.In the tables, the less than () signs indicate that you have achoice of values or oper<strong>and</strong>s, one of which you must choose. The “logical or bar” (|)means or. For example, means you must choose YES or NO as avalue. Never include the , or | in the macroinstruction. When an option appearsin bold, underlined letters, that option is the default.Before coding the RDEVICE macroinstruction for a device, make sure you consultany pertinent notes that appear at end of the table.Important NoteMany of the printers discussed in this appendix can be sensed by <strong>CP</strong> ordefined in the system configuration file using the RDEVICE statement. Formore information about sensing devices, see Chapter 5, “Defining I/ODevices,” on page 45. For more information about the RDEVICE statement,see page 188.Table 36. Configuration Guide for PrintersDevice Type DEVTYPE Required Oper<strong>and</strong>s Optional Oper<strong>and</strong>sAdvanced FunctionPrinters: see page 708AFP1DEVNO=3203 printer: see page 716 3203 DEVNO=Devices that emulate a3211 printer: see page 7163211 DEVNO=MODEL=5CLASS=CHARS=DEST=AFP=FCB=FEATURE=UNVCHSETFORM=SEP=IMAGE=FOLD=CLASS=CHARS=DEST=AFP=FCB=FEATURE=UNVCHSETFORM=SEP=IMAGE=FOLD=INDEX=© Copyright <strong>IBM</strong> Corp. 1991, 2004 769


Configuration Guide for PrintersTable 36. Configuration Guide for Printers (continued)Device Type DEVTYPE Required Oper<strong>and</strong>s Optional Oper<strong>and</strong>s3216 display printer: seepage 7083262 display printer: seepage 7133262 impact printer: seepage 7163286 display printer: seepage 7133268 display printer: seepage 7133287 display printer: seepage 7133288 display line printer:see page 7133289 display line printer:see page 7133800 printer: see pages721 <strong>and</strong> 708AFP1DEVNO=3287 DEVNO=3262Note 1DEVNO=3286 DEVNO=3287 DEVNO=3287 DEVNO=3288 DEVNO=3289 DEVNO=3800Note 2DEVNO=3812 printer: see page 708 AFP1 DEVNO=3816 printer: see page 708 AFP1 DEVNO=3820 printer: see page 708 AFP1 DEVNO=3827 printer: see page 708 AFP1 DEVNO=3835 printer: see page 708 AFP1 DEVNO=4214 display printer: seepage 7134224 display printer: seepage 7133287 DEVNO=3287 DEVNO=MODEL=5CLASS=CHARS=DEST=AFP=FCB=FORM=SEP=IMAGE=FOLD=MODEL=CLASS=CHARS=ffffDEST=AFP=DPMSIZE=FCB=FEATURE=4WCGMSFLASH=flashlibFORM=IMAGE=SEP=770 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Configuration Guide for PrintersTable 36. Configuration Guide for Printers (continued)Device Type DEVTYPE Required Oper<strong>and</strong>s Optional Oper<strong>and</strong>s4234 display printer: seepage 7134245 display printer: seepage 7134245 impact printer: seepage 7163287 DEVNO=3287 DEVNO=42454248 printer: see page 716 42485210 display printer: seepage 7136262 display printer: seepage 7136262 impact printer: seepage 716Notes:Note 3Note 4DEVNO=DEVNO=3287 DEVNO=3287 DEVNO=4248 DEVNO=1. If a 3262 is in 4248-compatibility mode, specify DEVTYPE=4248.MODEL=CLASS=DEST=AFP=FCB=FORM=SEP=IMAGE=FOLD=MODEL=1CLASS=DEST=AFP=FCB=FORM=SEP=IMAGE=FOLD=MODEL=1CLASS=DEST=AFP=FCB=fcbnameFORM=SEP=IMAGE=imagelibFOLD=2. If a 3800-3 or 3800-6 is run in 3800-1 compatibility mode, specify MODEL=1. If a 3800-3, 3800-6, or 3800-8 isused as an advanced function printer, specify DEVTYPE=AFP1.3. If the 4245-1 is in 3262-compatibility mode, specify DEVTYPE=3262.4. If a 4248-1 or 4248-2 is in 3211-compatibility mode, specify DEVTYPE=3211. When specifying a 4248-2 as a4248, specify MODEL=1.Appendix D. Configuration Guide for Printers 771


Configuration Guide for Printers772 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Appendix E. Device Class <strong>and</strong> Type CodesDevice Class DefinitionsThis appendix is the H<strong>CP</strong>DVTYP copy file <strong>and</strong> can be found in macro libraryH<strong>CP</strong>OM1.DEVCLAS BIT DEFINITIONS DEVICE CLASSESCLASAIF EQU X’FF’ Adapter-Interrupt-Facility (AIF) ClassCLASTERM EQU X’80’ TERMINAL DEVICE CLASSCLASGRAF EQU X’40’ GRAPHIC DISPLAY DEVICE CLASSCLASGRFR EQU X’41’ GRAPHIC DISPLAY DEVICE CLASS (REMOTE)CLASPOOL EQU X’20’ UNIT RECORD SPOOLING DEVICE CLASSCLASTAPE EQU X’08’ MAGNETIC TAPE DEVICE CLASSCLASDASD EQU X’04’ DIRECT ACCESS STORAGE DEVICE CLASSCLASSPEC EQU X’02’ SPECIAL DEVICE CLASSCLASSVCM EQU X’10’ SIMULATED DEVICE CLASSCLASSWCH EQU X’01’ SWITCH DEVICE CLASSDevice Type Definitions within Device ClassesDEVTYPE BIT DEFINITIONS DEVICE TYPES BY DEVICE CLASSESTYP2700 EQU X’80’ TERM - 2700 BISYNC LINETYPBSC EQU X’88’ TERM - BISYNC LINE FOR 3270REMOTE STATIONTYPCONS EQU X’40’ TERM - CONSOLE DEVICETYP3215 EQU X’40’ TERM - 3215 CONSOLETYP1052 EQU X’40’ TERM - 1052 CONSOLETYPTTY EQU X’20’ TERM - USASCII-8 TELEGRAPH TERMINALTYP<strong>IBM</strong>1 EQU X’10’ TERM - <strong>IBM</strong> TERMINAL CONTROL TYPE 1TYPUNDEF EQU X’1C’ TERM - TERMINAL TYPE UNDEFINEDTYP2741 EQU X’18’ TERM - 2741 COMMUNICATIONS TERMINALTYP3767 EQU X’18’ TERM - 3767 IN 2741 COMPATIBILITY MODETYP1050 EQU X’14’ TERM - 1050 COMMUNICATIONS TERMINALTYPSDLC EQU X’08’ TERM - SDLC INTEGRATED ADAPTERTYPTELE2 EQU X’20’ TERM - TELE2 INTEGRATED ADAPTERTYPHDLC EQU X’24’ TERM - HDLC INTEGRATED ADAPTERTYPILAN EQU X’28’ TERM - ILAN INTEGRATED ADAPTERTYPELAN EQU X’28’ TERM - ELAN INTEGRATED ADAPTERTYPIC EQU X’04’ TERM - Integrated consoleTYP3270 EQU X’40’ GRAF - 3270 GENERIC DISPLAY STATIONTYP3277 EQU X’80’ GRAF - 3277 DISPLAY STATIONTYP3278 EQU X’40’ GRAF - 3278 DISPLAY STATIONTYP3178 EQU X’40’ GRAF - 3178 DISPLAY STATIONTYP3279 EQU X’40’ GRAF - 3279 DISPLAY STATIONTYP3179 EQU X’40’ GRAF - 3179 DISPLAY STATIONTYP3180 EQU X’40’ GRAF - 3180 DISPLAY STATIONTYP3290 EQU X’40’ GRAF - 3290 DISPLAY STATIONTYP3190 EQU X’40’ GRAF - 3190 DISPLAY STATIONTYP3271 EQU X’20’ GRAF - 3271 CONTROLLER (REMOTE)*YP3274 EQU X’21’ GRAF - 3274 CONTROLLER (REMOTE)TYP3275 EQU X’10’ GRAF - 3275 DISPLAY STATION*YP3276 EQU X’11’ GRAF - 3276 DISPLAY STATIONTYP3284 EQU X’08’ GRAF - 3284 PRINTERTYP3286 EQU X’08’ GRAF - 3286 PRINTERTYP3287 EQU X’09’ GRAF - 3287 PRINTERTYP3288 EQU X’08’ GRAF - 3288 PRINTERTYP3289 EQU X’09’ GRAF - 3289 PRINTERTYP3287L EQU X’08’ GRAF - 3287 LOGICAL PRINTERTYP3289L EQU X’08’ GRAF - 3289 LOGICAL PRINTERTYP2250 EQU X’04’ GRAF - 2250 DISPLAY UNIT© Copyright <strong>IBM</strong> Corp. 1991, 2004 773


Device Class <strong>and</strong> Type CodesTYP3250 EQU X’04’ GRAF - 3250 DISPLAY UNITTYP5080 EQU X’06’ GRAF - 5080 DISPLAY UNITTYPCLUST EQU X’30’ GRAF - CLUSTER CTLR (3271 OR 3275)TYPRDR EQU X’80’ SPOL - CARD READER DEVICETYP2501 EQU X’81’ SPOL - 2501 CARD READERTYP2540R EQU X’82’ SPOL - 2540 CARD READERTYP3505 EQU X’84’ SPOL - 3505 CARD READERTYPPUN EQU X’40’ SPOL - CARD PUNCH DEVICETYP2540P EQU X’42’ SPOL - 2540 CARD PUNCHTYP3525 EQU X’44’ SPOL - 3525 CARD PUNCHTYPPRT EQU X’20’ SPOL - PRINTER TYPE DEVICETYP1403 EQU X’21’ SPOL - 1403 PRINTERTYP32XX EQU X’22’ SPOL - 3203 OR 3211 PRINTERTYP3203 EQU X’26’ SPOL - 3203 PRINTERTYP3211 EQU X’22’ SPOL - 3211 PRINTERTYP3800 EQU X’28’ SPOL - 3800 PRINTERTYP3262 EQU X’23’ SPOL - 3262 PRINTERTYP4245 EQU X’24’ SPOL - 4245 PRINTERTYP4248 EQU X’29’ SPOL - 4248 PRINTERTYP3820 EQU X’25’ SPOL - 3820 PRINTER - DEDICATED ONLYTYPAFP1 EQU X’27’ SPOL - AFP1 PRINTER - DEDICATED ONLYTYPVAFP EQU X’2A’ SPOL - VAFP PRINTER - SIMULATED ONLYTYPSYS EQU X’10’ SPOL - SYSTEM VIRT DEVICE FOR DUMPSTYP3420 EQU X’10’ TAPE - 3420 TAPE DRIVETYP3422 EQU X’80’ TAPE - 3422 TAPE DRIVETYP3424 EQU X’42’ TAPE - 3424 TAPE DRIVETYP3430 EQU X’20’ TAPE - 3430 TAPE DRIVETYP3480 EQU X’40’ TAPE - 3480 TAPE DRIVETYP3490 EQU X’81’ TAPE - 3490 TAPE DRIVETYP3590 EQU X’83’ TAPE - 3590 TAPE DRIVETYP9348 EQU X’44’ TAPE - 9348 TAPE DRIVETYP3330 EQU X’40’ DASD - 3330 DISK STORAGE FACILITYTYP3340 EQU X’20’ DASD - 3340 DISK STORAGE FACILITYTYP3350 EQU X’10’ DASD - 3350 DISK STORAGE FACILITYTYP3350C EQU X’11’ DASD - 3350 4 X 8 PAGING STORAGETYP3350D EQU X’12’ DASD - 3350 4 X 4 PAGING STORAGETYP2305 EQU X’08’ DASD - 2305 FIXED HEAD STORAGE FACILITYTYP3380 EQU X’04’ DASD - 3380 DISK STORAGE FACILITYTYP3390 EQU X’82’ DASD - 3390 DISK STORAGE FACILITYTYP3375 EQU X’80’ DASD - 3375 DISK STORAGE FACILITYTYP3370 EQU X’02’ DASD - 3370 DISK STORAGE FACILITYTYP9345 EQU X’81’ DASD - 9345 DISK STORAGE FACILITYTYP9332 EQU X’21’ DASD - 9332 FBA DASDTYP9335 EQU X’22’ DASD - 9335 FBA DASDTYP9336 EQU X’24’ DASD - 9336 FBA DASDTYPFBA EQU X’28’ DASD - GENERIC FBA DASDTYP9033 EQU X’40’ SWCH - 9033 SWITCH DEVICETYP9032 EQU X’80’ SWCH - 9032 SWITCH DEVICETYP2032 EQU X’20’ SWCH - 2032 FICON Switch deviceTYPCTCA EQU X’80’ SPEC - CHANNEL TO CHANNEL ADAPTERTYP3088 EQU X’80’ SPEC - 3088 MULTISYSTEM CHANNELCOMMUNICATION UNITTYP3704 EQU X’40’ SPEC - 3704 PROGRAMMABLECOMMUNICATION CONTROL UNITTYP3705 EQU X’40’ SPEC - 3705 PROGRAMMABLECOMMUNICATION CONTROL UNITTYPOSA EQU X’20’ SPEC - OPEN SYSTEMS ADAPTER DEVICETYP3851 EQU X’02’ SPEC - MSS MASS STORAGE COMMUNICATORTYP3890 EQU X’08’ SPEC - 3890 DOCUMENT PROCESSORTYPUNSUP EQU X’01’ SPEC - DEVICE UNSUPPORTED BYTHE <strong>VM</strong>/370 MIGRATION AIDTYPF<strong>CP</strong> EQU X’10’ SPEC - Open F<strong>CP</strong> Adapter (F<strong>CP</strong>)TYPDYNIO EQU X’02’ VCM - Dynamic I/OTYPMSGF EQU X’01’ VCM - Message Facility774 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Device Class <strong>and</strong> Type CodesTYPAIF0 EQU X’00’ AIF - AIF Adapter Type 0Device Features by Class <strong>and</strong> TypeDevice Model DefinitionsDEVFEAT BIT DEFINITIONS FEATURES OF DEVICES BY CLASS/TYPEFTROPRDR EQU X’80’ GRAF - OPERATOR ID CARD READERFTRDIAL EQU X’01’ GRAF - 3275 WITH SWITCHED LINE SUPPORTFTRUCS EQU X’01’ SPOL - UCS FEATUREFTR4WCGM EQU X’80’ SPOL - 3800 WITH FOUR WRITEABLECHARACTER GENERATION MODULESFTR7TRK EQU X’80’ TAPE - 7-TRACK FEATUREFTRDUAL EQU X’40’ TAPE - DUAL DENSITY FEATUREFTRTRAN EQU X’20’ TAPE - TRANSLATE FEATUREFTRCONV EQU X’10’ TAPE - DATA CONVERSION FEATUREFTRCMPCT EQU X’08’ TAPE - DATA COMPACTION FEATUREFTRRPS EQU X’80’ DASD - ROTATIONAL POSITIONAL SENSINGFTRDYNP EQU X’40’ DASD/TAPE - DYNAMIC PATHING FEATUREFTRVUA EQU X’20’ DASD - 3330V THAT MAY BE DEDICATEDTO A VIRTUAL MACHINE*TRSYSV EQU X’10’ DASD - 3330V THAT MAY BE USED BY<strong>VM</strong> FOR MOUNTING MSS SYSTEMVOLUMESFTR35MB EQU X’08’ DASD - 35 MB DATA MODULE (3340)FTR70MB EQU X’04’ DASD - 70 MB DATA MODULE (3340)FTRRSRL EQU X’02’ DASD/TAPE/SPEC - RESERVE/RELEASECCW FEATUREFTRCOMP EQU X’01’ DASD - 3350 IN 3330 COMPAT. MODEFTRTERM EQU X’80’ SPEC - UNSUPPORTED TERMINAL DEVICEFTRGRAF EQU X’40’ SPEC - UNSUPPORTED GRAPHIC DISPLAYDEVICEFTRSPOOL EQU X’20’ SPEC - UNSUPPORTED UNIT RECORDSPOOLING DEVICEFTRTAPE EQU X’08’ SPEC - UNSUPPORTED MAGNETIC TAPEDEVICEFTRDASD EQU X’04’ SPEC - UNSUPPORTED DIRECT ACCESSDEVICEFTRSWCH EQU X’01’ SPEC - UNSUPPORTED DYNAMIC SWITCHFTRTYP1 EQU X’10’ SPEC - TYPE ONE CHANNEL ADAPTERFTRTYP4 EQU X’40’ SPEC - TYPE FOUR CHANNEL ADAPTERNote: This list contains only commonly compared model numbers. It is NOT acomplete list of supported devices or models.DE<strong>VM</strong>ODEL CODE DEFINITIONS RDEVD<strong>VM</strong>N DEVICE MODEL NUMBERSM230502 EQU X’02’ DASD - 2305 MODEL 2M333001 EQU X’01’ DASD - 3330 MODEL 1 (404 CYLINDERS)M333002 EQU X’01’ DASD - 3330 MODEL 2 (404 CYLINDERS)M333011 EQU X’11’ DASD - 3330 MODEL 11(808 CYLINDERS)M3380E EQU X’0A’ DASD - 3380 MODEL EM3380K EQU X’1E’ DASD - 3380 MODEL KM3390N EQU X’02’ DASD - 3390 MODEL 1 NATIVE MODEM3390E EQU X’96’ DASD - 3390 MODEL 1 EMULATION MODEM3391N EQU X’06’ DASD - 3390 MODEL 2 NATIVE MODEM3391E EQU X’8A’ DASD - 3390 MODEL 2 EMULATION MODEM3393N EQU X’0A’ DASD - 3390 MODEL 3 NATIVE MODEM3393E EQU X’9E’ DASD - 3390 MODEL 3 EMULATION MODEM3399N EQU X’0C’ DASD - 3390 MODEL 9 NATIVE MODEM934500 EQU X’00’ DASD - 9345 MODEL 1M934504 EQU X’04’ DASD - 9345 MODEL 2Appendix E. Device Class <strong>and</strong> Type Codes 775


Device Class <strong>and</strong> Type CodesM380001 EQU X’01’ SPOL - 3800 PRINTER MODEL 1M380003 EQU X’03’ SPOL - 3800 PRINTER MODEL 3M380008 EQU X’08’ SPOL - 3800 PRINTER MODEL 8M327702 EQU X’02’ GRAF - 3277 DISPLAY STATION MODEL 2M308861 EQU X’61’ SPEC - 3088 CTCA PCA adaptor cardwith CLAW support.M308862 EQU X’62’ SPEC - 3088 OSA cardCUT1731 EQU X’1731’ SPEC - OSA Express Control Unit TypeDVT1731 EQU X’1731’ SPEC - OSA Direct Express Agent DEVDVT1732 EQU X’1732’ SPEC - OSA Direct Express Device Type776 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Appendix F. St<strong>and</strong>-Alone Dump FormatsThe following sections describe the tape, DASD, <strong>and</strong> printer formats of st<strong>and</strong>-alonedumps.TapeFormatA tape used with the st<strong>and</strong>-alone dump facility has the format shown in Figure 42on page 778.v If the IPL tape <strong>and</strong> the dump device are not the same, the IPL tape includessections A, B, <strong>and</strong> C.v If the dump device is a tape, but not the same tape as the IPL tape, the dumpoutput tape includes sections C <strong>and</strong> D.v If the IPL device <strong>and</strong> the dump device are the same, the tape includes sectionsA, B, C, <strong>and</strong> D.© Copyright <strong>IBM</strong> Corp. 1991, 2004 777


St<strong>and</strong>-Alone Dump Formats┌─────────┬─────────┬─────────┐│ │ │ ││ IPL │BOOTSTRAP│ SAD ││Sequence │ │ Program ││ │ │ │└─────────┴─────────┴─────────┘│◄──────────── A ────────────►│┌─────────┬─────────┬─────────┬────┬─────────┬─────────┐│ │ │ │ // │ │ ││Predumped│Predumped│Predumped│ // │Predumped│Predumped││ Page │ Page │ Page │ // │ Page │ Page ││ 0 │ 1 │ 2 │ // │ 8 │ 9 ││ │ │ │ // │ │ │└─────────┴─────────┴─────────┴────┴─────────┴─────────┘|◄─────────────────────────── B ────────────────────────┌────────┐│ ****** ││ *Tape* ││ *Mark* ││ ****** │└────────┘│◄─ C ──►│┌─────────┬─────────┬─────────┬──────────┬───┬─────────┬───────┬───────┐│ │ Symptom │Dump File│Dump File │// │Dump File│Dumped │Address││ Tape │ Record │ Map │ Info │// │ Info │ Access│ Space ││ Label │ │ Record │ Record │// │ Record │ List │ Info ││ │ │ │ Page 1 │// │ Page 5 │ Block │ Block │└─────────┴─────────┴─────────┴──────────┴───┴─────────┴───────┴───────┘│◄──────────────────────────────────── D ───────────────────────────────┌──────────┬──┬────────┬───────────┬──┬────────┐│ 1st Bit │//│ Last │ First │//│ Last ││ Map │//│ Bit Map│ Storage │//│ Storage││ Record │//│ Record │ Key │//│ Key ││ │//│ │ Record │//│ Record │└──────────┴──┴────────┴───────────┴──┴────────┘───────────────── D ─────────────────────────────┌─────────┬──────────┬──┬─────────┬─────────┬────────┬────────┐│ 1st Page│ 2nd Page │//│Last Page│ EOV or │ ****** │ ****** ││ Dumped │ Dumped │//│ Dumped │ EOT │ *TAPE* │ *TAPE* ││ Storage │ Storage │//│ Storage │ Record │ *MARK* │ *MARK* ││ │ │//│ │ │ ****** │ ****** │└─────────┴──────────┴──┴─────────┴─────────┴────────┴────────┘───────────────── D ─────────────────────────────────────────►|A Written by the st<strong>and</strong>-alone dump utility on the IPL tape at generation time.B Written by BOOTSTRAP on the IPL tape.C Written by BOOTSTRAP if the IPL tape is the same as the dump tape.Written by the st<strong>and</strong>-alone dump program if the IPL tape is not the same asthe dump tape.D Written by the st<strong>and</strong>-alone dump program on the dump tape.Figure 42. St<strong>and</strong>-Alone Dump Facility Tape Format778 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


St<strong>and</strong>-Alone Dump FormatsDASD FormatWhen you use a DASD device to IPL the st<strong>and</strong>-alone dump program, the systemuses cylinder 0 to hold the program. Cylinder 0 must be <strong>CP</strong>-formatted <strong>and</strong> allocatedas permanent space. The st<strong>and</strong>-alone dump facility has the format shown inFigure 43.┌─────────┬─────────┬─────────┬─────────┐│ C0T0R1 │ COT0R2 │ C0T0R3 │ C0T0R4 │├─────────┼─────────┼─────────┼─────────┤│ │ │ │ ││ IPL │BOOTSTRAP│ VOLUME │ ALLOC. ││Sequence │ Part 1 │ LABEL │ MAP ││ │ │ │ │└─────────┴─────────┴─────────┴─────────┘│◄─────── A ───────►│◄─────── B ───────►│┌─────────┬─────────┬─────────┬─────────┐│ C0T1R1 │ C0T1R2 │ C0T2R1 │ C0T3R1 │├─────────┼─────────┼─────────┼─────────┤│ │ │ │ ││BOOTSTRAP│ SAD │ SAD │Predumped││ Part 2 │ Part 2 │ Part 3 │ Page ││ <strong>and</strong> SAD │ │ │ 0 ││ Part 1 │ │ │ │└─────────┴─────────┴─────────┴─────────┘│◄──────────── A ────────────►│◄── C ──►|┌─────────┬─────────┬─────────┬─────────┬─────────┐│ C0T3R2 │ C0T4R1 │ C0T4R2 │ C0T5R1 │ C0T5R2 │├─────────┼─────────┼─────────┼─────────┼─────────┤│ │ │ │ │ ││Predumped│Predumped│Predumped│Predumped│Predumped││ Page │ Page │ Page │ Page │ Page ││ 1 │ 2 │ 3 │ 4 │ 5 ││ │ │ │ │ │└─────────┴─────────┴─────────┴─────────┴─────────┘│◄────────────────────── D ────────────────────────┌─────────┬─────────┬─────────┬─────────┐│ C0T6R1 │ C0T6R2 │ C0T7R1 │ C0T7R2 │├─────────┼─────────┼─────────┼─────────┤│ │ │ │ ││Predumped│Predumped│Predumped│Predumped││ Page │ Page │ Page │ Page ││ 6 │ 7 │ 8 │ 9 ││ │ │ │ │└─────────┴─────────┴─────────┴─────────┘│◄────────────────────── D ─────────────|A Written by the st<strong>and</strong>-alone dump utility on the IPL DASD at generation time.B Written by the FORMAT/ALLOCATE program.C Written by the BOOTSTRAP Part 1 on the IPL DASD.D Written by the BOOTSTRAP Part 2 on the IPL DASD.CnTnRn identifies cylinder, track, <strong>and</strong> record numbers.Figure 43. St<strong>and</strong>-Alone Dump Facility DASD FormatAppendix F. St<strong>and</strong>-Alone Dump Formats 779


St<strong>and</strong>-Alone Dump FormatsPrinter FormatDumps to printer devices are printed as follows:v <strong>CP</strong> formats the following data fields for each processor, beginning with theprocessor where the st<strong>and</strong>-alone dump program was IPLed:– The <strong>CP</strong>U address– General purpose registers– Control registers– Access registers (only if multiple address spaces [MAS] is installed)– Floating point registers 0, 2, 4, <strong>and</strong> 6– The TOD clock (only for the processor where the st<strong>and</strong>-alone dump programwas IPLed)– <strong>CP</strong>U timer values– The TOD clock comparator– The prefix register (when valid)– The stored-status PSW (only for non-IPL processors <strong>and</strong> only if there is avalid prefix register)– Old/new PSWs for the IPL processor when there is a valid prefix register:- External interrupt- SVC- Program check- Machine check- I/O interrupt.– The print storage start at absolute page 0.v Lines of duplicate data evoke a suppression message after the first line of thedata is printed.v A full page (4096 bytes) of all zeros has one line of zeros printed with the key,followed by a line-suppressed message.v The dump page is interpreted on the right-h<strong>and</strong> side of the printout.780 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Notices<strong>IBM</strong> may not offer the products, services, or features discussed in this document inall countries. Consult your local <strong>IBM</strong> representative for information on the products<strong>and</strong> services currently available in your area. Any reference to an <strong>IBM</strong> product,program, or service is not intended to state or imply that only that <strong>IBM</strong> product,program, or service may be used. Any functionally equivalent product, program, orservice that does not infringe any <strong>IBM</strong> intellectual property right may be usedinstead. However, it is the user’s responsibility to evaluate <strong>and</strong> verify the operationof any non-<strong>IBM</strong> product, program, or service.<strong>IBM</strong> may have patents or pending patent applications covering subject matterdescribed in this document. The furnishing of this document does not give you anylicense to these patents. You can send license inquiries, in writing, to:<strong>IBM</strong> Director of Licensing<strong>IBM</strong> CorporationNorth Castle DriveArmonk, New York 10594-1785U.S.A.For license inquiries regarding double-byte (DBCS) information, contact the <strong>IBM</strong>Intellectual Property Department in your country or send inquiries, in writing, to:<strong>IBM</strong> World Trade Asia CorporationLicensing2-31 Roppongi 3-chome, Minato-kuTokyo 106, JapanThe following paragraph does not apply to the United Kingdom or any othercountry where such provisions are inconsistent with local law:INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THISPUBLICATION “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIESOF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR APARTICULAR PURPOSE. Some states do not allow disclaimer of express orimplied warranties in certain transactions, therefore, this statement may not apply toyou.This information could include technical inaccuracies or typographical errors.Changes are periodically made to the information herein; these changes will beincorporated in new editions of the publication. <strong>IBM</strong> may make improvements <strong>and</strong>/orchanges in the product(s) <strong>and</strong>/or the program(s) described in this publication at anytime without notice.Any references in this information to non-<strong>IBM</strong> Web sites are provided forconvenience only <strong>and</strong> do not in any manner serve as an endorsement of thoseWeb sites. The materials at those Web sites are not part of the materials for this<strong>IBM</strong> product <strong>and</strong> use of those Web sites is at your own risk.<strong>IBM</strong> may use or distribute any of the information you supply in any way it believesappropriate without incurring any obligation to you.Licensees of this program who wish to have information about it for the purpose ofenabling: (i) the exchange of information between independently created programs© Copyright <strong>IBM</strong> Corp. 1991, 2004 781


<strong>and</strong> other programs (including this one) <strong>and</strong> (ii) the mutual use of the informationwhich has been exchanged, should contact:<strong>IBM</strong> CorporationMail Station P3002455 South RoadPoughkeepsie, New York 12601-5400U.S.A.Attention: Information RequestSuch information may be available, subject to appropriate terms <strong>and</strong> conditions,including in some cases, payment of a fee.The licensed program described in this information <strong>and</strong> all licensed materialavailable for it are provided by <strong>IBM</strong> under terms of the <strong>IBM</strong> Customer Agreement,<strong>IBM</strong> International Program License Agreement, or any equivalent agreementbetween us.Any performance data contained herein was determined in a controlledenvironment. Therefore, the results obtained in other operating environments mayvary significantly. Some measurements may have been made on development-levelsystems <strong>and</strong> there is no guarantee that these measurements will be the same ongenerally available systems. Furthermore, some measurement may have beenestimated through extrapolation. Actual results may vary. Users of this documentshould verify the applicable data for their specific environment.Information concerning non-<strong>IBM</strong> products was obtained from the suppliers of thoseproducts, their published announcements, or other publicly available sources. <strong>IBM</strong>has not tested those products <strong>and</strong> cannot confirm the accuracy of performance,compatibility, or any other claims related to non-<strong>IBM</strong> products. Questions on thecapabilities of non-<strong>IBM</strong> products should be addressed to the suppliers of thoseproducts.All statements regarding <strong>IBM</strong>’s future direction or intent are subject to change orwithdrawal without notice, <strong>and</strong> represent goals <strong>and</strong> objectives only.This information may contain examples of data <strong>and</strong> reports used in daily businessoperations. To illustrate them as completely as possible, the examples include thenames of individuals, companies, br<strong>and</strong>s, <strong>and</strong> products. All of these names arefictitious <strong>and</strong> any similarity to the names <strong>and</strong> addresses used by an actual businessenterprise is entirely coincidental.COPYRIGHT LICENSE:This information may contain sample application programs in source language,which illustrates programming techniques on various operating platforms. You maycopy, modify, <strong>and</strong> distribute these sample programs in any form without payment to<strong>IBM</strong>, for the purposes of developing, using, marketing, or distributing applicationprograms conforming to <strong>IBM</strong>’s application programming interfaces. These exampleshave not been thoroughly tested under all conditions. <strong>IBM</strong>, therefore, cannotguarantee or imply reliability, serviceability, or function of these programs.Programming Interface InformationThis book documents intended Programming Interfaces that allow the customer towrite programs to obtain services of z/<strong>VM</strong>.782 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


TrademarksThe following terms are trademarks of the International Business MachinesCorporation in the United States, or other countries, or both:Advanced Function PrintingAFPDFSMS/<strong>VM</strong>DirMaintECKDEnterprise Storage ServerESCONeServerFICONHiperSockets<strong>IBM</strong><strong>IBM</strong>LinkLanguage EnvironmentMVSMVS/ESAMVS/XAOpenExtensionsOS/390Performance Toolkit for <strong>VM</strong>Print Services FacilityRACFRAMACRETAINS/360S/370SAASQL/DSSystem/370System/390Systems Application ArchitectureTotalStorage<strong>VM</strong>/ESAVTAMz/Architecturez/OSz/<strong>VM</strong>zSeries30903890Linux is a trademark of Linus Torvalds in the United States, other countries, or both.Other company, product, <strong>and</strong> service names may be trademarks or service marksof others.Notices 783


784 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


GlossaryFor a list of z/<strong>VM</strong> terms <strong>and</strong> their definitions, seethe z/<strong>VM</strong>: Glossary book.The glossary is also available through the onlineHELP Facility. For example, to display thedefinition of “cms”, enter:help glossary cmsYou will enter the glossary HELP file <strong>and</strong> thedefinition of “cms” will be displayed as the currentline. While you are in the glossary HELP file, youcan also search for other terms.If you are unfamiliar with the HELP Facility, youcan enter:helpto display the main HELP menu, or enter:help cms helpfor information about the HELP comm<strong>and</strong>.For more information about the HELP Facility, seethe z/<strong>VM</strong>: CMS User’s Guide.© Copyright <strong>IBM</strong> Corp. 1991, 2004 785


786 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


BibliographyThis bibliography lists the books in the z/<strong>VM</strong>product library. For abstracts of these books <strong>and</strong>information about current editions <strong>and</strong> availablemedia, see z/<strong>VM</strong>: General Information.Where to Get z/<strong>VM</strong> Booksz/<strong>VM</strong> books are available from the followingsources:v <strong>IBM</strong> Publications Center atwww.ibm.com/shop/publications/order/v z/<strong>VM</strong> Internet Library atwww.ibm.com/eserver/zseries/zvm/library/v <strong>IBM</strong> eServer zSeries Online Library: z/<strong>VM</strong>Collection CD-ROM, SK2T-2067z/<strong>VM</strong> Base LibraryThe following books describe the facilities includedin the z/<strong>VM</strong> base product.SystemOverviewz/<strong>VM</strong>: General Information, GC24-6095z/<strong>VM</strong>: Glossary, GC24-6097z/<strong>VM</strong>: License Information, GC24-6102z/<strong>VM</strong>: Migration Guide, GC24-6103Installation <strong>and</strong> Servicez/<strong>VM</strong>: Guide for Automated Installation <strong>and</strong>Service, GC24-6099z/<strong>VM</strong>: Service Guide, GC24-6117z/<strong>VM</strong>: <strong>VM</strong>SES/E Introduction <strong>and</strong> Reference,GC24-6130<strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>z/<strong>VM</strong>: CMS File Pool <strong>Planning</strong>, <strong>Administration</strong>,<strong>and</strong> Operation, SC24-6074z/<strong>VM</strong>: CMS <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>,SC24-6078z/<strong>VM</strong>: Connectivity, SC24-6080z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>,SC24-6083z/<strong>VM</strong>: Getting Started with Linux on zSeries,SC24-6096z/<strong>VM</strong>: Group Control System, SC24-6098z/<strong>VM</strong>: I/O Configuration, SC24-6100z/<strong>VM</strong>: Performance, SC24-6109z/<strong>VM</strong>: Running Guest Operating Systems,SC24-6115z/<strong>VM</strong>: Saved Segments <strong>Planning</strong> <strong>and</strong><strong>Administration</strong>, SC24-6116z/<strong>VM</strong>: Secure Configuration Guide, SC24-6138z/<strong>VM</strong>: T<strong>CP</strong>/IP <strong>Planning</strong> <strong>and</strong> Customization,SC24-6125eServer zSeries 900: <strong>Planning</strong> for the OpenSystems Adapter-2 Feature, GA22-7477eServer zSeries: Open SystemsAdapter-Express Customer’s Guide <strong>and</strong>Reference, SA22-7935eServer zSeries: Open SystemsAdapter-Express Integrated Console ControllerUser’s Guide, SA22-7990z/OS <strong>and</strong> z/<strong>VM</strong>: Hardware ConfigurationManager User’s Guide, SC33-7989Customizationz/<strong>VM</strong>: <strong>CP</strong> Exit Customization, SC24-6082Operationz/<strong>VM</strong>: System Operation, SC24-6121z/<strong>VM</strong>: Virtual Machine Operation, SC24-6128ApplicationProgrammingz/<strong>VM</strong>: CMS Application Development Guide,SC24-6069z/<strong>VM</strong>: CMS Application Development Guide forAssembler, SC24-6070z/<strong>VM</strong>: CMS Application Multitasking,SC24-6071z/<strong>VM</strong>: CMS Callable Services Reference,SC24-6072z/<strong>VM</strong>: CMS Macros <strong>and</strong> Functions Reference,SC24-6075z/<strong>VM</strong>: <strong>CP</strong> Programming Services, SC24-6084z/<strong>VM</strong>: <strong>CP</strong>I Communications User’s Guide,SC24-6085z/<strong>VM</strong>: Enterprise SystemsArchitecture/Extended Configuration Principlesof Operation, SC24-6094z/<strong>VM</strong>: Language Environment User’s Guide,SC24-6101z/<strong>VM</strong>: OpenExtensions Advanced ApplicationProgramming Tools, SC24-6104© Copyright <strong>IBM</strong> Corp. 1991, 2004 787


Endz/<strong>VM</strong>: OpenExtensions Callable ServicesReference, SC24-6105z/<strong>VM</strong>: OpenExtensions Comm<strong>and</strong>s Reference,SC24-6106z/<strong>VM</strong>: OpenExtensions POSIX ConformanceDocument, GC24-6107z/<strong>VM</strong>: OpenExtensions User’s Guide,SC24-6108z/<strong>VM</strong>: Program Management Binder for CMS,SC24-6110z/<strong>VM</strong>: Reusable Server Kernel Programmer’sGuide <strong>and</strong> Reference, SC24-6112z/<strong>VM</strong>: REXX/<strong>VM</strong> Reference, SC24-6113z/<strong>VM</strong>: REXX/<strong>VM</strong> User’s Guide, SC24-6114z/<strong>VM</strong>: Systems Management ApplicationProgramming, SC24-6122z/<strong>VM</strong>: T<strong>CP</strong>/IP Programmer’s Reference,SC24-6126Common Programming InterfaceCommunications Reference, SC26-4399Common Programming Interface ResourceRecovery Reference, SC31-6821OS/390: DFSMS Program Management,SC27-0806z/OS: Language Environment Concepts Guide,SA22-7567z/OS: Language Environment DebuggingGuide, GA22-7560z/OS: Language Environment ProgrammingGuide, SA22-7561z/OS: Language Environment ProgrammingReference, SA22-7562z/OS: Language Environment Run-TimeMessages, SA22-7566z/OS: Language Environment Writing ILCApplications, SA22-7563Usez/<strong>VM</strong>: CMS Comm<strong>and</strong>s <strong>and</strong> UtilitiesReference, SC24-6073z/<strong>VM</strong>: CMS Pipelines Reference, SC24-6076z/<strong>VM</strong>: CMS Pipelines User’s Guide,SC24-6077z/<strong>VM</strong>: CMS Primer, SC24-6137z/<strong>VM</strong>: CMS User’s Guide, SC24-6079z/<strong>VM</strong>: <strong>CP</strong> Comm<strong>and</strong>s <strong>and</strong> Utilities Reference,SC24-6081z/<strong>VM</strong>: Quick Reference, SC24-6111z/<strong>VM</strong>: T<strong>CP</strong>/IP User’s Guide, SC24-6127z/<strong>VM</strong>: XEDIT Comm<strong>and</strong>s <strong>and</strong> MacrosReference, SC24-6131z/<strong>VM</strong>: XEDIT User’s Guide, SC24-6132CMS/TSO Pipelines Author’s Edition,SL26-0018Diagnosisz/<strong>VM</strong>: Diagnosis Guide, GC24-6092z/<strong>VM</strong>: Dump Viewing Facility, GC24-6093z/<strong>VM</strong>: System Messages <strong>and</strong> Codes - AVS,Dump Viewing Facility, GCS, TSAF, <strong>and</strong><strong>VM</strong>SES/E, GC24-6120z/<strong>VM</strong>: System Messages <strong>and</strong> Codes - CMS<strong>and</strong> REXX/<strong>VM</strong>, GC24-6118z/<strong>VM</strong>: System Messages <strong>and</strong> Codes - <strong>CP</strong>,GC24-6119z/<strong>VM</strong>: T<strong>CP</strong>/IP Diagnosis Guide, GC24-6123z/<strong>VM</strong>: T<strong>CP</strong>/IP Messages <strong>and</strong> Codes,GC24-6124z/<strong>VM</strong>: <strong>VM</strong> Dump Tool, GC24-6129z/OS <strong>and</strong> z/<strong>VM</strong>: Hardware ConfigurationDefinition Messages, SC33-7986Books for z/<strong>VM</strong> Optional FeaturesThe following books describe the optional featuresof z/<strong>VM</strong>.Data Facility StorageManagement Subsystem for <strong>VM</strong>z/<strong>VM</strong>: DFSMS/<strong>VM</strong> Customization, SC24-6086z/<strong>VM</strong>: DFSMS/<strong>VM</strong> Diagnosis Guide,GC24-6087z/<strong>VM</strong>: DFSMS/<strong>VM</strong> Messages <strong>and</strong> Codes,GC24-6088z/<strong>VM</strong>: DFSMS/<strong>VM</strong> <strong>Planning</strong> Guide, SC24-6089z/<strong>VM</strong>: DFSMS/<strong>VM</strong> Removable Media Services,SC24-6090z/<strong>VM</strong>: DFSMS/<strong>VM</strong> Storage <strong>Administration</strong>,SC24-6091Directory Maintenance Facilityz/<strong>VM</strong>: Directory Maintenance FacilityComm<strong>and</strong>s Reference, SC24-6133z/<strong>VM</strong>: Directory Maintenance FacilityMessages, GC24-6134z/<strong>VM</strong>: Directory Maintenance Facility Tailoring<strong>and</strong> <strong>Administration</strong> Guide, SC24-6135788 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Performance Toolkit for <strong>VM</strong> z/<strong>VM</strong>: Performance Toolkit, SC24-6136Resource Access Control FacilityExternal Security Interface (RACROUTE)Macro Reference for MVS <strong>and</strong> <strong>VM</strong>,GC28-1366Resource Access Control Facility: Auditor’sGuide, SC28-1342Resource Access Control Facility: Comm<strong>and</strong>Language Reference, SC28-0733Resource Access Control Facility: DiagnosisGuide, GY28-1016Resource Access Control Facility: GeneralInformation, GC28-0722Resource Access Control Facility: GeneralUser’s Guide, SC28-1341Resource Access Control Facility: Macros <strong>and</strong>Interfaces, SC28-1345Resource Access Control Facility: Messages<strong>and</strong> Codes, SC38-1014Resource Access Control Facility: Migration<strong>and</strong> <strong>Planning</strong>, GC23-3054Resource Access Control Facility: SecurityAdministrator’s Guide, SC28-1340Resource Access Control Facility: SystemProgrammer’s Guide, SC28-1343Bibliography 789


790 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


IndexSpecialcharacters*ACCOUNT system service 233, 494, 661*BLOCKIO system service 494*CONFIG system service 494*CRM system service 494*IDENT system service 496*LOGREC system service 314, 494, 669*MONITOR system service 494*MSG system service 494*MSGALL system service 494*RPI system service 494*SIGNAL system service 494*SPL system service 494*SYMPTOM system service 318, 494specifying virtual machines for 699*VSWITCH system service 494+ oper<strong>and</strong> <strong>and</strong> − oper<strong>and</strong>TIMEZONE_DEFINITION statement 239Numerics2250 displayrestriction against using 1242701 data adaptercoding an RDEVICE macro 7522741 terminalcoding an RDEVICE macro 7543088 MCCUcoding an RDEVICE macro 760defining in system configuration file 50requirement for CSE 335virtual, defining for virtual machine 557virtual, defining for virtual network adapters 5293101 displaycoding an RDEVICE macro 7343151 display terminalcoding an RDEVICE macro 7543161 display terminalcoding an RDEVICE macro 7543162 display terminalcoding an RDEVICE macro 7543163 display terminalcoding an RDEVICE macro 7543167 display terminalcoding an RDEVICE macro 7543172 controllerdefining 205defining in system configuration file 503174 controllercoding an RDEVICE macro 7573178 displaycoding an RDEVICE macro 734defining 1973179 displaycoding an RDEVICE macro 734defining 1973180 displaycoding an RDEVICE macro 734defining 1973190 displaydefining 1973191 displaycoding an RDEVICE macro 7343192 displaycoding an RDEVICE macro 7343193 displaycoding an RDEVICE macro 7343194 displaycoding an RDEVICE macro 7343203 printercoding an RDEVICE macro 716defining 201defining in system configuration file 47FCB imageadding 418example for coding new 419provided 413UCS buffer imageadding 414example of new 416provided 4123211 printercoding an RDEVICE macro 716defining 201defining in system configuration file 47FCB imageadding 418example for coding new 419provided 413UCS buffer imageadding 414example of new 417provided 4123250 displaycoding an RDEVICE macro 733, 734restriction against using 1243262 printercoding an RDEVICE macro 713, 716defining 201FCB imageadding 414, 418provided 413UCS buffer imageexample of new 417provided 4133268 display printercoding an RDEVICE macro 713defining in system configuration file 473270 console modedefining 4643270 displaydefining 197, 1983270_DISPLAY oper<strong>and</strong>RDEVICE statement 210© Copyright <strong>IBM</strong> Corp. 1991, 2004 791


3270_PRINTER oper<strong>and</strong>RDEVICE statement 2103270-PCcoding an RDEVICE macro 7343274 controllercoding an RDEVICE macro 7573277 displaycoding an RDEVICE macro 734defining 197, 198exit for installation-supplied code 3123277 oper<strong>and</strong>RDEVICE statement 1983277_APL oper<strong>and</strong>TRANSLATE_TABLE statement 2443277_TEXT oper<strong>and</strong>TRANSLATE_TABLE statement 2453278 displaycoding an RDEVICE macro 734defining 1973278_APL oper<strong>and</strong>TRANSLATE_TABLE statement 2453278_TEXT oper<strong>and</strong>TRANSLATE_TABLE statement 2453279 displaycoding an RDEVICE macro 734defining 1973286 printercoding an RDEVICE macro 7133287 printercoding an RDEVICE macro 713defining in system configuration file 473288 printercoding an RDEVICE macro 7133289 printercoding an RDEVICE macro 713defining in system configuration file 473290 displaycoding an RDEVICE macro 734defining 1973350 DASDcoding an RDEVICE macro 746in 3330 compatibility mode 7463370 DASDcoding an RDEVICE macro 7493375 DASDcoding an RDEVICE macro 7463380 DASDcapacity information 605coding an RDEVICE macro 746defining 195defining in system configuration file 46using as a cached storage device 6283390 DASDcapacity information 605coding an RDEVICE macro 746defining 195defining as a full-pack minidisk 625defining in system configuration file 46migration considerations 617switching operating modes 615using as a cached storage device 6283420 tape unitdefining 2073422 tape unitcoding an RDEVICE macro 743defining 2073423 optical media attachmentdefining in system configuration file 503430 tape unitcoding an RDEVICE macro 7433480 tape unitcoding an RDEVICE macro 743defining in system configuration file 473490 tape drivecoding an RDEVICE macro 743defining in system configuration file 473495 tape library dataservercontrolled by a virtual machine 566defining in system configuration file 473505 card readercoding an RDEVICE macro 727defining 192defining in system configuration file 483525 card punchcoding an RDEVICE macro 729defining 190defining in system configuration file 483590 tape unitcoding an RDEVICE macro 743defining in system configuration file 473705 communication controllercoding an RDEVICE macro 754, 757defining 193defining in system configuration file 493705 oper<strong>and</strong>RDEVICE statement 1943720 communication controllercoding an RDEVICE macro 757defining 193defining in system configuration file 493725 communication controllercoding an RDEVICE macro 754, 757defining 193defining in system configuration file 493737 remote channel-to-channel unitcoding an RDEVICE macro 760defining 205defining in system configuration file 503745 communication controllercoding an RDEVICE macro 754, 757defining 193defining in system configuration file 493800 oper<strong>and</strong>RDEVICE statement 2123800 printercoding an RDEVICE macro 721creating a text deck for 411defining 189, 212defining in system configuration file 47image librarycreating 424description 411792 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


3812 printercoding an RDEVICE macro 713defining in system configuration file 483816 printercoding an RDEVICE macro 713defining in system configuration file 483820 printercoding an RDEVICE macro 710defining 189defining in system configuration file 483825 printercoding an RDEVICE macro 708defining 189defining in system configuration file 483827 printercoding an RDEVICE macro 708defining 189defining in system configuration file 483828 printercoding an RDEVICE macro 708defining 189defining in system configuration file 483835 printercoding an RDEVICE macro 708defining 189defining in system configuration file 483850 DASDcoding an RDEVICE macro 7463890 document processorcoding an RDEVICE macro 731defining in system configuration file 503900 printercoding an RDEVICE macro 708defining 189, 212defining in system configuration file 484214 display printercoding an RDEVICE macro 7134224 display printercoding an RDEVICE macro 7134234 display printercoding an RDEVICE macro 7134245 printercoding an RDEVICE macro 713, 716defining 201defining in system configuration file 48FCB imageadding 418provided 4134248 printercoding an RDEVICE macro 716defining 201defining in system configuration file 48FCB imageadding external 420adding new 418provided 413FCB macro, example for coding 4214753 network security processordefining in system configuration file 505080 graphics displaycoding an RDEVICE macro 7405210 display printercoding an RDEVICE macro 7135550 displaycoding an RDEVICE macro 7346090 graphics displaycoding an RDEVICE macro 7406262 printercoding an RDEVICE macro 713, 716defining 201defining in system configuration file 487171 device attachment control unitcoding an RDEVICE macro 734defining in system configuration file 50802.3 local area network 7388232 LAN channel stationdefining 205defining in system configuration file 509032 ESCON Director Model 2defining 762sensed by <strong>CP</strong> 509033 ESCON Director Model 1defining 762sensed by <strong>CP</strong> 509034 ESCON Converter Model 1 509035 ESCON Converter Model 2 509221 integrated ethernetdefining in system configuration file 499221 integrated token ringdefining in system configuration file 499336 DASDcapacity information 605defining 1959345 DASDcoding an RDEVICE macro 746AABBREVLENGTH oper<strong>and</strong>DEFINE ALIAS statement 82DEFINE CMD statement 85DEFINE COMMAND statement 85abnormal end (abend)list of consoles to receive messages about 124ACCEPTED oper<strong>and</strong>DEVICES statement 105accessdisksby <strong>CP</strong> 70list control parameters 580modesdefined 501exclusive 327, 387exclusive, authorized to use 535minidisk definitions 515stable 327, 387stable, authorized to use 536read/write 349to spool files 370account number, defining for a virtual machine 456ACCOUNT oper<strong>and</strong>JOURNALING statement 162Index 793


ACCOUNT user directory control statement 456ACCOUNT1 oper<strong>and</strong>SYSTEM_USERIDS statement 233ACCOUNT2 oper<strong>and</strong>SYSTEM_USERIDS statement 233accountingadding your own source code 310disassociating a user ID from retrieval of 298exit, <strong>CP</strong> 310recordadding your own 310dedicated device 300format of 299Inter-System Facility for Communications 304journaling 301SET PRIVCLASS 306, 307, 309SNA/CCS 304temporary disk space 301type 04 301type 05 302type 06 302type 07 304type 08 302type 09 304type 0A 306type 0I 303type 1 299type 2 300type 3 301type B 307type C 307type C0 310type D 309user-initiated 310virtual disk space 307virtual machine resource usage 299recordsspecifying user ID to accumulate 232setting up virtual machines for 295system service (*ACCOUNT) 233virtual machine, defining a user ID for 661virtual machine, logon identification 661ACCT option 394accumulateaccounting recordsspecifying user ID to 232EREP recordsdisassociating a user ID from retrieval of 317specifying user ID to 232symptom recordsspecifying user ID to 232system dump recordsspecifying user ID to 232ACIGROUP user directory control statement 458ACNT comm<strong>and</strong> 299activatean override file 438cross system spool 355adapterchannel-to-channeldefining 205adapter (continued)data, coding an RDEVICE macro 752linedefining 193line, coding an RDEVICE macro 754Local Area Network (LAN)defining 205teleprocessing integrated, coding an RDEVICEmacro 738addfiles to an image library 424forms control buffer 418, 420print buffer image 414real devicesto system’s definition 188your own accounting records <strong>and</strong> source code 310addressconsolealternate 766defining list for operator 180operator 766to receive emergency messages 124spacesdefining maximum nonprimary 583defining total size of nonprimary 583address space control parameters 580ADDRSPACE macrousing to create or delete address spaces 583administrationconsiderations summary 3CSE 358performance tasks 12real <strong>and</strong> virtual storage 7system tasks 4task overview 5user tasks 5advanced function printer (AFP)coding an RDEVICE macro 708defining 189AFP oper<strong>and</strong>RDEVICE statement3800 printers 213advanced function printers 189impact printers 202AFTER_LOGON oper<strong>and</strong>DEFINE CMD statement 85DEFINE COMMAND statement 85aliascreatingnew for existing <strong>CP</strong> comm<strong>and</strong> 81ALIAS oper<strong>and</strong>XSPOOL_SYSTEM statement 271ALL oper<strong>and</strong>DRAIN statement 118HOT_IO_RATE statement 152START statement 220allocatedevice blocks 689spaceXSPOOL trace tables 273794 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


allocate (continued)storagewith STORAGE statement 222with SYSSTORE macro 697ALSERV macroadding <strong>and</strong> deleting entries with 581ALTCONS oper<strong>and</strong>RIOGEN macro 766alternateparm disk 51system consoledefining on OPERATOR_CONSOLESstatement 180defining on RIOGEN macro 766ALTERNATE_OPERATORS statement 58ANYTIME oper<strong>and</strong>DEFINE CMD statement 85DEFINE COMMAND statement 85AOFPARM parameter list 314AONPARM parameter list 312APAR (Authorized Program Analysis Report)process 400APPC/<strong>VM</strong> path 459APP<strong>CP</strong>ASS user directory control statement 459architecture, System/390 397area, CSE 359ART (Access Register Translation)maintains storage protection 391translates addresses 390ASCII_1977 oper<strong>and</strong>TRANSLATE_TABLE statement 244ASCII_1980 oper<strong>and</strong>TRANSLATE_TABLE statement 244ASCII_LINE_DELETE oper<strong>and</strong>CHARACTER_DEFAULTS statement 67ASCII-APL oper<strong>and</strong>TRANSLATE_TABLE statement 244assigncomm<strong>and</strong>s to types of users 435exit point with entry points 60, 64exit point with external symbols 60, 64new classes 438associateclasses with users <strong>and</strong> comm<strong>and</strong>s 436exit point with entry points 60, 64exit point with external symbols 60, 64ASSOCIATE EXIT statement 51, 60ASSOCIATE MESSAGES statement 51, 64ASSOCIATE MSGS statement 51, 64attachexp<strong>and</strong>ed storage to a virtual machine 592retained Exp<strong>and</strong>ed Storage 596ATTACH comm<strong>and</strong> 478, 623, 665ATTACH XSTORE comm<strong>and</strong> 592, 593AUDIT oper<strong>and</strong>DEFINE CMD statement 85DEFINE COMMAND statement 85DEFINE DIAGNOSE statement 90auditing <strong>and</strong> protectingusing an external security manager 384authorization bypassdirectory password 385AUTO_WARM_IPL oper<strong>and</strong>disabling on FEATURES statement 140enabling on FEATURES statement 142AUTOLOG comm<strong>and</strong> 296, 299journaling 385prompting for password on 144AUTOLOG oper<strong>and</strong>SYSTEM_USERIDS statement 233AUTOLOG user directory control statement 461, 578AUTOLOG1 service virtual machine 6automaticdeactivation of restricted passwords 386auxiliary storage 7avoiding DASD bottlenecks during I/O 337Bbackup <strong>and</strong> recovery, DASD for 337BEFORE_LOGON oper<strong>and</strong>DEFINE CMD statement 85DEFINE COMMAND statement 85block, comm<strong>and</strong> table entrydefining new <strong>CP</strong> 84BOTTOM oper<strong>and</strong>PRINTER_TITLE statement 182BSC_ADAPTER oper<strong>and</strong>RDEVICE statement 193buffer, retrievespecifyingdefault number of 136maximum number of 136bypassing directory password authorization 385Ccabling, hardware 341cacheDASDdefining a minidisk for 629defining as a dedicated device 630description 628minidiskdevices available for 600performance considerations 602planning for 600special considerations 601turning off 600using 600using Exp<strong>and</strong>ed Storage as a 597capacity, DASDstorage 604card punch3525defining 190coding an RDEVICE macro 729configuration guide 48dedicating to virtual machine 477defining 190defining in system configuration file 48Index 795


card punch (continued)spooled, virtual machine 562card readercoding an RDEVICE macro 727configuration guide 48dedicating to virtual machine 477defining 192defining 3505 192defining in system configuration file 48generating default user form name for 150spooled, defining for virtual machine 562case used in system configuration files 56CCDUMP utility 321CCLOAD EXEC 323CCLOAD utility 321CCU (Common Control Unit) printercoding an RDEVICE macro 708CCW translation 427device macroinstruction 429ceasenew operations on real DASD 118use of X'15' 483users issuing multiple <strong>CP</strong> comm<strong>and</strong>s 483changeback to <strong>IBM</strong>-defined user classes 442comm<strong>and</strong> classes in directory 443defaultsCSE track location format 259for text of status fields 293logical character delete symbol 67logical escape symbol 67logical line delete symbol 67logical line end symbol 67logical tab symbol 67dynamic I/O 105, 141exit point 172hot I/O rate 152online message 292privilege class of <strong>CP</strong> functions 673privilege classes 433privilege classes authorizing <strong>CP</strong> functions 184CHANGE comm<strong>and</strong> 368change CSE track location format default 646changing information on minidisks 34channel path 12, 210, 764channel programs 390, 394, 397channel-to-channel linkdefining addresses 350CHAR_DELETE oper<strong>and</strong>CHARACTER_DEFAULTS statement 67character delete symboldefinition 67CHARACTER_DEFAULTS statement 51, 67CHARS oper<strong>and</strong>RDEVICE statement 202, 213checking syntax of statements in a system configurationfile 57checkpointdataallocating DASD space for 607SYSTEM_RESIDENCE statement 230choose local time zone at IPL 237CHOOSE_LOGO statement 279, 285choosing storage sizedynamic paging area 590CKD (Count-Key-Data)DASD 335, 603device geometry 603devicesdefining length of map records 269finding CSE track 269using for cross system link 650classassociating with users <strong>and</strong> comm<strong>and</strong>s 436comm<strong>and</strong> privilege defining for virtual machine 572<strong>IBM</strong>defining for new <strong>CP</strong> comm<strong>and</strong> 84override fileactivating 440creating 438example 439verifying 440privilege 392authorizing <strong>CP</strong> functions, changing 184controlling which users can change 136defining for new <strong>CP</strong> comm<strong>and</strong> 84spool filecontaining classification titles 182specifying for impact printers 202CLASS statement 395CLASS user directory control statement 443, 445, 462CLASSES oper<strong>and</strong>RDEVICE statement 190, 192, 213RDEVICE statement for impact printers 202classification titleprinted output classes containing 182classification titles, printer output 691clearminidisks 398T-disks 398TDISK space, specifying whether <strong>CP</strong> should 136CLEAR option on OVERRIDE utility 442CLEAR_TDISK oper<strong>and</strong>disabling on FEATURES statement 141enabling on FEATURES statement 142CMS (Conversational Monitor System)comm<strong>and</strong>DIRECTXA 448SFS (Shared File System)DASD sharing using 622shared minidisk exp<strong>and</strong>ed storageconsiderations 592utility<strong>CP</strong>FMTXA 665GENIMAGE 411IMAGELIB 423IMAGEMOD 424<strong>VM</strong>FHASM 412, 422codedistribution, defining for a virtual machine 456code, executableloading into <strong>CP</strong>’s system execution space 76796 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


codingH<strong>CP</strong>RIO ASSEMBLE 705collectsetting up <strong>VM</strong> for 297comm<strong>and</strong>ACNT 299assigning new classes 438assigning to types of users 435ATTACH 478, 623, 665ATTACH XSTORE 592, 593AUTOLOG 144, 296, 299CHANGE 368conventions, notational xvi<strong>CP</strong>SYNTAX 57creatingnew <strong>CP</strong> 84new version of existing <strong>CP</strong> 84DEDICATE 6, 630DEFINE <strong>CP</strong>U 5, 534DEFSEG 527DEFSYS 491DETACH XSTORE 593DISABLE 331DISABLE SNA 332DISCARD 747ENABLE 331FORCE 299, 332INDICATE LOAD 601IPL 491LINK 144, 299, 359, 501, 515, 535, 620LOGON 144, 299, 326MESSAGE 142MODIFY 165MSG 276MSGNOH 276notational conventions xviORDER 368preventing from issuing multiple 483privilege classdefining for virtual machine 462, 572<strong>IBM</strong>-defined 433redefining 433PURGE 369PURGE IMG 425PURGE UCR 442QUERYLOGMSG 143RETRIEVE 146QUERY (User ID) 277QUERY CACHE 747QUERY COMMANDS 446QUERY DASDFW 748QUERY FILES 369QUERY FRAMES 589QUERY IMG 424QUERY NAMES 277QUERY PINNED 747QUERY READER/PRINTER/PUNCH 369QUERY RSAW 747QUERY UCR 442QUERY UCR COUNT 442comm<strong>and</strong> (continued)QUERY XSTORE 594QUERY XSTORE MAP 592, 593response suppression 86, 166RETAIN XSTORE 591, 593, 596SET CACHE 747SET CONCEAL OFF 534SET D8ONECMD 381SET DASDFW 747SET DUMP 614SET MAXUSERS 535SET PRIVCLASS 382SET SHARED 601, 620SET SHARED OFF 620SET SHARED ON 626SET SRM 332, 537SHUTDOWN 299SMSG 276, 353SPOOL 665SPXTAPE 665START CSECOM 353supported by CSE 335syntax, explanation of xviTAG 369TERMINAL LINESIZE 331TRANSFER 369WNG 276XAUTOLOG 299, 332XLINK CHECK 353XLINK FORMAT 340, 652XLINK FORMAT (<strong>CP</strong>) 350XLINK RESET 359XSPOOL QUERY 354comm<strong>and</strong> table entry blockdefining new <strong>CP</strong> 84comm<strong>and</strong>, cross systemexcluding virtual machines’ input spool filesfrom 274excluding virtual machines’ output spool filesfrom 276specifying systems participating in 271comm<strong>and</strong>sRECORDING comm<strong>and</strong> (<strong>CP</strong>)specifying EREP virtual machine 316comments field on SAPL screen 41comments in a system configuration file 55communicationcontrollercoding an RDEVICE macro 757configuration guide 49defining in system configuration file 49setting up a virtual machine for 321enabling SNA 331virtual machine (C<strong>VM</strong>)establishing connections between 350preparing 350verifying its functioning 353communication controller3705defining 193Index 797


communication controller (continued)3725defining 1933745defining 193defining 193COMMUNICATIONS_USERID oper<strong>and</strong>XSPOOL_SYSTEM statement 271COMPONENT oper<strong>and</strong>ASSOCIATE MESSAGES statement 64ASSOCIATE MSGS statement 64composite reader file 396concurrent copy sessions 566concurrent virtual <strong>and</strong> real reserve/releasewhen to use 626configurationguideprinters 769guide for printers 769overview 23real storage 222real storage, defining 697specifying information 23configuration filelogodescription 279specifying file name <strong>and</strong> file type 164summary of statements 279systemignoring errors in 241imbedding files into 155summary of statements 51user defaultsstatements 279configuration guidecard punches 48card readers 48communication controllers 49DASD 46display devices 49ESCON devices 49other devices 50printers 47tape drives 47unit record devices 48CONS oper<strong>and</strong>RIOGEN macro 766consoleaddressdefining list for emergency messages 124defining list for operator consoles 180alternate, defining on RIOGEN macro 766alternatesdefining 180, 766changing 464defining extended color 553defining extended highlighting 553emergency messagedefining 124mode, defining 3270 464console (continued)operatordefining 180, 766primarydefining 180, 766primary system, defining on RIOGEN macro 766CONSOLE oper<strong>and</strong>FORM_DEFAULT statement 150CONSOLE user directory control statement 463continuations in system configuration files 55CONTROL oper<strong>and</strong><strong>CP</strong>XLOAD statement 77controllercoding an RDEVICE macro 757communication, defining 193conventionnotationalfor comm<strong>and</strong>s xviCoordinated Universal Time (UTC)SYSTIME macro 701copy sessions, concurrent 566copy spool descriptor 368<strong>CP</strong>starting communication with manuallyEREP virtual machine 316<strong>CP</strong> (Control Program)accounting exit 310assigning new classes 438attaching Exp<strong>and</strong>ed Storage to 596comm<strong>and</strong>ACNT 299ATTACH 478, 623, 665ATTACH XSTORE 592, 593AUTOLOG 144, 296, 299CHANGE 368<strong>CP</strong>SYNTAX 57DEDICATE 6, 630DEFINE <strong>CP</strong>U 5, 534defining new 84DEFSEG 527DEFSYS 491DETACH XSTORE 593DISABLE 331DISABLE SNA 332DISCARD 747ENABLE 331FORCE 299, 332INDICATE LOAD 601IPL 491LINK 144, 299, 359, 501, 515, 535, 620LOGON 144, 299, 326MESSAGE 142MSG 276MSGNOH 276ORDER 368preventing from issuing multiple 483PURGE 369PURGE IMG 425PURGE UCR 442QUERY (User ID) 277QUERY CACHE 747798 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


<strong>CP</strong> (Control Program) (continued)comm<strong>and</strong> (continued)QUERY COMMANDS 446QUERY DASDFW 748QUERY FILES 369QUERY FRAMES 589QUERY IMG 424QUERY LOGMSG 143QUERY NAMES 277QUERY PINNED 747QUERY RDR/PRT/PUN 369QUERY RETRIEVE 146QUERY RSAW 747QUERY UCR 442QUERY UCR COUNT 442QUERY VDISK 145QUERY XSTORE 594QUERY XSTORE MAP 592, 593RETAIN XSTORE 591, 593, 596SET CACHE 747SET CONCEAL OFF 534SET D8ONECMD 381SET DASDFW 747SET DUMP 614SET LOGMSG 141SET MAXUSERS 535SET PFnn RETRIEVE 145SET PRIVCLASS 136, 146, 382SET RETRIEVE 146SET SHARED 601, 620SET SHARED OFF 620SET SHARED ON 626SET SRM 332, 537SET VDISK 145SHUTDOWN 299SMSG 276, 353SPOOL 665SPXTAPE 665TAG 369TERMINAL LINESIZE 331TRANSFER 369WNG 276XAUTOLOG 299, 332XLINK CHECK 353XLINK FORMAT 340, 350, 652XLINK RESET 359disk accessestablishing 70exitsaccounting records 310H<strong>CP</strong>ACU module 310H<strong>CP</strong>MSU module 373message function 373functionschanging privilege classes authorizing 184link feature 358macrosH<strong>CP</strong>DROP 311, 374H<strong>CP</strong>ENTER 311, 374H<strong>CP</strong>EPILG 311, 374H<strong>CP</strong>EXIT 311, 374<strong>CP</strong> (Control Program) (continued)macros (continued)H<strong>CP</strong>PROLG 311, 374H<strong>CP</strong>USING 311message comm<strong>and</strong>s, altering output 373moduleallocating DASD space for 605specifying initialization options for 689starting <strong>CP</strong> extensions at initialization time 663storageallocating for XSPOOL trace tables 273configuring 222, 697symptom recordspecifying user ID to accumulate 232system execution spaceloading <strong>CP</strong> routines into 76system residence disk 693system residence volumedefining 73describing layout 230use of devices 105volumedefining list 73identifying for cross system spooling 73<strong>CP</strong> LINK comm<strong>and</strong><strong>and</strong> CSL 359journaling 385<strong>CP</strong> storage for CSE trace tables, establish number ofpages 658<strong>CP</strong>_ACCESS statement 52, 70<strong>CP</strong>_ADDON_INITIALIZE_ROUTINES statement 52,72<strong>CP</strong>_OWNED statement 52, 73, 158<strong>CP</strong>-accessed minidisks 31, 33, 34<strong>CP</strong>-owned volume listchecking for valid object directory 447cross system extensions considerations 337defining 73generate a list of 664HCD 7HCM 7sequence of statements 57system use 7<strong>CP</strong>ACCESS comm<strong>and</strong> 393<strong>CP</strong>CACHE comm<strong>and</strong> 393<strong>CP</strong>CACHE FILES file 33<strong>CP</strong>CHECKING oper<strong>and</strong>disabling on FEATURES statement 141enabling on FEATURES statement 142<strong>CP</strong>FMTXA (CMS utility) 7, 665<strong>CP</strong>READ oper<strong>and</strong>STATUS statement 293<strong>CP</strong>RELEASE comm<strong>and</strong> 393<strong>CP</strong>SYNTAX comm<strong>and</strong> 57<strong>CP</strong>U power, allocating to users in user directory 555<strong>CP</strong>U user directory control statement 465<strong>CP</strong>XLOAD statement 52, 76createa class override file 438default system identifier 228default user form names 150Index 799


create (continued)image librarymap 424list of operator form numbers 247list of user DASD volumes 255list of user form names 247logo configuration file 279logo screens 282newalias for existing <strong>CP</strong> comm<strong>and</strong> 81<strong>CP</strong> comm<strong>and</strong> 84DIAGNOSE code 90exit point 94version of existing <strong>CP</strong> comm<strong>and</strong> 84st<strong>and</strong>-alone dump utility 403system configuration file 55system date format 225system identifier 226, 228text deckfor impact printers 412for the 3800 printer 411the user directory 451cross systemlinkdefining 359described 358facility utility program 349, 357generating 349in CSE 333initializing 349initializing minidisks for 349maximum number of systems supported 334,338maximum systems supported 656synchronizing directories 340verifying 353MESSAGE <strong>and</strong> QUERY comm<strong>and</strong>sdefine virtual machines that will not participatein 659in CSE 334overview of statements 26spoolactivating 355<strong>and</strong> CSECOM task 371<strong>and</strong> P<strong>VM</strong> 371comm<strong>and</strong>s 368define virtual machines that will not participatein 659described 366enabling 353in CSE 334verifying 354cross system comm<strong>and</strong>excluding virtual machines’ input spool filesfrom 274excluding virtual machines’ output spool filesfrom 276specifying systems participating in 271cross system linkexcluding systems 263excluding volumes 266cross system link (continued)including systems 264including volumes 264, 268, 650cross system spoolingexcluding virtual machines’ input spool filesfrom 274excluding virtual machines’ output spool filesfrom 276identifying volumes for 73specifying systems participating in 271trace tablesallocating space for 273CRYPTO user directory control statement 468CSE (Cross-System Extensions)administering 358areadefault values for 365description of 359format 361formatting 350location 361map records on 363placing 340protecting 361track location format default, change 259, 646capabilities 333choosing minidisks to share 338comm<strong>and</strong>s <strong>and</strong> cross system spool 368complex, system topography 653components 333controlling CSL 359cross systemlink 333spool 334defining volumes containing minidisks to beshared 340enabling cross-system extensions 345example secondary pre-PROFILE EXEC 344generating CSL 349INCLUDE statement <strong>and</strong> 487initializing CSL 349installation planning 334installingcross-system extensions 345P<strong>VM</strong> 345the preparation package 335joining systems 353macroinstructionCSELDEV 646CSELVOL EXCLUDE 649CSELVOL INCLUDE 650CSESYS 653CSETRACE 658CSEUSER 659MDC (minidisk caching feature) 339MDISK statement 339MESSAGE <strong>and</strong> QUERY comm<strong>and</strong>s 334networking implications 357normal operation 368operation, define DASD volumes included in 650operation, define excluded DASD volumes 649800 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


CSE (Cross-System Extensions) (continued)outages, preparing for 372overview 333performance considerations for CMS minidisks 339phasing into production environment 356preparing for 341preparing the C<strong>VM</strong> 350P<strong>VM</strong> networks 357requirements 334restrictions 335returning to non-CSE operation 372RSCS networks 357setting up 334SNA networks 358spool file limits 341supported features 335synchronizing directories 340SYSAFFIN statement <strong>and</strong> 487system definition using SYSTEM CONFIG 346trace tables, establish number of pages for <strong>CP</strong>storage 658trackformat 361formatting 350location 361map records on 363users supported 334CSE area, multiple cylinders 350CSECOM task<strong>and</strong> cross system spool 371starting 353, 357CSELDEV macro 646CSELVOL EXCLUDE macro 359, 649CSELVOL INCLUDE macro 359CSESYS (H<strong>CP</strong>SYS macroinstruction) 653CSETRACE (H<strong>CP</strong>SYS macroinstruction) 658CSEUSER macro 371, 659CSEVOL macroinstructionEXCLUDE list 338INCLUDE list 338, 650CTCA (Channel-to-Channel Adapter)coding an RDEVICE macro 760defining 205defining in system configuration file 50requirement for CSE 335virtual, defining for virtual machine 557CTCA oper<strong>and</strong>RDEVICE statement 205CYL oper<strong>and</strong>CSELVOL INCLUDE macro 650CYLINDER oper<strong>and</strong>XLINK_VOLUME_INCLUDE statement 268DD8ONECMD settingfor server virtual machines 381D8ONECMD user directory control statement 483DASD (Direct Access Storage Device)administration overview 7allocating space on 603DASD (Direct Access Storage Device) (continued)avoiding bottlenecks during I/O 337backup <strong>and</strong> recovery 337coding an RDEVICE macro3350 7463350 (in 3330 compatibility mode) 7463370 7493375 7463380 7463390 7463850 7469332 7499335 7499336 7499345 746FB-512 749FBA DASD 749configuration guide 46count-key-data (CKD) 335<strong>CP</strong>-owneddefining 73CSE area 361dedicated 8, 622defining 195defining in system configuration file 46defining list of <strong>CP</strong>-owned volumes 73excluding volumes from cross system link 266extended count-key-data (ECKD) 335including volumes in cross system link 268performance measurement 365planning overview 7preparing volumes 361preventing new operations 118preventing shared devices 105restarting 220sharedaccess to minidisks 338defining in system configuration file 46I/O behavior 365performance 365spool files 337sharingamong multiple virtual machines <strong>and</strong> othersystems 624using CMS Shared File System 622using concurrent virtual <strong>and</strong> realreserve/release 625using MPLF 627using Parallel Access Volumes 632using real reserve/release 622without using virtual reserve/release 622sharing devices 105spacecheckpoint data 607dumps 614named saved systems 615paging space 610spooling space 613used for shared file pools 9warm start data 606stopping new operations 118Index 801


DASD (Direct Access Storage Device) (continued)storage capacities 604storage requirements 603unsupporteddefining 209used for minidisks 8user owned volumes, generating a list of 703volumes excluded from CSE 649volumes included in CSE 650DASD format, st<strong>and</strong>-alone dump 779DASD oper<strong>and</strong>DRAIN statement 118HOT_IO_RATE statement 152RDEVICE statement 195, 209START statement 220DASDOPT user directory control statement 472DAT (Dynamic Address Translation)maintains storage protection 391translates addresses 390dataadaptercoding an RDEVICE macro 752transfer to <strong>CP</strong> spool files 532DATAMOVR virtual machine 380DATEFORMAT user directory control statement 475deactivation of restricted passwordautomatic 386DEDICATE comm<strong>and</strong> 6, 630DEDICATE user directory control statement 477, 623dedicatedAFP printers 708cached DASD 630DASD 8, 622device 477device accounting record 300devices 622HCD 11HCM 11unit record devices 11dedicated advanced function printerdefining 189defaultfor logical character delete symbol 67for logical escape symbol 67for logical line delete symbol 67for logical line end symbol 67for logical tab symbol 67number of RETRIEVE buffers 136system identifier 228text of status fields 293user form names 150DEFAULT oper<strong>and</strong>CHOOSE_LOGO statement 286HOT_IO_RATE statement 153DEFAULTS comm<strong>and</strong> 396define3800 printers 2123900 printers 212access list size, host 581accounting virtual machine logon identification 661accounting virtual machine user ID 661define (continued)advanced function printers 189card punch 190card readers 192channel-to-channel adapters 205communication controllers 193configuration of real storage 697console mode 3270 464consoles for emergency messages 124DASD 195DASD excluded from cross system link 266DASD to be included in cross system link 268DASD volumes excluded from CSE 649DASD volumes included in CSE 650default system identifier 228dynamic paging area 590file for input area 291graphic display devices 197host access list size 581I/O devices 45, 705impact printers 201journaling facility 160LAN adapters 205line adapters 193list of <strong>CP</strong>-accessed disks 70list of cp-owned DASD volumes 664list of <strong>CP</strong>-owned DASD volumes 73list of installation-added entry points 72logo picture file 285maximum number of nonprimary addressspaces 583newalias for existing <strong>CP</strong> comm<strong>and</strong> 81<strong>CP</strong> comm<strong>and</strong> 84DIAGNOSE code 90exit point 94version of existing <strong>CP</strong> comm<strong>and</strong> 84online message 292primary system operator 687privilege classes for a virtual machine 444real devices 188real storage 697size of host access list 581SNA/CCS to VSCS 331special devices 205system console 157, 180, 766system date format 225system identifier 226, 228systems in cross system spooling 271systems participating in cross systemcomm<strong>and</strong>s 271tape units 207text of status fields 293time zone 239total size of nonprimary address spaces 583unsupported devices 209user IDs to perform special functions 232user owned DASD volumes 680users’ needs 434virtual machines for use during hardwareoutages 372802 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


define (continued)virtual machines that will not participate in crosssystem spooling <strong>and</strong> cross system message <strong>and</strong>query comm<strong>and</strong>s 659virtual processor 465volumes excluded from user volume list 251, 671volumes to be included in user volume list 253your system 51, 643DEFINE ALIAS statement 52, 81DEFINE CMD statement 52, 84DEFINE COMMAND statement 52, 84DEFINE <strong>CP</strong>OWNED comm<strong>and</strong> 393DEFINE <strong>CP</strong>U comm<strong>and</strong> 5, 534DEFINE DIAGNOSE statement 52, 90DEFINE EXIT statement 52, 94DEFINE LAN statement 52, 97DEFINE TIMEZONE comm<strong>and</strong> 393DEFINE VSWITCH statement 52, 100defining an emulated device 121defining global settings for use during userprocessing 486defining virtual LAN segment 97defining virtual switch segment 100definition ofset of real devices, adding to 188DEFSEG comm<strong>and</strong>NAMESAVE statement relationship 527DEFSYS comm<strong>and</strong> 491degaussing 398DELAY oper<strong>and</strong><strong>CP</strong>XLOAD statement 78deleteexit point 172members from an image library 424delete symbol, defining for virtual machine 572describe topography of CSE complex 653DEST oper<strong>and</strong>RDEVICE statement 202, 213DETACH XSTORE comm<strong>and</strong> 593determine local time zone 237DEVCLASS oper<strong>and</strong>RDEVICE statement 209deviceadding real 188blockbuilding 105dynamic allocation of 689bringing online 105class definitions 773defining 45, 529, 557, 705defining for virtual machine exp<strong>and</strong>ed storagefacility 585disabling for dynamic I/O changes 105enabling for dynamic I/O changes 105features by class <strong>and</strong> type 775initializingafter IOMCK 136at IPL 105when added to the system 136limiting I/O rate 105measuring subchannels 105device (continued)model definitions 775preventingDASD sharing 105initialization at IPL 105sensing 46sharing DASD 105st<strong>and</strong>-alone dump 405supported 45tables for unsupported devices 428taking offline 105type definitions 773unit record 11unsupported 46coding an RDEVICE macro 763device class assemble files 427device number field on SAPL screen 40Device Support Facilityallocating DASD space for a directory 608used in switching 3390 operating modes 616DEVICES statement 52, 105DFSMS/<strong>VM</strong>setting up virtual machines for 327DIAGNOSE codeassigning new classes 438creating new 90defining new 90restriction of 394using to initiate accounting records 310X'04' 394X'08' 381, 394, 483, 538X'14' 532X'28' 394X'3C' 394X'4C' 310, 394, 533, 538X'64' 527X'7C' 394X'84' 394, 535X'88' 535X'98' 380, 390, 394, 535, 538X'98' option 395, 397X'A0' 384X'DC' 533X'E4' 382, 501, 515, 534, 535, 536X'F8' 537directoryallocated space for 480calculating DASD space for 455changing 443changing a user 447CLASS 443controlMDISK 339SPOOLFILE 341<strong>CP</strong> system 395creating a user 447definition entry location 504entryexample for user class restructure 445nonshared 342options, RSCS 395Index 803


directory (continued)password authorization bypass 385profiles 455Shared File System 622single sourcebringing online 357defining volumes <strong>and</strong> cylinders 341space 338update-in-place 396updating a user 447DIRECTORY user directory control statement 350,448, 480DIRECTXA utility 448checking directory for errors 454checking directory for <strong>VM</strong>/SP directorystatements 455checking for <strong>VM</strong>/SP statements 455creating user directory with 451running the directory creation program 453DIRMAINT (Directory Maintenance) licensed programavoiding manual updates 381DATAMOVR virtual machine 380dual registration 381general description 379disabledynamic I/O changesfor specific devices 105on your processor 136I/O throttling 105log on password suppression 136DISABLE CMD statement 52, 110DISABLE comm<strong>and</strong> 331DISABLE COMMAND statement 52, 110DISABLE DIAGNOSE statement 52, 112DISABLE EXITS statement 52, 114DISABLE oper<strong>and</strong>ASSOCIATE EXIT statement 61DEFINE ALIAS statement 82DEFINE CMD statement 85DEFINE COMMAND statement 85DEFINE DIAGNOSE statement 90FEATURES statement 140JOURNALING statement 162DISABLE SNA comm<strong>and</strong> 332disabled wait state if parm disk is notCMS-formatted 51DISCARD comm<strong>and</strong> 747DISCONNECT oper<strong>and</strong>SYSTEM_USERIDS statement 233disconnect status of system operator, specifying 232disconnectingEREP virtual machine 317primary system operatorfor EREP 316discontinuousexp<strong>and</strong>ed storage 593saved segmentmodifying read-only 390diskclearing temporary 384disk (continued)<strong>CP</strong>-owneddefining 73preventing new operations 118stopping new operations 118DISK LOAD comm<strong>and</strong> 396displaydevicesdefining 197unsupported, defining 209DISPLAY HOST comm<strong>and</strong> 393display printers 713, 769display terminalcoding an RDEVICE macro 733, 7543101 7343178 7343179 7343180 7343191 7343192 7343193 7343194 7343250 7343270-PC 7343277 7343278 7343279 7343290 7345080 7405550 7346090 7407171 Device Attachment Control Unit 734coding an RDEVICE macro for 734configuration guide 49defining in system configuration file 49establishing the SNA environment 330graphiccoding an RDEVICE macro for 5080 740coding an RDEVICE macro for 6090 740operator identification card 49planning for 10DISPLAY_STORAGE oper<strong>and</strong>TRANSLATE_TABLE statement 243displayingcomm<strong>and</strong>s available to a user 446distributed IUCV 116document processorcoding an RDEVICE macro 731documentationconsiderations when redefining classes 438DPA (Dynamic Paging Area)size considerations 590DPMSIZE oper<strong>and</strong>delayed purge queue 213RDEVICE statement 213DPS oper<strong>and</strong>RDEVICE statement 210DRAIN statement 52, 118DRAWLOGO sample utility programdescription 642usage 282804 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


DROPBUF comm<strong>and</strong> 399DTIGEN macro 330dual registration 381dumpspaceallocating DASD space for 614st<strong>and</strong>-alone, utility 403symptom recordsspecifying user ID to accumulate 232DUMP HOST comm<strong>and</strong> 393DUMP oper<strong>and</strong><strong>CP</strong>_OWNED statement 74SYSTEM_USERIDS statement 233dumps 396dynamicI/O reconfiguration 12switching devicecoding an RDEVICE macro 762dynamic I/Odisablingfor specific devices 105on your processor 136enablingfor specific devices 105on your processor 136on your processor 136dynamic I/O featureson your processor 136dynamic switching devicedefining 209EEAST oper<strong>and</strong>TIMEZONE_DEFINITION statement 239ECKD (Extended Count Key Data)devicesdefining length of map records 269finding CSE tracks 269using for cross system link 650EDEVICE statement 52, 121ELAN 738emergency messagedefiningconsoles to receive 124EMERGENCY_MESSAGE_ CONSOLESstatement 52, 124emulated device, defining 121EMULATED_3270 oper<strong>and</strong>RDEVICE statement 198enablecross system spool 353dynamic I/O changesfor specific devices 105on your processor 136I/O throttling 105log on password suppression 136SNA communication 331steps for CSE 345system to set <strong>and</strong> query journaling facility 160ENABLE CMD statement 52, 126ENABLE comm<strong>and</strong> 331ENABLE COMMAND statement 52, 126ENABLE DIAGNOSE statement 52, 128ENABLE EXITS statement 52, 130ENABLE oper<strong>and</strong>ASSOCIATE EXIT statement 61DEFINE ALIAS statement 82DEFINE CMD statement 85DEFINE COMMAND statement 85DEFINE DIAGNOSE statement 91FEATURES statement 142enabling, <strong>CP</strong> exit 43endnew operations on real DASD 118use of X'15' 483users issuing multiple <strong>CP</strong> comm<strong>and</strong>s 483end H<strong>CP</strong>SYS assembly 668ENFORCE_BY_VOLid statement 52, 132enforcingattachment of DASD devices by their VOLIDs 132link protocols 358entry block, comm<strong>and</strong> tabledefining new <strong>CP</strong> 84entry pointassigning to exit point 60, 64specifying for new <strong>CP</strong> comm<strong>and</strong> 84EP (Emulation Program)setting up a virtual machine for 321used with 3720 49EPNAME oper<strong>and</strong>ASSOCIATE EXIT statement 61ASSOCIATE MESSAGES statement 65ASSOCIATE MSGS statement 65DEFINE CMD statement 85DEFINE COMMAND statement 85DEFINE DIAGNOSE statement 91EXTERNAL_SYNTAX statement 135MODIFY CMD statement 166MODIFY COMMAND statement 166MODIFY DIAGNOSE statement 170EQUATE statement 52, 133EREP (Environmental Record Editing <strong>and</strong> Printing)specifying user ID to accumulate records 232EREP oper<strong>and</strong>of RECORDING comm<strong>and</strong> 316EREP recordsretrieval ofstarting manually 316EREP virtual machinespecifying 316starting record retrieval manually 316EREP1 oper<strong>and</strong>SYSTEM_USERIDS statement 233EREP2 oper<strong>and</strong>SYSTEM_USERIDS statement 233errorignoring system configuration file 241recordingsetting up virtual machine(s) for 314virtual machine, defining a user ID for 669Index 805


escape characterdefault 67setting 67, 572ESCAPE oper<strong>and</strong>CHARACTER_DEFAULTS statement 67ESCM (Enterprise Systems Communication Manager)*CONFIG system service 494, 497ESCON devicesconfiguration guide 49defining in system configuration file 49ESM (External Security Manager)using to audit security 384using to protect security 384establishdefault forlogical character-delete symbol 67logical escape symbol 67logical line-delete symbol 67logical line-end symbol 67logical tab symbol 67number of RETRIEVE buffers 136system identifier 228text of status fields 293file mode 70maximum number of users 136system attributes 136system date format 225system identifier 226establish number of pages for <strong>CP</strong> storage for CSE tracetables 658Ethernet communication adapterdefining in system configuration file 49example3203 UCS buffer image 4163211 UCS buffer image 4173262 UCS buffer image 417alias, creating for <strong>CP</strong> comm<strong>and</strong> 83assigning comm<strong>and</strong>s to kinds of users 435assigning entry points to exit points 63associating privilege classes with comm<strong>and</strong>s <strong>and</strong>users 436changing privilege classes 168, 171CHOOSE_LOGO statements 289CKD-formatted CSE area map 361, 362class override file 439coding FCB macroinstruction for 4248 printer 421comm<strong>and</strong>s, disabling <strong>CP</strong> 111comm<strong>and</strong>s, enabling <strong>CP</strong> 127communications controller functions 322configuration file statementALTERNATE_OPERATORS 59ASSOCIATE EXITS 63ASSOCIATE MESSAGES 66ASSOCIATE MSGS 66CHARACTER_DEFAULTS 69<strong>CP</strong>_ACCESS 71<strong>CP</strong>_ADDON_INITIALIZE_ ROUTINES 72<strong>CP</strong>_OWNED 75, 159<strong>CP</strong>XLOAD 80DEFINE COMMAND 83, 88DEFINE DIAGNOSE 93example (continued)configuration file statement (continued)DEFINE EXIT 96DEVICES 108DISABLE CMD 111DISABLE COMMAND 111DISABLE DIAGNOSE 113DISABLE EXITS 115DRAIN 119EMERGENCY_MESSAGE_ CONSOLES 125ENABLE CMD 127ENABLE COMMAND 127ENABLE DIAGNOSE 129ENABLE EXITS 131EQUATE 134FEATURES 134, 147, 156FORM_DEFAULT 150HOT_IO_RATE 154IMBED 155INIT_MITIME 157JOURNALING 163LOGO_CONFIG 164MODIFY COMMAND 168MODIFY DIAGNOSE 171MODIFY EXIT 174OPERATOR_CONSOLES 181PRINTER_TITLE 183PRIV_CLASSES 185RDEVICE (3800 printers) 215RDEVICE (AFP) 189RDEVICE (card punches) 191RDEVICE (card readers) 192RDEVICE (DASD) 196RDEVICE (graphic display devices) 199RDEVICE (impact printers) 204RDEVICE (line adapters) 194RDEVICE (special devices) 205RDEVICE (tape units) 207RDEVICE (unsupported devices) 211START 119, 221STORAGE 224SYSTEM_DATEFORMAT 225SYSTEM_IDENTIFIER 227, 228SYSTEM_IDENTIFIER_ DEFAULT 227, 228SYSTEM_RESIDENCE 231SYSTEM_USERIDS 234THROTTLE 236TIMEZONE_BOUNDARY 237, 238TIMEZONE_DEFINITION 239TOLERATE_CONFIG_ ERRORS 242TRANSLATE_TABLE 245USER_DEFAULTS 250USER_VOLUME_EXCLUDE 252USER_VOLUME_INCLUDE 254USER_VOLUME_LIST 256USERFORM 247XLINK_SYSTEM_EXCLUDE 263XLINK_SYSTEM_INCLUDE 264XLINK_VOLUME_EXCLUDE 266XLINK_VOLUME_INCLUDE 270XSPOOL_SYSTEM 272806 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


example (continued)configuration file statement (continued)XSPOOL_TRACE 273XSPOOL_XLIST_INPUT 275XSPOOL_XLIST_OUTPUT 277<strong>CP</strong> comm<strong>and</strong>, creating alias for 83<strong>CP</strong> system execution space, loading <strong>CP</strong> routinesinto 80<strong>CP</strong>ACCESS comm<strong>and</strong> 32, 36<strong>CP</strong>CACHE comm<strong>and</strong> 33<strong>CP</strong>CACHE FILES file 33<strong>CP</strong>LISTFILE comm<strong>and</strong> 33, 34<strong>CP</strong>RELEASE comm<strong>and</strong> 32, 35<strong>CP</strong>TYPE comm<strong>and</strong> 34creating alias for <strong>CP</strong> comm<strong>and</strong> 83CSE spooling comm<strong>and</strong>s 369dedicated DASD 622dedicating a device 622defining minidisk on a cached DASD 630DIAGNOSE codes, disabling 113DIAGNOSE codes, enabling 129directory calculation 609directory entries for CSE 342directory entries for user class restructure 445disabling <strong>CP</strong> comm<strong>and</strong>s 111disabling DIAGNOSE codes 113displayingDIAGNOSE codes 93ECKD-formatted CSE area map 364enabling <strong>CP</strong> comm<strong>and</strong>s 127enabling DIAGNOSE codes 129entry points, assigning to exit points 63exit pointassigning entry points to 63defining 96modifying 174start having <strong>CP</strong> use 131stopping <strong>CP</strong> from using 115exp<strong>and</strong>ed storage fragmentation 594generating the st<strong>and</strong>-alone dump utility 406GENIMAGE utility 411INPUT_AREA statement 291IPL comm<strong>and</strong> 39LINK comm<strong>and</strong> 35, 620loading <strong>CP</strong> routines into <strong>CP</strong>’s system executionspace 80macroCSESYS 657SYSACNT 661SYSADDIN 663SYS<strong>CP</strong>VOL 666SYSDUMP 667SYSEND 668SYSEREP 669SYSEXCL 671SYSFCN 674SYSFORM 676SYSID 679SYSINCL 680SYSJRL 684SYSMAXU 686example (continued)macro (continued)SYSOPR 688SYSPCLAS 692SYSRES 695SYSSYMP 699SYSTIME 702SYSUVOL 703message repositories, using local 66named saved system calculation 615ONLINE_MESSAGE statement 292operator restrictions to increase systemsecurity 382OVERRIDE control statement 439overriding comm<strong>and</strong>s 168overriding DIAGNOSE codes 171paging space calculation 611pre-profile exec 342P<strong>VM</strong> 323QUERY <strong>CP</strong>DISKS comm<strong>and</strong> 31, 35QUERY LOGMSG comm<strong>and</strong> 31, 35RDEVICE macro2741 7553151 7553161 7553162 7553163 7553167 7553800 printer 725advanced function printers 709card punch 730card readers 728communication controllers 755, 758CTCA 760DASD 748defining system console 767display printers 714display terminals 733, 736, 740document processor 731FBA DASD 750line adapters 752MCCU 760printers 710, 719tape drives 743telecommunication integrated adapters 739unsupported DASD 765redefining comm<strong>and</strong>s 168redefining DIAGNOSE codes 171RIOGEN macro 767SAPL screen 40secondary pre-PROFILE EXEC 344SET SHARED comm<strong>and</strong> 620SET SHARED ON comm<strong>and</strong> 626share minidisk among virtual machines 619spooling space calculation 615start having <strong>CP</strong> use exit point 131STATUS statement 294stopping <strong>CP</strong> from using exit point 115SYSEXCL macro 671SYSINCL macro 680SYSOPTS macro 690Index 807


example (continued)SYSSTORE macro 698system execution space, loading <strong>CP</strong> routinesinto 80turning on or offDIAGNOSE codes 113, 129user directory control statementACCOUNT 457ACIGROUP 458APP<strong>CP</strong>ASS 460CLASS 462CONSOLE 464<strong>CP</strong>U 466CRYPTO 470D8ONECMD 484DATEFORMAT 476DEDICATE 479DIRECTORY 481INCLUDE 487IPL 492IUCV 498LINK 503LOAD 506LOGONBY 509MACHINE 511MDISK 519MINIOPT 526NAMESAVE 528NICDEF 531NOPDATA 532OPTION 538POOL 540POSIXGLIST 542POSIXGROUP 544POSIXINFO 547POSIXOPT 549PROFILE 552SCREEN 554SHARE 556SPECIAL 560SPOOL 564SPOOLFILE 565SYSAFFIN 570USER 576XAUTOLOG 578XCONFIG 584XSTORE 586using local message repositories 66utility programs 641<strong>VM</strong>LINK CMS comm<strong>and</strong> 620warm start area calculation 607excludeDASD volumes from cross system link 266, 649input spool files from cross system spooling <strong>and</strong>comm<strong>and</strong>s 274, 276systems from cross system link 263volumes from user volume list 251, 671exclusion listincluding user ID on 371exclusiveaccess mode 327, 387exclusive (continued)access mode, authorized to use 535EXECH<strong>CP</strong>SADMP 409executable codeloading into <strong>CP</strong>’s system execution space 76exit pointassigning entry points <strong>and</strong> external symbols to 60assigning entry points to 64changing 172creating 94permitting <strong>CP</strong> to call entry points <strong>and</strong> externalsymbols associated with 130preventing <strong>CP</strong> from calling entry points <strong>and</strong> externalsymbols associated with 114removing 172exitsaccounting<strong>CP</strong> 310<strong>CP</strong>accounting records 310H<strong>CP</strong>ACU module 310H<strong>CP</strong>MSU module 373message function 373H<strong>CP</strong>ACU modulecontents 311entry point H<strong>CP</strong>ACUOF 313entry point H<strong>CP</strong>ACUON 312function 310usage notes 311when called by <strong>CP</strong> 310H<strong>CP</strong>MSU modulecontents 373entry point H<strong>CP</strong>MSUEX 374function 373process flow 377usage notes 373when called by <strong>CP</strong> 373installation-wideaccounting, <strong>CP</strong> 310<strong>CP</strong> accounting records 310<strong>CP</strong> message function 373H<strong>CP</strong>ACU module 310H<strong>CP</strong>MSU module 373exp<strong>and</strong>ed storage facilityadministration overview 7attaching to a virtual machine 592attaching to <strong>CP</strong> 596considerations with shared CMS minidisks 592dedicating to a virtual machine 585discontinuous 593fragmentation 593mapping 593overview 591planning 9planning overview 7retained 596, 597use as a minidisk cache 597extendedcolor optiondefining 553808 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


extended (continued)count-key-data (CKD)DASD 335highlighting optiondefining 553extended-configuration facility control parameters 580extensions, initialization time starting <strong>CP</strong> 663extent field on SAPL screen 41external symbolassigning to exit point 60, 64EXTERNAL_SYNTAX statement 53, 135FFACILITIES oper<strong>and</strong>JOURNALING statement 161FAIL oper<strong>and</strong>D8ONECMD statement 483FBA (Fixed-Block Architecture)DASD 603coding an RDEVICE macro 749device geometry 604fundamentals 603FCB (Forms Control Buffer)3203 printer 4133211 printer 4133262 printer 4134245 printer 4134248 printer 413adding a new image3203 printer 4183211 printer 4183262 printer 4184245 printer 4184248 printer 418, 420example of new image 419, 421<strong>IBM</strong> provided 418macroinstruction 418, 420naming convention 416FCB oper<strong>and</strong>RDEVICE statement 202, 214F<strong>CP</strong> oper<strong>and</strong>RDEVICE statement 205FEATURES statement 53, 136fileadding to an image library 424<strong>CP</strong>CACHE FILES 33defining for input area 291list used by SAPL 42logo configurationdescription 279specifying file name <strong>and</strong> file type 164statements 279summary of statements 279logo picturechoosing 285selection 288separator pages 289, 290width 288major <strong>VM</strong>/ESA to know 3file (continued)pooldefined 622server machine 622spoolclass, specifying for impact printers 202system configurationignoring errors in 241imbedding files into 155summary of statements 51USER_DEFAULTS 248user class restructure HELP 437user defaultsspecifying default attributes 248file modeestablishing 70file nameof logo configuration file, specifying 164of system configuration file, specifying 42FILE oper<strong>and</strong>CHOOSE_LOGO statement 287file typeof logo configuration file, specifying 164of system configuration file, specifying 43FILTER oper<strong>and</strong>TRANSLATE_TABLE statement 243FLASH oper<strong>and</strong>RDEVICE statement 214FOLDUP oper<strong>and</strong>RDEVICE statement 203FOLLOWING oper<strong>and</strong>ASSOCIATE EXIT statement 60ASSOCIATE MESSAGES statement 64ASSOCIATE MSGS statement 64FORCE comm<strong>and</strong> 299, 332formnames, creating list of user 247numbers, creating list of operator 247specifying default values 675FORM oper<strong>and</strong>RDEVICE statement for 3800 printers 214RDEVICE statement for card punches 190RDEVICE statement for impact printers 203FORM_DEFAULT statement 53, 150formatCKD-formatted CSE area 361CSE area 350ECKD-formatted CSE area 363system configuration file 55fragmentationexp<strong>and</strong>ed storage 593free storage used by <strong>CP</strong> for a user ID 538full-pack minidisk 625, 630restricting <strong>and</strong> auditing 382FULLPROMPT 396Ggatewaysystemidentifying 226, 228Index 809


GATEWAY oper<strong>and</strong>SYSTEM_IDENTIFIER statement 226SYSTEM_IDENTIFIER_ DEFAULT statement 228generatedefault system identifier 228default user form names 150list of cp-owned DASD volumes 664list of <strong>CP</strong>-owned volumes 73list of operator form numbers 247list of user DASD volumes 255list of user form names 247system date format 225system identifier 226, 228XLINK utility program 349GENIMAGE utility 411global attributes 257GLOBALDEFS user directory control statement 485GLOBALOPTS user directory control statement 486GLOBALV variables 399glossary information 785GRAF oper<strong>and</strong>HOT_IO_RATE statement 152graphic display devicesdefining 197GRAPHICS_APL oper<strong>and</strong>TRANSLATE_TABLE statement 243GRAPHICS_NONAPL oper<strong>and</strong>TRANSLATE_TABLE statement 243GRAPHICS_TEXT oper<strong>and</strong>TRANSLATE_TABLE statement 243group name, defining for virtual machine 458group of systems, naming 133guest devices, attaching 478Hhaltnew operations on real DASD 118use of X'15' 483users issuing multiple <strong>CP</strong> comm<strong>and</strong>s 483hardware, cabling 341HCD<strong>CP</strong>-owned DASDs 7DASDs used for minidisks 8dedicated DASDs 8dedicated unit record devices 11I/O reconfiguration 12IODF statement 53, 158NOHCD IPL opton 43spooled unit record devices 11terminals 10HCM<strong>CP</strong>-owned DASDs 7DASDs used for minidisks 8dedicated DASDs 8dedicated unit record devices 11I/O reconfiguration 12IODF statement 53, 158NOHCD IPL opton 43spooled unit record devices 11terminals 10H<strong>CP</strong>ACU exit modulecontents 311function 310H<strong>CP</strong>ACUOF entry pointAOFPARM parameter list 314function 313input registers 312, 314return code 314when called by <strong>CP</strong> 313H<strong>CP</strong>ACUON entry pointAONPARM parameter list 312function 312input registers 312return codes 313when called by <strong>CP</strong> 312usage notes 311when called by <strong>CP</strong> 310H<strong>CP</strong>BOX ASSEMBLE fileoverriding 282H<strong>CP</strong>DROP macroH<strong>CP</strong>ACU module 311H<strong>CP</strong>MSU module 374H<strong>CP</strong>ENTER macroH<strong>CP</strong>ACU module 311H<strong>CP</strong>MSU module 374H<strong>CP</strong>EPILG macroH<strong>CP</strong>ACU module 311H<strong>CP</strong>MSU module 374H<strong>CP</strong>EXIT macroH<strong>CP</strong>ACU module 311H<strong>CP</strong>MSU module 374H<strong>CP</strong>MSU exit modulecontents 373function 373H<strong>CP</strong>MSUEX entry pointfunction 374input registers 374parameter list 374return codes 374when called by <strong>CP</strong> 374process flow 377usage notes 373when called by <strong>CP</strong> 373H<strong>CP</strong>PROLG macroH<strong>CP</strong>ACU module 311H<strong>CP</strong>MSU module 374H<strong>CP</strong>RIO ASSEMBLE filecoding 705device support 45macroinstructions 45, 705H<strong>CP</strong>SADMP example 407H<strong>CP</strong>SADMP EXEC 403, 409H<strong>CP</strong>SAVBK save areacontents 312used by <strong>CP</strong> accounting exit 312used by <strong>CP</strong> message function exit 374H<strong>CP</strong>SDC ASSEMBLE file 404H<strong>CP</strong>SDC TEXT file 404H<strong>CP</strong>SYS ASSEMBLE filecoding 644macroinstruction 643810 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


H<strong>CP</strong>SYS ASSEMBLE file (continued)CSELDEV 646CSELVOL EXCLUDE 649CSELVOL INCLUDE 650CSESYS 653CSETRACE 658CSEUSER 659SYSACNT 661SYSADDIN 663SYS<strong>CP</strong>VOL 447, 664SYSDUMP 667SYSEND 668SYSEREP 669SYSEXCL 671SYSFCN 575, 673SYSFORM 675SYSID 677SYSINCL 680SYSJRL 682SYSMAXU 686SYSOPR 687SYSPCLAS 691SYSRES 693SYSSTORE 697SYSSYMP 699SYSTIME 701SYSUVOL 703H<strong>CP</strong>USING macro, H<strong>CP</strong>ACU module 311header for global definition section 485HELP files 437high-level data link control (X.25 network) 738HIPERSockets oper<strong>and</strong>RDEVICE statement 205HOLD oper<strong>and</strong>RDEVICE statement 198HOLDING oper<strong>and</strong>STATUS statement 293host access list size, defining 581hot I/O ratechanging 152setting 152HOT_IO_RATE statement 53, 152HW_SERVICE oper<strong>and</strong>PRIV_CLASSES statement 184II/O (input/output)avoiding DASD bottlenecks 337configurationIO<strong>CP</strong> 184, 673, 705task overview 12devicedefinitions 45distributing load among them 336sensing 45devicessetting hot I/O rate for 152dynamicdisabling for specific devices 105disabling on your processor 136I/O (input/output) (continued)dynamic (continued)enabling for specific devices 105enabling on your processor 136machine checkinitializing devices after 136performance measurementfor shared DASD 365reconfiguration 12reconfiguration by z/<strong>VM</strong> 12I/O rate, hotchanging 152setting 152<strong>IBM</strong>-defined user classchanging back to 442<strong>IBM</strong>1_ADAPTER oper<strong>and</strong>RDEVICE statement 193<strong>IBM</strong>CLASS oper<strong>and</strong>DEFINE ALIAS statement 82DEFINE CMD statement 86DEFINE COMMAND statement 86DISABLE CMD statement 110DISABLE COMMAND statement 110ENABLE CMD statement 126ENABLE COMMAND statement 126MODIFY CMD statement 166MODIFY COMMAND statement 166identification of users, requirements for 391identify4-digit years 225minidisk to <strong>CP</strong> 70processor running z/<strong>VM</strong> 226, 228system gateway 226, 228volumes for cross system spooling 73ignoresystem configuration file errors 241ILAN 738image libraryadding files to 424deleting members from 424description of 411displaying information about 424installing 423keeping backup copies of 425map creating 424modifying 424printercreating 411modifying 411purging 425replacing members 424replacing modules 424IMAGE_LIBRARY oper<strong>and</strong>RDEVICE statement 203, 214IMAGELIB utility 423IMAGEMOD utility 424imbed files into system configuration file 155IMBED statement 53, 155impact printer 716creating image library for 424creating text deck for 412Index 811


impact printer (continued)defining 201image library, description 411IMPACT_PRINTER oper<strong>and</strong>RDEVICE statement 202includeDASD in cross system link 268DASD volumes in cross system link 650journaling facility in system 160password suppression facility in system 136systems in cross system link 264volumes in user volume list 253, 680INCLUDE user directory control statement 487INDEX oper<strong>and</strong>RDEVICE statement 203INDICATE LOAD comm<strong>and</strong> 601INIT_MITIME statement 53, 157initial state of <strong>CP</strong> file system 31initializedevicesafter IOMCK 136when added to the system 136minidisk volumes for cross system link 349options for <strong>CP</strong>, specifying 689preventing devices at IPL 105specific devices at IPL 105inputarea, defining file for 291INPUT oper<strong>and</strong>TRANSLATE_TABLE statement 244INPUT_AREA statement 279, 291input/output configuration (IO<strong>CP</strong>) utility 176, 184, 673,705installcross system extension 345CSE, planning 334image library 423integrated communication adaptersdefining 738defining in system configuration file 49Integrated Cryptographic Facility 383defining for virtual machines 388maximum number of users 388use with <strong>VM</strong>/ESA 387integrity problems, reporting 400internal trace tableallocating space for 222, 697interpretive-execution mode 390interrupt, unsolicitedchanging 152setting 152INVAR oper<strong>and</strong>DEFINE DIAGNOSE statement 91INVXC oper<strong>and</strong>DEFINE DIAGNOSE statement 91IO<strong>CP</strong> (input/output configuration) 184, 673, 705IO<strong>CP</strong>_READ oper<strong>and</strong>PRIV_CLASSES statement 184IO<strong>CP</strong>_WRITE oper<strong>and</strong>PRIV_CLASSES statement 184IOPRIORITY user directory control statement 488IPL (Initial Program Load)imbedding files into system configuration file 155parameters on SAPL screen 41parameters passed via SAPL 42process 31IPL at log on 490IPL comm<strong>and</strong> 491IPL user directory control statement 490IPOLL function, with GCS 332ISFC (Inter-System Facility for Communications)accounting record 304isolation 337IUCV (Inter-User Communication Vehicle)authorizing virtual machines that use 493IUCV user directory control statement 493Jjoining systems 353journalaccounting record 301AUTOLOG comm<strong>and</strong> 385including 682LINK comm<strong>and</strong> 385LOGON comm<strong>and</strong> 385XAUTOLOG comm<strong>and</strong> 385journalingsecurityincluding facility in system 160JOURNALING statement 53, 160LLAN (Local Area Network)802.3 738adaptersdefining 205<strong>IBM</strong> Token Ring 738LAN_ADAPTER oper<strong>and</strong>RDEVICE statement 205LDEV oper<strong>and</strong>CHOOSE_LOGO statement 286LET oper<strong>and</strong><strong>CP</strong>XLOAD statement 78limitI/O rate for specific devices 105number of retrieve buffers 136number of users 136LIMIT oper<strong>and</strong>RDEVICE statement 203, 214line adapterscoding an RDEVICE macro 754defining 193line delete characterdefining for virtual machine 572definition 67line end characterdefining for virtual machine 572definition 67LINE_DELETE oper<strong>and</strong>CHARACTER_DEFAULTS statement 68812 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


LINE_END oper<strong>and</strong>CHARACTER_DEFAULTS statement 68linkaccess modes 387cross systemexcluding systems 263excluding volumes 266, 649including systems 264including volumes 264, 268, 650defining 359defining minidisk 358protocols 358verifying 353LINK comm<strong>and</strong> 299, 501, 515, 535, 620prompting for password on 144LINK oper<strong>and</strong>JOURNALING statement 161LINK statements 395LINK user directory control statement 9, 500, 620LINKS optionDRAIN statement 119START statement 220listdefining size of host access 581of consoles to receive emergency messages 124of <strong>CP</strong>-owned volumes, defining 73of possible system consoles, defining 180of user DASD volumes, generating 255user form names, creating 247load<strong>CP</strong> routines into <strong>CP</strong>’s system execution space 76load origin field on SAPL screen 41LOAD user directory control statement 504LOADDEV user directory control statement 507LOCAL oper<strong>and</strong>CHOOSE_LOGO statement 286local time zonechoosing at IPL 237defining 239determining 237LOCATE comm<strong>and</strong> 393location, CSE area 361LOCK oper<strong>and</strong><strong>CP</strong>XLOAD statement 77D8ONECMD statement 483lock pages 394, 397LOCKOUT oper<strong>and</strong>JOURNALING statement 162logmessagesQUERY LOGMSG comm<strong>and</strong> 31specifying whether <strong>CP</strong> should display 136log onautomaticallyrecording invalid attempts 160defining new <strong>CP</strong> comm<strong>and</strong> to issue before 84identificationaccounting virtual machine 661error recording virtual machine 669primary system operator 687system dump virtual machine 667log on (continued)identification, defining virtual machine user 572limitoverriding 535specifying 686maximum number of usersspecifying 136password defining for virtual machine user 572password suppression 387including facility in system 136LOG oper<strong>and</strong>D8ONECMD statement 483logical character delete symbolestablishing default 67logical devicechoosing logo 285logical escape characterestablishing default 67logical line delete characterestablishing default 67logical line end characterestablishing default 67logical symbol, establishing defaultfor character delete 67for escape 67for line delete 67for line end 67for tab 67logical tab characterestablishing default 67LOGMSG_FROM_FILE oper<strong>and</strong>disabling on FEATURES statement 141enabling on FEATURES statement 142logo configuration filecontents 28description 279limit <strong>and</strong> audit access 380overview 28specifying file name <strong>and</strong> file type 164statements 279CHOOSE_LOGO 285INPUT_AREA 291ONLINE_MESSAGE 292STATUS 293summary of statements 279logo picture filechoosing 285selection 288separator pages 289, 290width 288logo screens, creating 282LOGO_CONFIG statement 53, 164LOGON comm<strong>and</strong> 299, 326journaling 385prompting for password on 144LOGON oper<strong>and</strong>JOURNALING statement 162LOGONBY user directory control statement 509Index 813


MMAC oper<strong>and</strong>DEFINE CMD statement 86DEFINE COMMAND statement 86DEFINE DIAGNOSE statement 91machine checkI/Oinitializing devices after 136MACHINE user directory control statement 510macroinstruction<strong>CP</strong>H<strong>CP</strong>DROP 311, 374H<strong>CP</strong>ENTER 311, 374H<strong>CP</strong>EPILG 311, 374H<strong>CP</strong>EXIT 311, 374H<strong>CP</strong>PROLG 311, 374H<strong>CP</strong>USING 311CSELDEV 646CSELVOL EXCLUDE 338, 359, 649CSELVOL INCLUDE 338, 359, 650CSESYS 653CSETRACE 658CSEUSER 371, 659DTIGEN 330FCB 418, 420H<strong>CP</strong>SYS 643RDEVICE 706RIOGEN 766SYSACNT 6, 661SYSADDIN 663SYS<strong>CP</strong>VOL 337, 447, 620, 664SYSDUMP 6, 667SYSEND 668SYSEREP 6, 669SYSEXCL 671SYSFCN 575, 673SYSFORM 675SYSID 677SYSINCL 680SYSJRL 682SYSMAXU 686SYSOPR 6, 687SYSOPTS 689SYSPCLAS 691SYSRES 391, 605SYSSTORE 697SYSSYMP 699SYSTIME 701SYSUVOL 8, 620, 703UCSI 415UCSICCW 415main storage, allocation of 397MAINT virtual machine 32MAKEBUF comm<strong>and</strong> 399map record<strong>and</strong> number of sharing <strong>VM</strong> systems 359defaults 652displaying indicators 363length 652number 652on CSE area 363MAP_RECORD_LENGTH oper<strong>and</strong>XLINK_VOLUME_INCLUDE statement 268MAP_RECORDS oper<strong>and</strong>XLINK_VOLUME_INCLUDE statement 268mappingexp<strong>and</strong>ed storage 593maximumnumber of users, specifying 136maximum systems supportedfor cross system link 334, 338, 656maximum user limitoverriding 535MAXSTORAGE user directory control statement 512MAXUSERS oper<strong>and</strong>FEATURES statement 144MCCU (Multisystem Channel Communications Unit)requirement for CSE 335MDC (minidisk caching feature)in CSE 339MDISK user directory control statement 9, 339, 513,625memberdeleting from an image library 424replacing in an image library 424MEMBER oper<strong>and</strong><strong>CP</strong>XLOAD statement 77messagecomm<strong>and</strong>s, <strong>CP</strong>, altering output 373log onspecifying whether <strong>CP</strong> should display 136online, changing 292MESSAGE <strong>and</strong> QUERY comm<strong>and</strong>sin CSE 334MESSAGE comm<strong>and</strong>, altering output 373MESSAGE oper<strong>and</strong>JOURNALING statement 162migrationincompatibility note 656, 678planning 3minidiskaccess modes 515accessingby <strong>CP</strong> 70as units of data control 358available for caching 600cache performance considerations 602cache using exp<strong>and</strong>ed storage as a 597cache, special considerations 601caching 600clearing 398<strong>CP</strong>-accessed 33, 34DASDs used for 8defining for a virtual machine 513defining full-pack minidisk 630defining links to 500full-pack 630full-pack, defining 625full-pack, restricting <strong>and</strong> auditing 382full-pack, using to share DASD 625initializing CSE area on 349non-full-pack 630814 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


minidisk (continued)offset field on SAPL screen 41parm disk 51restrictions 521shared CMS exp<strong>and</strong>ed storage considerations 592used to share data 619using to share DASD between virtual machines 619using with cached DASD 629write-through 597minidisk cache enhancements 598minimum content of a system configuration file 25MINIMUM oper<strong>and</strong>CHOOSE_LOGO statement 287MINIOPT user directory control statement 524MINIPROMPT 396mode switch procedure for 3390 devices 616MODEL oper<strong>and</strong>CHOOSE_LOGO statement 286RDEVICE statement 198, 213modifyimage library 411read-only saved segments 390MODIFY DIAGNOSE statement 53, 169MODIFY EXIT statement 53, 172MODIFY LAN statement 53, 175MODIFY PRIV_CLASSES Statement 53, 176MODIFY VSWITCH Statement 53, 178modifying virtual LAN segment 175modifying virtual switch segment 178modulename field on SAPL screen 41replacing in an image library 424XLINK 349MORE oper<strong>and</strong>STATUS statement 293MP oper<strong>and</strong><strong>CP</strong>XLOAD statement 77MPLF (Multi-Path Lock Facility)realOPTION user directory control statement 535,627sharing DASD 627RPQOPTION user directory control statement 535,627sharing DASD 627MSG comm<strong>and</strong> 276MSGNOH comm<strong>and</strong> 276altering output 373multisystem complex, defining statements thatapply 569Nname groups of systems 133NAMESAVE user directory control statement 527naming conventionFCB 416UCS buffer image 416N<strong>CP</strong> (Network Control Program)used with 3720 49N<strong>CP</strong> (Network Control Program) (continued)used with 3745 49networking implications of CSE 357newaliascreating for existing <strong>CP</strong> comm<strong>and</strong> 81comm<strong>and</strong>screating <strong>CP</strong> 84DIAGNOSE codescreating 90exitcreating 94versioncreating for existing <strong>CP</strong> comm<strong>and</strong> 84NICDEF user directory control statement 529NO_SPOOLING oper<strong>and</strong>RDEVICE statement 190, 192, 202, 213NOAUTOLOG oper<strong>and</strong>SYSTEM_USERIDS statement 233NOCONTROL oper<strong>and</strong><strong>CP</strong>XLOAD statement 78NODELAY oper<strong>and</strong><strong>CP</strong>XLOAD statement 78NODISCONNECT oper<strong>and</strong>SYSTEM_USERIDS statement 233NOLET oper<strong>and</strong><strong>CP</strong>XLOAD statement 78NOLIMIT oper<strong>and</strong>FEATURES statement 144NOLOCK oper<strong>and</strong><strong>CP</strong>XLOAD statement 77NOMP oper<strong>and</strong><strong>CP</strong>XLOAD statement 77non-disruptive transition support 392non-full-pack minidisk 630NONMP oper<strong>and</strong><strong>CP</strong>XLOAD statement 77NOPDATA user directory control statement 532NOPROMPT 397NOREPLACE 397NOTACCEPTED oper<strong>and</strong>DEVICES statement 106STATUS statement 293notational conventionfor comm<strong>and</strong>s xvinotices 781NOTSILENT oper<strong>and</strong>MODIFY CMD statement 167MODIFY COMMAND statement 167NSS (named saved system)allocating DASD space for 615restricted, authorizing virtual machines to use 527number ofOretrieve buffers, specifying maximum 136users, specifying maximum 136OFF oper<strong>and</strong>D8ONECMD statement 483HOT_IO_RATE statement 153Index 815


onlinebringing specified devices 105messages 279changing 292ONLINE_MESSAGE statement 292OpenExtensions planning 13OPER_IDENT_READERRDEVICE statement 198operating modes for 3390 devices, switching 615operatorconsoledefining 766defining list of possible 180defining directory entry 342form numbers, creating list of 247identification card for displays 49primary system, specifying a user ID for 687systemspecifying disconnect status 232specifying user ID 232OPERATOR oper<strong>and</strong>PRIV_CLASSES statement 185SYSTEM_USERIDS statement 233OPERATOR_CONSOLES statement 53, 180OPERSYMP virtual machinesample directory entry 318SYSSYMP macroinstruction 699system configuration fileSYSTEM_USERIDS statement 234optionfor <strong>CP</strong>, specifying initialization 689specifying IPL parameters 42OPTION user directory control statement 533ORDER comm<strong>and</strong> 368order of statements in a system configuration file 57organization review of <strong>CP</strong>-owned DASD 337original spool descriptor 368OSA oper<strong>and</strong>RDEVICE statement 205outages 372outputchoosing logo for separator pages 285devices for st<strong>and</strong>-alone dump utility 403, 406OUTPUT oper<strong>and</strong>TRANSLATE_TABLE statement 244override<strong>CP</strong> comm<strong>and</strong> 165OVERRIDE control statement 438override file 433, 438OVERRIDE utility 382, 441overriding console that <strong>CP</strong> will use 39overriding SAPL defaults 39overviewplanning <strong>and</strong> administration tasks 3OWN oper<strong>and</strong><strong>CP</strong>_OWNED statement 73Ppage allocationfor XSPOOL trace tables 273PAGE oper<strong>and</strong>DRAIN statement 119START statement 220page protection 390PAGES oper<strong>and</strong>XSPOOL_TRACE statement 273pages, lock <strong>and</strong> unlock 394, 397paging 398space 338, 610Parallel Access Volumes 631parameter listAOFPARM 314AONPARM 312H<strong>CP</strong>ACUOF entry point 314H<strong>CP</strong>ACUON entry point 312H<strong>CP</strong>MSUEX entry point 374parm disk 51limit <strong>and</strong> audit access 380number 43offset 43placing information on 23purpose 23real address 43passwordautomatic deactivation of restricted 386defining for virtual machine user 572directoryauthorization bypass 385suppression facility, including 682suppression facility, including in system 136PASSWORDS_ON_CMDS oper<strong>and</strong>FEATURES statement 144pending retained Exp<strong>and</strong>ed Storage 597PEP (partitioned emulation program)used with 3720 49performanceadministration tasks 12allocating directory space 608<strong>CP</strong> file system 33DASD considerations for sharing spool files 337DASD for dynamic paging area 590GCS 332planning 12SET D8ONECMD comm<strong>and</strong> 381SNA/CCS 332PERM spacefor CSE area 340PERMANENT oper<strong>and</strong><strong>CP</strong>XLOAD statement 78picture file, logochoosing 285selection 288separator pages 289, 290width 288planningconsiderations 3CSE installation 334migration from a previous <strong>VM</strong> release 3overview 5performance tasks 12real <strong>and</strong> virtual storage 7816 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


planning (continued)SNA/CCS 329system 4tasks 4user class structure 433user tasks 5POOL user directory control statement 540POSIXdirectory definitions 448POSIXGLIST directory control statement 541POSIXGROUP directory control statement 543POSIXINFO directory control statement 545POSIXOPT directory control statement 548user planning <strong>and</strong> administration 6POSIX groupscontinuation comma 452continued directory control statements 452directory definition order 448Global definitions 448LOAD user directory control statement 504POSIXGLIST 541POSIXGROUP 543POSIXINFO 545POSIXOPT 548quoted string oper<strong>and</strong>s 452POSIXGLIST user directory control statement 541POSIXGROUP user directory control statement 543POSIXINFO user directory control statement 545POSIXOPT user directory control statement 548PRECEDING oper<strong>and</strong>ASSOCIATE EXIT statement 61ASSOCIATE MESSAGES statement 65ASSOCIATE MSGS statement 65preparation package 335preparean override file 438DASD volumes for CSE 361for CSE 341preventnew operations on real DASD 118systems from accessing other system’sminidisks 263use of X'15' 483users issuing multiple <strong>CP</strong> comm<strong>and</strong>s 483primary systemconsoledefining on OPERATOR_CONSOLESstatement 180defining on RIOGEN macro 766operatorspecifying a user ID for 687print buffer imageadding 414<strong>IBM</strong> provided 412printer3800defining 189, 2123820defining 1893825defining 189printer (continued)3827defining 1893828defining 1893835defining 1893900defining 189, 212advanced functiondefining 189coding an RDEVICE macro3203 7163211 7163262 7163800 7213820 7104245 7164248 7166262 716advanced function 708common control unit 708configuration guide 47, 769dedicating to virtual machine 477defining in system configuration file 47filenot accessible to other systems 659form printer default 675format, st<strong>and</strong>-alone dump 780image library 411impactdefining 201output classification titles 691output separator pages 289, 290sharing with other users 477specifying default form values 675spooled, defining for virtual machine 562unsupporteddefining 209PRINTER oper<strong>and</strong>FORM_DEFAULT statement 150RDEVICE statement 210PRINTER_TITLE statement 53, 182PRIV_CLASSES statement 53, 184PRIVCLASSANY oper<strong>and</strong>DEFINE CMD statement 86DEFINE COMMAND statement 86DEFINE DIAGNOSE statement 91MODIFY CMD statement 166MODIFY COMMAND statement 166MODIFY DIAGNOSE statement 170PRIVCLASSES oper<strong>and</strong>DEFINE CMD statement 86DEFINE COMMAND statement 86DEFINE DIAGNOSE statement 91MODIFY CMD statement 166MODIFY COMMAND statement 166MODIFY DIAGNOSE statement 170privilege classesaccounting record 306, 307, 309assigning to comm<strong>and</strong>s <strong>and</strong> DIAGNOSE codes 438Index 817


privilege classes (continued)authorizing <strong>CP</strong> functions, changing 184changing 433changing <strong>CP</strong> function of 673changing individual oper<strong>and</strong>s of QUERY <strong>and</strong> SETcomm<strong>and</strong>s 440controlling which users can change 136defining for a virtual machine 444definition of 392<strong>IBM</strong>-defined 433overriding 392, 396tailoring 392, 396problems, reporting 400PROC oper<strong>and</strong>DEFINE CMD statement 86DEFINE COMMAND statement 86DEFINE DIAGNOSE statement 91processordefining a system identifier for 677defining virtual 465production environmentphasing CSE into 356profiledirectory 455entry, defining start of in source directory 551invoked as part of USER statement 487P<strong>VM</strong> modifications for CSE 350PROFILE user directory control statement 551Programmable Operator Facilitysecurity 382programming interface information 782prompt at start-up, requesting 43proprietary data protection 391PROT oper<strong>and</strong>DEFINE CMD statement 86DEFINE COMMAND statement 86DEFINE DIAGNOSE statement 91protection keys 397protocols, link 358PSF/<strong>VM</strong> (Print Services Facility/<strong>VM</strong>)setting up virtual machines 326PTF (Program Temporary Fix) 401PUN oper<strong>and</strong>RDEVICE statement 190punchunsupporteddefining 209punch filenot accessible to other systems 659PUNCH oper<strong>and</strong>FORM_DEFAULT statement 150RDEVICE statement 210PURGE comm<strong>and</strong> 369PURGE IMG comm<strong>and</strong> 425PURGE UCR comm<strong>and</strong> 442P<strong>VM</strong> (<strong>VM</strong>/Pass-Through Facility)directories 395functions for cross system spool 371need for CSE 335networks in CSE 357P<strong>VM</strong> (<strong>VM</strong>/Pass-Through Facility) (continued)P<strong>VM</strong> CONFIGmodifications for CSE 350run by the C<strong>VM</strong> 345Qqualifiers in system configuration files 56queryjournaling facility, enabling system to 160QUERY (User ID) comm<strong>and</strong> 277QUERY <strong>and</strong> MESSAGE comm<strong>and</strong>in CSE 334QUERY CACHE comm<strong>and</strong> 747QUERY COMMAND comm<strong>and</strong> 446QUERY comm<strong>and</strong> oper<strong>and</strong>changing privilege classes of 440QUERY DASDFW comm<strong>and</strong> 748QUERY FILES comm<strong>and</strong> 369QUERY FRAMES comm<strong>and</strong> 589QUERY IMG comm<strong>and</strong> 424QUERY LOGMSG comm<strong>and</strong> 143QUERY NAMES comm<strong>and</strong> 277QUERY oper<strong>and</strong>DEFINE ALIAS statement 81DEFINE CMD statement 84DEFINE COMMAND statement 84DISABLE CMD statement 110DISABLE COMMAND statement 110ENABLE CMD statement 126ENABLE COMMAND statement 126MODIFY CMD statement 165MODIFY COMMAND statement 165QUERY PINNED comm<strong>and</strong> 747QUERY READER/PRINTER/PUNCH 369QUERY RETRIEVE comm<strong>and</strong> 146QUERY RSAW comm<strong>and</strong> 747QUERY UCR comm<strong>and</strong> 442QUERY UCR COUNT comm<strong>and</strong> 442QUERY XSTORE comm<strong>and</strong> 594QUERY XSTORE MAP comm<strong>and</strong> 592, 593Queued-I/O assist, control by DEDICATEstatement 478quoted string oper<strong>and</strong>squoted string 452rules 452with control statements 452RRACF/<strong>VM</strong> (Resource Access Control Facility/<strong>VM</strong>)dual registration 381general description 379rate, hot I/Ochanging 152setting 152RDEVICE macrogeneral format 706how to code2701 data adapter 7522741 terminal 754818 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


RDEVICE macro (continued)how to code (continued)3088 multisystem channel communicationunit 7603101 display 7343151 display terminal 7543161 display terminal 7543162 display terminal 7543163 display terminal 7543167 display terminal 7543174 controller 7573178 display 7343179 display 7343180 display 7343191 display 7343192 display 7343193 display 7343194 display 7343203 printer 7163211 printer 7163250 display 733, 7343262 display printer 7133262 printer 7163268 display printer 7133270-PC 7343274 controller 7573277 display 7343278 display 7343279 display 7343286 display printer 7133287 display printer 7133288 display printer 7133289 display printer 7133290 display 7343350 DASD 7463350 DASD (in 3330 compatibility mode) 7463370 7493375 DASD 7463380 DASD 7463390 DASD 7463422 tape drive 7433430 tape drive 7433480 tape drive 7433490 tape drive 7433505 card reader 7273525 card punch 7293590 tape drive 7433705 communication controller 7573705 line adapter 7543720 communication controller 7573725 communication controller 7573725 line adapter 7543737 Remote Channel-to-Channel Unit 7603745 communication controller 7573745 line adapter 7543800 printer 7213812 printer 7133816 printer 7133820 7103850 DASD 7463890 document processor 731RDEVICE macro (continued)how to code (continued)4214 display printer 7134224 display printer 7134234 display printer 7134245 display printer 7134245 printer 7164248 printer 7165080 graphics display 7405210 display printer 7135550 display 7346090 graphics display 7406262 display printer 7136262 printer 7167171 Device Attachment Control Unit 7349332 7499335 7499336 7499345 DASD 746advanced function printer 708alternate system console 766common control unit printer 708CTCA 760dynamic switching devices 762FB-512 749FBA DASD 749primary system console 766teleprocessing integrated adapter 738unsupported devices 763RDEVICE statement 53, 1883800 printers 2123900 printers 212advanced function printers 189card punch 190card readers 192channel-to-channel adapters 205communication controllers 193DASD 195graphic display devices 197impact printers 201LAN adapters 205line adapters 193special devices 205tape units 207unsupported devices 209READCARD comm<strong>and</strong> 396readerdefining 192unsupporteddefining 209reader filecomposite 396not accessible to other systems 659READER oper<strong>and</strong>FORM_DEFAULT statement 150RDEVICE statement 192, 210realchannel program support 397device set, adding to 188reserve/releasewhen to use 624Index 819


eal storageadministration 7, 589configuration, defining 697configuring 222, 697planning 7, 589requirements, <strong>CP</strong> module 589RECEIVE comm<strong>and</strong> 396RECL oper<strong>and</strong>CSELVOL INCLUDE oper<strong>and</strong> 651record qualifiers in system configuration files 56RECORDING comm<strong>and</strong>EREP oper<strong>and</strong> of 316RECS oper<strong>and</strong>CSELVOL INCLUDE oper<strong>and</strong> 651redefinecomm<strong>and</strong> privilege classes 433<strong>CP</strong> comm<strong>and</strong> 165text of status fields 293Remote Spooling Communications SubsystemNetworking (RSCS)directory options 395in CSE 357replacemembers in an image library 424modules in an image library 424translate tables 243REPLACE oper<strong>and</strong>ASSOCIATE EXIT statement 60ASSOCIATE MESSAGES statement 64ASSOCIATE MSGS statement 64reporting z/<strong>VM</strong> integrity problems 400requestsense IDusing information from 105requirementsystemfor CSE 334reserve release 210RESERVE_RELEASE oper<strong>and</strong>RDEVICE statement 210reserve/releaseconcurrent virtual <strong>and</strong> real, when to use 626description 619real, when to use 624restrictions 626typeconcurrent virtual <strong>and</strong> real 625real 622virtual 619virtualDASD sharing without using 622when to use 621RESERVED oper<strong>and</strong><strong>CP</strong>_OWNED statement 73XSPOOL_SYSTEM statement 271RESET oper<strong>and</strong>MODIFY CMD statement 166MODIFY COMMAND statement 166MODIFY DIAGNOSE statement 169residence disk, <strong>CP</strong> 693resident pages dumped with st<strong>and</strong>-alone dumputility 403resourcemanaging 495response suppression, comm<strong>and</strong> 86, 166restartreal DASD 220restrictusers issuing multiple <strong>CP</strong> comm<strong>and</strong>s 483restricted passwordautomatic deactivation of 386restriction3525 card punch 1903705, 3720, 3725, <strong>and</strong> 3745 BSC line adapters 1933850 Mass Storage System 195about migration incompatibilities 656, 678against using 2250 display 124against using 3250 display 124defining advanced function printers 189DIAGNOSE codes 394minidisk 521removedissuing multiple <strong>CP</strong> comm<strong>and</strong>s 483specifying real storage available for <strong>CP</strong> 697reserve/release 626turning off hot I/O rate 153users migrating from <strong>VM</strong>/XA SP 451, 454<strong>VM</strong>/ESA comm<strong>and</strong>s 393RETAIN XSTORE comm<strong>and</strong> 591, 593, 596retained Exp<strong>and</strong>ed Storage 596, 597retrieve bufferspecifyingdefault number of 136maximum number of 136RETRIEVE comm<strong>and</strong> (<strong>CP</strong>)retrieving EREP records 316RETRIEVE oper<strong>and</strong>FEATURES statement 145RIOGEN macro 766RMSIZE oper<strong>and</strong>SYSSTORE macro 697RUNNING oper<strong>and</strong>STATUS statement 294running programsutilities 37SSAMPEXEC files 641sample utility programDRAWLOGO 282, 642SAMPXEDI files 641save area, H<strong>CP</strong>SAVBKcontents 312used by <strong>CP</strong> accounting exit 312used by <strong>CP</strong> message function exit 374saved segmentmodifying read-only 390nonrestricted, authorizing virtual machines touse 527restricted, authorizing virtual machines to use 527820 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


SAY statement 53, 217, 219SCIF (Single Console Image Facility)restricting use of 381screenlogochoosing picture file 285SCREEN user directory control statement 553SCSI disks 635securityconsiderations 379, 380external security manager 383facilities 379, 383guidelines 380Integrated Cryptographic Facility 383maintaining system integrity 389, 401of z/<strong>VM</strong> installation 142products that enhance 379security journaling 160system 234use badge reader to log on 198using an Integrated Cryptographic Facility 387semantic statements in system configuration file 27sense ID requestspecifying whether <strong>CP</strong> should issue 689using information from 105SENSE oper<strong>and</strong>SYSOPTS macro 689sensing devices at IPL time 46SEPARATOR oper<strong>and</strong>RDEVICE statement 203, 215separator pagelogochoosing 285serialization 392servicepooldefinition 325manager 326virtual machines, setting up 325virtual machinedefining directory entry 342excluding from spooling 659setting up 295service, system*ACCOUNT 233*BLOCKIO 494*CONFIG 494*CRM 494*IDENT 496*LOGREC 314, 494, 669*MONITOR 494*MSG 494*MSGALL 494*RPI 494*SIGNAL 494*SYMPTOM 318, 494*SYMPTOM, specifying virtual machines for 699accounting 295, 661collecting accounting records 297collecting EREP records 315collecting symptom records 319service, system (continued)communication requirements 497<strong>CP</strong> recording 295symptom record recording 295sessionconcurrent copy 566multiple concurrent 371sethot I/O rate 152I/O throttling rate 105journaling facility, enabling system to 160time of (TOD) clock 701SET CACHE comm<strong>and</strong> 747SET comm<strong>and</strong> oper<strong>and</strong>changing privilege classes of 440SET CONCEAL OFF comm<strong>and</strong> 534SET D8ONECMD comm<strong>and</strong> 381, 393SET DASDFW comm<strong>and</strong> 747SET DUMP comm<strong>and</strong> 614SET LOGMSG comm<strong>and</strong> 141SET MAXUSERS comm<strong>and</strong> 535SET MDCACHE SYSTEM 393SET OBSERVER comm<strong>and</strong> 393SET oper<strong>and</strong>DEFINE ALIAS statement 82DEFINE CMD statement 84DEFINE COMMAND statement 84DISABLE CMD statement 110DISABLE COMMAND statement 110ENABLE CMD statement 126ENABLE COMMAND statement 126MODIFY CMD statement 166MODIFY COMMAND statement 166SET PFnn RETRIEVE comm<strong>and</strong> 145SET PRIVCLASS comm<strong>and</strong> 393controlling which users can use 136SET RDEVICE comm<strong>and</strong> 393SET RETRIEVE comm<strong>and</strong> 146SET SECUSER comm<strong>and</strong> 393SET SHARED comm<strong>and</strong> 601, 620SET SHARED OFF comm<strong>and</strong> 620SET SHARED ON comm<strong>and</strong> 626SET SRM comm<strong>and</strong> 332, 537SET statement 53SET SYSOPER comm<strong>and</strong> 393SET TIMEZONE comm<strong>and</strong> 394set upa CSE complex 334data storage management virtual machines 327Print Services Facility/<strong>VM</strong> virtual machines 326service pool virtual machine 325SET VDISK SYSLIM comm<strong>and</strong> 394SET_ADDRESS oper<strong>and</strong>RDEVICE statement 193SET_AND_QUERY oper<strong>and</strong>JOURNALING statement 161SET_PRIVCLASS oper<strong>and</strong>disabling on FEATURES statement 141enabling on FEATURES statement 144SHARE user directory control statement 555Index 821


SHARE_SPOOL oper<strong>and</strong>XSPOOL_SYSTEM statement 271sharedaccess to minidisks, DASD for 338CMS minidisks exp<strong>and</strong>ed storageconsiderations 592DASD 365defining 195omitting devices 105specifying devices 105datareserve/release 210file pools, DASD space used for 9segment 391, 398spool files, DASD for 337Shared File System (SFS)sharing DASD 622SHARED oper<strong>and</strong><strong>CP</strong>_OWNED statement 74RDEVICE statement 195sharing<strong>CP</strong>U power 555DASD 619, 622using Parallel Access Volumes 632volumes 336SHOW_ACCOUNT oper<strong>and</strong>FEATURES statement 143SHUTDOWN comm<strong>and</strong> 299, 394SILENT oper<strong>and</strong>DEFINE CMD statement 86DEFINE COMMAND statement 86MODIFY CMD statement 166MODIFY COMMAND statement 166single source directory 341SLOT oper<strong>and</strong>XLINK_SYSTEM_INCLUDE 264XSPOOL_SYSTEM 271SMSG comm<strong>and</strong> 276altering output 373to start CSECOM task 353SNA (Systems Network Architecture)enabling communication 331environment 329networks in CSE 358SNA/CCS (System Network Architecture/ConsoleCommunication Services)accounting record 304defining to VSCS 331defining VCNA to 330functions 329improving performance of 332planning 329terminal environment, establishing 330terminalschoosing logo picture file for 285SNAPDUMP comm<strong>and</strong> 394source code, adding your own 310spaceallocatingfor internal trace tables 222, 697for XSPOOL trace tables 273space (continued)clearing TDISK 136storageconfiguring 222, 697used for shared file pools 9special devicesdefining 205SPECIAL oper<strong>and</strong>HOT_IO_RATE statement 152SPECIAL user directory control statement 557specifyaccess list size, host 581<strong>CP</strong>’s displaying of log messages 136DASD excluded from cross system link 266, 649DASD to be included in cross system link 268DASD volumes included in cross system link 650default number of RETRIEVE buffers 136file for input area 291file name <strong>and</strong> type of logo configuration file 164forms as NARROW 247host access list size 581inclusion of journaling facility 160inclusion of password suppression facility 136initialization options for <strong>CP</strong> 689maximum number of nonprimary addressspaces 583maximum number of RETRIEVE buffers 136maximum number of users 136replacements for st<strong>and</strong>ard translate tables 243size of host access list 581spool file class for impact printers 202systems excluded from cross system link 263systems in cross system spooling 271systems participating in cross systemcomm<strong>and</strong>s 271systems to be included in cross system link 264total size of nonprimary address spaces 583user IDs to perform special functions 232volumes excluded from user volume list 251, 671volumes included in user volume list 680volumes to be included in user volume list 253whether <strong>CP</strong> builds device blocks 105whether <strong>CP</strong> uses use sense ID information 105spoolactivate C<strong>VM</strong> 355cross system 366descriptor 368enabling 353fileaccess to 370characteristics 565maximum number allowed 565transfer data to 532files, DASD for 337synchronization request tracing 371verifying 354SPOOL comm<strong>and</strong> 665spool fileclassescontaining classification titles 182specifying for impact printers 202822 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


spool file (continued)inputcopying (reader) 369excluding from cross system spooling 274numberingnumbering 370outputclasses containing classification titles 182copying (print <strong>and</strong> punch) 370excluding from cross system spooling 276SPOOL oper<strong>and</strong>START statement 220SPOOL user directory control statement 562spooled unit record devices 11SPOOLFILE user directory control statement 565in CSE 341spooling spaceexample 615spooling, cross systemexcluding virtual machines’ input spool filesfrom 274excluding virtual machines’ output spool filesfrom 276identifying volumes for 73specifying systems participating in 271trace tablesallocating space for 273SPXTAPE comm<strong>and</strong> 665stable access mode 327, 387stable access mode, authorized to use 536StackBufferCreate 399StackBufferDelete 399stacks, program 398st<strong>and</strong>-alone dump utilitycreating 403description of 403devices to IPL 405devices to send dump output 406example of configuring 406H<strong>CP</strong>SADMP EXEC 409output devices 406overview 403processing dump data on tape 409taking a dump 408St<strong>and</strong>-Alone Loader Creation Utility (SALIPL)using 37St<strong>and</strong>-Alone Program Loader (SAPL)creating 37file list 42overriding console that <strong>CP</strong> will use 39overriding defaults 39overview 37passing IPL parameters 42startprompt 31, 43real DASD 220START CSECOM comm<strong>and</strong> 353START statement 53, 220starting <strong>CP</strong> extensions at initialization time 663starting VSM 332statementALTERNATE_OPERATORS 58ASSOCIATEEXIT 60MESSAGES 64MSGS 64ASSOCIATE EXIT 51ASSOCIATE MESSAGES/MSGS 51CHARACTER_DEFAULTS 51, 67CHARACTER_OPERators 51CHOOSE_LOGO 279, 285configurationlogo 279system 51<strong>CP</strong>_ACCESS 52, 70<strong>CP</strong>_ADDON_INITIALIZE_ ROUtines 52<strong>CP</strong>_ADDON_INITIALIZE_ ROUTINES 72<strong>CP</strong>_OWNED 52, 73<strong>CP</strong>XLOAD 52, 76DEFINECMD 84COMMAND 84DEFINE ALIAS 81DEFINE EXIT 94DIAGNOSE 90DEFINE ALIAS 52DEFINE COMMAND/CMD 52DEFINE DIAGNOSE 52DEFINE EXIT 52DEFINE LAN 52DEFINE VSWITCH 52DEVICES 52, 105DISABLECMD 110COMMAND 110DIAGNOSE 112EXITS 114DISABLE COMMAND/CMD 52DISABLE DIAGNOSE 52DISABLE EXITS 52DISTRIBUTE 52, 116DRAIN 52, 118EDEVICE 52, 121EMERGENCY_MESSAGE_ CONSOLES 52, 124ENABLECMD 126COMMAND 126DIAGNOSE 128EXITS 130ENABLE COMMAND/CMD 52ENABLE DIAGNOSE 52ENABLE EXITS 52ENFORCE_BY_VOLIDS 52EQUATE 52, 133EXTERNAL_SYNTAX 53, 135FEATURES 53, 136FORM_DEFAULT 53, 150HOT_IO_RATE 53, 152IMBED 53, 155INIT_MITIME 53, 157INPUT_AREA 279, 291Index 823


statement (continued)IODF 53, 158JOURNALING 53, 160LOGO_CONFIG 53, 164MODIFYDIAGNOSE 169MODIFY EXIT 172MODIFY CMD 165MODIFY COMMAND 165MODIFY COMMAND/CMD 53MODIFY DIAGNOSE 53MODIFY EXIT 53MODIFY LAN 53MODIFY PRIV_CLASSES 53, 176MODIFY VSWITCH 53ONLINE_MESSAGE 279, 292OPERATOR_CONSOLES 53, 180PRINTER_TITLE 53, 182PRIV_CLASSES 53, 184PRODUCT 53RDEVICE 53, 1883800 printers 2123900 printers 212advanced function printers 189card punch 190card readers 192channel-to-channel adapters 205communication controllers 193DASD 195graphic display devices 197impact printers 201LAN adapters 205line adapters 193special devices 205tape units 207unsupported devices 209SAY 53, 217SET 53, 219START 53, 220STATUS 279, 293STORAGE 53, 222summary 279summary of system configuration file 51SYSTEM_DATEFORMAT 53, 225SYSTEM_IDENTIFIER 54, 226SYSTEM_IDENTIFIER_ DEFAULT 228SYSTEM_IDENTIFIER_DEFAULT 54SYSTEM_RESIDENCE 54, 230SYSTEM_USERIDS 54, 232THROTTLE 54, 236TIMEZONE_BOUNDARY 54, 237TIMEZONE_DEFINITION 54, 239TOLERATE_CONFIG_ ERRORS 241TOLERATE_CONFIG_ERRORS 54TRANSLATE_TABLE 54, 243USER_DEFAULTS 54, 248USER_VOLUME_EXCLUDE 54, 251USER_VOLUME_INCLUDE 54, 253USER_VOLUME_LIST 54, 255USERFORM 54, 247<strong>VM</strong>LAN 54statement (continued)XLINK_DEVICE_DEFAULTS 54, 259XLINK_SYSTEM_EXCLUDE 54, 263XLINK_SYSTEM_INCLUDE 54, 264XLINK_VOLUME_EXCLUDE 54, 266XLINK_VOLUME_INCLUDE 54, 268XSPOOL_SYSTEM 54, 271XSPOOL_TRACE 54, 273XSPOOL_XLIST_INPUT 54, 274XSPOOL_XLIST_OUTPUT 55, 276statusfields on screen, changing text 293STATUS statement 279, 293STDEVOPT user directory control statement 566STIDP instruction 465stopnew operations on real DASD 118use of X'15' 483users issuing multiple <strong>CP</strong> comm<strong>and</strong>s 483storageaccess verification 384administration 7allocation 397for XSPOOL trace tables 273calculations 604capacities, DASD 604configuration, defining 697DASD 603dynamic paging area 590exp<strong>and</strong>ed 591exp<strong>and</strong>ed, planning 9free, used by <strong>CP</strong> 538organizationconfiguring 222, 697planning 7protectionmain storage 397paging 398shared segments 398specifying amount of real storage used by <strong>CP</strong> 44task overview 7using exp<strong>and</strong>ed storage as a minidisk cache 597virtual defining for virtual machine user 572virtual machine considerations 590virtual storage, planning 9STORAGE statement 53, 222STORAGE user directory control statement 568STORE HOST comm<strong>and</strong> 394SUBCMD oper<strong>and</strong>DEFINE ALIAS statement 81DEFINE CMD statement 84DEFINE COMMAND statement 84DISABLE CMD statement 110DISABLE COMMAND statement 110ENABLE CMD statement 126ENABLE COMMAND statement 126MODIFY CMD statement 165MODIFY COMMAND statement 165summary oflogo configuration file statements 279system configuration file statements 51824 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


supported devices 45suppresspassword on comm<strong>and</strong> line 136, 387SWITCH oper<strong>and</strong>HOT_IO_RATE statement 153RDEVICE statement 210switching devices, dynamiccoding an RDEVICE macro 762defining 209switching operating modes for 3390 devices 615symbolcharacter deleteestablishing default 67escapeestablishing default 67line deleteestablishing default 67line endestablishing default 67tabestablishing default 67symbol, externalassigning to exit point 60, 64symbols, defining for virtual machine 572symptom recordspecifying user ID to accumulate 232symptom record recordingdisassociating a user ID from retrieval of 320OPERSYMP symptom recording virtualmachine 318setting up virtual machines for 318SYMPTOM1 oper<strong>and</strong>SYSTEM_USERIDS statement 233SYMPTOM2 oper<strong>and</strong>SYSTEM_USERIDS statement 233syntactic statements in system configuration file 27syntax diagramexamplesdefault xviifragment xviireturn arrow xvisymbols xvivariable xvitable xvisyntax, checking statements in system configurationfile 57syntax, explanation of, notational xviSYSACNT macro 6, 661SYSADDIN macro 663SYSAFFIN user directory control statement 569SYSCLEAR 398SYSCLR oper<strong>and</strong> of SYSRES macro 391SYS<strong>CP</strong>VOL macro 620, 664list 447search order 447SYSDUMP macro 6, 667SYSEND macro 668SYSEREP macro 6, 669SYSEXCL macro 671SYSFCN macro 575, 673SYSFORM macro 675SYSID macro 677SYSINCL macro 680SYSJRL macro 682SYSMAXU macro 686SYSOPR macro 6, 687SYSOPTS macro 689SYSPCLAS macro 691SYSRES macro 391, 605, 693SYSSTORE macro 697SYSSYMP macro 699systemadministration tasks 4attributes, establishing 136bring-up virtual machine 6control files 3definitionof set of real devices 188dump virtual machine, defining a user ID for 667functionassigning new classes 438, 443identifier, processor 677integrity 383general definition 389guidelines 390maintaining 389joining 353maximum number supported for cross systemlink 334, 338modification requirements 390naming groups 133not active after start CSECOM 355operator, automatic exclusion of 659operator, primary user ID 687outages, hardware 372participating in cross system comm<strong>and</strong>s <strong>and</strong>spooling, specifying 271planning tasks 4processor identifier 677residence disk 693residence volume 338time zone, defining 239system comm<strong>and</strong>, crossexcluding virtual machines’ input spool filesfrom 274excluding virtual machines’ output spool filesfrom 276specifying systems participating in 271system configuration file 51advantages 23case 56checking statement syntax 57comments 55content overview 25continuations 55converting to xx<strong>CP</strong> file system, overview 27format 55general rules 55ignoring errors in 241imbedding files into 155limit <strong>and</strong> audit access 380Index 825


system configuration file (continued)minimum content 25order of statements 57overview 23real devices, overview 25record qualifiers 56semantic statements 27specifying file name via SAPL 42specifying file type via SAPL 43spool file processing, overview 27statementsALTERNATE_OPERATORS 58ASSOCIATE EXIT 60ASSOCIATE MESSAGES 64ASSOCIATE MSGS 64CHARACTER_DEFAULTS 67<strong>CP</strong>_ACCESS 70<strong>CP</strong>_ADDON_INITIALIZE_ ROUTINES 72<strong>CP</strong>_OWNED 73<strong>CP</strong>XLOAD 76DEFINE ALIAS 81DEFINE CMD 84DEFINE COMMAND 84DEFINE DIAGNOSE 90DEFINE EXIT 94DEVICES 105DISABLE CMD 110DISABLE COMMAND 110DISABLE DIAGNOSE 112DISABLE EXITS 114DISTRIBUTE 116DRAIN 118EMERGENCY_MESSAGE_ CONSOLES 124ENABLE CMD 126ENABLE COMMAND 126ENABLE DIAGNOSE 128ENABLE EXITS 130ENFORCE_BY_VOLid 132EQUATE 133EXTERNAL_SYNTAX 135FEATURES 136FORM_DEFAULT 150HOT_IO_RATE 152IMBED 155INIT_MITIME 157IODF 158JOURNALING 160LOGO_CONFIG 164MODIFY CMD 165MODIFY COMMAND 165MODIFY DIAGNOSE 169MODIFY EXIT 172MODIFY PRIV_CLASSES 176OPERATOR_CONSOLES 180PRINTER_TITLE 182PRIV_CLASSES 184RDEVICE 188SAY 217SET 219START 220STORAGE 222system configuration file (continued)statements (continued)summary 51SYSTEM_DATEFORMAT 225SYSTEM_IDENTIFIER 226SYSTEM_IDENTIFIER_ DEFAULT 228SYSTEM_RESIDENCE 230SYSTEM_USERIDS 232THROTTLE 236TIMEZONE_BOUNDARY 237TIMEZONE_DEFINITION 239TOLERATE_CONFIG_ ERRORS 241TRANSLATE_TABLE 243USER_DEFAULTS 248USER_VOLUME_EXCLUDE 251USER_VOLUME_INCLUDE 253USER_VOLUME_LIST 255USERFORM 247XLINK_DEVICE_DEFAULTS 259XLINK_SYSTEM_EXCLUDE 263XLINK_SYSTEM_INCLUDE 264XLINK_VOLUME_EXCLUDE 266XLINK_VOLUME_INCLUDE 268XSPOOL_SYSTEM 271XSPOOL_TRACE 273XSPOOL_XLIST_INPUT 274XSPOOL_XLIST_OUTPUT 276statements, summary 25syntactic statements 27updating 34USER_DEFAULTS 248using 23XLINK_VOLUME_EXCLUDE statement 338XLINK_VOLUME_INCLUDE statement 338system consolealternatedefining on RIOGEN macro 766definingalternate 766list of possible 180primary 766primarydefining on RIOGEN macro 766system data fileuser class restructure 441system directoryDIAGNOSE code X'3C' 394DIAGNOSE code X'84' 394, 396overview 395system dumpspecifying user ID to accumulate records 232system execution space, <strong>CP</strong>loading <strong>CP</strong> routines into 76system generationCSELVOL EXCLUDE generation macro 649CSELVOL INCLUDE generation macro 650RIOGEN generation macro 766screen logo filechoosing 285SYSEXCL generation macro 671SYSINCL generation macro 680826 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


system generation (continued)SYSOPTS generation macro 689SYSSTORE generation macro 697system identifiercreating 226, 228system link, crossexcluding DASD 266excluding DASD volumes 649excluding systems 263including DASD 268including DASD volumes 650including systems 264system log messagespecifying whether <strong>CP</strong> should display 136system operatorspecifying disconnect status 232specifying user ID 232system programmingjournalingincluding facility in system 160system residence volumedefining 73describing layout 230system service*ACCOUNT 233*BLOCKIO 494*CONFIG 494*CRM 494*IDENT 496*LOGREC 314, 494, 669*MONITOR 494*MSG 494*MSGALL 494*RPI 494*SIGNAL 494*SYMPTOM 318, 494*SYMPTOM, specifying virtual machines for 699accounting 295, 661collecting accounting records 297collecting EREP records 315collecting symptom records 319communication requirements 497<strong>CP</strong> recording 295symptom record recording 295system spooling, crossexcluding virtual machines’ input spool filesfrom 274excluding virtual machines’ output spool filesfrom 276identifying volumes for 73specifying systems participating in 271trace tablesallocating space for 273system storageconfiguring 222, 697SYSTEM_IDENTIFIER statement 53, 54, 225, 226SYSTEM_IDENTIFIER_DEFAULT statement 54, 228SYSTEM_RESIDENCE statement 54description 230SYSTEM_USERIDS statement 54, 232system-managed 3800 printersdelayed purge queue 721system-wide defaultfor logical character-delete symbol 67for logical escape symbol 67for logical line-delete symbol 67for logical line-end symbol 67for logical tab symbol 67System/390 architecture 397SYSTIME macro 701SYSUVOL macro 8, 620, 703Ttab characterdefinition 67TAB oper<strong>and</strong>CHARACTER_DEFAULTS statement 68tablecolors for the CHOOSE_LOGO <strong>and</strong>ONLINE_MESSAGE files 283input area fields 284logo configuration file statements 279map record defaults for DASD 652syntax diagram xvisystem configuration file statements 51table entry block, comm<strong>and</strong>defining new <strong>CP</strong> 84table, traceallocating space forinternal 222, 697XSPOOL 273table, translatereplacing 243TAG comm<strong>and</strong> 369tailoringprivilege classes 392, 396tapeclearing 398drivecoding an RDEVICE macro 743configuration guide 47defining in system configuration file 47formatst<strong>and</strong>-alone dump 777library dataserver 566unitsdefining 207unsupported, defining 209TAPE oper<strong>and</strong>HOT_IO_RATE statement 153RDEVICE statement 210TDISK (temporary disk)accounting record 301clearing 136, 384, 398space 338TDISK oper<strong>and</strong>DRAIN statement 119START statement 221TDSK oper<strong>and</strong>DRAIN statement 119Index 827


TDSK oper<strong>and</strong> (continued)START statement 221TELE2_ADAPTER oper<strong>and</strong>RDEVICE statement 193Telegraph Terminal Control type 2 193, 738teleprocessing integrated adaptercoding an RDEVICE macro 738TEMPDISK oper<strong>and</strong>DRAIN statement 119START statement 221TEMPORARY oper<strong>and</strong><strong>CP</strong>XLOAD statement 78terminalchoosing logo 285coding an RDEVICE macro 754input linedefining file for 291unsupporteddefining 209TERMINAL LINESIZE comm<strong>and</strong> 331TERMINAL oper<strong>and</strong>HOT_IO_RATE statement 153RDEVICE statement 210textof status fields, redefining 293text deckcreating for impact printer 412description 411for impact printer 422input file for image library 411TEXT oper<strong>and</strong><strong>CP</strong>XLOAD statement 77THROTTLE statement 54, 236time zonechoosing at IPL 237defining 239determining local 237Time-Of-Day (TOD) clocknot changing during IPL 142SYSTIME macro 701TIMEOUT oper<strong>and</strong>XSPOOL_SYSTEM statement 272TIMEZONE_BOUNDARY statement 54, 237TIMEZONE_DEFINITION statement 54, 239token ring communication adapterdefining in system configuration file 49Token Ring local area network 738tolerateerrors in system configuration file 241TOLERATE_CONFIG_ERRORS statement 54, 241TOP oper<strong>and</strong>PRINTER_TITLE statement 182topography of CSE complex, describe 653TPF (Transaction Processing Facility)OPTION user directory control statement 535tracespool synchronization request 371TRACE oper<strong>and</strong>STORAGE statement 223SYSSTORE macro 697trace tableallocating space forinternal 222, 697XSPOOL 273track location format default, change CSE 259, 646TRACK oper<strong>and</strong>XLINK_VOLUME_INCLUDE statement 269TRANSFER comm<strong>and</strong> 369transfer data to <strong>CP</strong> spool files 532transition support, non-disruptive 392TRANSLATE oper<strong>and</strong>TRANSLATE_TABLE statement 243translate tablereplacing 243TRANSLATE_TABLE statement 54, 243translating guest virtual channel programs 427TRK oper<strong>and</strong>CSELVOL INCLUDE macro 650TXTLIB oper<strong>and</strong><strong>CP</strong>XLOAD statement 77TYPE oper<strong>and</strong> for RDEVICE statement3800 printers 212advanced function printers 189card punches 190card readers 192communication controllers 193DASD 195graphic display devices 198impact printers 202line adapters 193special devices 205unsupported devices 209UU. S. Telegraph Terminal Control type 2 738UCS (Universal Character Set)buffer imagesnaming convention 416examples of new buffer images3203 printer 4163211 printer 4173262 printer 417UCSI macroinstruction 415UCSICCW macroinstruction 415unit record deviceconfiguration guide 48dedicated 11defining for virtual machinespooled unit record device 562defining in system configuration file 48planning 11spooled 11UNIT RECORD oper<strong>and</strong>HOT_IO_RATE statement 153UNIVERSAL_CHARSET oper<strong>and</strong>RDEVICE statement 203UNLOCK oper<strong>and</strong>D8ONECMD statement 483unlock pages 394, 397828 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


unsolicited interruptchanging 152setting 152unsupported deviceCCW translation 428coding an RDEVICE macro 763defining 209device tables 428not guaranteed to run properly 46UNSUPPORTED oper<strong>and</strong>RDEVICE statement 209useraccounting record 299administration 5class restructureactivating a class override file 441activating an override file 438assigning comm<strong>and</strong>s to types of users 435assigning new classes 438associating classes with users <strong>and</strong>comm<strong>and</strong>s 436changing back to <strong>IBM</strong>-defined user classes 442changing QUERY <strong>and</strong> SET oper<strong>and</strong> privilegeclasses 440changing the directory 443CLASS control statement 443, 445class override file 438, 439, 441CLEAR option on OVERRIDE utility 442comm<strong>and</strong>s 438COMMANDS comm<strong>and</strong> 446creating a class override file 438defining privilege classes for a virtualmachine 444defining users’ needs 434description 433diagnose codes 438directory entry example 445directory, changing 443displaying comm<strong>and</strong>s available to a user 446documentation considerations 438file 441HELP files 437<strong>IBM</strong>-defined user classes, changing back to 442OVERRIDE control statement 438override file 438OVERRIDE utility 441overview 433planning a new user class structure 433preparing an override file 438sample class override file 439security 383system functions 438system integrity 383USER control statement 443VALIDATE option on OVERRIDE utility 441verifying a class override file 441directorybringing online 31changing 447, 454checking for errors 454checking <strong>VM</strong>/SP directory statements 455user (continued)directory (continued)continuation comma 452continued across multiple records 452continued directory control statements 452creating 447, 451determining how much space is required for 608quoted string oper<strong>and</strong>s 452running the directory creation program 453size constraints 610updating 447directory control statementACCOUNT 456ACIGROUP 458APP<strong>CP</strong>ASS 459AUTOLOG 461, 578CLASS 462CONSOLE 463<strong>CP</strong>U 465CRYPTO 468D8ONECMD 483DASDOPT 472DATEFORMAT 475DEDICATE 477DIRECTORY 480GLOBALDEFS 485GLOBALOPTS 486INCLUDE 487introduction 447IOPRIORITY 488IPL 490IUCV 493LINK 500LOAD 504LOGONBY 509MACHINE 510MAXTORAGE 512MDISK 513MINIOPT 524NAMESAVE 527NICDEF 529NOPDATA 532OPTION 533overview 447POOL 540POSIXGLIST 541POSIXGROUP 543POSIXINFO 545POSIXOPT 548PROFILE 551SCREEN 553SHARE 555SPECIAL 557SPOOL 562SPOOLFILE 565STORAGE 568summary 447SYSAFFIN 569USER 572XAUTOLOG 578XCONFIG 580Index 829


user (continued)directory control statement (continued)XSTORE 585IDaccounting virtual machine 661defining for virtual machine user 572error recording virtual machine 669primary system operator 687system dump virtual machine 667system operator 232to perform special functions, specifying 232identification requirements 391logon limit 686owned DASD volumes, generating a list of 703planning 5supported in CSE 334tasks 5user defaults configuration filespecifying default attributes 248user form namecreating list of 247generating default 150user owned volumedefining with generic volume ID 253, 680excluding DASD from list 671excluding from user volume list 251generating list of 255USER user directory control statement 443, 448, 572user volume list 26excluding volumes from 251, 671including volumes in 253, 680USER_DEFAULT oper<strong>and</strong>PRIV_CLASSES statement 185USER_DEFAULTS statement 54, 248USER_VOLUME_EXCLUDE statement 54, 251USER_VOLUME_INCLUDE statement 54, 253USER_VOLUME_LIST statement 54, 255user-initiated accounting records 310USERFORM statement 54, 247USERID oper<strong>and</strong>CHOOSE_LOGO statement 286users, specifying maximum number 136usingprograms 37z/<strong>VM</strong> st<strong>and</strong>-alone programs 37utilitiesRETRIEVEretrieving EREP records 316utilityCCDUMP 321CCLOAD 321<strong>CP</strong>FMTXA (CMS) 7, 665DIRECTXA 448checking directory for errors 454checking for <strong>VM</strong>/SP statements 455creating user directory with 451, 453GENIMAGE 411ICHUT100 381IMAGELIB 423IMAGEMOD 424IO<strong>CP</strong> 184, 673, 705utility (continued)OVERRIDE 382, 441RETRIEVE 661SALIPL 37sample programs 641SAPL 37st<strong>and</strong>-alone dump 403<strong>VM</strong>FHASM 412XLINK 349utility program, sampleDRAWLOGO 282, 642VVAFP, virtual advanced functional printer 563VALIDATE option on OVERRIDE utility 441validationrequirements 392VCNA (VTAM Communications Network Applications)defining SNA/CCS to 330verifyaccuracy of system configuration file statementsyntax 57links 353spool status 354storage access 384versioncreating new for existing <strong>CP</strong> 84virtual<strong>and</strong> real reserve/releasewhen to use concurrent 626devicespooled, defining 562planning 9processor, defining 465reserve/releaseDASD sharing without using 622when to use 621storageadministration 7<strong>CP</strong> module requirements 589defining for virtual machine user 572planning 7virtual consolegenerating default user form name for 150virtual disks in storageaccounting record 307allocating system storage availability 136virtual LAN segment, defining 97virtual LAN segment, modifying 175virtual machinearchitecture 510attaching exp<strong>and</strong>ed storage to 592authorized for concurrent copy sessions 566authorizing to use IUCV 493characteristics, special 533consoledefining 180, 766for emergency messages, defining 124defining forcomm<strong>and</strong> privilege class 572830 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


virtual machine (continued)defining for (continued)delete symbol 572escape character 572exp<strong>and</strong>ed storage facility 585line delete symbol 572line end symbol 572password 572privilege classes 444storage 572user ID 572defining one to use during outages 372defining set of with same characteristics 540error recording 314file pool server 622host access list size, defining 581log on limitspecifying 136multiple, DASD sharing with other systems 624operator’s console, define 463resource usage accounting record 299security facilitiesincluding in system 160service 295service pool, setting up 325setting up data storage management 327setting up for accounting 295setting up for collecting accounting records 297setting up for collecting EREP records 315setting up for collecting symptom records 319setting up PSF/<strong>VM</strong> 326setting up symptom record recording 318special characteristics 533specifying for *SYMPTOM system service 699spool file characteristics 565Virtual Machine/ESAdefining VSM logos 330defining VSM to 330features 335I/O reconfiguration 12major files 3security 142security facilities 383VIRTUAL oper<strong>and</strong>DEFINE ALIAS statement 81DEFINE CMD statement 84DEFINE COMMAND statement 84DISABLE CMD statement 110DISABLE COMMAND statement 110ENABLE CMD statement 126ENABLE COMMAND statement 126MODIFY CMD statement 165MODIFY COMMAND statement 165virtual printergenerating default user form name for 150virtual punchgenerating default user form name for 150virtual switch segment, defining 100virtual switch segment, modifying 178<strong>VM</strong>_LOGO oper<strong>and</strong>JOURNALING statement 162<strong>VM</strong>_READ oper<strong>and</strong>STATUS statement 294<strong>VM</strong>/ESA comm<strong>and</strong>s, restriction of 393<strong>VM</strong>AC oper<strong>and</strong>DEFINE CMD statement 87DEFINE COMMAND statement 87DEFINE DIAGNOSE statement 91<strong>VM</strong>FHASM utility 412, 422<strong>VM</strong>FHLASM utility 422<strong>VM</strong>LAN statement 54, 257<strong>VM</strong>LINK CMS comm<strong>and</strong> 620VOLID oper<strong>and</strong>DRAIN statement 118START statement 220SYSTEM_RESIDENCE statement 230volume identifierexcluding from user volume list 671using generic to define user volumes 253, 680using to exclude volumes from user volume list 251volume list<strong>CP</strong>-owned, defining 73excluding user volumes from 251, 671including user volumes in 253, 680VPROT oper<strong>and</strong>DEFINE CMD statement 87DEFINE COMMAND statement 87DEFINE DIAGNOSE statement 92VSCSdefining SNA/CCS to 331VSM (VTAM Service Machine)choosing logo 285defining logos 330defining to z/<strong>VM</strong> 330starting 332termination 332VSM_<strong>VM</strong>ID oper<strong>and</strong>CHOOSE_LOGO statement 287Wwait state if parm disk is not CMS-formatted 51warm startdataallocating DASD space for 606specifying whether <strong>CP</strong> should attempt 136warning3525 card punch 1903705, 3720, 3725, <strong>and</strong> 3745 BSC line adapters 1933850 Mass Storage System 195about migration incompatibilities 656, 678against using 2250 display 124against using 3250 display 124calling entry point after loading <strong>CP</strong> routines 78changing defaults on CSELVOL INCLUDEmacro 651CONTROL oper<strong>and</strong> of <strong>CP</strong>XLOAD 78data integrity loss 264defining advanced function printers 189moving volumes containing spool space 74removedissuing multiple <strong>CP</strong> comm<strong>and</strong>s 483Index 831


warning (continued)removed (continued)specifying real storage available for <strong>CP</strong> 697sharing system residence <strong>and</strong> paging volumes 73system security 234turning off hot I/O rate 153users migrating from <strong>VM</strong>/XA SP 451, 454WARNING comm<strong>and</strong>, altering output 373WEST oper<strong>and</strong>TIMEZONE_DEFINITION statement 239WNG comm<strong>and</strong> 276write-through minidisk 597XX.25 network (high-level data link control) 738X$DRWL$X SAMPXEDI file 641X$DRWL$X XEDIT file 641X'15', preventing use of 483XAUTOLOG comm<strong>and</strong>journaling 385specifying invalid password 299using during initialization 332XAUTOLOG user directory control statement 578XCONFIG user directory control statement 580XLINK CHECK comm<strong>and</strong> 353XLINK FORMAT comm<strong>and</strong>using to format volume 350, 652using to specify CSE area 340XLINK RESET comm<strong>and</strong> 359XLINK utility program 349XLINK_DEVICE_DEFAULTS statement 54, 259XLINK_SYSTEM_EXCLUDE statement 54, 263XLINK_SYSTEM_INCLUDE statement 54, 264XLINK_VOLUME_EXCLUDE statement 54, 266, 338XLINK_VOLUME_INCLUDE statement 54, 268, 338XSPOOL QUERY comm<strong>and</strong> 354XSPOOL trace tableallocating space for 273XSPOOL_SYSTEM statement 54, 271XSPOOL_TRACE statement 54, 273XSPOOL_XLIST_INPUT statement 54, 274XSPOOL_XLIST_OUTPUT statement 55, 276XSTORE user directory control statement 585, 592Zzone, timechoosing at IPL 237defining 239determining local 237832 z/<strong>VM</strong>: <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>


Readers’ Comments — We’d Like to Hear from Youz/<strong>VM</strong><strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong>Version 5 Release 1Publication No. SC24-6083-01Overall, how satisfied are you with the information in this book?Very Satisfied Satisfied Neutral Dissatisfied Very DissatisfiedOverall satisfaction h h h h hHow satisfied are you that the information in this book is:Very Satisfied Satisfied Neutral Dissatisfied Very DissatisfiedAccurate h h h h hComplete h h h h hEasy to find h h h h hEasy to underst<strong>and</strong> h h h h hWell organized h h h h hApplicable to your tasks h h h h hPlease tell us how we can improve this book:Thank you for your responses. May we contact you? h Yes h NoWhen you send comments to <strong>IBM</strong>, you grant <strong>IBM</strong> a nonexclusive right to use or distribute your comments in anyway it believes appropriate without incurring any obligation to you.NameAddressCompany or OrganizationPhone No.


Readers’ Comments — We’d Like to Hear from YouSC24-6083-01SC24-6083-01_________________________________________________________________________________________Fold <strong>and</strong> Tape Please do not staple Fold <strong>and</strong> TapeBUSINESS REPLY MAILFIRST-CLASS MAIL PERMIT NO. 40 ARMONK, NEW YORKPOSTAGE WILL BE PAID BY ADDRESSEE<strong>IBM</strong> CorporationDepartment 55JA, Mail Station P3842455 South RoadPoughkeepsie, New York 12601-5400NO POSTAGENECESSARYIF MAILED IN THEUNITED STATES_________________________________________________________________________________________Fold <strong>and</strong> Tape Please do not staple Fold <strong>and</strong> Tape___________________________________________________________________________________________________Cut or FoldAlong LineCut or FoldAlong Line


Program Number: 5741-A05Printed in USASC24-6083-01


Spine information: z/<strong>VM</strong> <strong>CP</strong> <strong>Planning</strong> <strong>and</strong> <strong>Administration</strong> Version 5 Release 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!