The OpenVMS Frequently Asked Questions(FAQ) ABSTRACT This document contains answers to many common questions on the OpenVMS operating system, and covers OpenVMS, and OpenVMS running on Itanium, Alpha, and VAX hardware. Revision/Update Information OpenVMS V7.3-2 Revision/Update Information: Revision Date/October 2003 FAQ ________________________________________________________________ Contents __________________________________________________________ PREFACE i __________________________________________________________ OPENVMS FREQUENTLY ASKED QUESTIONS (FAQ) iii ________________________________________________________________ CHAPTER 1 INTRODUCTION 1-1 __________________________________________________________ 1.1 WHAT CORE OPENVMS URLS DO YOU NEED TO KNOW? 1-1 __________________________________________________________ 1.2 WHAT ARE THE OPENVMS USENET NEWSGROUPS? 1-2 1.2.1 What is the scope of the comp.os.vms newsgroup? 1-2 1.2.2 What newsgroups carry VMS-related information? 1-3 1.2.3 What newsgroup archives are available? 1-3 1.2.4 What is the INFO-VAX mailing list? 1-3 1.2.4.1 How do I subscribe to or unsubscribe from INFO-VAX?, 1-4 __________________________________________________________ 1.3 WHAT IS [N]ETIQUETTE? 1-5 __________________________________________________________ 1.4 WHAT OPENVMS USER GROUP(S) ARE AVAILABLE? 1-8 __________________________________________________________ 1.5 OPENVMS SUPPORT, QUESTIONS AND COMMENTS? 1-9 1.5.1 Corporate contacts for OpenVMS Business Issues? 1-9 1.5.2 OpenVMS Ambassadors? 1-10 1.5.3 Contact for OpenVMS Marketing Issues and Questions? 1-10 1.5.4 Contact URLs for OpenVMS Technical Issues? 1-10 iii Contents ________________________________________________________________ CHAPTER 2 GENERAL INFORMATION 2-1 __________________________________________________________ 2.1 WHAT IS OPENVMS? WHAT IS ITS HISTORY? 2-1 __________________________________________________________ 2.2 WHAT IS THE DIFFERENCE BETWEEN VMS AND OPENVMS? 2-2 2.2.1 How do I port from VMS to OpenVMS? 2-3 __________________________________________________________ 2.3 WHICH IS BETTER, OPENVMS OR UNIX? 2-3 __________________________________________________________ 2.4 IS HP CONTINUING FUNDING AND SUPPORT FOR OPENVMS? 2-4 __________________________________________________________ 2.5 WHAT OPENVMS CD-ROM DISTRIBUTION KITS ARE AVAILABLE? 2-4 __________________________________________________________ 2.6 IN WHAT LANGUAGE IS OPENVMS WRITTEN? 2-6 __________________________________________________________ 2.7 OBTAINING AND TRANSFERING OPENVMS LICENSEES? 2-6 2.7.1 Questions asked by Hobbyist OpenVMS licensees? 2-7 2.7.2 OpenVMS Educational and CSLG licenses? 2-8 2.7.3 What developer and partner licensing programs are available? 2-8 2.7.4 How do I obtain or transfer an OpenVMS license? 2-9 __________________________________________________________ 2.8 DOES OPENVMS SUPPORT THE EURO CURRENCY SYMBOL? 2-9 __________________________________________________________ 2.9 OPENVMS PORTS? ITANIUM? PORTS TO INTEL (IA-32) SYSTEMS? 2-9 __________________________________________________________ 2.10 ARE THERE ANY NETWORK-ACCESSIBLE OPENVMS SYSTEMS? 2-13 iv Contents __________________________________________________________ 2.11 WHAT VERSION OF OPENVMS DO I NEED? 2-14 __________________________________________________________ 2.12 HOW CAN I SUBMIT OPENVMS FREEWARE? 2-15 __________________________________________________________ 2.13 PORTING APPLICATIONS TO OPENVMS? 2-15 __________________________________________________________ 2.14 WHAT RESOURCES ARE AVAILABLE TO OPENVMS SOFTWARE DEVELOPERS? 2-17 __________________________________________________________ 2.15 MEMORY MANAGEMENT, RESOURCE MANAGEMENT, PROCESS SCHEDULING, ETC? 2-17 __________________________________________________________ 2.16 BASIC UNITS OF MEASUREMENT? 2-19 2.16.1 How many bytes are in a disk block? 2-19 2.16.2 How many bytes are in a memory page? 2-21 2.16.3 How do I convert? Disk Blocks? KB, MB, GB, TB? 2-21 ________________________________________________________________ CHAPTER 3 DOCUMENTATION 3-1 __________________________________________________________ 3.1 WHERE CAN I FIND ONLINE COPIES OF OPENVMS MANUALS? 3-1 __________________________________________________________ 3.2 WHAT ONLINE INFORMATION AND WEBSITES ARE AVAILABLE? 3-1 __________________________________________________________ 3.3 OPENVMS PRODUCT INFORMATION TELEPHONE NUMBERS? 3-5 __________________________________________________________ 3.4 HOW DO I EXTRACT THE CONTENTS OF A HELP TOPIC TO A TEXT FILE? 3-6 __________________________________________________________ 3.5 DOES OPENVMS MARKETING HAVE AN E-MAIL ADDRESS? 3-6 v Contents __________________________________________________________ 3.6 WHERE CAN I LEARN ABOUT OPENVMS EXECUTIVE INTERNALS? 3-6 __________________________________________________________ 3.7 WHERE CAN NEW USERS FIND TUTORIAL INFORMATION ABOUT OPENVMS? 3-7 3.7.1 Tutorial Websites? 3-7 3.7.2 Books and Tutorials? 3-9 __________________________________________________________ 3.8 WHAT OPENVMS MAILING LISTS ARE AVAILABLE? 3-10 __________________________________________________________ 3.9 WHAT IS THIS ASK THE WIZARD WEBSITE I'VE HEARD ABOUT? 3-12 __________________________________________________________ 3.10 ACCESS TO THE OPENVMS NETSCAPE NAVIGATOR DOCUMENTATION? 3-13 ________________________________________________________________ CHAPTER 4 TIME AND TIMEKEEPING 4-1 __________________________________________________________ 4.1 UTC VS GMT VS VS UT1/UT1/UT2 TDF? WHAT ARE THESE ACRONYMS? 4-1 __________________________________________________________ 4.2 A BRIEF HISTORY OF OPENVMS TIMEKEEPING, PLEASE? 4-2 4.2.1 Details of the OpenVMS system time-keeping? 4-4 4.2.1.1 VAX hardware time-keeping details..., 4-4 4.2.1.1.1 TOY clock, 4-4 4.2.1.1.2 EXE$GQ_SYSTIME, 4-4 4.2.1.1.3 EXE$GQ_TODCBASE, 4-4 4.2.1.1.4 EXE$GL_TODR, 4-4 4.2.1.2 Alpha hardware time-keeping details..., 4-5 4.2.1.2.1 Battery-Backed Watch (BB_WATCH) Chip, 4-6 4.2.1.2.2 EXE$GQ_SYSTIME, 4-6 4.2.1.2.3 EXE$GQ_SAVED_HWCLOCK, 4-6 4.2.1.3 Why does VAX need a SET TIME at least once a year?, 4-7 vi Contents 4.2.2 How does OpenVMS VAX maintain system time? 4-7 __________________________________________________________ 4.3 KEEPING THE OPENVMS SYSTEM TIME SYNCHRONIZED? 4-8 4.3.1 Why does my OpenVMS system time drift? 4-10 4.3.2 How can I drift the OpenVMS system time? 4-10 4.3.3 How can I configure TCP/IP Services NTP as a time provider? 4-11 __________________________________________________________ 4.4 MANAGING TIMEZONES, TIMEKEEPING, UTC, AND DAYLIGHT SAVINGS? 4-13 4.4.1 How to troubleshoot TDF problems on OpenVMS? 4-16 4.4.2 Customizing your TDF (Timezone) Setting? 4-18 __________________________________________________________ 4.5 WHY DOES THE SET TIME COMMAND FAIL? HELP MANAGING DTSS? 4-19 ________________________________________________________________ CHAPTER 5 SYSTEM MANAGEMENT INFORMATION 5-1 __________________________________________________________ 5.1 WHAT IS AN INSTALLED IMAGE? 5-1 __________________________________________________________ 5.2 ARE THERE ANY KNOWN VIRUSES FOR OPENVMS? 5-2 __________________________________________________________ 5.3 HOW DO I MOUNT AN ISO-9660 CD ON OPENVMS? 5-4 __________________________________________________________ 5.4 HOW DO I EXTRACT THE CONTENTS OF A PCSI KIT? 5-6 __________________________________________________________ 5.5 EMERGENCY (CONVERSATIONAL) SYSTEM STARTUP? 5-6 5.5.1 I've forgotten the SYSTEM password - what can I do? 5-10 5.5.2 My product licenses have expired - what can I do? 5-10 vii Contents __________________________________________________________ 5.6 HOW DO I CHANGE THE NODE NAME OF AN OPENVMS SYSTEM? 5-11 __________________________________________________________ 5.7 WHY DOESN'T OPENVMS SEE THE NEW MEMORY I JUST ADDED? 5-13 __________________________________________________________ 5.8 HOW DO I CHANGE THE TEXT IN A USER'S UIC IDENTIFIER? 5-14 __________________________________________________________ 5.9 WHAT ARE THE OPENVMS VERSION UPGRADE PATHS? 5-15 5.9.1 OpenVMS Alpha Upgrade (or Update) Paths 5-15 5.9.2 OpenVMS VAX Release Upgrade Paths 5-17 5.9.3 OpenVMS Cluster Rolling Upgrade Paths 5-18 5.9.4 OpenVMS Product Version and Support Information 5-18 5.9.5 OpenVMS Alpha Terminology 5-19 __________________________________________________________ 5.10 WHY DO I HAVE A NEGATIVE NUMBER IN THE PAGEFILE RESERVABLE PAGES? 5-20 __________________________________________________________ 5.11 DO I HAVE TO UPDATE LAYERED PRODUCTS WHEN UPDATING OPENVMS? 5-22 __________________________________________________________ 5.12 HOW DO I CHANGE THE VOLUME LABEL OF A DISK? 5-22 __________________________________________________________ 5.13 HOW CAN I SET UP A SHARED DIRECTORY? 5-23 __________________________________________________________ 5.14 WHY DO I GET EXTRA BLANK PAGES ON MY HP PRINTER? 5-24 __________________________________________________________ 5.15 DRIVERS AND CONFIGURATION OF NEW GRAPHICS CONTROLLERS? 5-25 5.15.1 The ELSA GLoria Synergy 5-25 5.15.2 PowerStorm 300, PowerStorm 350 5-26 5.15.3 PowerStorm 3D30, PowerStorm 4D20 5-26 5.15.4 Radeon 7500 5-27 viii Contents __________________________________________________________ 5.16 HOW CAN I ACQUIRE OPENVMS PATCHES, FIXES, AND ECOS? 5-27 __________________________________________________________ 5.17 HOW DO I MOVE THE QUEUE MANAGER DATABASE? 5-29 __________________________________________________________ 5.18 HOW DO I DELETE AN UNDELETABLE/UNSTOPPABLE (RWAST) PROCESS? 5-30 __________________________________________________________ 5.19 HOW DO I RESET THE ERROR COUNT(S)? 5-31 __________________________________________________________ 5.20 HOW DO I FIND OUT IF THE TAPE DRIVE SUPPORTS COMPRESSION? 5-33 __________________________________________________________ 5.21 CAN I COPY SYSUAF TO ANOTHER VERSION? TO VAX? TO ALPHA? 5-33 __________________________________________________________ 5.22 HOW DO I DELETE (TIMEOUT) IDLE PROCESSES? 5-36 __________________________________________________________ 5.23 DO I NEED A PAK FOR THE DECEVENT (HP ANALYZE) TOOL? 5-36 __________________________________________________________ 5.24 INITIALIZE ACCVIO AND ANSI TAPE LABEL SUPPORT? 5-37 __________________________________________________________ 5.25 HOW DO I RECOVER FROM INSVIRMEM ERRORS? 5-37 __________________________________________________________ 5.26 HOW CAN I PREVENT A SERIAL TERMINAL LINE FROM INITIATING A LOGIN? 5-38 __________________________________________________________ 5.27 HOW DOES PCSI USE THE IMAGE BUILD_IDENT FIELD? 5-38 __________________________________________________________ 5.28 HOW CAN I TELL WHAT SOFTWARE (AND VERSION) IS INSTALLED? 5-40 ix Contents __________________________________________________________ 5.29 WHAT FILE CHECKSUM TOOLS ARE AVAILABLE FOR OPENVMS? 5-41 __________________________________________________________ 5.30 WHAT (AND WHERE) IS THE OPENVMS MANAGEMENT STATION? 5-41 __________________________________________________________ 5.31 HOW TO DETERMINE CURRENT DISK FRAGMENTATION LEVEL? 5-41 __________________________________________________________ 5.32 SYSBOOT-I-FILENOTLOC, UNABLE TO LOCATE SYS$CPU_ROUTINES? 5-42 __________________________________________________________ 5.33 HOW CAN I CUSTOMIZE THE DCPS DEVICE CONTROL FOR A NEW PRINTER? 5-42 __________________________________________________________ 5.34 WHY DO $GETDEV MOUNTCNT AND SHOW DEVICE MOUNT COUNTS DIFFER? 5-44 __________________________________________________________ 5.35 WHAT SOFTWARE IS NEEDED FOR POSTSCRIPT PRINTERS? 5-44 __________________________________________________________ 5.36 HOW DO I REMOVE A PCSI-INSTALLED PATCH (ECO) KIT? 5-44 __________________________________________________________ 5.37 SYSINIT-E, ERROR MOUNTING SYSTEM DEVICE, STATUS=0072832C 5-45 __________________________________________________________ 5.38 RESOLVING LICENSE PAK PROBLEMS? 5-45 __________________________________________________________ 5.39 CHANGING THE OPENVMS VERSION NUMBER? 5-47 __________________________________________________________ 5.40 HOW TO PREVENT USERS FROM CHOOSING OBVIOUS PASSWORDS? 5-47 x Contents __________________________________________________________ 5.41 PLEASE HELP ME WITH THE OPENVMS BACKUP UTILITY? 5-49 5.41.1 Why isn't BACKUP/SINCE=BACKUP working? 5-49 5.41.1.1 Why has OpenVMS gone through the agony of this change?, 5-50 5.41.1.2 Can you get the old BACKUP behaviour back?, 5-50 5.41.2 What can I do to improve BACKUP performance? 5-50 5.41.3 Why is BACKUP not working as expected? 5-51 5.41.4 How do I fix a corrupt BACKUP saveset? 5-52 5.41.5 How do I write a BACKUP saveset to a remote tape? 5-54 5.41.6 How to perform a security disk erasure? 5-55 5.41.7 How to enable telnet virtual terminals? 5-55 5.41.7.1 Volume Shadowing MiniCopy vs MiniMerge?, 5-56 5.41.7.1.1 MiniCopy?, 5-57 5.41.7.1.2 MiniMerge?, 5-57 ________________________________________________________________ CHAPTER 6 INFORMATION ON MAIL 6-1 __________________________________________________________ 6.1 MAIL KEEPS SAYING I HAVE NEW MESSAGES, BUT I DON'T. WHAT DO I DO? 6-1 __________________________________________________________ 6.2 HOW DO I SEND OR READ ATTACHMENTS IN VMS MAIL? 6-1 __________________________________________________________ 6.3 HOW CAN I BLOCK SMTP MAIL RELAY SPAM? 6-3 ________________________________________________________________ CHAPTER 7 INFORMATION ON UTILITIES 7-1 __________________________________________________________ 7.1 HOW DO I PLAY AN AUDIO CD ON MY WORKSTATION? 7-1 __________________________________________________________ 7.2 HOW DO I ACCESS A MICROSOFT WINDOWS FLOPPY DISK FROM OPENVMS? 7-2 xi Contents __________________________________________________________ 7.3 HOW DO I PLAY SOUND FILES ON AN ALPHASTATION? DECSOUND DOESN'T WORK. 7-3 __________________________________________________________ 7.4 WHY IS DECMIGRATE NOT WORKING WITH FORTRAN? 7-3 __________________________________________________________ 7.5 HOW DO I READ IBM EBCDIC TAPES ON OPENVMS? 7-4 __________________________________________________________ 7.6 HOW CAN I PATCH AN OPENVMS ALPHA IMAGE? 7-4 ________________________________________________________________ CHAPTER 8 DCL DETAILS 8-1 __________________________________________________________ 8.1 HOW DO I RUN A PROGRAM WITH ARGUMENTS? 8-1 __________________________________________________________ 8.2 HOW CAN I CLEAR THE SCREEN IN DCL? 8-2 __________________________________________________________ 8.3 USING REPLY/LOG FROM DCL? DISABLING CONSOLE OPCOMS? 8-2 __________________________________________________________ 8.4 HOW DO I GENERATE A RANDOM NUMBER IN DCL? 8-3 __________________________________________________________ 8.5 WHAT DOES THE MCR COMMAND DO? 8-4 __________________________________________________________ 8.6 HOW DO I CHANGE THE OPENVMS SYSTEM PROMPT? 8-5 __________________________________________________________ 8.7 CAN I DO DECNET TASK-TO-TASK COMMUNICATION WITH DCL? 8-6 __________________________________________________________ 8.8 HOW CAN I GET THE WIDTH SETTING OF A TERMINAL? 8-6 __________________________________________________________ 8.9 HOW CAN I SUBSTITUTE SYMBOLS IN A PIPE? 8-7 xii Contents __________________________________________________________ 8.10 USE OF RUN/DETACH, LOGINOUT, AND LOGICAL NAMES? 8-7 __________________________________________________________ 8.11 HOW TO USE ESCAPE AND CONTROL CHARACTERS IN DCL? 8-8 ________________________________________________________________ CHAPTER 9 FILES 9-1 __________________________________________________________ 9.1 HOW CAN I UNDELETE A FILE? 9-1 __________________________________________________________ 9.2 WHY DOES SHOW QUOTA GIVE A DIFFERENT ANSWER THAN DIR/SIZE? 9-1 __________________________________________________________ 9.3 HOW DO I MAKE SURE THAT MY DATA IS SAFELY WRITTEN TO DISK? 9-2 __________________________________________________________ 9.4 WHAT ARE THE LIMITS ON FILE SPECIFICATIONS AND DIRECTORIES? 9-3 __________________________________________________________ 9.5 WHAT IS THE LARGEST DISK VOLUME SIZE OPENVMS CAN ACCESS? 9-4 __________________________________________________________ 9.6 WHAT IS THE MAXIMUM FILE SIZE, AND THE RMS RECORD SIZE LIMIT? 9-6 __________________________________________________________ 9.7 HOW DO I WRITE CD-RECORDABLE OR DVD MEDIA ON OPENVMS? 9-7 9.7.1 CD and DVD notation, terminology? 9-9 9.7.2 Use of RRD42 and other older (embossed-media) CD drives? 9-11 __________________________________________________________ 9.8 WHAT I/O TRANSFER SIZE LIMITS EXIST IN OPENVMS? 9-12 xiii Contents __________________________________________________________ 9.9 CAN I USE ODBC TO CONNECT TO OPENVMS DATABASE FILES? 9-12 __________________________________________________________ 9.10 IF MY DISKS ARE SHOWN AS VIOC COMPATIBLE, AM I USING XFC? 9-13 ________________________________________________________________ CHAPTER 10 OPENVMS PROGRAMMING INFORMATION 10-1 __________________________________________________________ 10.1 MODULAR PROGRAMMING, FACILITY PREFIXES AND SYMBOL NAMING? 10-1 __________________________________________________________ 10.2 CAN I HAVE A SOURCE CODE EXAMPLE OF CALLING...? 10-2 __________________________________________________________ 10.3 HOW DO I GET THE ARGUMENTS FROM THE COMMAND LINE? 10-4 __________________________________________________________ 10.4 HOW DO I GET A FORMATTED ERROR MESSAGE IN A VARIABLE? 10-4 __________________________________________________________ 10.5 HOW DO I LINK AGAINST SYS$SYSTEM:SYS.STB ON AN ALPHA SYSTEM? 10-5 __________________________________________________________ 10.6 HOW DO I DO A SET DEFAULT FROM INSIDE A PROGRAM? 10-5 __________________________________________________________ 10.7 HOW DO I TURN MY FORTRAN COMMON INTO A SHAREABLE IMAGE ON ALPHA? 10-5 __________________________________________________________ 10.8 HOW DO I CONVERT BETWEEN IEEE AND VAX FLOATING DATA? 10-6 __________________________________________________________ 10.9 HOW DO I GET THE ARGUMENT COUNT IN A FORTRAN ROUTINE? 10-6 xiv Contents __________________________________________________________ 10.10 HOW DO I GET A UNIQUE SYSTEM ID FOR LICENSING PURPOSES? 10-7 __________________________________________________________ 10.11 WHAT IS AN EXECUTABLE, SHAREABLE, SYSTEM OR UWSS IMAGE? 10-8 __________________________________________________________ 10.12 HOW DO I DO A FILE COPY FROM A PROGRAM? 10-9 __________________________________________________________ 10.13 WHAT IS A DESCRIPTOR? 10-9 __________________________________________________________ 10.14 HOW DO I CREATE A PROCESS UNDER ANOTHER USERNAME? 10-11 __________________________________________________________ 10.15 WHY DO LIB$SPAWN, LIB$SET_SYMBOL FAIL IN DETACHED PROCESSES? 10-13 __________________________________________________________ 10.16 WHERE CAN I OBTAIN BLISS, AND THE LIBRARIES AND SUPPORTING FILES? 10-13 __________________________________________________________ 10.17 HOW CAN I OPEN A FILE FOR SHARED ACCESS? 10-15 __________________________________________________________ 10.18 HOW CAN I HAVE COMMON SOURCES FOR MESSAGES, CONSTANTS? 10-15 __________________________________________________________ 10.19 HOW DO I ACTIVATE THE OPENVMS DEBUGGER FROM AN APPLICATION? 10-16 __________________________________________________________ 10.20 DEALING WITH ENDIAN-NESS? 10-16 __________________________________________________________ 10.21 HOW TO RESOLVE LINK-I-DATMISCH ERRORS? 10-17 __________________________________________________________ 10.22 COMPAQ C AND OTHER OPENVMS C PROGRAMMING CONSIDERATIONS? 10-17 10.22.1 Other common C issues 10-20 10.22.2 Other common C++ issues 10-22 xv Contents __________________________________________________________ 10.23 STATUS OF PROGRAMMING TOOLS ON OPENVMS VAX? 10-24 ________________________________________________________________ CHAPTER 11 DECWINDOWS 11-1 __________________________________________________________ 11.1 HOW DO I LET SOMEONE ELSE DISPLAY SOMETHING ON MY WORKSTATION? 11-1 __________________________________________________________ 11.2 HOW DO I CREATE A DISPLAY ON ANOTHER WORKSTATION? 11-3 __________________________________________________________ 11.3 HOW CAN I GET THE INFORMATION FROM SHOW DISPLAY INTO A SYMBOL? 11-3 __________________________________________________________ 11.4 HOW DO I GET A LOG OF A DECTERM SESSION? 11-4 __________________________________________________________ 11.5 WHY DOES THE DELETE KEY DELETE FORWARD INSTEAD OF BACKWARD? 11-4 __________________________________________________________ 11.6 WHY IS DECWINDOWS MOTIF NOT STARTING? 11-5 __________________________________________________________ 11.7 HOW DO I SET THE TITLE ON A DECTERM WINDOW? 11-8 __________________________________________________________ 11.8 HOW DO I CUSTOMIZE DECWINDOWS, INCLUDING THE LOGIN SCREEN? 11-8 __________________________________________________________ 11.9 WHY DOESN'T XTAPPADDINPUT() WORK ON OPENVMS? 11-10 __________________________________________________________ 11.10 WHY DO THE KEYBOARD ARROW KEYS MOVE THE DECWINDOWS CURSOR? 11-11 __________________________________________________________ 11.11 WHY DOES HALF MY DECWINDOWS DISPLAY BLANK? 11-11 __________________________________________________________ 11.12 %DECW-W-NODEVICE, NO GRAPHICS DEVICE FOUND ON THIS SYSTEM? 11-12 xvi Contents __________________________________________________________ 11.13 HOW CAN I RESET THE WARNING BELL VOLUME? 11-14 __________________________________________________________ 11.14 HOW CAN I ALTER THE DECWINDOWS CDE BACKDROP? 11-15 __________________________________________________________ 11.15 HOW CAN I ENABLE THE DECWINDOWS TCP/IP TRANSPORT 11-15 ________________________________________________________________ CHAPTER 12 MISCELLANEOUS INFORMATION 12-1 __________________________________________________________ 12.1 WHERE CAN I FIND INFORMATION ON ESCAPE AND CONTROL SEQUENCES? 12-1 __________________________________________________________ 12.2 DOES DECPRINT (DCPS) WORK WITH THE LRA0 PARALLEL PORT? 12-3 __________________________________________________________ 12.3 HOW DO I CHECK FOR FREE SPACE ON A (BACKUP) TAPE? 12-3 __________________________________________________________ 12.4 SO WHAT HAPPENED TO SYS$CMSUPER? 12-4 __________________________________________________________ 12.5 CORRECTLY USING LICENSE PAKS AND LMF? 12-5 ________________________________________________________________ CHAPTER 13 FINDING AND USING SOFTWARE 13-1 __________________________________________________________ 13.1 WHERE CAN I FIND FREEWARE/SHAREWARE/SOFTWARE FOR OPENVMS? 13-1 xvii Contents __________________________________________________________ 13.2 WHERE CAN I FIND UNIX TOOLS FOR OPENVMS? 13-14 13.2.1 POSIX-compliant versions of POSIX routines and utilities 13-14 13.2.2 C system and library routines 13-14 13.2.3 X Windows utilities and routines 13-14 13.2.4 TCP/IP Tools and Utilities for OpenVMS? 13-15 13.2.5 The vi text editor 13-15 13.2.6 Various GNU tools 13-16 13.2.6.1 GCC compiler, 13-16 __________________________________________________________ 13.3 WHERE CAN I GET THE MOZILLA WEB BROWSER? 13-17 __________________________________________________________ 13.4 WHERE CAN I GET JAVA FOR OPENVMS? 13-18 __________________________________________________________ 13.5 OBTAINING USER INPUT IN DCL CGI SCRIPT? 13-19 __________________________________________________________ 13.6 HOW CAN A BATCH JOB GET ITS OWN BATCH ENTRY NUMBER? 13-19 __________________________________________________________ 13.7 HOW DO I CONVERT TO NEW CMS OR DTM LIBRARIES? 13-20 __________________________________________________________ 13.8 WHERE CAN I GET NEW CERTIFICATES FOR NETSCAPE NAVIGATOR? 13-21 __________________________________________________________ 13.9 WHY DOESN'T DCL SYMBOL SUBSTITUTION WORK? 13-22 __________________________________________________________ 13.10 WHERE CAN I GET PERL FOR OPENVMS? 13-23 __________________________________________________________ 13.11 OBTAINING THE DECMIGRATE (VEST AND TIE) TRANSLATOR? 13-24 __________________________________________________________ 13.12 WHERE CAN I GET ZIP, UNZIP, SELF-EXTRACTING ZIP, ETC? 13-25 __________________________________________________________ 13.13 ARE VAX HARDWARE EMULATORS AVAILABLE? 13-26 xviii Contents ________________________________________________________________ CHAPTER 14 HARDWARE INFORMATION 14-1 __________________________________________________________ 14.1 WHAT ARE THE OPENVMS DIFFERENCES AMONG VAX, ALPHA, AND IA-64? 14-1 __________________________________________________________ 14.2 SEEKING PERFORMANCE INFORMATION FOR ALPHA (AND VAX) SYSTEMS? 14-2 __________________________________________________________ 14.3 CONSOLE COMMANDS, SERIAL LINES, AND CONTROLS? 14-3 14.3.1 What commands are available in the Alpha SRM console? 14-3 14.3.2 What does SRM mean? What is PALcode? 14-4 14.3.3 Alpha COM ports and VAX console serial line information? 14-4 14.3.3.1 Which terminal device name is assigned to the COM ports?, 14-4 14.3.3.2 Which serial port is the console on the MicroVAX 3100?, 14-4 14.3.3.3 How can I set up an alternate console on a VAXstation?, 14-5 14.3.3.4 Please explain the back panel of the MicroVAX II, 14-5 14.3.4 What are Alpha console environment variables? 14-6 14.3.5 What are the boot control flag values? 14-7 14.3.5.1 What are the Alpha APB boot flag values?, 14-7 14.3.5.2 What are the VAX VMB boot flag values?, 14-8 14.3.6 How do I boot an AlphaStation without monitor or keyboard? 14-11 14.3.7 Downloading and using SRM console Firmware? 14-11 14.3.7.1 Where can I get updated console firmware for Alpha systems?, 14-12 14.3.7.2 How do I reload SRM firmware on a half-flash Alpha system?, 14-13 14.3.7.3 How do I switch between AlphaBIOS/ARC and SRM consoles?, 14-13 14.3.8 Console Management Options 14-16 xix Contents __________________________________________________________ 14.4 WHAT PLATFORMS WILL OPENVMS OPERATE ON? 14-17 14.4.1 on the Alpha Multia? 14-19 14.4.2 on AlphaPC 164LX? AlphaPC 164SX? 14-20 14.4.2.1 on the NoName AXPpci33 system?, 14-20 14.4.3 on the Alpha XL series? 14-21 14.4.4 OpenVMS on the Personal Workstation -a and -au series? 14-21 14.4.4.1 OpenVMS on the Whitebox Windows-Only series Alpha?, 14-22 14.4.4.2 OpenVMS and Personal Workstation ATA (IDE) bootstrap?, 14-23 14.4.5 On the Intel Itanium IA-64 platform? 14-23 14.4.5.1 Where can I get Intel Itanium information?, 14-24 __________________________________________________________ 14.5 WHAT IS THE LEAST EXPENSIVE SYSTEM THAT WILL RUN OPENVMS? 14-24 __________________________________________________________ 14.6 WHERE CAN I GET MORE INFORMATION ON ALPHA SYSTEMS? 14-25 __________________________________________________________ 14.7 DESCRIBE ALPHA INSTRUCTION EMULATION AND INSTRUCTION SUBSETS? 14-27 __________________________________________________________ 14.8 WHAT IS THE ACCURACY OF THE ALPHA TIME OF YEAR (BB_WATCH) CLOCK? 14-28 __________________________________________________________ 14.9 SO HOW DO I OPEN UP THE DEC 3000 CHASSIS? 14-29 __________________________________________________________ 14.10 WHAT IS BYTE SWIZZLING? 14-29 __________________________________________________________ 14.11 WHAT IS THE LAYOUT OF THE VAX FLOATING POINT FORMAT? 14-30 __________________________________________________________ 14.12 WHERE CAN I FIND MORE INFO ABOUT VAX SYSTEMS? 14-31 xx Contents __________________________________________________________ 14.13 WHERE CAN I FIND INFORMATION ON NETBSD FOR VAX SYSTEMS? 14-32 __________________________________________________________ 14.14 WHAT SYSTEM DISK SIZE LIMIT ON THE MICROVAX AND VAXSTATION 3100? 14-32 __________________________________________________________ 14.15 WHAT IS THE ACCURACY OF VAX THE TIME OF YEAR (TOY) CLOCK? 14-33 __________________________________________________________ 14.16 WHAT ARE THE VAX PROCESSOR (CPU) CODES? 14-33 __________________________________________________________ 14.17 WHERE CAN I GET SOFTWARE AND HARDWARE SUPPORT INFORMATION? 14-35 __________________________________________________________ 14.18 WHERE CAN I GET HARDWARE SELF-MAINTENANCE SUPPORT ASSISTANCE? 14-36 __________________________________________________________ 14.19 WHY DOES MY SYSTEM HALT WHEN I POWER-CYCLE THE CONSOLE TERMINAL? 14-36 __________________________________________________________ 14.20 CAN I REUSE OLD KEYBOARDS, MICE AND MONITORS WITH A PC? 14-37 __________________________________________________________ 14.21 WHICH VIDEO MONITOR WORKS WITH WHICH GRAPHICS CONTROLLER? 14-39 __________________________________________________________ 14.22 WHERE CAN I GET INFORMATION ON STORAGE HARDWARE? 14-40 __________________________________________________________ 14.23 WHY DOES MY LK401 KEYBOARD UNEXPECTEDLY AUTOREPEAT? 14-40 __________________________________________________________ 14.24 PROBLEM - MY LK411 SENDS THE WRONG KEYCODES OR SOME KEYS ARE DEAD 14-41 xxi Contents __________________________________________________________ 14.25 WHICH DE500 VARIANT WORKS WITH WHICH OPENVMS VERSION? 14-41 __________________________________________________________ 14.26 THIRD-PARTY DISK/TAPE/CONTROLLERS/SCSI/WIDGETS ON OPENVMS? 14-43 14.26.1 Lists of third-party widgets on OpenVMS? 14-45 14.26.2 Are the 2X-KZPCA-AA and SN-KZPCA-AA LVD Ultra2 SCSI? 14-46 14.26.3 Resolving DRVERR fatal device error? 14-46 __________________________________________________________ 14.27 LOOKING FOR CONNECTOR WIRING PINOUTS? 14-46 __________________________________________________________ 14.28 WHAT CONNECTORS AND WIRING ADAPTERS ARE AVAILABLE? 14-49 __________________________________________________________ 14.29 WHAT IS FLOW CONTROL AND HOW DOES IT WORK? 14-50 __________________________________________________________ 14.30 CD-R AND DVD DEVICE REQUIREMENTS? 14-51 ________________________________________________________________ CHAPTER 15 INFORMATION ON NETWORKS AND CLUSTERS 15-1 __________________________________________________________ 15.1 HOW TO CONNECT OPENVMS TO A MODEM? 15-1 __________________________________________________________ 15.2 OPENVMS AND IP NETWORKING? 15-1 15.2.1 How to connect OpenVMS to the Internet? 15-1 15.2.2 Connecting to an IP Printer? 15-1 15.2.3 How do I connect a PostScript printer via TCP/IP? 15-2 15.2.4 How do I set a default IP route or gateway on OpenVMS? 15-3 15.2.5 How can I set up reverse telnet (like reverse LAT)? 15-4 15.2.6 Why can't I use PPP and RAS to connect to OpenVMS Alpha? 15-4 xxii Contents __________________________________________________________ 15.3 OPENVMS AND DECNET NETWORKING? 15-4 15.3.1 Can DECnet-Plus operate over IP? 15-5 15.3.2 What does "failure on back translate address request" mean? 15-5 15.3.3 Performing SET HOST/MOP in DECnet-Plus? 15-6 __________________________________________________________ 15.4 HOW TO DETERMINE THE NETWORK HARDWARE ADDRESS? 15-6 15.4.1 How do I reset the LAN (DECnet-Plus NCL) error counters? 15-9 15.4.2 How do I install DECnet Phase IV on VMS 7.1? 15-9 __________________________________________________________ 15.5 HOW CAN I SEND (RADIO) PAGES FROM MY OPENVMS SYSTEM? 15-10 __________________________________________________________ 15.6 OPENVMS, CLUSTERS, VOLUME SHADOWING? 15-11 15.6.1 OpenVMS Cluster Communications Protocol Details? 15-11 15.6.1.1 OpenVMS Cluster (SCS) over DECnet? Over IP?, 15-11 15.6.1.2 Configuring Cluster SCS for path load balancing?, 15-12 15.6.1.2.1 Cluster Terminology?, 15-12 15.6.1.2.2 Cluster Communications Control?, 15-14 15.6.1.2.3 Cluster Communications Control Tools and Utilities?, 15-15 15.6.2 Cluster System Parameter Settings? 15-16 15.6.2.1 What is the correct value for EXPECTED_VOTES in a VMScluster?, 15-16 15.6.2.2 Explain disk (or tape) allocation class settings?, 15-18 15.6.2.2.1 How to configure allocation classes and Multi-Path SCSI?, 15-19 15.6.3 Tell me about SET HOST/DUP and SET HOST/HSC 15-20 15.6.4 How do I rename a DSSI disk (or tape?) 15-21 15.6.5 Where can I get Fibre Channel Storage (SAN) information? 15-23 15.6.6 How can I split up an OpenVMS Cluster? 15-23 xxiii Contents 15.6.7 Details on Volume Shadowing? 15-25 15.6.7.1 Does volume shadowing require a non-zero allocation classes?, 15-25 ________________________________________________________________ INDEX ________________________________________________________________ TABLES 1-1 Core Websites 1-1 2-1 OpenVMS Media Kits 2-5 2-2 OpenVMS ECO Kits 2-5 2-3 OpenVMS Source Listings CD-ROM Kits 2-6 2-4 OpenVMS Alpha Version Rule-Of-Thumb 2-14 3-1 OpenVMS Websites 3-2 3-2 Telephone Numbers 3-5 3-3 OpenVMS Tutorial Websites 3-7 3-4 DP Books 3-9 3-5 OpenVMS Mailing Lists 3-10 11-1 X Windows Display Commands 11-1 xxiv ________________________________________________________________ Preface i ________________________________________________________________ OpenVMS Frequently Asked Questions (FAQ) This is the OpenVMS Frequently Asked Questions (FAQ) posting for the comp.os.vms and comp.sys.dec usenet newsgroups. Suggestions and Updates Welcome! Please send your suggestions for changes, additions, or corrections directly to the FAQ Editor. Please! No Support Questions! Please do not send technical questions to the FAQ Editor. The FAQ editor is not in a position to answer general questions, nor to provide support. Rather, please post your questions to the appropriate newsgroup, or please contact your prefered hardware or software support organization(s) directly. Your understanding in this is greatly appreciated. If you believe any particular discussion worthy of inclusion in a future edition of the FAQ and particularly once you have or know both the question and the answer, please then send the entire discussion along to the FAQ Editor for potential inclusion. Thank you! Post to Newsgroups With Care! Please consider reading Section 1.3 before posting to the comp.os.vms or any other newsgroups. iii OpenVMS Frequently Asked Questions (FAQ) _____________________________ Contributors Many people have contributed to this FAQ, directly and/or indirectly. In many cases, part or all of an answer included in the FAQ has been adapted from one or more postings from the comp.os.vms or other newsgroup-this though individual citations and specific quotations are generally not included in this FAQ. (The FAQ editor wishes to thank to all of those folks who post answers to the newsgroups, and that have contributed to the contents of this FAQ.) The following is an incomplete list of the folks that have contributed directly or indirectly to the contents of the OpenVMS FAQ. Additions, corrections, and updates to this list of contributors and to the contents of the FAQ itself are welcome, and all omissions and misspellings are unintentional. Thanks to each of the contributors here, and to all of the folks that have participated in the FAQ and in the newsgroups. Paul Anderson, Jason Armistead, Zoltan Arpadffy, John AtoZ, Bailey, Jeremy Begg, Colin Blake, Ken Blaylock, Kenneth Block, Bol, Craig Berry, Mark Berryman, Jim Becker, Verell Boaen, Bol, Jim Brankin, Richard Brodie, Robert Alan Byer, Jeff Campbell, Scott Campbell, Antonio Carlini, Keith Cayemberg, Ken Chaney, Cristy, John Croll, David J. Dachtera, Robert Deininger, Dale Dellutri, Leo Demers, Sue Denham, Thomas Dickey, Eric Dittman, Jim Dunham, Eric, Glenn Everhart, Ken Fairfield, Yaacov Fenster, Gunther Froehlin, Harry Garonzik, Derek Garson, John Gillings, Andy Goldstein, Clair Grant, Hunter Goatley, Ruth Goldenberg, Vance Haemmerle, Ki Suk Hahn, SHarris, Fletcher Hearns, Phillip Helbig, Hein van den Heuvel, Stephen Hoffman, Eberhard Heuser-Hofmann, Sue Holt, Horn, Jaf, Leif Jansson, Kevin Jenkins, Henry Juengst, inazu_k, Geoff Kingsmill, Fred Kleinsorge, Felix Kreisel, Veli Korkko, Ruslan R. Laishev, Norm Lastovica, p_ lee, Jerry Leichter, Richard Levitte, Steve Lionel, Kerry Main, John E. Malmberg, David Mathog, Dale Miller, Dick Munroe, Patrick Moreau, Morrison, otis, George Pagliarulo, Keith Parris, Plass, pvhp, David Rabahy, Stan Rabinowitz, Mike Raspuzzi, Steve Reece, iv OpenVMS Frequently Asked Questions (FAQ) Aaron Sakovich, Warren Sander, Mark Schafer, Brian Schenkenberger, Atlant Schmidt, Wayne Sewell, Steven Shamlian, Sue Skonetski, Scott Snadow, Scott Squires, stfp, Dave Sweeney, Mike Thompson, Arne Vajhøj, Martin Vorländer, Peter Weaver, William Webb, Williams, Paul Winalski, Uwe Zinser. Again, any omission from this list and any errors or misspellings are entirely unintentional. Please notify the FAQ editor of any omissions, corrections, or updates that might be needed within this list. And thanks to each of these individuals for their assistance and for their contributions, and particularly for sharing their expertise. __________________________________________________________ FAQ Archives and FAQ Locations The OpenVMS FAQ is archived in (at least) the following locations: o http://www.hp.com/go/openvms/faq/ o ftp://rtfm.mit.edu/pub/usenet/comp.os.vms/ o comp.answers and news.answers newsgroups o http://www.faqs.org/ o http://www.google.com/ o http://www.kjsl.com/vmsfaq o http://eisner.decus.org/vms/faq.htm Other internet FAQs are generally available in these locations: o comp.answers and news.answers newsgroups o ftp://rtfm.mit.edu/pub/usenet/... o http://www.faqs.org/ o http://www.google.com/ v OpenVMS Frequently Asked Questions (FAQ) __________________________________________________________ FAQ File Formats and Production Information This FAQ is available in ASCII text, Postscript, Bookreader, HTML, and other document file formats. As the HTML-format FAQ is not a single monolithic (and accordingly large) HTML file, it is the most difficult format to search using the most common standard (platform-local) tools. Accordingly, the FAQ editor recommends downloading, using and searching the ASCII text FAQ format. The OpenVMS FAQ is maintained in DECdocument SDML format and all FAQ maintenance and the primary output file format conversions are performed on OpenVMS systems. For information on the DECdocument product, please contact Touch Technologies. __________________________________________________________ Old FAQ Section Notations Available in Index For the folks that are familiar with older editions of this FAQ and specifically for those folks looking for the older section name keywords, please see the index entries located under FAQ Sections (Old). These older section names include the prefixes DCL, DECW, DOC, FILES, MISC, MGMT, INTRO, SOFT, VMS, etc., followed by the section number. __________________________________________________________ The Fine Print All trademarks, registered trademarks, servicemarks and registered servicemarks used or referenced here are the properties of their respective owner(s) or holders. The redistribution, reposting and/or the web-serving of complete and unaltered copies of this FAQ document is permitted. Other uses only with prior permission. While the information contained here is believed correct, the use of any and all information acquired from this document is entirely at the risk of the user(s). vi OpenVMS Frequently Asked Questions (FAQ) Though the editor of this FAQ is an employee of Hewlett-Packard Company (HP), this posting and the information contained within this FAQ are neither official statements nor commitments of HP. vii _______________________________________________________ 1 Introduction __________________________________________________________ 1.1 What core OpenVMS URLs do you need to know? If you have no other OpenVMS URLs bookmarked, you will want to be familiar with the URLs listed in Table 1-1: ________________________________________________________________ Table 1-1 Core Websites _______________________________________________________ URL_______Contents_____________________________________ Core OpenVMS Information http://www.hp.com/go/openvms/ OpenVMS Future Release Contents, Release Schedules http://www.openvms.compaq.com/openvms/roadmap/openvms_ roadmaps.htm OpenVMS and Core Layered Product Documentation http://www.openvms.compaq.com/doc/ http://www.openvms.compaq.com/commercial/ Core OpenVMS Support Search Engine URLs, FTP Patch Area 1-1 Introduction ________________________________________________________________ Table 1-1 (Cont.) Core Websites _______________________________________________________ URL_______Contents_____________________________________ http://askq.compaq.com/ http://www.itrc.hp.com/ ftp://ftp.itrc.hp.com/openvms_patches/ with older sites available (pending completion of a move into ITRC): http://ftp.support.compaq.com.au/pub/ecoinfo/ecoinfo/ ftp://ftp.support.compaq.com/public/vms/vax/... ftp://ftp.support.compaq.com/public/vms/axp/... The OpenVMS Freeware http://www.hp.com/go/openvms/freeware/ The OpenVMS Hobbyist _________http://www.openvmshobbyist.org/________________________ __________________________________________________________ 1.2 What are the OpenVMS Usenet Newsgroups? There are a huge number of newsgroups available, some of which discuss topics of interest to folks using OpenVMS operating system. Key among these are the comp.os.vms newsgroup and the vmsnet.* heirarchy of newsgroups. _____________________________ 1.2.1 What is the scope of the comp.os.vms newsgroup? The comp.os.vms newsgroup is the primary newsgroup for discussion of the HP OpenVMS operating system and the computer systems on which it runs. Questions about layered products which run on OpenVMS are also welcome, though many of them (in particular, language compilers and database systems) have more specific newsgroups. If a question has some relationship to OpenVMS, it belongs in comp.os.vms. 1-2 Introduction _____________________________ 1.2.2 What newsgroups carry VMS-related information? The vmsnet.* hierarchy is operated by the Encompass users group (formerly known as DECUS), and contains various newsgroups of interest, including vmsnet.misc and vmsnet.alpha. Sprechen Sie Deutsch? Besuchen Sie bitte den newsgroup de.comp.os.vms. The comp.sys.dec newsgroup carries general discussions about various HP computer systems, and specifically systems that were acquired by HP as part of the acquisition of Compaq, systems which had previously been acquired by Compaq as part of the acquisition of Digital Equipment Corporation (DIGITAL). Also of interest are resources and conferencing systems including Encompasserve (formerly known as DECUServe), Ken Farmer's OpenVMS.Org forums, and the Compaq Working Group folks: o telnet://eisner.decus.org/ o http://www.openvms.org/ o http://www.compaqworkinggroup.org/ _____________________________ 1.2.3 What newsgroup archives are available? Extensive archives of INFO-VAX mailings and comp.os.vms postings are archived and available at ftp://crvax.sri.com/info-vax/. Google also has extensive newsgroup archives available at http://www.google.com/. _____________________________ 1.2.4 What is the INFO-VAX mailing list? INFO-VAX is a mailing list which is bidirectionally gatewayed to the comp.os.vms newsgroup. This means that postings to comp.os.vms get automatically sent to INFO-VAX subscribers and messages sent to the INFO-VAX list are automatically posted to comp.os.vms. INFO-VAX can be a useful way to participate in the newsgroup if you can't access the newsgroup directly through 1-3 Introduction a newsreader. Note that INFO-VAX is a closed mailing list, which means that only subscribers may post to it. Please see Section 1.2.4.1 for information on how to subscribe, and how you can subscribe such that you can post from multiple addresses but still receive no more than one copy of the mailings. Please remember that propogation delays can and do vary, meaning that mailings and postings may be delayed or even lost. It is quite possible that postings may not be delivered for several days, and that some postings will appear out of the expected order. For details on the available archives, please see Section 1.2.3. _____________________________ 1.2.4.1 How do I subscribe to or unsubscribe from INFO-VAX? The address for subscription requests is Info-VAX- Request[at]Mvb.Saic.Com. Subscription requests are handled automatically by a mail server. This mail server ignores the subject line and processes each line of the message as a command. The syntax for subscribing and unsubscribing, as well as setting various parameters on your subscription, is: SUBSCRIBE INFO-VAX (ADD is a valid synonym) UNSUBSCRIBE INFO-VAX (REMOVE, SIGNOFF, and SIGN-OFF are valid synonyms) SET INFO-VAX DIGEST (to receive in Digest format) SET INFO-VAX NODIGEST (to receive each message individually) SET INFO-VAX NOMAIL (to establish an email address for posting, though not receiving, mail.) SET INFO-VAX MAIL (to establish an email address for both posting and receiving mail.) The mail server is not case-sensitive; case is irrelevant. Attempts to fetch copies of the mailing list are rejected for reasons of confidentiality. Any message not understood by the mailserver will be returned entirely unprocessed. The INFO-VAX moderator can be contacted directly at the email address Mark.Berryman[at]Mvb.Saic.Com. 1-4 Introduction If you are on Bitnet, send a mail message containing the text SUBSCRIBE INFO-VAX to LISTSERVE[at][nearest- Listserv-system). To unsubscribe, send a message containing the text SIGNOFF INFO-VAX to the same Listserv system. If you are on the Internet in the UK, send a message containing the word SUBSCRIBE or UNSUBSCRIBE to info- vax-request[at]ncdlab.ulcc.ac.uk. __________________________________________________________ 1.3 What is [n]etiquette? Before posting or emailing a question, please use the available local resources, such as the OpenVMS manuals, the HELP, and the resources and information in and referenced by this FAQ. Please use these first. Also please specifically read the release notes and (if appropriate) the cover letter for the product you are using. (The release notes are generally placed in SYS$HELP:.) Quite often, these simple steps will allow you to quickly find the answer to your own question-and more quickly than waiting for a response to question posted to a newsgroup, too. These steps will save you time, and will also help ensure you have a good reputation with the folks that might be included to answer one of your future questions, a question not covered in these resources. Put another way, if you do not want your questions to be ignored in the future- and please remember that the folks in the newsgroups do not have to answer your questions-you won't want to "annoy the natives" by asking a question that has already been answered far more times more than you might have realized, or a question whose answer is readily available had you made a small effort. When posting, please consider the following suggestions: o There is no particularly reliable way to recall, erase, delete, or otherwise hide a message once it is emailed or once posted. Once your message has reached an external email server or multiple news servers, the entire text is effectively a permanent fixture of the network. And using the available 1-5 Introduction search engines, a fixture that is easy to locate and to correlate. For details on some of the many available archives, please see Section 1.2.3. o Include a valid e-mail address in the text of your posting or in a "signature" appended to the end. Reply-to addresses in headers often get garbled. Anonymous addresses can also simply be ignored, as fake addresses are regularly used by folks that are "trolling" and by folks that are spamming. (Though to avoid spam-harvesting of your email address, consider adding characters or a field into the address-but remember to include details around which characters or fields should be removed or altered if you decide to be particularly clever here.) o If you are submitting a question, please be as specific as you can. Include relevant information such as processor type, product versions (OpenVMS and layered products that apply), error message(s), DCL command(s) used, and a short, reproducible example of problems. Say what you've tried so far, so that effort isn't duplicated. Keep in mind that there's not yet a telepathy protocol for the Internet. (The more detailed your description, the better that people can help you with your question.) o If responding to a posting, include in your reply only as much of the original posting as is necessary to establish context. As a guideline, consider that if you've included more text than you've added, you've possibly included too much. Never include signatures and other irrelevant material. o Please be polite. If the question isn't worded the way you think is correct or doesn't include the information you want, try to imagine what the problem might be if viewed from the poster's perspective. Requests for additional detailed information are often better sent through mail rather than posted to the newsgroup. 1-6 Introduction o If you have a problem with HP (or any other vendor's) product, please use the appropriate support channel. Do not assume that newsgroup postings will get read, will be responded to by the appropriate developers, or will be later followed up upon. o If you are posting from a web browser, news reader or if you are posting via email sent to INFO-VAX, please turn off MIME, vcard, attachments, and other mechanisms that assume anyone reading the post has the corresponding capability-use the text-only option of your web browser, news reader, or mailer. Usenet is traditionally a text-only medium, and many comp.os.vms participants will use tools that have this support disabled, or that do not have this support. If the message uses MIME or attachments or such, the text of your message will be buried in a large pile of gibberish, and some tools will send multiple copies of the text within a single posting. o If you find that the postings of a particular user are uninteresting, annoying, or off-topic, most newsreaders include a filter or killfile mechanism, and many mail clients have similar filtering capabilities. Please do not "flame"-to email or to post vitriol - any individual that might annoy you, please enable and filter all of that users postings. Posting of vitriol and flames will eventually come back to haunt you. Similarly, readers that decide that your postings are not worthy of reading will similarly tend to filter or to killfile all of your postings. Please play nice, in other words. Before posting your question to the comp.os.vms newsgroup or sending your message to the INFO-VAX list, also please take the time to review available etiquette information, such as that included in the following documents: o ftp://rtfm.mit.edu/pub/usenet/news.answers/usenet/primer/part1 o ftp://rtfm.mit.edu/pub/usenet/news.answers/usenet/faq/part1 1-7 Introduction o ftp://rtfm.mit.edu/pub/usenet/news.answers/usenet/emily- postnews/part1 o ftp://rtfm.mit.edu/pub/usenet/news.answers/usenet/writing- style/part1 o ftp://rtfm.mit.edu/pub/usenet/news.answers/usenet/posting- rules/part1 This information will document the etiquette of newsgroups, as well as providing you with the knowledge the vast amount of newsgroup-related information that is readily available to you, and where to find it... Note Please do not post security holes or system crashers Rather, please report these problems directly to HP. Why? So that HP has a chance to resolve and distribute a fix before other customer sites can be affected. Most folks in the newsgroups are honest and deserve to know about potential security problems, but a few folks can and will make nefarious use of this same information. Other sites will hopefully return the courtesy, and will not post information that will potentially compromise your site and your computer environment. __________________________________________________________ 1.4 What OpenVMS user group(s) are available? Encompass, the Enterprise Computing Association, is a user group comprised of information technology professionals that are interested in the Enterprise- oriented products, services, and technologies of Compaq and of the former DIGITAL. Encompass offers newsletters, the Encompass website, and offers various gatherings and related services, including symposia events and local users group meetings. Encompass is a descendent of the organization known as DECUS, the Digital Equipment Computer Users Society. 1-8 Introduction For more information on Encompass, please visit the Encompass web site: o http://www.encompassus.org/ The organization comprised of customers of Hewlett- Packard Company (HP) that is probably most analogous to the Encompass organization is Interex: o http://www.interex.org/ Like Encompass, Interex offers various services and events of interest to folks that presently work with and/or that wish to learn about HP products and offerings. Please see the Interex website for details. __________________________________________________________ 1.5 OpenVMS Support, Questions and Comments? The following section includes contacts for OpenVMS Feedback, and information on how to obtain technical support information. _____________________________ 1.5.1 Corporate contacts for OpenVMS Business Issues? The following folks are the HP corporate contacts for OpenVMS business issues, listed in descending order from Carleton (Carly) Fiorina to the Vice President of the OpenVMS Engineering organization: o Carly Fiorina o Peter Blackmore o Scott Stallard o Richard Marcello o Mark Gorham These folks will quite obviously respond best to cogently-worded OpenVMS corporate-level business issues. These folks are noit appropriate contacts for any OpenVMS technical support issues nor for any OpenVMS technical support requests, nor for any other non-corporate-related, non-business-related issues. 1-9 Introduction _____________________________ 1.5.2 OpenVMS Ambassadors? The OpenVMS Ambassadors are senior HP engineers with advanced technical knowledge and advanced training in OpenVMS, with detailed knowledge of current and future OpenVMS releases and product plans, and with contacts directly with the HP and ISV hardware and software engineering organizations developing OpenVMS and OpenVMS hardware platforms, as well as layered products and tools. Further, Ambassadors are experienced with integrating HP OpenVMS and application-specific products and ISV applications to solve specific business requirements. OpenVMS Ambassadors are based throughout the world. Your HP sales representative or HP reseller will be able connect you with your local OpenVMS Ambassador. _____________________________ 1.5.3 Contact for OpenVMS Marketing Issues and Questions? Please see Section 3.5. _____________________________ 1.5.4 Contact URLs for OpenVMS Technical Issues? For technical issues and technical support, please contact your software support organization, or your local HP Customer Support Center or HP Reseller. In North America, you can call 1-800-OK-COMPAQ. Please remember to review and to bookmark the following support URLs: o http://www.openvms.compaq.com/support/ o http://askq.compaq.com/ o http://www.hp.com/go/openvms/wizard/ o ftp://ftp.support.compaq.com/public/vms/vax/... o ftp://ftp.support.compaq.com/public/vms/axp/... 1-10 _______________________________________________________ 2 General Information __________________________________________________________ 2.1 What is OpenVMS? What is its history? OpenVMS, originally called VMS (Virtual Memory System), was first conceived in 1976 as a new operating system for the then-new, 32-bit, virtual memory line of computers, eventually named VAX (Virtual Address eXtension). The first VAX model, the 11/780, was code-named "Star", hence the code name for the VMS operating system, "Starlet", a name that remains to this day the name for the system library files (STARLET.OLB, etc.). VMS version X0.5 was the first released to customers, in support of the hardware beta test of the VAX-11/780, in 1977. VAX/VMS Version V1.0 shipped in 1978, along with the first revenue-ship 11/780s. OpenVMS was designed entirely within HP and specifically within the former Digital Equipment Corporation (DIGITAL). Two of the principal designers were Dave Cutler and Dick Hustvedt, though with a wide variety of other contributors. OpenVMS was conceived as a 32-bit, virtual memory successor to the RSX- 11M operating system for the PDP-11. Many of the original designers and programmers of OpenVMS had worked previously on RSX-11M, and many concepts from RSX-11M were carried over to OpenVMS. OpenVMS VAX is a 32-bit, multitasking, multiprocessing virtual memory operating system. Current implementations run on VAX systems from HP and other vendors. OpenVMS Alpha is a 64-bit multitasking, multiprocessing virtual memory operating system. Current implementations run on Alpha systems from HP, and other vendors. 2-1 General Information Work to port OpenVMS to systems based on the Intel IA-64 architecture and specifically to the Itanium Processor Family is presently underway. For more details on OpenVMS and its features, please read the OpenVMS Software Product Description at: o http://www.compaq.com/info/spd/ OpenVMS typically uses SPD 25.01.xx and/or SPD 41.87.xx. Additional information on the general features of various OpenVMS releases, release dates, as well as the development project code names of specific releases, is available at: o http://www.openvms.compaq.com/openvms/os/openvms- release-history.html Additional historical information-as well as pictures and a variety of other trivia-is available in the VAX 20th anniversary book: o http://www.openvms.compaq.com/openvms/20th/vmsbook.pdf For information on the FreeVMS project, and on hobbyist and educational versions of OpenVMS, please see: o http://www.free-vms.org/ o http://www.openvmshobbyist.org/ o http://www.openvmsedu.com/ Also please see the related software licensing topics Section 2.7.4, Section 2.7.1, and Section 2.14. __________________________________________________________ 2.2 What is the difference between VMS and OpenVMS? VMS and OpenVMS are two names for the same operating system. Originally, the operating system was called VAX-11/VMS; it changed to VAX/VMS at around VAX/VMS V2.0. When the VMS operating system was ported to the Alpha platform, it was renamed OpenVMS, for both VAX and Alpha (and for the Itanium Processor Family), in part to signify the high degree of support for industry 2-2 General Information standards such as POSIX, which provides many features of UNIX systems. For those versions with POSIX, an OpenVMS license allows you to install and run POSIX for OpenVMS at no additional charge; all you need is the media and documentation which can be found on the Consolidated Distribution and On-Line Documentation CD-ROMs. Support for the POSIX package on more recent OpenVMS releases is not available, various parts of POSIX such as calls from the API are being integrated more directly into OpenVMS. For more information on POSIX for VMS see question SOFT2 What became confusing is that the OpenVMS name was introduced first for OpenVMS AXP V1.0 causing the widespread misimpression that OpenVMS was for Alpha AXP only, while "regular VMS" was for VAX. In fact, the official name of the VAX operating system was changed as of V5.5, though the name did not start to be actually used in the product until V6.0. The proper names for OpenVMS on the two platforms are now "OpenVMS VAX" and "OpenVMS Alpha", the latter having superseded "OpenVMS AXP". _____________________________ 2.2.1 How do I port from VMS to OpenVMS? You already did. Wasn't that easy? Please see Section 2.2 for details. __________________________________________________________ 2.3 Which is better, OpenVMS or UNIX? This question comes up periodically, usually asked by new subscribers amd new posters who are long-time UNIX or Linux users. Sometimes, the question is ignored totally; other times, it leads to a long series of repetitive messages that convince no one and usually carry little if any new information. Please do everyone a favor and avoid re-starting this perpetual, fruitless debate. 2-3 General Information That said, OpenVMS and the better implementations of UNIX are all fine operating systems, each with its strengths and weaknesses. If you're in a position where you need to choose, select the one that best fits your own requirements, considering, for example, whether or not the layered products or specific OS features you want are available, and considering the expected cost-of-ownership over the lifetime of the system installation. __________________________________________________________ 2.4 Is HP continuing funding and support for OpenVMS? Yes. Active development of new OpenVMS releases is underway, as well as the continuation of support. Please see the following URLs for details, roadmaps, and related information: o http://www.openvms.compaq.com/ o http://www.openvms.compaq.com/OPENVMS/strategy.html o http://www.openvms.compaq.com/openvms/roadmap/openvms_ roadmaps.htm o http://www.openvms.compaq.com/openvmstimes/ o http://www.compaq.com/inform/ __________________________________________________________ 2.5 What OpenVMS CD-ROM distribution kits are available? Various distributions are available. For information on the available part numbers and current products (OpenVMS distribution kits, media, documentation, etc) and associated licensing information, please see the OpenVMS Software Product Description (SPD), available at: o http://www.compaq.com/info/spd/ OpenVMS typically uses SPD 25.01.xx and/or SPD 41.87.xx. 2-4 General Information The CD-ROMs listed in Table 2-1 contain just the OpenVMS Alpha operating system. These are bootable, and can be used to run BACKUP from CD-ROM. ________________________________________________________________ Table 2-1 OpenVMS Media Kits _______________________________________________________ Part______________Description__________________________ QA-MT1AP-H8 OpenVMS Alpha V6.1-1H2 hardware release CD-ROM QA-MT1AG-H8 OpenVMS Alpha V6.2-1H3 hardware release CD-ROM QA-MT1AD-H8 OpenVMS Alpha V7.1-1H1 hardware release CD-ROM QA-MT1AR-H8 OpenVMS Alpha V7.1-2 maintenance release CD-ROM QA-MT1AT-H8 OpenVMS Alpha V7.2-1 maintenance release CD-ROM QA-MT1AU-H8 OpenVMS Alpha V7.2-1H1 hardware ___________________________release_CD-ROM_______________________ The table Table 2-2 contains the consolidated ECO distribution kit subscriptions, and these provide sites with eight updates of the current ECO kits per year: ________________________________________________________________ Table 2-2 OpenVMS ECO Kits _______________________________________________________ Part______________Description__________________________ QT-3CQAA-C8 OpenVMS Alpha _________QT-3CRAA-C8_______OpenVMS_VAX__________________________ The OpenVMS VAX and OpenVMS Alpha source listings CD-ROM sets listed in Table 2-3 include the source listings of most of OpenVMS, and these CD-ROM sets are invaluable for any folks working directly with OpenVMS internals, as well as folks interested in seeing examples of various programming interfaces. 2-5 General Information ________________________________________________________________ Table 2-3 OpenVMS Source Listings CD-ROM Kits _______________________________________________________ Part______________Description__________________________ QB-MT1AB-E8 OpenVMS Alpha Source Listings CD-ROM QT-MT1AB-Q8 OpenVMS Alpha Source Listings CD-ROM Updates QB-001AB-E8 OpenVMS VAX Source Listings CD-ROM QT-001AB-Q8 OpenVMS VAX Source Listings CD-ROM ___________________________Updates______________________________ __________________________________________________________ 2.6 In what language is OpenVMS written? OpenVMS is written in a wide variety of languages. In no particular order, OpenVMS components are implemented using Bliss, Macro, Ada, PLI, VAX and DEC C, Fortran, UIL, VAX and Alpha SDL, Pascal, MDL, DEC C++, DCL, Message, and Document. And this is certainly not a complete list. However, the rumor is NOT true that an attempt was made to write pieces of OpenVMS in every supported language so that the Run-Time Libraries could not be unbundled. (APL, BASIC, COBOL and RPG are just some of the languages NOT represented!) There are a large variety of small and not-so-small tools and DCL command procedures that are used as part of the OpenVMS build, and a source code control system capable of maintaining over a hundred thousand source files across multiple parallel development projects, and overlapping releases. __________________________________________________________ 2.7 Obtaining and Transfering OpenVMS licensees? The following sections describe hobbyist and educational license programs, as well as information on commercial licenses and transfers. For information on the available commercial OpenVMS licenses and for information on license transfers, please see Section 2.7.4. For information on the licensing implementation, troubleshooting licensing 2-6 General Information problems, on the License Unit Requirements Table (LURT), and other related details, please see Section 5.38. _____________________________ 2.7.1 Questions asked by Hobbyist OpenVMS licensees? If you are a member of an HP-recognized user group (eg: Encompass, Enterex, DECUS), and are considering acquiring and using a VAX or Alpha system for hobbyist (non-commercial) use, (free) license product authorization keys (PAKs) for OpenVMS VAX, OpenVMS Alpha, and layered products are available. In addition to the license keys, OpenVMS VAX and Alpha distribution CD-ROM distribution kits are available with OpenVMS, DECwindows Motif, DECnet and TCP/IP networking, compilers, and a variety of layered products. (While the hobbyist CD-ROM distributions are intended for and tailored for OpenVMS Hobbyists, the contents and capabilities of the Hobbyist installation kits included within the OpenVMS Hobbyist distribution do not differ from the standard distribution installation kits. The products are chosen to reflect the most popular products and the space available on the media.) If you have questions on what else is authorized by the license agreement and on what other distribution media is available to you, well, please read the applicable software license agreement(s). For further information, please link to: o http://www.openvmshobbyist.org/ On the OpenVMS Hobbyist license registration form at the above website (as of June 2003), you are offered the choice of the "OpenVMS VAX" license(s), the "OpenVMS Alpha" license(s), and the "Layered Products" licenses. You will want the operating system license for your particular OpenVMS platform and you will want the "Layered Products" licenses. You will want to select and to acquire two sets of license PAKs. 2-7 General Information For vendors wishing to license products specifically for hobbyist use (and to not issue hobbyist PAKs), the program provides hobbyists with the license PAK OPENVMS-HOBBYIST. If you plan to use a hardware emulator (eg: VAX emulator) on a Microsoft Windows platform, make sure you have an OpenVMS distribution kit that can be installed and/or booted with the particular emulator package you plan to use. For additional information on emulators, please see Section 13.13 and particularly please see the emulator-related documentation. _____________________________ 2.7.2 OpenVMS Educational and CSLG licenses? For information on OpenVMS licenses for educational customers, please see the HP Campus Software License Grant (CSLG) license program and the OpenVMS Educational license program: o http://www.openvmsedu.com/ _____________________________ 2.7.3 What developer and partner licensing programs are available? Commercial software developers can join the HP DSPP program, and can (potentially) receive discounts on various software product licenses and software distributions, as well as on hardware purchases. The DSPP program is the descendent of the DIGITAL ISVN and DIGITAL ASAP programs and the Compaq CSA program, and the analogous developer and partner programs at HP. Please see Section 2.14 for additional details on the DSPP program. For information on the OpenbVMS Hobbyist and OpenVMS Educational license programs, please see Section 2.7.1. 2-8 General Information _____________________________ 2.7.4 How do I obtain or transfer an OpenVMS license? To transfer a commercial OpenVMS license from one owner to another, or to purchase a commercial license, you can contact HP at 1-800-OK-COMPAQ (in North America), or your local or regional sales office or reseller. __________________________________________________________ 2.8 Does OpenVMS support the Euro currency symbol? OpenVMS can generate the %xA4 character code used for the Euro, and the DECwindows DECterm can display the glyph. Please check with the vendor of your terminal or terminal emulator for additional details. For additional information on the support of the European Monetary Union Euro currency glyph on OpenVMS, please see: o http://www.openvms.compaq.com/euro/ __________________________________________________________ 2.9 OpenVMS Ports? Itanium? Ports to Intel (IA-32) systems? OpenVMS has been ported to and is operational on three architectures: VAX, Alpha, and IA-64. VAX is the oldest, and limited to 32-bit virtual and up to 34- bit physical addressing. Alpha and IA-64 architectures are both 64-bit architectures, with 64-bit virtual addressing available. The most common commodity platform available in the industry is clearly the Intel IA-32 series, with 32-bit addressing. Technically, OpenVMS and specifically the OpenVMS VAX 32-bit environment is already available on IA-32 systems. For information on how this is possible, please see one of the available VAX emulator products referenced over in Section 13.13. As for (the lack of) a native port for IA-32, OpenVMS Engineering presently and continues to believe that there would be insufficient market (read: profit, customer interest) to justify the cost involved in a native port of OpenVMS to systems using the Intel IA-32 architecture. In addition to the direct costs involved in any port and in addition to the substantial effort involved in moving backwards from a 64-bit 2-9 General Information environment on Alpha and on IA-64 to a 32-bit platform (such as IA-32), and the exceedingly non-trivial device qualification costs and the costs in moving backwards into older PCI and I/O environments (IA-32 systems more than a few years old have equivalently aged I/O support and buses), each organization and each person maintaining a product or a package for OpenVMS will have to justify a port to "OpenVMS Pentium" or "OpenVMS Athalon", akin to the decisions and effort involved in porting a product from OpenVMS VAX to OpenVMS Alpha, or to OpenVMS I64. Platform ports of many of the various products can be easy. Other products can depend on platform- specific features, and the associated ports can be more involved. Ports of operating systems are very large and involved projects. The prerequisite product requirements for a port are also non-trivial, as well- compilers in particular are obviously required, and the suite of compilers provided must maintain a very high degree of source-level compatibility across the platforms. In the case of the HP Integrity port, OpenVMS I64 V8.0 used cross-compilers and cross- tools operating on OpenVMS Alpha systems, while V8.1 is expected to have native compilers available. The OpenVMS I64 port was centrally built using the existing OpenVMS Alpha environment and around the work and the knowledge from the OpenVMS Alpha port, and OpenVMS Engineering fully expects that customers and ISVs will use and will continue to use OpenVMS Alpha systems to assist with their own ports to OpenVMS I64. OpenVMS Engineering is well aware of the AMD Opteron AMD64 (64-bit) platform, and of terms such as Hammer and Sledgehammer. (At least one of the VAX emulators can reportedly utilize the Opteron instruction set, please contact the VAX emulator vendor(s) or maintainer(s) for assistance and details on their products.) OpenVMS Engineering has also heard many of the various "Yamhill" rumors as well. There are no plans to provide a native port of HP OpenVMS for any systems based on AMD Opteron. 2-10 General Information As part of the work leading to the Itanium port, senior engineers had extensively evaluated the products and the architectures available across the high-end 64- bit computing space, and chosen to target Itanium for 64-bit environments-this while under the Compaq organization. This included looking at IA-32. HP (a co- developer of Itanium with Intel) had seperately chosen to target Intel Itanium for its high-end computer products. Compaq then announced plans for the future of Alpha through EV79 products and platforms, and HP (entirely seperately) announced plans for PA-RISC products and platforms. The Itanium target has been maintained consistently since the Itanium port was announced by Compaq, and has also been consistently maintained by HP and by the combined company. For those folks prefering to follow the schedules and the product deliveries, OpenVMS Engineering had OpenVMS I64 V8.0 ready (internally) ahead of schedule-and with more features available within the release than had been originally planned for the release. (For information on and for schedules of future OpenVMS releases, please see the roadmap that is available at the OpenVMS website.) OpenVMS I64 itself does not require and does not plan to utilize the Itanium IA-32 32-bit environment for the operation of OpenVMS itself. OpenVMS I64 V8.0 runs natively on the Itanium processor family, with no use of IA-32 instructions; this starting with the initial release of OpenVMS I64 V8.0, and the fully-native operations of OpenVMS are expected to continue through future releases. While OpenVMS can and does support 32-bit applications and addressing on Itanium, this is done with sign-extension addressing techniques entirely analogous to what was done with 32-bit applications operating in the 64-bit Alpha environment. But yes, a native IA-32 port or a native AMD Opteron port of OpenVMS would certainly be nice to have-this, of course, following the traditional Linux preference for having a Linux port available for most (all?) computer architectures known, and even for certain high-end refrigerators and toasters and similar appliances and appliance-like devices. (The downside 2-11 General Information of this all-encompassing approach: this requires near-infinite engineering and support costs from the various vendors involved, and the qualification efforts and costs of most everything-everywhere. Or reduced or eliminated testing and support efforts. Or an unfortunate combination of these two. These costs are huge, and the benefits derived from the work are comparatively small when given the comparable costs of more targeted (and thus supported and supportable) hardware configurations- the platform targets are and must be carefully selected and considered by each vendor. Put another way, there are no plans to provide a native port of HP OpenVMS for systems based on Intel IA-32 processors, nor for systems based on AMD Opteron processors. (There are even still a few computer systems and platforms that lack Linux ports, after all.) All this material having been written, have you looked at the system configurations and pricing of the available HP Integrity Intel Itanium systems? Low- end computer hardware is clearly a commodity product, and the systems are priced, serviced, upgraded, and replaced accordingly. Intel Itanium is a commodity microprocessor presently used in platforms available from various hardware vendors, including (obviously) from HP. Further, Itanium is a microprocessor available from and supported by Intel, a semiconductor vendor known for exceedingly high-volume microprocessor fabrication process and production capabilities. For information on supported platforms and processors, please see the OpenVMS Software Product Description (SPD) at: o http://www.compaq.com/info/spd/ OpenVMS typically uses SPD 25.01.xx and/or SPD 41.87.xx. Please see Section 14.4.5 for Intel Itanium terminology. 2-12 General Information __________________________________________________________ 2.10 Are there any network-accessible OpenVMS systems? Yes, though various restrictions can and do apply. o Hobbes Hobbes is a MicroVAX 3100 Model 40 for which free access and accounts are available to OpenVMS enthusiasts. This system has BASIC, Pascal, Fortran, and C compilers installed. If you would like an account on Hobbes, please see the FAQ at http://www.hobbesthevax.com/. o OpenVMS Galaxy Test-Drive HP currently offers an OpenVMS Galaxy Test-Drive system, based on an AlphaServer 4100 series configured as two instances of the OpenVMS operating system. For details, please visit: o http://www.testdrive.hp.com/ o HP DSPP Test-Drive HP DSPP program offers various test-drive systems, including an HP Integrity Itanium development system and an HP OpenVMS I64 installation on an HP Integrity rx2600 server. For details on the DSPP program and on the test-drive systems, please see section Section 2.7.3 and please visit: o http://www.testdrive.hp.com/ o http://www.hp.com/dspp/ The test-drive systems do require registration, though access to the systems is free. o Encompasserve telnet://eisner.decus.org/ o OpenECS OpenECS offers free access to a VAX 6000 model 530 system. If interested, please visit: http://vax6k.openecs.org/ 2-13 General Information __________________________________________________________ 2.11 What version of OpenVMS do I need? For information on supported platforms, please see the OpenVMS Software Product Description (SPD) for the particular OpenVMS version of interest. o http://www.compaq.com/info/spd/ OpenVMS typically uses SPD 25.01.xx and/or SPD 41.87.xx. For a table of OpenVMS versions for various platforms, please see: o http://www.openvms.compaq.com/openvms/supportchart.html For information on the Multia, related Alpha single-board computers, or other officially unsupported systems, please see Section 14.4.1 and Section 14.4.2.1. The following is a rule-of-thumb for Alpha platform support. The table Table 2-4 contains the earliest OpenVMS Alpha release with support for a particular series of Alpha microprocessors: ________________________________________________________________ Table 2-4 OpenVMS Alpha Version Rule-Of-Thumb _______________________________________________________ Microprocessor General Generation____________OpenVMS_Version_______Comments___ 21064 EV4 V1.0 few systems; most EV4 require later; upgrade available 21164 EV5 V6.2 subsequent upgrade available 2-14 General Information ________________________________________________________________ Table 2-4 (Cont.) OpenVMS Alpha Version Rule-Of-Thumb _______________________________________________________ Microprocessor General Generation____________OpenVMS_Version_______Comments___ 21164A EV56 V6.2-1H3 subsequent upgrade to V7.1 and later 21264 EV6 V7.1-2 subsequent upgrade typically to V7.2-1 or later 21264A EV67 V7.1-2 subsequent upgrade typically to V7.2-1 or later xxxxxx EV68 V7.2-1 believed/probable; currently _____________________________________________________expectation __________________________________________________________ 2.12 How can I submit OpenVMS Freeware? For the guidelines and submission info, please visit the URL: o http://www.hp.com/go/openvms/freeware/ To order the current OpenVMS Freeware CD-ROM kit (shipping and handling charges apply), please request part number QA-6KZAA-H8. __________________________________________________________ 2.13 Porting applications to OpenVMS? Porting can range from simple to rather complex, and depends on the features used on the original platform. 2-15 General Information This section covers generic porting, and porting from OpenVMS VAX to OpenVMS Alpha. (Porting from OpenVMS VAX to OpenVMS Alpha is often quite simple and involves little more than rebuilding from source, though a few applications using features specific to VAX will require some additional effort to port.) Several manuals on porting from OpenVMS VAX to OpenVMS Alpha are available in the OpenVMS documentation set, including information on porting VAX Macro32 assembler code to the Macro32 compiler on OpenVMS Alpha, on management differences, on upgrading privileged code, and application migration: o http://www.openvms.compaq.com/doc/ o http://www.openvms.compaq.com/commercial/ Details on the C programming environment are available at: o http://www.openvms.compaq.com/commercial/c/c_ index.html Details on porting VAX C to HP C are are available at: o http://www.openvms.compaq.com/commercial/c/index_ vax.htm An OpenVMS Porting Library is available at: o http://www.openvms.compaq.com/ebusiness/Technology.html Information on the Enterprise Toolkit, a Visual-based development environment for developing applications for OpenVMS using a Microsoft platform, is available at: o http://www.openvms.compaq.com/commercial/et/et_ index.html Details on DCE, CORBA, BridgeWorks, and COM/DCOM middleware is available at: o http://www.openvms.compaq.com/commercial/middleware.html 2-16 General Information Information on the COE standards is available at: o http://diicoe.disa.mil/coe/ A wide variety of programming development tools and middleware are available as commercial products (eg: DECset, IBM WebSphere MQ-formerly MQseries), and various tools are also available as shareware or as Freeware. Please see other sections of this FAQ, and please see: o http://www.compaq.com/csa/directory/ __________________________________________________________ 2.14 What resources are available to OpenVMS software developers? The HP Developer and Software Product Partner (DSPP) program is open to and intended to support and to assist HP OpenVMS software partners, consultants, and service providers: o http://www.hp.com/dspp/ DSPP provides members with various benefits, please see the website for details. For those not familiar with the DSPP program or with its history, the DIGITAL Association of Software and Application Partners (ASAP) program and the DIGITAL Independent Software Vendors Network (ISVN) program were incorporated into the Compaq CSA program, and the CSA program has subsequently been incorporated into the HP DSPP program. Please see Section 2.7.3 for additional details on the DSPP program. __________________________________________________________ 2.15 memory management, resource management, process scheduling, etc? So you have been instructed to write a school research paper on OpenVMS, and you need technical content on the OpenVMS Virtual Memory System, on any memory segmentation, on OpenVMS Resource Management, on the 2-17 General Information OpenVMS File System, on the OpenVMS user interface, etc. Invariably, your professor/instructor/teacher will ask you a series of questions. Most commonly, the questions will request descriptions of one or more of the following items, and at varying levels of detail: o process scheduling algorithm(s) o Interprocess comunications o Process or system synchronization constructs o Memory management and/or virtual memory implementation o RMS or XQP file structures o Resource management o History of HP OpenVMS o History of Compaq and/or of Digital Equipment Corporation (DEC) Any particular presentation or research paper, and particularly a scholastic presentation, can have many different potential target audiences, and very different presentation levels. Further, the usual underlying reason for scholastic presentations and scholastic research projects really has little to do with the subject matter, it is a task specifically intended to teach the student(s) (eg: you) how to perform the research. The instructor already knows most of (all of?) the information that you have been asked to collect. For very technical details on OpenVMS and OpenVMS internals, the book you want is the Internals and Data Structures Manual (IDSM), available in your school or computing center library, and the IDSM can also be purchased. Additional technical details of the Alpha microprocessor are available in the Alpha Architecture Reference Manual documentation that is available for download. (Pointers to Alpha technical documentation are available in Section 14.6, and elsewhere.) 2-18 General Information For higher-level (less technical) details, the OpenVMS documentation set is available on-line. The Programming Concepts and the File Systems manual are probably the best manuals to start with, depending on the particular level of detail the research requires. And please understand the hesitation of various folks to provide you with a completely-written research report on your topic. Why? We might have to work with you after you graduate-you need to know how to perform at least basic research on your own, regardless of the topic. __________________________________________________________ 2.16 Basic Units of Measurement? OpenVMS and the underlying hardware use various units of measurement for disk and memory storage, and related abbreviations also typically exist. This section covers the most common units, and the associated abbreviations. _____________________________ 2.16.1 How many bytes are in a disk block? A disk block is the minimum unit of disk storage allocation in OpenVMS. Under OpenVMS VAX and OpenVMS Alpha, the disk volume block size is consistent, with each block containing 512 bytes. The minimum disk allocation granularity actually permissible (in the ODS-2 and ODS-5 volume structures commonly used on OpenVMS) is determined on a per-volume basis, and is typically based on a combination of the total number blocks on the disk volume and the total size of the volume storage bitmap. The allocation granularity is known as the volume cluster factor- the cluster factor is the number of blocks in a disk cluster, and it is the smallest number of blocks that can be allocated on a particular disk volume. 2-19 General Information Prior to OpenVMS V7.2, the maximum permissible size of the bitmap requires larger cluster factors as volume sizes increase. Starting with V7.2, the bitmap can be larger, and cluster factors as small as one block can be used. The number of bytes in a file can be determined by multiplying the number of blocks allocated for the file times the number of bytes in a block. For sequential files (only), the FFB (XAB$W_FFB, in the File Header XAB) value can be used to find out how much of the last (XAB$L_EBK) block is used. FFB and EBK are meaningful only for sequential files, and only in a limited context-partial block allocations are not permitted. For other file formats, the EOF marker is not meaningful. Disk allocations always occur only in units of the cluster factors, which can be from one block up to (potentially) clusters of eighteen blocks or more, depending on the volume cluster factor. (OpenVMS V7.2 and later optionally provide for a cluster factor of one up to volumes of approximately 137 gigabytes.) OpenVMS assumes that the device driver and the underlying storage device will present the file system with addressable units of storage of 512 bytes in size, or the appearance of same. Various third-party CD-ROM devices, for instance, support only 2048 byte blocks, and such devices are incompatible with the standard OpenVMS device drivers. To determine the number of bytes required for a file from DCL, one option uses the f$file_attributes item EOF, multiplied by the size of a block in bytes (512). This does not account for the unused space in the last block of a sequential file, but it also does not have to differentiate sequential files from other files. 2-20 General Information _____________________________ 2.16.2 How many bytes are in a memory page? A memory page is the minimum unit of memory allocation in OpenVMS. With OpenVMS VAX, the memory page size matches the disk block size: it is always 512 bytes. With OpenVMS Alpha, the memory page size is variable, and it can range from 8192 bytes (8 kilobytes) up to 64 kilobytes. The current system page size can be determined using the sys$getsyi or f$getsyi PAGE_SIZE item. Programs with hardcoded constants for the memory page size (or page alignment) should always assume a page size of 64 kilobytes. On OpenVMS Alpha, a 512 byte area of memory-equivilent in size to an OpenVMS VAX memory page-is refered to as a pagelet. _____________________________ 2.16.3 How do I convert? Disk Blocks? KB, MB, GB, TB? The smallest granularity of disk storage addressing is called a disk block, or sometimes a disk sector. Groups of disk blocks are usually organized together into the smallest unit of storage that can be allocated, and this unit is called a disk cluster. The number of blocks in a cluster is the cluster factor, and is established when the disk volume is initialized. Each individual disk block is composed of five hundred twelve (512) bytes, or one-half kilobyte. Each byte is comprised of eight bits. A bit represents the smallest unit of information, typically refered to as a one or a zero. OpenVMS tends to uses base two notation for disk storage, while disk storage capacity specifications from most storage vendors (including Compaq) will generally use base ten notation. An OpenVMS disk block is 512 bytes in size; this is one-half kilobyte in base two notation. 2-21 General Information The following table describes the prefix, the abbreviation, and the associated base ten (marketing) and base two (OpenVMS) values. Base Ten Base Two ----------------------------- ---------------------- Kilobyte (KB) 10**3 1000 2**10 1024 Megabyte (MB) 10**6 1000000 2**20 1048576 Gigabyte (GB) 10**9 1000000000 2**30 1073741824 Terabyte (TB) 10**12 1000000000000 2**40 1099511627776 Petabyte (PB) 10**15 1000000000000000 2**50 1125899906842624 The base ten representation of the 2**40 value is 1099511627776, which is obviously rather ugly. When viewed as a base eight or base sixteen (octal or hexadecimal, respectively) value, the value is far nicer. Specifically, the value is 10000000000 and 40000000 when represented in octal and hexadecimal, respectively. Notational note: Within the OpenVMS FAQ, a thousand bits (either assuming base two or base ten, as determined by the context) is refered to as kilobit, and is always represented by the appreviation Kb, while a Kilobyte is always represented as KB. Similar notational usage also holds for Megabits (Mb) and Megabytes (MB), and for the various other units. OpenVMS operating system references to system and storage are generally to the base-two version (eg: 1024, in the case of a kilobyte or kilobit) while storage hardware references and hardware specifications are generally to the base-ten version (eg: 1000). To convert OpenVMS disk blocks to (base two) kilobytes (KB; 1024 bytes), simply divide by two. To convert blocks to (base two) megabytes, divide by 2048. Blocks to (base two) gigabytes (GB), divide by 2097152. These particular divisions can also be performed using bitshifts: to divide a value by two, shift the binary value rightward by one bit position. To convert OpenVMS disk blocks to (base ten) kilobytes, divide by approximately 1.953125. 2-22 General Information For those folks with an interest in odd applications for prefixes, and particularly for those folks also rummaging around deep within the system parameter listings, a microfortnight is approximately one second. 2-23 _______________________________________________________ 3 Documentation __________________________________________________________ 3.1 Where can I find online copies of OpenVMS manuals? The HP OpenVMS and HP Layered Product documentation is copyrighted material. HTML format on-line product documentation sets for specific HP OpenVMS products are presently available at: o http://www.openvms.compaq.com/doc/ o http://www.openvms.compaq.com/commercial/ Documentation is offered on separately orderable CD-ROM media through a subscription to the Consolidated On- Line Documentation (ConOLD) product (see Section 2.5.) ConOLD manuals are readable with BNU, a viewer that is supplied with the documentation distribution. BNU can display HTML, Bookreader, and documentation in other formats. MGBOOK, a viewer for Bookreader-format documentation is available for character-cell terminals (eg. VTxxx) via the WKU VMS Freeware file server - see question Section 13.1 for details. __________________________________________________________ 3.2 What online information and websites are available? On your OpenVMS system, the HELP command can provide a wealth of information, not only on DCL commands but on system services (HELP System_Services) and Run-Time Library routines (HELP RTL_Routines). The introduction displayed when you type the HELP command with no additional keywords provides further pointers. OpenVMS Marketing runs a WWW server at http://www.openvms.compaq.com/. Here, you will find product information, strategy documents, product 3-1 Documentation roadmaps, the contents of the latest OpenVMS Freeware CD-ROM and more. ________________________________________________________________ Table 3-1 OpenVMS Websites _______________________________________________________ URL_______Sponsor______________________________________ http://www.openvms.compaq.com/ http://www.hp.com/go/openvms/wizard/ HP OpenVMS Marketing http://www.openvmshobbyist.org/ Encompass DFWCUG http://www.levitte.org/~ava/ Arne Vajhøj http://www.saiga.com/ Saiga Systems http://www.tachysoft.com/ Wayne Sewel http://www.progis.de/openvms.htm Sponsored by proGIS Software http://www.jcameron.com/vms/ Jeff Cameron http://seqaxp.bio.caltech.edu/www/soft_doc.html David Mathog's (useful) information about OpenVMS. Cracking http://www.vistech.net/users/beave/hack-vms-faq "The Beave" Includes system cracking information that can be of interest to OpenVMS System Managers, and to OpenVMS Network and Security Managers. Undocumented Features http://www.decus.de:8080/www/vms/qaa/undoc.htmlx DECUS Deutchland http://www.levitte.org/~ava/vms_tip.htmlx 3-2 Documentation ________________________________________________________________ Table 3-1 (Cont.) OpenVMS Websites _______________________________________________________ URL_______Sponsor______________________________________ Arne Vajhøj http://www.hp.com/go/openvms/freeware/ The OpenVMS Freeware contains various examples of undocumented features and interfaces Bibliographies http://www.levitte.org/~ava/vms_book.htmlx Introductory http://www.levitte.org/~ava/vms_faq.htmlx http://seqaxp.bio.caltech.edu/www/vms_sheet.html http://seqaxp.bio.caltech.edu/www/vms_beginners_ faq.html Programming http://www.pdv-systeme.de/users/martinv/VMS_ Programming_FAQ.html An OpenVMS Programming FAQ Networking http://www.tmesis.com/internet/ Tutorial information and tips for connecting OpenVMS systems to the Internet http://www.hp.com/go/openvms/wizard/ Documentation and Specifications for DECnet Phase IV HP OpenVMS Documentation http://www.openvms.compaq.com/doc/ http://www.openvms.compaq.com/commercial/ Various introductory guides as well as more advanced manuals are available in the OpenVMS and layered product documentation set. http://www.compaq.com/info/spd/ 3-3 Documentation ________________________________________________________________ Table 3-1 (Cont.) OpenVMS Websites _______________________________________________________ URL_______Sponsor______________________________________ Software Product Descriptions (SPDs) for most every OpenVMS-related product HP sells. System Performance See Section 14.2. Patch (ECO) Kits For the HP Services FTP server hosting Various contract-access and non-contract access ECO (patch) kits, see section Section 5.16. Catalogs and Pricing http://www.compaq.com/products/quickspecs/productbulletin.html HP Product QuickSpecs and product information http://www.compaq.com/products/quickspecs/soc_ archives/SOC_Archives.html The HP Systems and Options Catalog (SOC) archive http://www.businesslink.compaq.com/ Pointers to country-specific product information, pricing, and related. The services formerly provided by BusinessLink are being replaced by these and other country-specific mechanisms, please see the URL for details. Publications http://www.openvms.compaq.com/openvmstimes/ The OpenVMS Times Newsletter http://www.dfwcug.org/ The DFWCUG Quadwords Newsletter http://www.research.compaq.com/wrl/DECarchives/DTJ/ Back issues of the (discontinued) Digital Technical Journal (DTJ) http://www.compaq.com/inFORM/ 3-4 Documentation ________________________________________________________________ Table 3-1 (Cont.) OpenVMS Websites _______________________________________________________ URL_______Sponsor______________________________________ The HP (Compaq) inFORM Magazine Hardware and Software Archives http://vax.sevensages.org/index.html The VAXarchive, including hardware and software information http://www3.sympatico.ca/n.rieck/docs/alpha_diary.html A VAX to Alpha upgrade diary http://www.montagar.com/~patj/dec/hcps.htm Scanned versions of old DIGITAL manuals from DFWCUG http://www.digital.com/lists/master-index.html http://www.compaq.com/support/techpubs/qrg/index.html A wide variety of HP VAX, Alpha, platform and other product documentation. Some ___________________introductory,_some_technical.________________ __________________________________________________________ 3.3 OpenVMS Product Information Telephone Numbers? Information on HP hardware, software, products and services is available through telephone numbers listed in Table 3-2: ________________________________________________________________ Table 3-2 Telephone Numbers _______________________________________________________ Telephone_________Description__________________________ 1-800-AT-COMPAQ HP (Compaq, including DIGITAL and Tandem) products and services _________1-800-STORWORK____The_HP_StorageWorks_team_____________ 3-5 Documentation __________________________________________________________ 3.4 How do I extract the contents of a HELP topic to a text file? To extract all the text of a HELP topic (and its subtopics) to a text file for perusal with a text editor, printing out, etc., use the following command: $ HELP/OUT=filename.txt help-topic [help-subtopic] If the help text you want is not in the standard help library (for example, it's help for a utility such as MAIL that has its own help library), add /LIBRARY=libname after the HELP verb. To see the names of help library files, do a directory of SYS$HELP:*.HLB. __________________________________________________________ 3.5 Does OpenVMS Marketing have an e-mail address? Yes - if you can't get the answers to marketing questions elsewhere, if you have comments or complaints about OpenVMS, send mail to openvms-info@compaq.com. This address is not a support channel, and is solely intended to provide informal method to communicate directly with members of OpenVMS Marketing. __________________________________________________________ 3.6 Where can I learn about OpenVMS executive internals? The OpenVMS Internals and Data Structure manual (IDSM) explains how the OpenVMS executive works. The book covers the operating system kernel: process management; memory management; the I/O subsystem; and the mechanisms that transfer control to, from, and among these. It gives an overview of a particular area of the system, followed by descriptions of the data structures related to that area and details of the code that implements the area. The first edition of the OpenVMS Alpha internals book describes Version 1.5. Although there have been several releases of OpenVMS Alpha since Version 1.5 (V6.1, V6.2, V7.0, V7.1, etc) and many details in the book are no longer accurate, it continues to provide a strong conceptual description of OpenVMS internals. 3-6 Documentation This book has been split into five pieces, each to be updated separately. The first such volume, published in early 1997, was "OpenVMS Alpha Internals and Data Structures: Scheduling and Process Control," which covers the Version 7.0 implementation of true multithreading and the changed scheduling model it implies. The internals books are available through Digital Press, see Section 3.7 __________________________________________________________ 3.7 Where can new users find tutorial information about OpenVMS? First, see if your local site has information on this topic. Each site can have site-specific features and configuration. Some sites will have site-specific new user's documentation, covering various site-specific things that are difficult or impossible for the general OpenVMS documentation to cover. _____________________________ 3.7.1 Tutorial Websites? Various websites with OpenVMS information are available; Table 3-3 contains some suggested URLs. ________________________________________________________________ Table 3-3 OpenVMS Tutorial Websites _______________________________________________________ URL_______Sponsor______________________________________ Introductory http://www.levitte.org/~ava/vms_faq.htmlx http://seqaxp.bio.caltech.edu/www/vms_sheet.html http://seqaxp.bio.caltech.edu/www/vms_beginners_ faq.html Various introductory materials http://www.montagar.com/openvms_class/ 3-7 Documentation ________________________________________________________________ Table 3-3 (Cont.) OpenVMS Tutorial Websites _______________________________________________________ URL_______Sponsor______________________________________ Members of the Encompass DFWCUG maintain a website with many materials available, including an Overview of OpenVMS, an Introduction to DCL and the TPU Editor, Advanced DCL Command Procedures, OpenVMS Operations: Batch, Print, Tape, an Introduction to OpenVMS Management, to OpenVMS User Management, to OpenVMS Network Management, and to OpenVMS Cluster Management. These training materials have been presented at various DECUS symposia. HP OpenVMS Documentation http://www.openvms.compaq.com/doc/ http://www.openvms.compaq.com/commercial/ Various introductory guides as well as more advanced manuals are available in the OpenVMS and layered product documentation set. HP OpenVMS Training http://www.compaq.com/training/home.html http://www.openvms.compaq.com/wbt/index.html HP offers training information and Technical Resource Kits (TRKs) and other Training for OpenVMS. An OpenVMS certification (testing) program is also available. http://www.jcameron.com/vms/ An OpenVMS Quiz http://www.CCSScorp.com/ CCSS Interactive Learning has OpenVMS training materials http://www.acersoft.com/ AcerSoft Training information, and Shannon Knows Punditry http://www.mindiq.com/ 3-8 Documentation ________________________________________________________________ Table 3-3 (Cont.) OpenVMS Tutorial Websites _______________________________________________________ URL_______Sponsor______________________________________ ___________________MindIQ_training_information__________________ _____________________________ 3.7.2 Books and Tutorials? Some of the OpenVMS books that are or have been available from the Digital Press imprint o http://www.bh.com/ are listed in Table 3-4: ________________________________________________________________ Table 3-4 DP Books _______________________________________________________ Title_and_Author__________________________ISBN_________ Introduction to OpenVMS, 5th Edition 1 55558 194 3 Lesley Ogilvie Rice Introduction to OpenVMS 1 878956 61 2 David W Bynon OpenVMS Alpha Internals: Scheduling and 1 55558 156 0 Process Control OpenVMS AXP Internals and Data 1 55558 120 X Structures: Version 1.5 OpenVMS System Management Guide 1 55558 143 9 Richard Berry The OpenVMS User's Guide, Second Edition 1 55558 203 6 Patrick Holmay Using DECwindows Motif for OpenVMS 1 55558 114 5 Margie Sherlock VAX/VMS Internals and Data Structures: 1 55558 059 9 Version 5.2 Writing Real Programs in DCL, Second 1 55558 191 9 Edition _________Hoffman_and_Anagnostopoulos____________________________ For various featured OpenVMS books, also please see: 3-9 Documentation o http://www.openvms.compaq.com/openvms/books.html For a bibliography of various OpenVMS books, please see: o http://www.levitte.org/~ava/vms_book.htmlx __________________________________________________________ 3.8 What OpenVMS mailing lists are available? Various OpenVMS mailing lists are available, with some of the available lists detailed in Table 3-5. ________________________________________________________________ Table 3-5 OpenVMS Mailing Lists _______________________________________________________ Subscription______________________________Interest_Area OpenVMS Freeware archive announcement FSupdate@goatley.com list FSupdate- request@goatley.com[1] Two-way echo of vmsnet.internals VMSnet- Internals@goatley.com VMSnet- Internals- request@goatley.com[1] OpenVMS Alpha Internals discussions Alpha- IDS@goatley.com Alpha-IDS- request@goatley.com[1] BLISS discussions BLISSters@goatley.com BLISSters- request@goatley.com[1] _______________________________________________________ [1]This is the subscription address. Usually, you will want to send a mail message with no subject line, and a SUBSCRIBE or HELP command in the body of the mail message. 3-10 Documentation ________________________________________________________________ Table 3-5 (Cont.) OpenVMS Mailing Lists _______________________________________________________ Subscription______________________________Interest_Area Process Software MultiNet mailing list Info- (news gateway) MultiNet@process.com Info- MultiNet- request@process.com[1] Process Software TCPware mailing list Info- (news gateway) TCPware@process.com Info-TCPware- request@process.com[1] Process Software PMDF mailing list (news Info- gateway) PMDF@process.com Info-PMDF- request@process.com[1] The SRI CHARON-VAX VAX emulator package CHARON-VAX- Users@process.com CHARON- VAX-Users- request@process.com[1] Info-Zip's Zip & UnZip discussion list Info- Zip@wku.edu Info-Zip- Request@wku.edu[1] RADIUS-VMS, a RADIUS server for OpenVMS radius- discussion forum vms@dls.net radius-vms- request@dls.net[1] _______________________________________________________ [1]This is the subscription address. Usually, you will want to send a mail message with no subject line, and a SUBSCRIBE or HELP command in the body of the mail message. 3-11 Documentation ________________________________________________________________ Table 3-5 (Cont.) OpenVMS Mailing Lists _______________________________________________________ Subscription______________________________Interest_Area Internet Service Providers (ISPs) vms- running OpenVMS isps@dls.net vms-isps- request@dls.net[1] Users of Mark Daniel's WASD web server http://wasd.vsm.com.au/ for OpenVMS VAX and Alpha exists. Information about this list server and details on how to subscribe to the list are available at the referenced website. VMS Forum http://www.neurophys.wisc.edu/comp/ava/vms_ forum.htmlx _______________________________________________________ [1]This is the subscription address. Usually, you will want to send a mail message with no subject line, and a SUBSCRIBE or HELP command in the body of the mail message. ________________________________________________________________ __________________________________________________________ 3.9 What is this Ask The Wizard website I've heard about? The HP OpenVMS Ask The Wizard (ATW) website is an informal area containing questions and answers on a wide variety of topics. o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. To access a cited topic directly, use the URL filename WIZ_topic-number.HTML. For example, topic (1020) can be accessed directly using the URL filename wiz_1020.html at the following URL: o http://www.hp.com/go/openvms/wizard/ 3-12 Documentation A zip archive (named wizard.zip) containing all of the available topics and questions can be downloaded from the above URL. The wizard.zip zip archive is completely regenerated when new batches of topics are posted out to the ATW website. Before posting a question to the Ask The Wizard area, please read and please heed the posting rules- and please remember to search this document, the OpenVMS FAQ. And if you have a question that requires an answer, or if your question has time-critical constraints or business constraints, please contact the HP customer support center directly. __________________________________________________________ 3.10 Access to the OpenVMS Netscape Navigator documentation? The documentation URLs embedded into the browser itself may not operate correctly in all cases, and (for reasons not worthy of repeating here) redirects may not be available. You can manually access the documentation via: o http://www.openvms.compaq.com:88/netscape/help/ For information on the Mozilla web browser, please see Section 13.3. 3-13 _______________________________________________________ 4 Time and Timekeeping __________________________________________________________ 4.1 UTC vs GMT vs vs UT1/UT1/UT2 TDF? What are these acronyms? The results of an international compromise-though some would say an international attempt to increase confusion-UTC is refered to as "Coordinated Universal Time" (though not as CUT) in English and as "Temps Universel Coordinné" (though not as TUC) in French. (No particular information exists to explain why UTC was chosen over the equally nonsensical TCU, according to Ulysses T. Clockmeister, one of the diplomats that helped establish the international compromise.) Universal Time UT0 is solar time, UT1 is solar time corrected for a wobble in the Earth's orbit, and UT2 is UT1 corrected for seasonal rotational variations in rotation due to the Earth's solar orbit. GMT-Greenwich Mean Time-is UT1. GMT is the time at the classic site of the since-disbanded Royal Greenwich Observatory; at the most widely-known tourist attraction of Greenwich, England. UTC is based on an average across multiple atomic clocks, and is kept within 0.9 seconds of GMT, through the insertion (or removal) of seconds. In other words, UTC matches GMT plus or minus up to 0.9 seconds, but UTC is not GMT. TDF is the Timezone Differential Factor, the interval of time between the local time and UTC. Areas that celebrate daylight savings time (DST) will see periodic changes to the TDF value, when the switch-over between daylight savings time and standard time occurs. The switch-over itself is entirely left to local governmental folks, and can and has varied by political entity and politics, and the switch-over has varied over the years even at the same location. 4-1 Time and Timekeeping If your local OpenVMS system time is off by one hour (or whatever the local DST change) for some or all applications, you probably need to reset your local TDF. (For related details, please see sections Section 4.4 and Section 10.22.1.) Further discussions of history and politics, the Royal Observers' outbuildings, and the compromise that left the English with the Time Standard (the Prime Meridian) and the French with the standards for Distance and Weight (the Metric System) are left to other sources. Some of these other sources include the following URLs: o ftp://elsie.nci.nih.gov/pub/ o http://physics.nist.gov/GenInt/Time/time.html o http://nist.time.gov/ __________________________________________________________ 4.2 A brief history of OpenVMS Timekeeping, please? Why does OpenVMS regards November 17, 1858 as the beginning of time... The modified Julian date adopted by the Smithsonian Astrophysical Observatory (SAO) for satellite tracking is Julian Day 2400000.5, which turns out to be midnight on November 17, 1858. SAO started tracking satellites with an 8K (nonvirtual) 36-bit IBM 704 in 1957 when Sputnik went into orbit. The Julian day was 2435839 on January 1, 1957. This is 11225377 octal, which was too big to fit into an 18-bit field. With only 8K of memory, the 14 bits left over by keeping the Julian date in its own 36-bit word would have been wasted. SAO also needed the fraction of the current day (for which 18 bits gave enough accuracy), so it was decided to keep the number of days in the left 18 bits and the fraction of a day in the right 18 bits of one word. Eighteen bits allows the truncated Julian Day (the SAO day) to grow as large as 262143, which from November 17, 1858, allowed for 7 centuries. Possibly, the date could only grow as large as 131071 (using 17 bits), but this still covers 3 centuries and leaves the 4-2 Time and Timekeeping possibility of representing negative time. The 1858 date preceded the oldest star catalogue in use at SAO, which also avoided having to use negative time in any of the satellite tracking calculations. The original Julian Day (JD) is used by astronomers and expressed in days since noon January 1, 4713 B.C. This measure of time was introduced by Joseph Scaliger in the 16th century. It is named in honor of his father, Julius Caesar Scaliger (note that this Julian Day is different from the Julian calendar that is named for the Roman Emperor Julius Caesar!). Why 4713 BC? Scaliger traced three time cycles and found that they were all in the first year of their cyle in 4713 B.C. The three cycles are 15, 19, and 28 years long. By multiplying these three numbers (15 * 19 * 28 = 7980), he was able to represent any date from 4713 B.C. through 3267 A.D. The starting year was before any historical event known to him. In fact, the Jewish calendar marks the start of the world as 3761 B.C. Today his numbering scheme is still used by astronomers to avoid the difficulties of converting the months of different calendars in use during different eras. The following web sites: o http://www.openvms.compaq.com/openvms/products/year- 2000/leap.html o http://www.eecis.udel.edu/~ntp/ o http://www.nist.gov/ o http://www.boulder.nist.gov/timefreq/ o http://www.tondering.dk/claus/calendar.html o http://es.rice.edu/ES/humsoc/Galileo/Things/gregorian_ calendar.html are all good time-related resources, some general and some specific to OpenVMS. 4-3 Time and Timekeeping _____________________________ 4.2.1__Details_of_the_OpenVMS system time-keeping? 4.2.1.1__VAX_hardware_time-keeping details... 4.2.1.1.1 TOY clock This is battery backed up hardware timing circuitry used to keep the correct time of year during rebooting, power failures, and system shutdown. This clock only keeps track of months, days, and time. The time is kept relative to January 1st, at 00:00:00.00 of the year the _________clock_was_initiailized. 4.2.1.1.2 EXE$GQ_SYSTIME This is the OpenVMS VAX system time cell. This cell contains the number of 100ns intervals since a known reference. This cell is incremented by 100000 every _________10ms_by_an_hardware_interval timer. 4.2.1.1.3 EXE$GQ_TODCBASE This cell contains the time and date the system time was last adjusted by EXE$SETTIME. It uses the same format as EXE$GQ_SYSTIME. On adjustment of the system time a copy of EXE$GQ_SYSTIME is stored in this cell in both memory and on disk. This cell is used to get the _________year_for_the_system_time. 4.2.1.1.4 EXE$GL_TODR This cell contains the time and date the system time was last adjusted by EXE$SETTIME. It uses the same format as the time of year clock. On adjustment of the system time this cell gets saved back to both memory and disk. The contents of this cell are used to test the validity of the TOY clock. The system parameters SETTIME and TIMEPROMPTWAIT determine how the system time will be set. IF SETTIME = 0 THEN the contents of the TOY clock are compared to those of EXE$GL_TODR. IF the TOY clock is more than a day behind EXE$GL_TODR THEN the TOY clock is presumed invalid. o IF the TOY clock is within a day of EXE$GL_TODR THEN the system time is calculated as follows: 4-4 Time and Timekeeping o EXE$GQ_SYSTIME = EXE$GQ_TODCBASE + ((TOY_CLOCK - EXE$GL_TODR) * 100000) o IF SETTIME = 1 or the TOY clock is invalid THEN the value of TIMEPROMPTWAIT determines how to reset the time of year. IF TIMEPROMPTWAIT > 0 THEN the user is prompted for the time and date, for a length of time equal to TIMEPROMPTWAIT microfortnights. o IF TIMEPROMPTWAIT = 0 THEN the time of year is the value of EXE$GL_TODR + 10ms. o IF TIMEPROMPTWAIT < 0 to proceed until they do so. o THEN the user is prompted for the time and date and unable When booting a CD-ROM containing an OpenVMS VAX system, the system will typically be deliberately configured prompt the user to input the time - this is necessary in order to boot with the correct time. If either TIMEPROMPTWAIT or SETTIME are set to zero, OpenVMS VAX will use the TOY clock to get the time of year, and the year will be fetched from the CD-ROM. The value of the year on the CD-ROM media (saved within the SYS.EXE image) will most likely be that of when the CD-ROM was made, and cannot be changed. Unless the current year happens to be the same year as that on the CD-ROM, most likely the year will be off. (Further, with the calculation of Leap Year also being dependent on the current year, there is a possibility that the date could be off too.) _____________________________ 4.2.1.2 Alpha hardware time-keeping details... 4-5 Time and Timekeeping _____________________________ 4.2.1.2.1 Battery-Backed Watch (BB_WATCH) Chip This is battery backed up hardware timing circuitry used to keep the correct time of year during rebooting, power failures, and system shutdown. This clock keeps _________track_of_date_and_time in 24 hour binary format. 4.2.1.2.2 EXE$GQ_SYSTIME This is the OpenVMS Alpha system time cell. This cell contains the number of 100ns intervals since November 17, 1858 00:00:00.00. This cell is incremented by _________100000_every_10ms_by an hardware interval timer. 4.2.1.2.3 EXE$GQ_SAVED_HWCLOCK This cell is used by OpenVMS Alpha to keep track of the last time and date that EXE$GQ_SYSTIME was adjusted. It keeps the same time format as EXE$GQ_SYSTIME. The value in this cell gets updated in memory and on disk, every time EXE$GQ_SYSTIME gets adjusted. o The system parameters SETTIME and TIMEPROMPTWAIT determine how the system time will be set. o If SETTIME = 0 then EXE$INIT_HWCLOCK reads the hardware clock to set the system time. o IF TIMEPROMPTWAIT > 0 THEN the value of TIMEPROMPTWAIT determines how long the user is prompted to enter the time and date. If time expires and no time has been entered the system acts as if TIMEPROMPTWAIT = 0. o IF TIMEPROMPTWAIT = 0 THEN the system time is calculated from the contents of EXE$GQ_SAVED_HWCLOCK + 1. o IF TIMEPROMPTWAIT < 0 THEN the user is prompted for the time and date and unable to continue until the information is entered. Unlike the VAX, the Alpha hardware clock tracks the full date and time, not just the time of year. This means it is possible to boot from the CD-ROM media without entering the time at the CD-ROM bootstrap. (This provided that the time and date have been initialized, of course.) 4-6 Time and Timekeeping IA-64 (Itanium) hardware time-keeping details to be added... _____________________________ 4.2.1.3 Why does VAX need a SET TIME at least once a year? Because the VAX Time Of Year (TOY) has a resolution of 497 days, the VAX system time is stored using both the TOY and the OpenVMS VAX system image SYS.EXE. Because of the use of the combination of the TOY and SYS.EXE, you need to issue a SET TIME command (with no parameters) at least once between January 1st and about April 11th of each year, and whenever you change system images (due to booting another OpenVMS VAX system, booting the standalone BACKUP image, an ECO that replaces SYS.EXE, etc). The SET TIME command is automatically issued during various standard OpenVMS procedures such as SHUTDOWN, and it can also obviously be issued directly by a suitably privileged user. Issuing the SET TIME command resets the value stored in the TOY, and (if necessary) also updates the portion of the time (the current year) saved in the SYS.EXE system image. This VAX TOY limit is the reason why OpenVMS VAX installation kits and standalone BACKUP explicitly prompt for the time during bootstrap, and why the time value can "get weird" if the system crashes outside the 497 day window (if no SET TIME was issued to update the saved values), and why the time value can "get weird" if a different SYS$SYSTEM:SYS.EXE is used (alternate system disk, standalone BACKUP, etc). _____________________________ 4.2.2 How does OpenVMS VAX maintain system time? VAX systems maintain an interval clock, and a hardware clock. The VAX hardware clock is called the TOY ("Time Of Year") clock. The register associated with the clock is called the TODR ("Time Of Day Register"). 4-7 Time and Timekeeping The TOY clock-as used-stores time relative to January first of the current year, starting at at 00:00:00.00. It is a 100 Hz, 32-bit counter, incremented every 10ms, and thus has a capacity of circa 497 days. OpenVMS (on the VAX platform) stores system date information-and in particular, the current year-in the system image, SYS$SYSTEM:SYS.EXE. The TOY is used, in conjunction with the base date that is stored and retrieved from the system image, to initialize the interval clock value that is stored in EXE$GQ_SYSTIME. Once the interval clock is loaded, the system does not typically reference the TOY again, unless a SET TIME (with no parameters) is issued. The interval clock value is updated by a periodic IPL22 or IPL24 (depending on the specific implementation) interrupt. (When these interrupts are blocked as a result of the activity of higher-IPL code-such as extensive driver interrupt activity or a hardware error or a correctable (soft) memory error-the clock will "loose" time, and the time value reported to the user with appear to have slowed down.) On most (all?) VAX systems, the battery that is associated with the TOY clock can be disconnected and replaced if (when) it fails-TOY clock failures are quite commonly caused by a failed nickel-cadmium (NiCd) or lithium battery, or by a failed Dallas chip. __________________________________________________________ 4.3 Keeping the OpenVMS system time synchronized? To help keep more accurate system time or to keep your system clocks synchronized, TCP/IP Services NTP, DECnet-Plus DECdtss, DCE DTSS, and other techniques are commonly used. If you do not have IP access to a time-base, then you could use dial-up access to NIST or other authoritative site. There exists code around that processes the digital (ie: binary) format time that is available via a modem call into the NIST clock (the Automated Computer Telephone Service (ACTS)), and code that grabs the 4-8 Time and Timekeeping time off a GPS receiver digital link, or a receiver (effectively a radio and a codec) that processes the time signals from radio station WWV, WWVH, WWVB, or similar. (Processing these time protocols often involves little more than reading from an EIA232 (RS232) serial line from the receiver, something that is possible from most any language as well as directly from DCL.) One example of acquring a time-base involves the IRIG time format (IRIG-A, -B, -G), a binary signal containing the current time in hours, minutes, seconds and days since the start of the current year. IRIG can also contain the time of day as the number of seconds since midnight. HP Custom Systems and third- party vendors offer various IRIG-based reader/generator modules for OpenVMS systems. Differing time servers (DECnet-Plus DTSS, DCE DTSS, NTP, etc) do not coexist particularly well, particularly if you try to use all these together on the same node. Please pick and use just one. (If needed, you can sometimes configure one package to acquire its timebase from another protocol, but one and only one time server package should have direct control over the management of and drifting of the local OpenVMS system time. In the specific case of DECnet-Plus DTSS, older product versions and versions V7.3 and later provide a provider module, a module which permits DTSS to acquire its time from NTP. For details on this, please see the comments in the module DTSS$NTP_PROVIDER.C.) Useful URLs: o http://www.boulder.nist.gov/timefreq/service/nts.htm o http://www.boulder.nist.gov/timefreq/service/acts.htm o http://www.boulder.nist.gov/timefreq/ o http://www.time.gov/ 4-9 Time and Timekeeping _____________________________ 4.3.1 Why does my OpenVMS system time drift? Memory errors, hardware problems, or most anything operating at or above IPL 22 or IPL 24 (clock IPL is system family dependent; code executing at or above the clock IPL will block the processing of clock interrupts), can cause the loss of system time. Clock drift can also be caused by normal (thermal) clock variations and even by the expected level of clock drift. When clock interrupts are blocked as a result of the activity of high-IPL code-such as extensive driver interrupt activity or a hardware error or a correctable (soft) memory error-the clock will "loose" time, and the time value reported to the user with appear to have slowed down. Correctable memory errors can be a common cause of system time loss, in other words. Heavy PCI bus traffic can also cause lost time. One bug in this area involved the behaviour of certain graphics controllers including the ELSA GLoria Synergy PBXGK-BB; the PowerStorm 3D10T effectively stalling the PCI bus. See Section 5.15 for details on the ELSA GLoria Synergy controller, and make certain you have the current GRAPHICS ECO kit installed. Clock drift can also be (deliberately) caused by the activity of the DTSS or NTP packages. Also see Section 14.8, Section 14.15, and Section 4.3.2. _____________________________ 4.3.2 How can I drift the OpenVMS system time? With DECdts and TCP/IP Services NTP, the system time value is "drifted" (rather than changed), to avoid the obvious problems that would arise with "negative time changes". The same basic clock drifting technique is used by most (all?) time servers operating on OpenVMS, typically using the support for this provided directly within OpenVMS. 4-10 Time and Timekeeping An example of the technique used (on OpenVMS VAX) to drift the system time is the SETCLOCK tool on the OpenVMS Freeware. For information on the use of the EXE$GL_TIMEADJUST and EXE$GL_TICKLENGTH cells on OpenVMS Alpha, see OpenVMS AXP Internal and Data Structures, located on page 348. For those areas which switch between daylight savings time (DST) and standard time, the time value is not drifted. The time is adjusted by the entire interval. This procedure is inherent in the definition of the switch between DST and standard time. _____________________________ 4.3.3 How can I configure TCP/IP Services NTP as a time provider? An NTP time provider provides its idea of the current time to NTP clients via the NTP protocol. Most systems are NTP clients, but... NTP has a heirarchy of layers, called strata. The further away from the actual NTP time source (Internet time servers are at stratum 1), the lower the strata (and the larger the number assigned the statum). NTP explicity configured at stratum one provides time to NTP operating at lower strata, and the provided time is acquired based on the local system time or via some locally-accessible external time source. NTP at other (lower) strata both receive time from higher strata and can provide time to lower strata, and automatically adjust the local stratum. The highest stratum is one, and the lowest available stratum is fifteen. The TCP/IP Services NTP package can operate at any stratum, and can be configured as a peer, as a client, or as a broadcast server. NTP can also provide time to a DECnet-Plus DTSS network, see Section 4.3. 4-11 Time and Timekeeping With TCP/IP Services V5.0 and later, the only supported reference clock is the LCL (local system clock). If your system has an excellent clock or if the system time is being controlled by some other time service or peripheral (such as DTSS services, GPS services, a cesium clock, a GPIB controller or other similar time-related peripheral), you can configure NTP to use the system clock as its reference source. This will mimic the master-clock functionality, and will configre NTP as a stratum 1 time server. To do this, enter the following commands in TCPIP$NTP.CONF: server 127.127.1.0 prefer fudge 127.127.1.0 stratum 0 For local-master functionality, the commands are very similiar. Use: server 127.127.1.0 fudge 127.127.1.0 stratum 8 The difference between these two is the stratum, and the omission of the prefer keyword. Specifying a higher stratum allows the node to act as a backup NTP server, or potentially as the sole time server on an isolated network. The server will become active only when all other normal synchronization sources are unavailable. The use of "prefer" causes NTP to always use the specified clock as the time synchronization source. With the TCP/IP Services versions prior to V5.0, the NTP management is rather more primitive. To configure the local OpenVMS system from an NTP client to an NTP server (on TCP/IP Services versions prior to V5.0), add the following line to the sys$specific:[ucx$ntp]ucx$ntp.conf file: master-clock 1 Also, for TCP/IP Services prior to V5.0, see the NTP template file: SYS$SPECIFIC:[UCX$NTP]UCX$NTP.TEMPLATE 4-12 Time and Timekeeping Note that NTP does not provide for a Daylight Savings Time (DST) switch-over, that switch must arise from the timezone rules on the local system and/or from the SYS$EXAMPLES:DAYLIGHT_SAVINGS procedure. (Further, there is a known bug in SYS$EXAMPLES:DAYLIGHT_ SAVINGS.COM in V7.3, please obtain the available ECO kit.) For current TCP/IP Services and related OpenVMS documentation, please see: o http://www.openvms.compaq.com/doc/ o http://www.openvms.compaq.com/commercial/ __________________________________________________________ 4.4 Managing Timezones, Timekeeping, UTC, and Daylight Savings? You will want to use the command procedure: o SYS$MANAGER:UTC$TIME_SETUP.COM to configure the OpenVMS Timezone Differential Factor (TDF) on OpenVMS V6.0 and later. Select the BOTH option. This configures the OpenVMS TDF settings, though it may or may not configure the TDF and the timezone rules needed or used by other software packages. Please do NOT directly invoke the following command procedures: o SYS$MANAGER:UTC$CONFIGURE_TDF.COM ! do not directly use o SYS$MANAGER:UTC$TIMEZONE_SETUP.COM ! do not directly use TCP/IP Services V5.0 and later use the OpenVMS TDF, UTC, and timezone support. Earlier versions use a TDF mechanism and timezone database that is internal to the TCP/IP Services package. Also on the earlier versions, the TDF must be manually configured within TCP/IP Services, in addition to the OpenVMS configuration of the TDF. 4-13 Time and Timekeeping DECnet-Plus in V7.3 and later uses the OpenVMS TDF, UTC, and timezone support, and displays its timezone prompts using UTC$TIME_SETUP.COM. Earlier versions use a TDF TDF mechanism, timezone database, and automatic switch-over that is internal to the DECnet-Plus package. Also on earlier versions, the TDF must be configured within the DECnet-Plus DECdtss package, in addition to the OpenVMS configuration of the TDF. Application code using HP C (formerly Compaq C, formerly DEC C) will use the OpenVMS UTC and TDF mechanisms when the C code is compiled on OpenVMS V7.0 and later (and when the macro _VMS_V6_SOURCE is NOT defined). HP C does NOT use the OpenVMS UTC and TDF mechanisms when the C code is compiled on OpenVMS releases prior to V7.0, or when the preprocessor declaration _VMS_V6_SOURCE is declared. DCE DTSS TDF details TDB. In OpenVMS Alpha V6.1, V6.2, and V6.2-1Hx, the TDF value is written to SYS$BASE_IMAGE.EXE. With OpenVMS Alpha V7.0 and later and with OpenVMS VAX V6.0 and later, SYS$SYSTEM:SYS$TIMEZONE.DAT contains the TDF. This means that OpenVMS Alpha systems will need to have the TDF value reset manually-usually within SYSTARTUP_ VMS.COM-on reboots prior to V7.0. During OpenVMS Bootstrap, the SYSINIT module reads SYS$TIMEZONE.DAT to acquire the TDF for use in the system global cell EXE$GQ_TDF. This is done to ensure that the system boots with a valid TDF (a value which may be zero). The UTC system services get the TDF from this cell. These services, as well as the HP C RTL, must have a valid TDF. (Prior to OpenVMS V7.3, if either DECnet-Plus or DECnet/VAX Extensions is configured and run, the image DTSS$SET_TIMEZONE.EXE is invoked and can override the TDF and timezone rule settings from SYSINIT or from UTC$TIME_SETUP.COM- this image runs even if DTSS is disabled. If the settings do not match (due to inconsistencies in timezone specification in UTC$TIME_SETUP.COM and NET$CONFIGURE.COM), DTSS will reset the values to match its definitions.) 4-14 Time and Timekeeping Prior to OpenVMS V7.3, daylight savings time switchover is handled automatically only when DCE DTSS or DECnet- Plus DTSS is in use. In V7.3, OpenVMS can be configured to automatically switch over to daylight savings time, and also generates an event that interested applications can use to detect the switch-over between standard time and daylight time. The manual switchover between daylight savings time and standard time is correctly accomplished via the SYS$EXAMPLES:DAYLIGHT_SAVINGS.COM command procedure procedure. Note: NTP (alone) does NOT provide automatic switch- over. Note: The DST switch-over does NOT drift the time value; the switch-over applies the entire difference as a unit. If you switch the TDF or daylight savings time setting, you will also want to restart or reconfigure any time- sensitive applications (those not using the time differential factor (TDF) change event available in V7.3 and later). Examples of these applications include the need to restart the NFS client and (yes) NTP. (NTP will want to try to "drift" the time (see Section 4.3), and will find the daylight savings time switch-over to be far too large to "drift". Hence the NTP restart.) You can also use the (undocumented) TCP/IP Services (prior to V5.0) commands: SET TIME/DIFF=[positive or negative TDF integer] GENERATE TIME to reset the value of the logical name UCX$TDF. Prior to V7.3, the command: $ SETTZ :== $SYS$SYSTEM:DTSS$SET_TIMEZONE $ SETTZ MODIFY can be used to modify the settings of the SYS$TIMEZONE_ DAYLIGHT_SAVING, SYS$TIMEZONE_DIFFERENTIAL, and SYS$TIMEZONE_NAME system logical names based on the SYS$TIMEZONE_RULE. 4-15 Time and Timekeeping The following are other TDF-related logical names used/available on OpenVMS systems, with typical Daylight Savings and Standard Settings for the US Eastern Time (ET) timezone. $daylight_time: $ DEFINE/SYSTEM/EXECUTIVE MAIL$TIMEZONE EDT $ DEFINE/SYSTEM/EXECUTIVE NOTES$TIMEZONE "-0400 EDT" $ DEFINE/SYSTEM/EXECUTIVE LISP$DAYLIGHT_SAVING_TIME_P true ! Not 'EDT' $ DEFINE/SYSTEM/EXECUTIVE LISP$TIME_ZONE 05 ! Constant $ $standard_time: $ DEFINE/SYSTEM/EXECUTIVE MAIL$TIMEZONE EST $ DEFINE/SYSTEM/EXECUTIVE NOTES$TIMEZONE "-0500 EST" $ DEFINE/SYSTEM/EXECUTIVE LISP$DAYLIGHT_SAVING_TIME_P false ! Not 'EST' $ DEFINE/SYSTEM/EXECUTIVE LISP$TIME_ZONE 05 ! Constant $ $ DEFINE/SYSTEM/EXECUTIVE UCX$NFS_TIME_DIFFERENTIAL - 'f$integer(f$element(0," ",f$logical("notes$timezone"))/-100)' For information on ZIC and related tools used to manage the OpenVMS Timezone database, please see the DEC C Run-time Library Utilities Reference Manual-though the title would imply otherwise, this particular manual is part of the OpenVMS documentation set, and not part of the HP C (formerly Compaq C, formerly DEC C) documentation set. _____________________________ 4.4.1 How to troubleshoot TDF problems on OpenVMS? This is an OpenVMS Alpha system prior to V7.0 and the startup is not invoking the procedure: SYS$MANAGER:UTC$TIME_SETUP.COM This is an OpenVMS system prior to V6.0, where there is no OpenVMS TDF nor UTC available. The version of the application does not use the OpenVMS TDF. This includes TCP/IP Services prior to V5.0, applications using HP C built on or targeting OpenVMS prior to V7.0, and systems using the DECnet-Plus DTSS mechanisms prior to the release associated with OpenVMS V7.3. (DCE TDF TBD.) 4-16 Time and Timekeeping If you should find either of the following two timezone-related database files located in SYS$SPECIFIC:[SYSEXE]: o SYS$SPECIFIC:[SYSEXE]SYS$TIMEZONE.DAT o SYS$SPECIFIC:[SYSEXE]SYS$TIMEZONE_SRC.DAT These two files are in an erroneous location and must be recreated in the correct directory: SYS$COMMON:[SYSEXE] If the DCL command: $ DIRECTORY SYS$SYSTEM:SYS$TIMEZONE*.DAT shows these files in SYS$SPECIFIC:[SYSEXE], then delete them and use SYS$MANAGER:UTC$TIME_SETUP.COM to recreate them. On OpenVMS versions prior to V7.3, if the file: $ SYS$STARTUP:DTSS$UTC_STARTUP.COM is present on your system, then you may need to invoke: $ @SYS$UPDATE:DTSS$INSTALL_TIMEZONE_RULE.COM to recreate the timezone files correctly. Invoke this command immediately after [re]executing SYS$MANAGER:UTC$TIME_SETUP.COM.) If SYS$UPDATE:DTSS$INSTALL_TIMEZONE_RULE.COM is not present on your system, then you may need to execute the following commands: $ DELETE SYS$STARTUP:DTSS$UTC_STARTUP.COM $ DEASSIGN/SYSTEM/EXEC SYS$TIMEZONE_RULE. If your system time is being reported as being off by one hour (or whatever the local DST change), please see sections Section 4.1, Section 4.4 and Section 10.22.1. 4-17 Time and Timekeeping _____________________________ 4.4.2 Customizing your TDF (Timezone) Setting? Individual, local, and regional differences on the use (or the lack of use) of Daylight Savings Time (DST) are quite common. If you need to add (or remove) daylight savings time for your area or otherwise alter the rules for your local area, you will probably end up creating a variation to an existing timezone rule. The necessary zone line to add for WhereEverLand will probably look something like this: # Zone NAME GMTOFF RULES/SAVE FORMAT [UNTIL] Zone WhereEver 2:00 - WhereEver The OpenVMS source file for the timezone rules here: SYS$COMMON:[SYS$ZONEINFO.SYSTEM.SOURCES] You'll then want to ZIC this to create your own timezone definiton. ZIC is documented in the OpenVMS Documentation Set, in the HP C Run-Time Library Reference Manual. (Despite the name of the manual, it is part of the OpenVMS documentation set and not the C manuals.) Once you have created the new rule, use SYS$MANAGER:UTC$TIME_SETUP.COM to select the new timezone-with V7.3 and later, this tool will notice the new timezone and will offer it, on earlier releases, you may/will have to hack the tool somewhat. (Don't even think of trying to define the TZ logical name (found on older configurations), or the SYS$TIMEZONE_ NAME logical name, or any other time- or timezone- related logical names directly yourself.) For various timezone rules, see the tar.gz files (these are gzipped tar archives) available at: o ftp://elsie.nci.nih.gov/pub/ 4-18 Time and Timekeeping __________________________________________________________ 4.5 Why does the SET TIME command fail? Help managing DTSS? If you try to set the system time with the SET TIME command, and see one of the following messages: %SET-E-NOTSET, error modifying time -SYSTEM-F-IVSSRQ, invalid system service request %SET-E-NOTSET, error modifying time -SYSTEM-E-TIMENOTSET, time service enabled; enter a time service command to update the time This occurs if the time on the local system is controlled by a time service software, for example the distributed time service software (DTSS) provided as part of the DECnet-Plus installation. The DTSS software communicates with one or more time servers to obtain the current time. It entirely controls the local system time (for DECnet-Plus, there is a process named DTSS$CLERK for this); therefore, the usage of the SET TIME command (and the underlying $SETTIM system service) is disabled. The first message is displayed on systems running DECnet-Plus V6.1 and earlier. On systems with newer DECnet-Plus software, the second (and more informative) message is given. You shouldn't have to change the time manually - you should be doing this through the time server - but if you insist... you'll have to shutdown DTSS: $ RUN SYS$SYSTEM:NCL DISABLE DTSS DELETE DTSS This will shutdown DTSS$CLERK. You may then change the system time as usual. To restart the DTSS software, type $ @SYS$STARTUP:DTSS$STARTUP You will need a number of privileges to ussue this command, and you must also be granted the NET$MANAGE identifer to shutdown and to restart DTSS. 4-19 Time and Timekeeping If you wish to "permanently" disable DTSS on a system running DECnet-Plus, the above NCL sequence must be performed each time the system is bootstrapped. (On DECnet-Plus V7.3 and later, you can define the logical name NET$DISABLE_DTSS to disable the DTSS startup. This logical name must be defined in the command procedure SYLOGICALS.COM, as this logical name must be present and defined sufficiently early in the OpenVMS system bootstrap sequence for it to function.) If DTSS is running and no time servers are configured, you can (and will) see the following messages at regular intervals: %%%%%%%%%%% OPCOM 2-SEP-1999 19:41:20.29 %%%%%%%%%%% Message from user SYSTEM on UNHEDI Event: Too Few Servers Detected from: Node LOCAL:.mynode DTSS, at: 1999-09-02-19:41:20.296-04:00Iinf Number Detected=0, Number Required=1 eventUid 5FA70F4F-616E-11D3-A80E-08002BBEDB0F entityUid DE9E97DE-6135-11D3-8004-AA000400BD1B streamUid D6513A46-6135-11D3-8003-AA000400BD1B You can either configure the appropriate number of time servers, or you can disable DTSS, or you can ignore it and (if OPCOM is set to write to the log via via the logical names in SYLOGICALS.COM/SYLOGICALS.TEMPLATE) clean out OPERATOR.LOG regularly. You can also simply disable the display of these messages: $ run sys$system:ncl block event dispatcher outbound stream local_stream global filter - ((Node, DTSS), Too Few Servers Detected) If you wish to disable the automatic TDF adjustment for daylight savings time (on OpenVMS versions prior to V7.3), you can use the command: $ run sys$system:ncl set dtss automatic TDF change = false or alternatively, you can set the local timezone to one that does not include the automatic daylight savings time change-over. 4-20 Time and Timekeeping OpenVMS V7.3 and later simplify time and timezone management. 4-21 _______________________________________________________ 5 System Management Information __________________________________________________________ 5.1 What is an installed image? The term "install" has two distinct meanings in OpenVMS. The first relates to "installing a product", which is done with either the SYS$UPDATE:VMSINSTAL.COM command procedure or the POLYCENTER Software Installation (PCSI) utility (PRODUCT command). The second meaning relates to the use of the INSTALL utility, which is what concerns us here. The INSTALL utility is used to identify to OpenVMS a specific copy of an image, either executable or shareable, which is to be given some set of enhanced properties. For example, when you issue the SET PASSWORD command, the image SYS$SYSTEM:SETP0.EXE is run. That image needs to have elevated privileges to perform its function. The other important attribute is /SHARED. This means that shareable parts of the image (typically read-only code and data) are loaded into memory only once and are shared among all users on a system. Executable images can be installed /SHARED as well as shareable library images. (The term "shareable" has dual meanings here, too. See the OpenVMS Programming Concepts Manual for further details.) It's important to note that there is no such thing as "installing a shareable image with privileges". The INSTALL utility will let you do it, but the privileges you specify will be ignored. To have a callable routine run with enhanced privileges that are not available to its caller, you must construct your routines as "user- written system services" and install the shareable image with the /PROTECT qualifier. See the OpenVMS Programming Concepts Manual for more information on user-written system services. Note also that in many cases the need to grant privileges to an 5-1 System Management Information image can be replaced with the use of the "Protected Subsystems" feature that grants a rights identifier to an image. See the OpenVMS Guide to System Security for information on Protected Subsystems. __________________________________________________________ 5.2 Are there any known viruses for OpenVMS? Viruses and worms are common on personal computers because the operating systems involved, such as the Microsoft MS-DOS, Windows 95, Windows 98 and Windows ME variants, do not particularly protect the operating system or the file system against hostile action by programs. Microsoft Windows NT, Windows 2000 and Windows XP do implement protections for specific configurations and do implement memory protection models, but many users of these systems choose to operate with full adminstrator access and thus the available protections are entirely defeated and entirely not relevent, and any program that can activate itself or can cause the user to activate the code can subvert the operating system and take over the hardware, at which point the malicious code can do most anything it wishes, including hiding copies of itself in other programs or in the file system, redistributing itself via mail, IM, or network connections, or can be used as a zombie in staging attacks on other systems. This is less likely with multi-user systems such as OpenVMS, Unix, Linux, MVS and other platforms for various reasons. First, the operating system runs in a privileged mode in memory that is protected against modification by normal user programs. Any program cannot simply take over the hardware as it can on operating systems without security and particularly without memory page protections. Secondly, multi- user systems can be set up so that non-privileged programs cannot modify system programs and files on disk, and this is normal for most installations. Both of these protection schemes mean that traditional viral infections don't work on these OSes. Third, typical applications and configurations tend to prevent the uncontrolled execution of untrusted code as part of received mail messages or web access; one of the 5-2 System Management Information central vulnerabilities of the Microsoft Windows platform involves its intentionally easy ability to dynamically (and transparently) activate code and macros that are embedded within mail messages and within data files. It is possible for OpenVMS and other multi-user systems to become infected by viruses or worms, but to do so, the program containing the virus must be run from a user account that has amplified privileges. So long as the system administrator is careful that only trusted applications are run from such accounts (and this is generally the case) and so long as there are no OpenVMS system security breaches (due to malicious operator activity, OpenVMS errors, or errors within trusted and privileged product packages) there is no of modifications to the operating system or other protected files from the virus or the worm. The FAQ maintainer is aware of a few (and very old) DECnet worms that have affected OpenVMS systems on DECnet networks, but is aware of no OpenVMS viruses that are loose in the field. To protect against viruses and other attempts at system interference or misuse, please follow the security recommendations in the OpenVMS Guide to System Security. Additionally, you will want to keep your OpenVMS ECOs current and you will want to apply all mandatory ECO kits and any security MUPs for OpenVMS and OpenVMS products, and you will want to keep to OpenVMS releases with Prior Version Support (PVS) or with Current Version Support. (This is obviously a general system maintenance recommendation, in addition to being a good system security recommendation-new security features and capabilities are implemented in more recent OpenVMS releases, for instance.) You may also want to consider optional software products which can monitor your system for intrusion or infection attempts. Computer Associates (CA) offers various products in this area, as to other vendors. Rocksoft offers the Veracity data integrity tool (for info, send mail to demo@rocksoft.com). MD5 tools are also available. 5-3 System Management Information Tools to scan OpenVMS file systems for Microsoft Windows infections are also available, including a commercial package from Sophos. These scanning tools are particularly useful for systems running Samba or Advanced Server (PATHWORKS), as these servers tend to have a higher population of files intended for Microsoft Windows systems users, and as common virus and worm attacks can find and infect files on the file shares that these products can provide. These infections do not target OpenVMS itself, though the OpenVMS server (and any other platform and any other server capable of storing files for Windows systems) can silently host files containing common Microsoft Windows infections. __________________________________________________________ 5.3 How do I mount an ISO-9660 CD on OpenVMS? ISO-9660 support was added in the following releases: o OpenVMS VAX V6.0 o OpenVMS AXP V1.5 An add-on ISO-9960 kit was also available for OpenVMS VAX V5.5, V5.5-1, V5.5-2, and V5.5-2H4. This requires the installation of the F11CD kit from the InfoServer CD, from the Consolidated Distribution CD under the InfoServer area, Customer Support Center kit CSCPAT #1071012, or the F11CD ECO kit. (Upgrades to V6 and later are strongly recommended.) By default, OpenVMS senses the specific type of media. If you are working with dual-format media-media that uses both the ODS-2 and ISO-9660 formats on the same CD-ROM-then MOUNT will first detect and then default to the ODS-2 format. If you wish to override this and explicitly mount the media using ISO-9660, use the command: $ MOUNT/MEDIA_FORMAT=CDROM device-name[:] [volume-label] 5-4 System Management Information In most circumstances, you will not need nor will you want to include an explicit /MEDIA_FORMAT specification. For further information, please refer to the OpenVMS MOUNT Utility Manual. Particularly note the information on the MOUNT /MEDIA_FORMAT and /UNDEFINED_ FAT qualifiers. The MOUNT /UNDEFINED_FAT qualifier is of interest because ISO-9660 media can be mastered on a wide variety of operating system platforms, and these platforms do not necessarily support the semantics needed for files containing predefined record formats. The /UNDEFINED_FAT allows you to specify the default attributes for files accessed from volumes using the ISO-9660 format. An example which works for most CD-ROMs is: $ MOUNT/MEDIA_FORMAT=CDROM/UNDEFINED_FAT=STREAM:2048 DUA0: FREEWARE This particular MOUNT command forces access to the CD-ROM media using the ISO-9660 volume structure, and the use of the MOUNT /UNDEFINED_FAT qualifier causes any file whose file attributes are "undefined" to be returned with "stream" attributes with a maximum record length 2048. On OpenVMS, the ISO-9660 format is (internally) considered to be the ODS-3 file structure, while the High Sierra extensions to the standard are considered to be the ODS-4 file structure. The Rock Ridge extensions are not currently available on OpenVMS. For details on ODS-1 and ODS-2 file specifications, see Kirby McCoy's VMS File System Internals Manual (published by Digital Press, but potentially out of print), and see: o http://pdp-11.trailing-edge.com/www/ods1.txt o http://www.hp.com/go/openvms/freeware/, look in Freeware V5.0 directory /ods2/. 5-5 System Management Information __________________________________________________________ 5.4 How do I extract the contents of a PCSI kit? A growing number of OpenVMS products are being provided in PCSI (POLYCENTER Software Installation) kits which are installed using the PRODUCT INSTALL command. These are alternatives to or replacement for VMSINSTAL kits which were BACKUP savesets. PCSI kits are not BACKUP savesets and are structured differently from VMSINSTAL kits. If you want to extract product files from a PCSI kit, create a directory into which the kit should be expanded and use the following command: $ PRODUCT COPY prodname /SOURCE=[where-the-kit-is] - /DEST=[destination-directory] /FORMAT=REFERENCE A PCSI kit file has a file specification of the following form: DEC-VAXVMS-FORTRAN-V0603-141-1.PCSI In this example, "FORTRAN" is the "prodname". PCSI will expand the kit files into the directory you specify and subdirectories beneath such as [SYSEXE], [SYSLIB], etc., reflecting the eventual destination of files found there. Most of the actual product files (images, etc.) will be in the subdirectories. In the top-level directory will be a file with the file type PCSI$DESCRIPTION that specifies where various files should go. For more details, see the POLYCENTER Software Installation Developer's Guide for OpenVMS, which can be found in the OpenVMS documentation on the Consolidated Online Documentation CD-ROM. __________________________________________________________ 5.5 Emergency (Conversational) System Startup? If you need to perform system management operations on an OpenVMS system and cannot access the system through normal means-the password on the SYSTEM username was forgetten and no other privileged usernames are available, or one or more core system product authorization key (PAK) software licenses are unavailable or expired-then you must perform a conversational (emergency) bootstrap. 5-6 System Management Information Here are the steps: 1 Halt the system. Exactly how this is done depends on the specific system model: Depending on the model, this can involve pressing the button, entering on the console, or pressing the key on the console. 2 At the console prompt, use a console command to boot into the SYSBOOT utility. (SYSBOOT allows conversational changes to system parameters.) The syntax for the conversational bootstrap varies by system model-this typically involves specifying a flag of 1, for example: On VAX, use one of the following three commands depending on the particular model of VAX system involved: B/R5:1 B/1 @GENBOO On Alpha: b -flags 0,1 If your system has a non-zero system root (such as root SYSE, shown here), you will have to use a console command such as the following: On VAX: B/E0000001 B/R5:E0000001 @ On Alpha: b -flags e,1 If your system has a hardware password (various systems support a password that prevents unauthorized access to the console), you will need to know theis password and will need to enter it using the LOGIN command at the console. If you get an "Inv Cmd" error trying to perform a conversational bootstrap, and you do not have the hardware console password for the console LOGIN 5-7 System Management Information command, you are stuck-you will need to call for hardware service in order to reset the hardware console password. The syntax used for the console password mechanism varies. 3 Once at the SYSBOOT prompt, request that OpenVMS read the system startup commands directly from the system console, that the window system (if any) not be started, and that OpenVMS not record these particular parameter changes for subsequent system reboots: SET/STARTUP OPA0: SET WINDOW_SYSTEM 0 SET WRITESYSPARAMS 0 CONTINUE 4 At the $ prompt, the system will now be accepting startup commands directly from the console. Type the following two DCL commands: $ SPAWN $ @SYS$SYSTEM:STARTUP 5 You should now see the dollar ($) prompt of DCL. The result of these two commands will be the normal system startup, but you will be left logged in on the console, running under a fully privileged username. Without the use of the SPAWN command, you would be logged out when the startup completes. Perform the task(s) required, such as resetting the password on the SYSTEM username as described in Section 5.5.1 or registering one or more license product authorization keys (PAKs) as described in Section 5.5.2. 6 Once you log out of this session, the system will complete the startup and can be used normally. You can choose to reboot the system, but that is not necessary. 5-8 System Management Information Some system managers will suggest a method using the UAFALTERNATE system parameter rather than the SET/STARTUP OPA0: command shown. This approach is not always available and is accordingly less commonly recommended, as there can easily be an alternate user authorization database (SYS$SYSTEM:SYSUAFALT.DAT) configured on the system. With a system manager that has configured an alternate SYSUAFALT.DAT file, the UAFALTERNATE method will fail-well, assuming you do not know the password of a privileged username stored within SYSUAFALT.DAT, of course. The UAFALTERNATE system parameter is used to trigger what is sometimes known as the console backdoor. The OPA0: system console is critical to system operations and system security, and will allow access when the SYSUAF system authorization database is unavailable or corrupted, when core product license PAKs are not registered, expired or disabled (NOLICENSE errors), or in various other cases of system failures. All this is in addition to the role of the console in the display of certain system-critical event messages. Access to the OPA0: console has a security exposure that is equivalent to direct access to the system hardware. When LOGINOUT detects an error (such as a SYSUAF corruption, by a missing SYSUAF, missing product licenses, or other trigger), it will prevent access to the OpenVMS system from all terminals except the system console. The OPA0: system console will be allowed access, and the resulting process will be fully privileged. Resetting the UAFALTERNATE system parameter-in the absence of an alternate SYSUAF system authorization database-will cause the console backdoor to be opened simply because LOGINOUT cannot locate SYS$SYSTEM:SYSUAFALT.DAT. When the authorization database cannot be located, access will be granted from the console only. For further information on emergency startup and shutdown, as well as for the official OpenVMS documentation on how to change the SYSTEM password from the console in an emergency, please see the OpenVMS 5-9 System Management Information System Manager's Manual in the OpenVMS documentation set. For information and recommendations on setting up OpenVMS system security, please see the NCSC Class C2 appendix of the Guide to OpenVMS System Security manual, also in the OpenVMS documentation set. You can also use the conversational bootstrap technique shown earlier (the steps until SET/STARTUP) to alter various system parameters, as well. At the SYSBOOT prompt, you can enter new parameters values: SHOW MAXPROCESSCNT SET . 64 CONTINUE The "." is a shorthand notation used for the last parameter examined within SYSGEN and SYSBOOT. _____________________________ 5.5.1 I've forgotten the SYSTEM password - what can I do? If you have forgotten or do not have the password for the SYSTEM username, you must perform the conversational bootstrap as described in Section 5.5, and must enter the following commands once you have reached the dollar ($) prompt: $ SET DEFAULT SYS$SYSTEM: ! or wherever your SYSUAF.DAT resides $ RUN SYS$SYSTEM:AUTHORIZE MODIFY SYSTEM /PASSWORD=newpassword EXIT You have now reset the password on the SYSTEM username. _____________________________ 5.5.2 My product licenses have expired - what can I do? If you have a system with no licenses for OpenVMS or for OpenVMS users and thus cannot log into the OpenVMS system normally, you should be able to log into the console serial terminal-this is the terminal device known as OPA0:-and perform the commands necessary. 5-10 System Management Information For systems that are not configured with an accessable console serial terminal-as can be the case with how some DECwindows workstations are configured-you must log in over the network or from a local serial connection. If you cannot log in over a network connection (SET HOST, telnet, etc) or from another local serial terminal connection, you will have to halt the system and perform a conversational bootstrap as described in Section 5.5. You must then enter licensing-related commands once the conversational bootstrap has reached the dollar ($) prompt. Use the following DCL command to invoke a menu that allows you to manage and to register new or replacement license PAKs: $ @SYS$UPDATE:VMSLICENSE You have now registered the license PAKs. Direct use of the DCL commands LICENSE and SHOW LICENSE and such is also obviously available. If you wish to connect a serial console on your DECwindows workstation, please see Section 14.3.3.3, Section 14.3.6, Section 11.11, and Section 14.19. For information on troubleshooting DECwindows, please see Section 11.6. __________________________________________________________ 5.6 How do I change the node name of an OpenVMS System? The first step is to get a BACKUP of the system disk before making any changes-use the system disk backup procedures as documented in the OpenVMS System Management Manual, making sure to use the procedures and commands appropriate for the system disk. Changing the node name involves a number of steps-the node name tends to be imbedded in a number of different data files around the system. o Update the SCSNODE in MODPARAMS.DAT, and then run AUTOGEN as far as the SETPARAMS phase. (Do not reboot yet.) 5-11 System Management Information o Modify the DECnet node name. (NETCONFIG is the DECnet Phase IV tool, and NET$CONFIGURE is the DECnet-Plus tool.) o Modify the IP node name. (The TCP/IP Services tool is UCX$CONFIG prior to V5.0, and is TCPIP$CONFIG in V5.0 and later releases.) o Modify the host node name on the various queues in the queue database. (each queue has a host name, and it defaults to the SCS node name of the queue's host system. See the command INIT/QUEUE/ON=node for information.) o Modify the node name saved in any application databases, or any local node-conditional operations present in the site-specific system startup, etc. (SEARCH for the node name, specifying all types of files.) o Use the AUTHORIZE utility command RENAME/IDENTIFIER to rename the SYS$NODE_oldnodename rightslist identifier to match the new node name. (Do not change the binary value of this identifier, and do not delete the identifier.) If you have erroneously deleted or duplicate the identifier, you can locate existing references to the binary identifier value using the Freeware DFU package, and specifically the commands SEARCH/ACE and /OWNER. You must (re)create the correctly-named identifier using the binary value that is often stored in various Access Control List Entry (ACE) structures and object owner fields associated with files and objects present in the OpenVMS system. o Reset any license PAKs that are restricted to the old node name to the new node name. o If the node name is part of a disk volume label, see Section 5.12. o Reboot the node or-if in a VMScluster-reboot the whole VMScluster. (This tends to catch any errors immediately.) 5-12 System Management Information There are likely a few other areas where the nodename will be stored. If the system is configured in a VMScluster and you change either the SCSNODE or the SCSSYSTEMID-but not both values-then you will have to reboot the entire VMScluster. (The VMScluster remembers the mapping between these two values, and will assume that a configuration problem has occured if a mismatched pair appears, and will refuse to let a node with a mismatched pair join the VMScluster.) To calculate the correct SCSSYSTEMID value, multiply the DECnet Phase IV area number by 1024, and add the DECnet Phase IV node number. For example, the SCSSYSTEMID value for a DECnet node with address 19.22 is 19478. ((19 * 1024) + 22 = 19478) This may well have missed one or two configuration tools (or more!) that are needed at your site-the node name tends to get stored all over the place, in layered products, and in local software... Also see Section 15.6.3 and Section 15.6.4. __________________________________________________________ 5.7 Why doesn't OpenVMS see the new memory I just added? When adding memory to an OpenVMS system, one should check for an existing definition of the PHYSICALPAGES (OpenVMS VAX) or PHYSICAL_MEMORY (OpenVMS Alpha) parameter in the SYS$SYSTEM:MODPARAMS.DAT parameter database, use a text editor to reset the value in the file to the new correct value as required, and then perform the following command: $ @SYS$UPDATE:AUTOGEN GETDATA REBOOT FEEDBACK This AUTOGEN command will reset various system parameters based on recent system usage (FEEDBACK), and it will reset the value for the PHYSICALPAGES parameter to the new value. It will also reboot the OpenVMS system. PHYSICALPAGES and PHYSICAL_MEMORY can also be used to deliberately lower the amount of memory available for use by OpenVMS. This ability can be useful in a few specific circumstances, such as testing the behaviour 5-13 System Management Information of an application in a system environment with a particular (lower) amount of system memory available. PHYSICALPAGES and PHYSICAL_MEMORY can be set to -1 (on OpenVMS Alpha) or (better and simpler) the entry can be removed from the MODPARAMS.DAT file, to indicate that all available memory should be used. __________________________________________________________ 5.8 How do I change the text in a user's UIC identifier? The text translations of the numeric User Identification Code (UIC) are based on identifiers present in the OpenVMS rightslist. Documentation on this area is included in the _Guide to OpenVMS System Security_ manual. To control the identifiers shown for a user's UIC, you use AUTHORIZE. Each user has an associated group identifier, and an identifier specific to the user. And each user should have a unique UIC. To alter the text of a user or group identifier, use commands such as: $ RUN SYS$SYSTEM:AUTHORIZE UAF> rename/ident oldgroupid newgroupid UAF> rename/ident olduserid newuserid If you should find yourself missing an identifier for a particular user, you can add one for the user's UIC using a command such as: UAF> add/ident/value=uic=[group,user] newuserid The UIC user identifier text is assigned when the username is created, and is the text of the username. The UIC group group identifier is assigned when the first username is created in the UIC group, and the text is based on the account name specified for the first user created in the group. The value of this identifier is [groupnumber, 177777]. To add a missing group identifier, use an asterisk as follows: UAF> add/ident/value=uic=[group,*] newgroupid 5-14 System Management Information You may find cases where an identifier is missing from time to time, as there are cases where the creation of a UIC group name identifier might conflict with an existing username, or a user identifier might conflict with an existing group identifier. When these conflicts arise, the AUTHORIZE utility will not create the conflicting group and/or user identifier when the username is created. You can can add and remove user-specified identifiers, but you should avoid changing the numeric values associated with any existing identifiers. You should also avoid reusing UICs or identifiers when you add new users, as any existing identifiers that might be present on objects in the system from the old user will grant the same access to the new user. Please see the security manual for details. __________________________________________________________ 5.9__What_are_the_OpenVMS_version upgrade paths? 5.9.1 OpenVMS Alpha Upgrade (or Update) Paths From V1.0, you can upgrade to V1.5. From V1.5, or V1.5-1H1, you can upgrade to V6.1. From V6.1, you can upgrade to V6.2. From V6.1, or V6.2, you can upgrade to V7.0. From V6.1, V6.2, V6.2-1H(1,2,3), or V7.0, you can upgrade to V7.1. From V6.2, you can update to V6.2-1H1, V6.2-1H2, or V6.2-1H3. From V6.2, V6.2-1H(1,2,3), V7.1, V7.1-1H(1,2), or V7.2, to V7.2-1. From V6.2, ... or V7.2, to V7.2-1H1, to 7.3. From V7.1, one can update to V7.1-1H(1,2), ... to V7.2-1H1, to 7.3. From V7.3, V7.2-2, V7.2-1H1, V7.2-1, and V7.1-2, you can update to V7.3-1 or to V7.3-2. From V7.3-1, you can update to V7.3-2. 5-15 System Management Information Some typical OpenVMS Alpha upgrade (or update) paths are: V1.0 -> V1.5 -> V6.1 -> (V6.2, V7.0, V7.1, V7.2, V7.3) V1.5-1H1 -> V6.1 -> (V6.2, V7.0, V7.1, V7.2, V7.3) V6.2 -> V6.2-1H3 V6.2 -> V7.2-1 V6.2 -> V7.3 V6.2-1H(1,2,3) -> V7.1 V6.2-1H(1,2,3) -> V7.2-1 V7.1 -> V7.1-2 V7.1 -> V7.2-1 V7.1-1H(1,2) -> V7.1-2 V7.1-1H(1,2) -> V7.2-1 V7.1-2 -> V7.3-1 V7.2 -> V7.2-1H1 V7.2 -> V7.3 -> V7.3-1 V7.2-1 -> V7.3-1 V7.2-2 -> V7.3 V7.3 -> V7.3-1 V7.3 -> V7.3-2 V7.2-2 -> V7.3-1 V7.3-1 -> V7.3-2 Note that OpenVMS Alpha V7.0 does not include support for hardware and/or configurations first supported in OpenVMS Alpha V6.2-1H1, V6.2-1H2, or V6.2-1H3; one must upgrade to OpenVMS VAX V7.1. One cannot update directly to a V6.2-1Hx Limited Hardware Release (LHR) from any release prior to the baseline V6.2 release. The same prohibition holds for performing updates directly to V7.1-1Hx from any release prior to V7.1-this is not supported, and does not produce the expected results. The LHR kits can, however, be directly booted and can be directly installed, without regard to any operating system that might be present on the target disk. OpenVMS Alpha updates for LHRs (through V7.1-1Hx) require the use of VMSINSTAL for the update. These LHR releases use PCSI for the installation, but not for the update. Non-LHR releases use PCSI for installs and upgrades. 5-16 System Management Information OpenVMS Alpha V7.1-2 and later use PCSI for LHRs and for OpenVMS upgrades and for all OpenVMS ECO kit installations. VMSINSTAL OpenVMS ECO kits are not used on OpenVMS Alpha V7.1-2 and later. Prior to V7.1-2, VMSINSTAL-based ECO kits are used for OpenVMS. _____________________________ 5.9.2 OpenVMS VAX Release Upgrade Paths From V5.0 through V5.4- 3 inclusive, one can upgrade to V5.5. From V5.5, V5.5-1, or V5.5- 2HW, one can upgrade to V5.5-2. From V5.5, V5.5-1, or V5.5-2, one can upgrade to V6.0. From V5.5-2, V5.5- 2H4, or V6.0, one can upgrade to V6.1. From V6.0, or V6.1, one can upgrade to V6.2. From V6.1, or V6.2, one can upgrade to V7.0. From V6.1, V6.2, or V7.0, one can upgrade to V7.1. From V6.1, one can upgrade to V7.3 (with VAXBACK ECO for V6.1). Some typical OpenVMS VAX upgrade paths are: V5.x -> V5.5 -> V6.0 -> V6.2 -> (V7.1, V7.2, V7.3) V5.5-2HW -> V5.5-2 V5.5-2, or V5.5-2H4 -> V6.1 -> (V6.2, V7.0, or V7.1) V6.1 -> V6.1 with VAXBACK ECO -> (V7.2, V7.3) V6.2 -> V7.2 V6.2 -> V7.3 Note that OpenVMS VAX V6.0 does not include support for hardware and/or configurations first added in OpenVMS VAX V5.5-2H4, one must upgrade to OpenVMS VAX V6.1. Note that OpenVMS VAX V5.5-2HW is a pre-release version of V5.5-2. Any system running it should be upgraded to V5.5-2, or later. If you attempt a direct upgrade from OpenVMS VAX V6.1 to V7.2 or later without having first applied the VAXBACK ECO kit to your V6.1 system, you will receive an error message: %BACKUP-E-INVRECTYP, invalid record type in save set 5-17 System Management Information and the upgrade will fail. Acquire and apply the VAXBACK ECO kit for OpenVMS VAX V6.1. OpenVMS VAX V6.2 and later do not require an application of an ECO for an upgrade to V7.2 and later. _____________________________ 5.9.3 OpenVMS Cluster Rolling Upgrade Paths Rolling Upgrades require multiple system disks. Rolling upgrades permit the OpenVMS Cluster to remain available while individual systems are being upgraded to a new OpenVMS release. OpenVMS Cluster rolling upgrades for both OpenVMS VAX and OpenVMS Alpha may (will) have different, or additional upgrade requirements, and have requirements around which versions of OpenVMS can coexist in a OpenVMS Cluster than what is listed here. See the OpenVMS Upgrade and Installation Manual for the particular release, and the OpenVMS Software Product Descriptions for OpenVMS and for OpenVMS Cluster software: o http://www.compaq.com/info/spd/ OpenVMS typically uses SPD 25.01.xx and/or SPD 41.87.xx. for further details on the rolling upgrade, and for support information. The documentation for older releases of OpenVMS VAX includes various platform- specific manuals, manuals that include instructions that are specific to installing and upgrading on the platform. _____________________________ 5.9.4 OpenVMS Product Version and Support Information For information on Prior Version Support (PVS) and Mature Product Support (including information on support end dates for OpenVMS and various layered products), please see: o http://www.hp.com/hps/os/os_ovms.html o http://www.hp.com/go/openvms/ 5-18 System Management Information o http://www.compaq.com/services/software/ss_ mature.html o http://www.compaq.com/services/software/ss_pvs_se_ amap.html o http://www.compaq.com/services/software/ss_mps_pvs_ eur.html For information on supported versions of layered products, and minimum required layered product versions, see: o http://www.openvms.compaq.com/openvms/os/swroll/index.html For information on the release history of OpenVMS, including information on the code names of various releases and the major features: o http://www.openvms.compaq.com/openvms/os/openvms- release-history.html Additional release history information, as well as a variety of other trivia, is available in the VAX 20th anniversary book: o http://www.openvms.compaq.com/openvms/20th/vmsbook.pdf _____________________________ 5.9.5 OpenVMS Alpha Terminology The following terms apply to OpenVMS Alpha upgrades and installations. o Update Typically used for Limited Hardware Releases (LHR) releases. Performed via VMSINSTAL. Applies only to the OpenVMS release that the LHR is based on, or to an intermediate LHR. (eg: V7.1-1H2 applies only to V7.1-1H1 and to V7.1, not to any other releases.) LHRs within a series are cumulative, containing all files and features of previous LHRs in the same series. 5-19 System Management Information o Upgrade Performed via PCSI. Upgrades can typically be applied to a release-specific (and documented) range of prior OpenVMS releases. o Install Performed via PCSI. With an installation, no existing version of the operating system is assumed present, nor are any files from any copy of the operating system might be present preserved, and the entire contents of the target disk are destroyed via a disk initialization. o preserve Performed via PCSI. Otherwise similar to an installation, this option skips the disk reinitialization. User files on the target disk are preserved. Any existing operating system files on the target disk are clobbered. o LHR Limited Hardware Release. LHRs are specific to and are targeted at new hardware configurations, and are not shipped to customers with support contracts. At least one LHR kit must be specifically acquired when purchasing new hardware, new hardware that is not (yet) supported by any mainline (non-LHR) release. LHRs have an "H" in the OpenVMS version string, indicating a "Hardware" release. For minimum OpenVMS versions for various platforms, see Section 2.11. __________________________________________________________ 5.10 Why do I have a negative number in the pagefile reservable pages? Seeing a negative number in the reservable pages portion of the SHOW MEMORY/FULL command can be normal and expected, and is (even) documented behaviour. A pagefile with a negative number of reservable pages is overcommitted, which is generally goodness assuming that every process with reserved pages does not try to occupy all of the reserved pagefile space at the same time. 5-20 System Management Information To understand how the pagefile reservation process works, think about how a traditional bank operates when accepting customer deposits and making loans. It's the same idea with the pagefile space. There is less money in the bank vault than the total deposits, because much of the money has been loaned out to other customers of the bank. And the behaviour parallels that of the pagefile down to the problems that a "run on the bank" can cause for banking customers. (Though there is no deposit insurance available for pagefile users.) If all of the running applications try to use the reserved space, the system manager will need to enlarge the pagefile or add one or more additional pagefules. To determine if the pagefile is excessively overcommitted, watch for "double overcommitment"- when the reservable space approaches the negatation of the available total space-and watch that the total amount of free space available in the pagefile remains adequate. If either of these situations arises, additional pagefile storage is required. Additional pagefile information: Additional pagefiles can typically be created and connected on a running OpenVMS system. New processes and new applications will tend to use the new pagefile, and existing applications can be restarted to migrate out of the more congested pagefiles. Pagefiles are generally named PAGEFILE.SYS, and multiple pagefiles are generally configured on separate disk spindles to spread the paging I/O load across the available disk storage. When multiple pagefiles are present on recent OpenVMS versions, each pagefile file should be configured to be approximately the same total size as the other pagefiles. For additional information on pagefile operations and related commands, see the system management and performance management manuals in the OpenVMS documentation set. With OpenVMS V7.3 and later, the displays have been changed and these negative values are no longer visible. 5-21 System Management Information __________________________________________________________ 5.11 Do I have to update layered products when updating OpenVMS? The Software Public Rollout Reports for OpenVMS list the current and future availability of HP software products shipping on the OpenVMS Software Products Library kits (CDROM consolidations) for OpenVMS Alpha and/or OpenVMS VAX. Specifically, the required minimum versions for product support are listed. Comprehensive Public Rollout Information, listing previous product versions as well as currently shipping versions, has been compiled into a separate set of reports. The product information is grouped to show Operating System support. You may or may not be able to use older versions of local applications, third-party products, and various HP OpenVMS layered products with more recent versions of OpenVMS. User-mode code is expected to be upward compatible. Code executing in a privileged processor mode-typically either executive or kernel mode-may or may not be compatible with more recent OpenVMS versions. These reports are updated regularly. Please see: o http://www.openvms.compaq.com/openvms/os/swroll/index.html __________________________________________________________ 5.12 How do I change the volume label of a disk? Dismount the disk, and mount it privately. If the disk is mounted by more than one node in an OpenVMS Cluster, dismount it from all other nodes. If this disk is an OpenVMS system disk, shut down all other nodes that are bootstrapped from this disk. Issue the SET VOLUME/LABEL command, specifying the new label. On OpenVMS V6.0 and later, issue the following PCSI command to reset the label information stored within the PCSI database to reflect the new disk volume label: $ PRODUCT REGISTER VOLUME old-label device 5-22 System Management Information Locate any references in the system startup (typically including the disk MOUNT commands) and any DISK$label references in application files, and change the references appropriately. If this is a system disk (for the host or for a satellite), also check the DECnet MOP or LANCP boot database, as well as any references to the disk created by CLUSTER_CONFIG*.COM. If Compaq Analyze is in use, check the system startup procedures for the Compaq Analyze tool. Certain versions of Compaq Analyze will record specific disk volume labels within the startup procedures. Remount the disk appropriately. __________________________________________________________ 5.13 How can I set up a shared directory? To set up a shared directory-where all files created in the directory are accessible to the members of specified group of users-you can use an access control list (ACL) and an identifier. The following also shows how to set up a resource identifier, which further allows the disk resources to be charged to the specified identifier rather than each individual user. (If you don't want this, then omit the attributes option on the identifier creation and omit the entry added in the disk quota database. Add an identifier using the AUTHORIZE utility: ADD/IDENTIFER/ATTRIBUTES=RESOURCE groupidentifier Grant the identifier to each user in the group using AUTHORIZE: GRANT/IDENTIFIER groupidentifier username If disk quotas are in use, add an entry via SYSMAN for each disk: DISKQUOTA ADD groupidentifier/PERMQUOTA=pq/OVERDRAFT=od/DEVICE=ddcu: 5-23 System Management Information Set the shared directory to have an ACL similar to the following using the SET SECURITY (V6.0 and later) or SET ACL (versions prior to V6.0) command: (DEFAULT_PROTECTION,S:RWED,O:RWED,G,W) (IDENTIFIER=groupidentifier,OPTIONS=DEFAULT,ACCESS=READ+WRITE+EXECUTE+DELETE) (IDENTIFIER=groupidentifier,ACCESS=READ+WRITE+EXECUTE+DELETE) (CREATOR,ACCESS=READ+WRITE+ACCESS+DELETE) If there are files already resident in the directory, set their protections similarly. (The OPTIONS=DEFAULT, DEFAULT_PROTECTION, and CREATOR ACEs apply to directories.) The default protection mask is used to establish the default file protection mask, this mask does not prevent the users holding the specified groupidentifier from accessing the file(s), as they can access the file via the explicit identifier granting access that is present in the ACL. For further information, see the OpenVMS Guide to System Security Manual, specifically the sections on ACLs and identifiers, and resource identifiers. __________________________________________________________ 5.14 Why do I get extra blank pages on my HP Printer? For information on configuring telnet print symbiont, on device control libraries such as SYSDEVCTL.TLB, and for ways of dealing with the extra blank pages that can arise on various HP printers, please see the OpenVMS Ask The Wizard area, starting particularly with topic (1020): o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. There are a variety of discussions of this and of related printing topics in the Ask The Wizard area, in addition to topic (1020). Also see Section 5.33. 5-24 System Management Information __________________________________________________________ 5.15 Drivers and Configuration of New Graphics Controllers? This section contains information on various graphics controllers supported by OpenVMS Alpha, and specifically information on where and how to obtain device drivers for specific early OpenVMS releases- device drivers for controllers are integrated into and shipped with OpenVMS Alpha, but versions of these device drivers are sometimes made available for specific earlier OpenVMS releases. _____________________________ 5.15.1 The ELSA GLoria Synergy On OpenVMS Alpha V7.1-2, V7.2, and V7.2-1, acquire the appropriate GRAPHICS PCSI kit, and all prerequisite OpenVMS ECO kits: o VMS712_GRAPHICS-V0300 or later o VMS72_GRAPHICS-V0100 or later o VMS712_GRAPHICS-V0300 or later The ELSA GLoria Synergy is the PBXGK-BB; the PowerStorm 3D10T. Please ensure you have the most current ECOs for this and other graphics controllers installed; check for and install the current GRAPHICS kit. (See Section 4.3.1 for some unexpectedly related details.) On OpenVMS Alpha V7.2-1, the files necessary for this graphics controller are located in the distribution CD-ROM directory: DISK$ALPHA0721:[ELSA.KIT] Also check for any available (later) ECO kits. An earlier kit (ALP4D20T01_071) (for V7.1, V7.1- 1H1, and V7.1-1H2) was once available, but has been superceded and is not recommended. Use of V7.1-2 or later (and use of one the above GRAPHICS kits as required) is typically the best approach. OpenVMS V7.2-2 and later mainline releases directly support the controller. 5-25 System Management Information Additional information is available in topics (3419) and (5448) in the Ask The Wizard area: o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. Support for the ELSA GLoria Synergy is integrated into all current OpenVMS Alpha releases. _____________________________ 5.15.2 PowerStorm 300, PowerStorm 350 The PowerStorm 300 is the PBXGD-AC, while the PowerStorm 350 is the PBXGD-AE. For support of the PowerStorm 300 and PowerStorm 350 graphics controllers, acquire and install the following available ECO kits: For OpenVMS Alpha V7.1-2: o DEC-AXPVMS-VMS712_P350-V0100-4 or later o DEC-AXPVMS-VMS712_GRAPHICS-V0300-4 or later For OpenVMS Alpha V7.2-1: o DEC-AXPVMS-VMS721_P350-V0100-4 or later o DEC-AXPVMS-VMS721_GRAPHICS-V0300-4 or later Support for the PowerStorm 300 and PowerStorm 350 series graphics controllers is integrated into current OpenVMS Alpha releases. _____________________________ 5.15.3 PowerStorm 3D30, PowerStorm 4D20 PowerStorm 3D30 (PBXGB-AA), PowerStorm 4D20 (PBXGB- CA) information is available in Ask The Wizard topics including topic (2041): o http://www.hp.com/go/openvms/wizard/ 5-26 System Management Information For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. _____________________________ 5.15.4 Radeon 7500 Install the current GRAPHICS ECO kit for OpenVMS Alpha V7.2-2 or V7.3-1 for support of the Radeon 7500 series PCI and AGP graphics controllers. Support for this controller (without an ECO kit) is first integrated into and available in OpenVMS Alpha V7.3-2. (Please do always install the most current GRAPHICS ECO kit whenever one is available, however.) __________________________________________________________ 5.16 How can I acquire OpenVMS patches, fixes, and ECOs? You can acquire and download kits containing OpenVMS fixes (ECOs) for various releases, as well as related support information, via: o http://www.itrc.hp.com/ o ftp://ftp.itrc.hp.com/openvms_patches/ Some systems with Internet firewalls may/will have to use passive mode FTP to access the above sites. Assuming recent/current versions of the TCP/IP Services package, the DCL FTP command necessary is: $ DIRECTORY/FTP/ANONYMOUS/PASSIVE ftp.itrc.hp.com:: Older sites: o http://search.service.digital.com/ o ftp://ftp.support.compaq.com/public/vms/ o http://ftp.support.compaq.com.au/pub/ecoinfo/ecoinfo/ o http://ftp/digital.com.au/cgi-bin/grep/ o http://askq.compaq.com/ 5-27 System Management Information The http://ftp.support.compaq.com.au/pub/ecoinfo/ecoinfo/ URL can be particularly useful, as it includes a search engine capable of returning the mandatory ECO kits for each release. Also see the information on required ECOs available from the support database, accessible via http://askq.compaq.com/. Specifically, search for articles with the words "incorporated" and "need to install" in the title. You can subscribe to an email notification list at: o http://www.support.compaq.com/patches/mailing- list.shtml A quarterly distribution is also available on CD-ROM: o QT-3CQAA-C8 OpenVMS Alpha o QT-3CRAA-C8 OpenVMS VAX For a list of OpenVMS ECO kits recently released, you can use: o http://Eisner.DECUS.org/conferences/OpenVMS-patches_ new_1.HTML You can also sign up for ECO kit email notifications (Digest or individual notifications) directly from HP at: o http://www1.service.digital.com/patches/mailing- list.html Examples and ECO kit installation instructions are included in the cover letter. For available ECO kits, cover letters and other associated documentation, look in: o http://www.itrc.hp.com/ o ftp://ftp.itrc.hp.com/openvms_patches/ For additional information, please see Section 5.16. 5-28 System Management Information Do NOT attempt to install a VMSINSTAL-based OpenVMS ECO kit on OpenVMS Alpha V7.1-2 and later. While VMSINSTAL itself remains available, it is not used for OpenVMS Alpha ECO kits starting in OpenVMS Alpha V7.1-2. OpenVMS Alpha V7.1-2 and later use PCSI for OpenVMS ECO kits. See Section 5.29 for information on ECO kit checksums. __________________________________________________________ 5.17 How do I move the queue manager database? To move the location of the queue database, the SYS$QUEUE_MANAGER.QMAN$QUEUES and SYS$QUEUE_ MANAGER.QMAN$JOURNAL files, to a disk that is fast(er), has plenty of free space, and that is not heavily used. If the queue database is on a (busy) OpenVMS system disk, you can and probably should move it off the system disk to another disk spindle. To move the queue database: 1 Checkpoint the journal file. This reduces the file size to the in-memory database size. This will cause the noted delay. $ RUN SYS$SYSTEM:JBC$COMMAND JBC$COMMAND> DIAG 0 7 2 Stop the queue manager $ STOP/QUEUE/MANAGER/CLUSTER 3 Backup the .QMAN$QUEUES and .QMAN$JOURNAL files from the present location for safety. $ backup SYS$COMMON:[SYSEXE]SYS$QUEUE_MANAGER.QMAN$* DISK:[DIR] 4 Create a new directory for the queue database. Insure that this disk is accessible to all nodes that can run the queue manager. If the /ON list for the queue manager is "/ON=(*)", the disk must be available to all nodes in the cluster $ CREATE/DIR fast_disk:[qman] 5-29 System Management Information 5 Copy the .QMAN$QUEUES and .QMAN$JOURNAL files to the new directory $ copy SYS$COMMON:[SYSEXE]SYS$QUEUE_MANAGER.QMAN$* fast_disk:[qman] 6 Delete the old queue database. $ DELETE SYS$COMMON:[SYSEXE]SYS$QUEUE_MANAGER.QMAN$*;* 7 Restart the queue manager pointing to the new location $ START/QUEUE/MANAGER fast_disk:[qman] __________________________________________________________ 5.18 How do I delete an undeletable/unstoppable (RWAST) process? "Undeleteable" jobs are usually "undeleteable" for a reason-this can track back to insufficient process quotas, to a kernel-mode error in OpenVMS or a third- party device driver, or to other odd problems. These undeletable jobs typically become of interest because they are holding onto a particular resource (eg: tape drive, disk drive, communications widget) that you need to use... If the particular device supports firmware, ensure that the device firmware is current - TQK50 controllers are known for this when working with old firmware. (That, and the infamous "MUA4224" firmware bug.) If this device has a driver ECO kit available, acquire and apply it... If the particular relevant host component has an ECO, acquire and apply it. Useful tools include SDA (to see what might be going on) and DECamds (which increase and thus potentially fix quota-related problems). (nb: Applications with quota leaks will obviously not stay fixed.) If the stuck application is BACKUP, ensure you have the current BACKUP ECO and are directly following the V7.1 or (better) V7.2 or later process quota recommendations for operator BACKUP accounts. Quota details are in the OpenVMS System Manager's Manual. 5-30 System Management Information If the firmware and ECO levels are current, the best approach is to take a system crashdump, and pass a copy of the dump file along to whomever is maintaining the device driver for the particular device/widget/driver involved, with any details on how you got into this situation. (The reboot involved with taking the crashdump will obviously clear the problem.) There was some kernel-mode code (typically for OpenVMS VAX) that can reset the device ownership field, but that is rather obviously only an interim solution- the real fix is avoiding the loss of the IRP, the process quota leak, or whatever else is "jamming up" this particular process... __________________________________________________________ 5.19 How do I reset the error count(s)? The system reboot is the only supported approach, but it is obviously undesirable in various situations-there is presently no supported mechanism to reset error counts once the error(s) have been logged. As for an unsupported approach-and be aware of the potential for causing a system crash... To reset the error count, one needs to determine the system address of the error count field. For a device, this is at an offset within the device's UCB structure. On VAX, the field is at an offset symbolically defined as UCB$W_ERRCNT. On Alpha, this field's offset is symbolically defined as UCB$L_ERRCNT. The former is a word in size; the latter is a longword. (Could it be that Alpha devices are more error prone? ;) You now need to locate the system address of the UCB$%_ ERRCNT field of the device you wish to reset. Enter SDA. In the following, you will see designations in {} separated by a /. The first item in braces is to be used on the VAX and the second item should be used on an Alpha. (ie. {VAX/Alpha}) 5-31 System Management Information $ ANALYZE/SYSTEM SDA> READ SYS${SYSTEM/LOADABLE_IMAGES}:SYSDEF.STB SDA> SHOW DEVICE ! device designation of device with error SDA> EVALUATE UCB+UCB${W/L}_ERRCNT Hex = hhhhhhhh Decimal = -dddddddddd UCB+offset Record the hexadecimal value 'hhhhhhhh' returned. You can now exit from SDA and $ RUN SYS$SHARE:DELTA or do what I prefer to do, issue the following: SDA> SPAWN RUN SYS$SHARE:DELTA On both VAX and Alpha, the DELTA debugger will be invoked and will ident- ify itself. On Alpha, there will be an Alpha instruction decoded. For those unfamiliar with DELTA, it does not have a prompt and only one error message-Eh? (Well, for sake of argument, there might be another error produced on the console if you're not careful-aka. a system crash!) If you are on a VAX, enter the command: [W If you are on Alpha, enter the command: [L These set the prevailing mode to word and longword respectively. Remem- ber the UCB${W/L)_ERRCNT differences? Now issue the command 1;M DELTA will respond with 00000001 You are now poised to ZAP the error count field. To do so you need to en- ter the system address and view its contents. The format of the command to do this is of the form: IPID:hhhhhhhh/ For an IPID, use the IPID of the SWAPPER process. It is always: 00010001 Thus, to ZAP the error count, you would enter: 00010001:hhhhhhhh/ 5-32 System Management Information When you enter the / SDA will return the content of the address hhhhhhhh. This should be the error count (in hexadecimal) of the device in question. If it is not, you did something wrong and I'd suggest you type a carriage return and then enter the command EXIT to get out of DELTA. Regroup and see where your session went awry. If you entered your address correctly and the error count was returned as in the following example, you can proceed. 00010001:80D9C6C8/0001 ! output on VAX 1 error 00010001:80D9C6C8/00000001 ! output on Alpha 1 error You can now ZAP the error count by entering a zero and typing a carriage return. For example: 00010001:80D9C6C8/0001 0 ! output on VAX 1 error 00010001:80D9C6C8/00000001 0 ! output on Alpha 1 error Now type the command EXIT and a carriage return. Alternatively, reboot the system. __________________________________________________________ 5.20 How do I find out if the tape drive supports compression? For various SCSI-based MK-class magnetic tape devices: $ Devdepend2 = F$GETDVI("$n$MKcxxx:","DEVDEPEND2") $ Comp_sup = %X00200000 $ Comp_ena = %X00400000 $ IF (Devdepend2.AND.Comp_sup).EQ.Comp_sup THEN - WRITE SYS$OUTPUT "Compression supported" $ IF (Devdepend2.AND.Comp_ena).EQ.Comp_ena THEN - WRITE SYS$OUTPUT "Compression enabled" __________________________________________________________ 5.21 Can I copy SYSUAF to another version? To VAX? To Alpha? The format of the SYSUAF.DAT, RIGHTSLIST, and associated files are upward-compatible, and compatible across OpenVMS VAX and OpenVMS Alpha systems. (This compatibility is a a basic requirement of mixed- version OpenVMS Cluster configurations and OpenVMS upgrades-for specific support information, please see 5-33 System Management Information the OpenVMS Cluster rolling upgrade and mixed-version requirements.) That said, it's the contents of the SYSUAF and RIGHTSLIST files that will make this more interesting. The same basic steps necessary for moving RIGHTSLIST and SYSUAF files to another node are rather similar to the steps involved in merging these files in an OpenVMS Cluster-see the appendix of the OpenVMS Cluster documentation for details of merging files. (You might not be merging the contents of two (or more) files, but you are effectively merging the contents of the files into the target system environment.) Considerations: o applications often hold SYSUAF or RIGHTSLIST open, meaning a system reboot is often the best way to activate new files. o the meanings of the RESTRICTED and CAPTIVE flags settings on the UAF entries have changed over time. o the new NET$PROXY.DAT file that is initially created based on the contents of the NETPROXY.DAT during the OpenVMS VAX V6.1 upgrade and during the OpenVMS Alpha V6.2 upgrade. This file is maintained in parallel with NETPROXY.DAT. o the RIGHTSLIST identifier values and UIC values that end up scattered around the target system must be rationalized with the contents of the new RIGHTSLIST and SYSUAF files. The lattermost case-resolving the identifier values- is often the most interesting and difficult part. If you find that an identifier value (or identifier name) from the source RIGHTSLIST collides with that of an identifier existing on the target system, you must first determine if the two identifiers perform the same function. In most cases, they will not. As such, you will have to find and chance all references to the identifier value(s) (or name(s)) to resolve the "collision". 5-34 System Management Information If you encounter a collision, changing both of the identifier binary values (or names) involved in the collision to new and unique values can prevent security problems if you should miss a couple of identifiers embedded somewhere on the target system during the whole conversion process-rather than the wrong alphanumeric value for the identifier being displayed, you'll simply see the binary format for the identifier displayed, and no particular access will be granted. And any DCL commands or such that reference the old alphanumeric name will fail, rather than silently (and potentially erroneously) succeeding. Similar requirements exist for UIC values, as these too tend to be scattered all over the system environment. Like the binary identifier values, you will find UIC values associated with disks, ACLs, queues, and various other structures. For a list of the various files shared in an OpenVMS Cluster and that can be involved when relocating an environment from one node to another (or merging environments into an OpenVMS Cluster), please see the SYLOGICALS.TEMPLATE file included in OpenVMS V7.2 and later releases. Procedures to extract the contents of a (potentially corrupt) queue database are provided on the OpenVMS Freeware (V5) and can be used to combine two queue databases together while shuffling files between OpenVMS Cluster hosts. For related discussions of splitting a cluster into two or for removing a node from cluster (political divorce, etc), see topics (203), (767), (915) and others in the Ask The Wizard area: o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. 5-35 System Management Information __________________________________________________________ 5.22 How do I delete (timeout) idle processes? There is no such command integrated within OpenVMS, though there are (optional) timers available within certain terminal servers and similar devices, and there is an integrated time-of-day mechanism that provides control over when a user can access OpenVMS. As for available tools, there are DECUS, freeware, and third-party tools known variously as "idle process killers" (IPK) or "terminal timeout" programs, as well as various other names. Examples include: Saiga Systems Hitman, Watchdog, MadGoat Watcher (via the MadGoat site or the OpenVMS Freeware), Kblock, the Networking Dynamics tool known as Assassin, and the Zap tool. Also available is the XLNperformance system management utility, from XLNsystems. A related package (for DECwindows sessions) is xtermlock. If the forgetful users are in an application menu environment, the menu can potentially be extended to provide this capability. __________________________________________________________ 5.23 Do I need a PAK for the DECevent (HP Analyze) tool? DECevent and HP (Compaq) Analyze are available to customers with support contracts. The PAK is required only for the advanced functions of DECevent, the basic bits-to-text translation of the error log does not require a license PAK. Ignore the prompt, in other words. (The PAK should be available to you if you have a hardware support contract or warrantee, and the PAK enables the use of the advanced error analysis and notification capabilities within DECevent.) Please see the following website for details and downloads: Analyze) o http://www.compaq.com/support/svctools/ 5-36 System Management Information __________________________________________________________ 5.24 INITIALIZE ACCVIO and ANSI tape label support? A change was made (back in 1988) to (as it was then known) VAX/VMS V5.1-1 that added support for the then- new ANSI X3.27-1987 magnetic tape label standard. Prior to the ANSI X3.27-1987 standard, the date field in the ANSI HDR1 record permits dates only as far as the end of Year 1999. With ANSI X3.27-1987, dates through Year 1999 and dates from Years 2000 to 2099 are permitted. Versions of INIT.EXE and MTAACP.EXE from VAX/VMS releases prior to V5.1-1 will potentially have problems properly processing ANSI magnetic tapes when Y2K and later dates are involved-the DCL INITIALIZE command is known to encounter access violation (ACCVIO) errors. The available solutions include upgrades, or setting the date back. Direct initialization of the tape with the new headers (via $qio) is also clearly possible, though the limitation within the old MTAACP.EXE magtape ACP image is not nearly so easy to bypass. __________________________________________________________ 5.25 How do I recover from INSVIRMEM errors? Prior to OpenVMS Alpha V7.0 and on all OpenVMS VAX releases, VIRTUALPAGECNT and PGFLQUOTA limit the amount of virtual address space that is available to each process. Further limiting the amount of address space is the size of system space (S0 and S1 space). On OpenVMS Alpha versions prior to V7.0 and on all OpenVMS VAX releases, VIRTUALPAGECNT and MAXPROCESSCNT together determine the size of the page table data structures that occupy large tracts of system space. When no system virtual address space is available for the stuff that needs it-this includes the page tables, non-paged pool, and various other structures-then the values of VIRTUALPAGECNT and MAXPROCESSCNT cannot be increased. In OpenVMS Alpha V7.0 and later, the page table data structures have been moved out of S0 and S1 space and into page table space. In OpenVMS Alpha V7.2 and later, certain large data structures found in non-paged pool (eg: lock management structures) have been moved into 5-37 System Management Information 64-bit space, thus freeing up room in non-paged pool and in S0 and S1 space (where non-paged pool resides) while also permitting much larger data structures. __________________________________________________________ 5.26 How can I prevent a serial terminal line from initiating a login? In SYSTARTUP_VMS.COM, issue the command: $ SET TERMINAL/NOTYPEAHEAD/PERMANENT ddcu: This will prevent any unsolicited terminal input on ddcu:, and this unsolicited input is what triggers JOB_CONTROL to start up LOGINOUT on the terminal. Once LOGINOUT starts up on the serial line, you can see interesting behaviour (eg: audits, process creations, etc) as LOGINOUT tries to "chat" with whatever device is hooked onto the remote end of the serial terminal line. __________________________________________________________ 5.27 How does PCSI use the image BUILD_IDENT field? The (undocumented) build ident field in an OpenVMS Alpha image header is 16 bytes long, and is used as a counted string of 0-15 characters (ie, as an .ASCIC string, a string with the character count in byte 0) and was originally introduced to provide information for use by VMSINSTAL patch kits to determine whether an image should be replaced or not. Starting with OpenVMS Alpha V7.1-2, OpenVMS Engineering uses the PCSI utility to package and install ECO kits for OpenVMS. PCSI uses the generation attribute (a 32-bit unsigned integer) specified for files in the product description file (PDF) of a PCSI kit as the basis for performing file conflict detection and resolution. When a product is installed, PCSI modifies the build ident field of Alpha image headers to store an encoded form of the generation number. It also looks at the build ident field of previously installed images to obtain the generation information for those files as input to the file conflict processing algorithm. (Only images have this field, obviously.) 5-38 System Management Information PCSI interprets the build ident field of a previously installed image as follows: o if the string length is 15, the 5th character is a hyphen, and the last ten characters are a ten digit number with leading zeros, then the last ten characters are treated as a valid generation number. o for V7.1-2 through V7.2-1, inclusive, if the above test fails, the information is obtained from the PCSI product database. o in releases after V7.2-1 and with current PCSI ECO kits, if the above test fails, an invalid generation number is treated as 0000000000 so that the ECO kit will simply replace the image rather than assuming the PCSI database is in error. So, what will you see in the image identification displayed via the ANALYZE/IMAGE command? For an image that has been built as part of an OpenVMS Engineering system build, you will generally see a build ID string in the format "X6TE-SSB-0000"-X6TE is the build number for the OpenVMS Alpha V7.2-1 release. This id format is used within the OpenVMS system build, and can generally only be seen associated with images that have not yet been processed via PCSI. During the installation of V7.2-1, PCSI will modify the image header to have a build ident string of "X6TE-0050120000". During installation of an ECO kit containing this image with a generation number of 50130052, for example, PCSI would determine that 50130052 is greater than 50120000, and will replace the existing image on the target disk with the version of the image included in the ECO kit. 5-39 System Management Information __________________________________________________________ 5.28 How can I tell what software (and version) is installed? There is unfortunately no consistent nor single way to make this determination-this is one of the reasons that a move to PCSI installations is underway. On OpenVMS Alpha, you can use VMSINSTAL.HISTORY and PRODUCT SHOW PRODUCT to determine what packages have been installed via the VMSINSTAL and PCSI tools, respectively. To see which OpenVMS Alpha ECO kits have been applied, look in VMSINSTAL.HISTORY on OpenVMS Alpha prior to V7.1-2, and use PRODUCT SHOW PRODUCT/FULL on OpenVMS Alpha V7.1-2 and later. On OpenVMS VAX, you can use PRODUCT SHOW PRODUCT and (for software that is installed via VMSINSTAL on V7.3 and later) in VMSINSTAL.HISTORY. For products installed on OpenVMS VAX prior to V7.3 using VMSINSTAL, there is no reliable way to determine what products have been installed. If the product provides a RELEASE_NOTES file (as many do), you can look for the list of these files via DIRECTORY SYS$HELP:*.RELEASE_NOTES. Again, this approach is NOT reliable: some kits do not provide release notes, some system managers will install only the release notes, some system managers will delete release notes, and release notes for multiple versions can be present. On most packages, you can generally use ANALYZE/IMAGE on one of the core images, looking at the image identification area. Some of the product-specific mechanisms available are: o DQS DQS$VERSION logical name o C CC/VERSION o C++ CXX/VERSION o TCP/IP TCPIP SHOW VERSION command 5-40 System Management Information __________________________________________________________ 5.29 What file checksum tools are available for OpenVMS? The undocumented DCL command CHECKSUM is the usual means, and provides a rather simple-minded checksum suitable to detect basic file corruptions. For information and an OpenVMS version of the MD5 checksum tool, see: o http://www.support.compaq.com/svctools/md5- instructions.html The OpenVMS Alpha ECO (patch) kit checksums available at the ECO website are determined using the following DCL command sequence: $ CHECKSUM kitname.pcsi-dcx_axpexe $ SHOW SYMBOL CHECKSUM$CHECKSUM See Section 5.16 for information on acquiring OpenVMS ECO (patch) kits. __________________________________________________________ 5.30 What (and where) is the OpenVMS Management Station? For information and current kits for the OpenVMS Management Station (OMS), a PC-based tool that permits you to manage an OpenVMS system, please see: o http://www.openvms.compaq.com/openvms/products/argus/ __________________________________________________________ 5.31 How to determine current disk fragmentation level? The HP OpenVMS Disk File Optimizer (DFO) defragmentation package provides a fragmentation monitoring tool, and a DFO product authorization key (PAK) is not required for the fragmentation reporting tool: $ DEFRAG SHOW/VOLUME ddcu: The DFU tool available on the OpenVMS Freeware can generate a report on the disk fragmentation: DFU> REPORT ddcu: 5-41 System Management Information __________________________________________________________ 5.32 SYSBOOT-I-FILENOTLOC, Unable to locate SYS$CPU_ROUTINES? A message at the OpenVMS Alpha bootstrap such as the following: %SYSBOOT-I-FILENOTLOC, Unable to locate SYS$CPU_ROUTINES_1C02.EXE %SYSBOOT-E-LDFAIL, failed to load execlet, status = 00000910 indicates that the particular OpenVMS Alpha release does not contain support for the target platform. In this case, OpenVMS does not recognize Alpha family 1C member 02 as a supported platform. A later version of OpenVMS might support the platform, or there might be no support on any release. Ensure that you have the most current firmware, and review the minimum version requirements for the platform. The execlet load failure and other similar bootstrap status values can often be decoded using either of the following techniques: $ exit %x910 %SYSTEM-W-NOSUCHFILE, no such file $ $ x = f$message(%x910) $ show symbol x X = "%SYSTEM-W-NOSUCHFILE, no such file" $ Also see Section 14.4.4.1. __________________________________________________________ 5.33 How can I customize the DCPS device control for a new printer? To customize DCPS for an otherwise unsupported printer, you can try the following sequence: o Extract the most closely-associated setup modules from the existing device control library, DCPS$DEVCTL.TLB. (For instance, you can probably extract and use the HP LaserJet 4000 series definitions for the HP LaserJet 4050 series. Each printer will vary, please consult the printer documentation for specifics and requirements.) 5-42 System Management Information o rename each extracted setup module to a corresponding: LPS$$UNRECOGNIZED_* o Insert all of the above-renamed setup modules into a newly-created device control library specific to the new printer: $ LIBRARY/TEXT/CREATE - SYS$COMMON:[SYSLIB]HP4050_DEVCTL.TLB LPS$$UNRECOGNIZED* The above assumes the filename HP4050_DEVCTL.TLB, alter as required. o Set up your DCPS startup procedures to include a search-list logical name such as: $ DEFINE/SYSTEM/EXECUTIVE DCPS_HP4050_LIB - SYS$LIBRARY:HP4050_DEVCTL.TLB, - SYS$LIBRARY:DCPS$DEVCTL.TLB o Supply DCPS_HP4050_LIB as the library parameter in the queue startup for this printer, this is the P3 parameter to the command procedure SYS$STARTUP:DCPS$EXECUTION_QUEUE.COM. o The HP4050_DEVCTL library may/will need to be recreated and modules re-edited and replaced with each DCPS upgrade, particularly if any modules are updated in the original library. You will also want to determine if the upgraded version of DCPS directly supports the particular printer. o To customize the processing of file extensions within DCPS (to enable or disable graybar output, for instance), use the information available in: SYS$LIBRARY:DCPS$FILE_EXTENSION_DATA_TYPE.DAT_DEFAULT to create your own site-specific: SYS$LIBRARY:DCPS$FILE_EXTENSION_DATA_TYPE.DAT Also see Section 5.14. 5-43 System Management Information __________________________________________________________ 5.34 Why do $GETDEV MOUNTCNT and SHOW DEVICE mount counts differ? MOUNTCNT returns the local mount count, while SHOW DEVICE returns the cluster-wide mount count. __________________________________________________________ 5.35 What software is needed for Postscript printers? The NorthLake PrintKit (http://www.nls.com/) and DECprint Supervisor (DCPS; http://www.openvms.compaq.com/openvms/Print/print_ sw_prods.html) are common choices for support of Postscript printers on OpenVMS. You may also require the installation of an IP transport stack. Also please see Section 15.2.2 and Section 15.2.3. __________________________________________________________ 5.36 How do I remove a PCSI-installed patch (ECO) kit? You cannot PRODUCT REMOVE a PCSI patch (ECO) kit. In order to remove an ECO kit, PCSI would have to have copies of all the other version of the files from all other patches and products that previously were installed. This can clearly involve a large number of files and a large archive of old file versions and a substantial quantity of disk space. While removal is clearly theoretically possible, it is not currently implemented. The following is the supported mechanism to remove a PCSI patch kit. 1 Execute a PRODUCT SHOW PRODUCE SET CONF COMM/REMOTE=VIRTUAL _____________________________ 5.41.7.1 Volume Shadowing MiniCopy vs MiniMerge? MiniMerge support has been available for many years with OpenVMS host-based volume shadowing, so long as you had MSCP controllers (eg: HSC, HSJ, or HSD) which supported the Volume Shadowing Assist known as "Write History Logging". If you are interested in minimerge and similar technologies, please see the Fibre Channel webpage and the information available there: o http://www.openvms.compaq.com/openvms/fibre/ Minimerge support was originally expected with HSG80 series storage controllers and was expected to require ACS 8.7 and OpenVMS Alpha V7.3-1. These plans, the original design, and the implementation that was under development have been revisited, and it is expected that a future OpenVMS release will implement minimerge using the existing storage bitmaps technologies; using a different, new and controller-independent design. Updated information and the current progress of the development work on minimerge is not available as of this writing. The following sections describe both MiniCopy and MiniMerge, and can provide a basis for discussions. 5-56 System Management Information _____________________________ 5.41.7.1.1 MiniCopy? A Shadowing Full Copy occurs when you add a disk to an existing shadowset using a MOUNT command; the entire contents of the disk are effectively copied to the new member (using an algorithm that goes through in 127-block increments and reads one member, compares with the target disk, and if the data differs, writes the data to the target disk and loops back to the read step, until the data is equal for that 127- block section). (This is one of the reasons why the traditional recommendation for adding new volumes to a shadowset was to use a BACKUP/PHYSICAL copy of an existing shadowset volume, simply because the reads then usually matched and thus shadowing usually avoided the need for the writes.) If you warn OpenVMS ahead of time (at dismount time) that you're planning to remove a disk from a shadowset but re-add it later, OpenVMS will keep a bitmap tracking what areas of the disk have been modified while the disk was out of the shadowset, and when you re-add it later with a MOUNT command OpenVMS only has to update the areas of the returned disk that the bit- map indicates are now out-of-date. OpenVMS does this with a read source / write target algorithm, which is much faster than the shenanigans the Full Copy does, so even if all of the disk has changed, a MiniCopy is faster than a Full Copy. _____________________________ 5.41.7.1.2 MiniMerge? A Shadowing Merge is initiated when an OpenVMS node in the cluster (which had a shadowset mounted) crashes or otherwise leaves unexpectedly, without dismounting the shadowset first. In this case, OpenVMS must ensure that the data is identical, since Shadowing guarantees that the data on the disks in a shadowset will be identical. In a regular Merge operation, Shadowing uses an algorithm similar to the Full Copy algorithm (except that it can choose either of the members' contents as the source data, since both are considered equally valid), and scans the entire disk. Also, to make things 5-57 System Management Information worse, for any read operations in the area ahead of what has been merged, Shadowing will first merge the area containing the read data, then allow the read to occur. A Merge can be very time-consuming and very I/O intensive, so some controllers have Shadowing Assists to make it faster. If the controllers support Write History Logging, the controllers record the areas (LBNs) that are the subject of Shadowing writes, and if a node crashes, the surviving nodes can query the controllers to find out what exact areas of the disk the departed node was writing to just before the crash, and thus Shadowing only needs to merge just those few areas, so this tends to take seconds as opposed to hours for a regular Merge. 5-58 _______________________________________________________ 6 Information on Mail __________________________________________________________ 6.1 MAIL keeps saying I have new messages, but I don't. What do I do? if you see the %MAIL-W-NONEWMAIL, no new messages error reported when MAIL indicates you have messages, then the NEWMAIL count has become skewed from reality. The count of new mail messages is kept separately from your mail folder, and is stored in VMSMAIL_ PROFILE.DATA. It sometimes happens that this count differs from what is stored in your mail folder. If this arises, invoke MAIL and repeatedly enter the READ/NEW command (or press the keypad hyphen key on an LK-compatible keyboard) until you see no new mail messages. Then enter the command one more time. This will resynchronize the counters. If you are operating in a cluster and find your mail counts inconsistent across cluster members, your customer is likely missing a definition of the VMSMAIL_ PROFILE logical name-and is probably also missing definitions of other logical names associated with other shared files-or has one or more inconsistent definitions of this and likely of other logical names. For details on the configuration data files that must be shared within a cluster, please see SYS$STARTUP:SYLOGICALS.TEMPLATE on V7.2 and later. __________________________________________________________ 6.2 How do I send or read attachments in VMS MAIL? Is there any way to send or read mail with files as attachments from VMS? 6-1 Information on Mail Not directly with the OpenVMS MAIL facility, but there are several other options: o Install PINE, available commercially from Innosoft or free from Andy Harper. With PINE you can both send and receive MIME messages, if you have the appropriate viewers available. o http://www.process.com/ o http://www.agh.cc.kcl.ac.uk/files/vms/pine-vms/ o ftp://ftp2.kcl.ac.uk/pub/vms/pine-vms/ o If you are working from an X11 server, use the OpenVMS version of Netscape Navigator or Mozilla. The mail download protocol chosen to access the mail server from the Navigator or Mozilla mail client can be POP or IMAP, with the former causing messages to be downloaded while the latter permits messages to be retained on the mail server. Most folks prefer IMAP for this reason. o MPACK/MUNPACK. To send a MIME mail, construct the message with attachments manually using MPACK. You cannot send the resulting file directly through MAIL because an extra blank header line will be inserted between your message and the OpenVMS MAIL headers, which will cause the message to appear as plain text in most mail programs. Some TCP/IP stacks provide a work around for this problem, and if that doesn't work, you should generally be able to force the message directly into the SMTP port of your mail machine. Examples of both methods are in: o http://seqaxp.bio.caltech.edu/pub/SOFTWARE/mmail.com To read a MIME mail message, open it in MAIL, extract it to a file, then use MUNPACK to break out and decode the attachments. MPACK/MUNPACK tools are also available on OpenVMS Freeware V5.0. o With OpenVMS V7.2 and later, use the MIME tool supplied with OpenVMS. 6-2 Information on Mail __________________________________________________________ 6.3 How can I block SMTP mail relay spam? Use the anti-spam capabilities present in the TCP/IP Services V5.1 and later SMTP servers. Use a firewall. On earlier TCP/IP Services releases, some simple DCL can reportedly prevent relay SMTP spam. Use the UCX command SHOW SERVICE SMTP/FULL to find the directory containing the UCX$SMTP_RECV_STARTUP.COM file, and insert the following DCL: $ ! $ ! Block spam. $ ! $ MY_ADDRESS_LONG[0,32]=F$INTEGER(F$TRNLNM("SYS$REM_NODE")-"::") $ MY_ADDRESS=F$FAO("!UB.!UB.!UB.!UB",F$CVUI(0,8,MY_ADDRESS_LONG),- F$CVUI(8,8,MY_ADDRESS_LONG),F$CVUI(16,8,MY_ADDRESS_LONG),- F$CVUI(24,8,MY_ADDRESS_LONG))'" $ MY_ADDRESS_REVERSE=F$FAO("!UB.!UB.!UB.!UB",- F$CVUI(24,8,MY_ADDRESS_LONG),F$CVUI(16,8,MY_ADDRESS_LONG),- F$CVUI(8,8,MY_ADDRESS_LONG),F$CVUI(0,8,MY_ADDRESS_LONG))'" $ WRITE SYS$OUTPUT F$TIME()+" "+F$TRNLNM("SYS$REM_NODE")+MY_ADDRESS $ UCX SHOW HOST 'MY_ADDRESS_REVERSE'.INPUTS.ORBS.ORG $ IF $STATUS.EQ.1 $ THEN $ WRITE SYS$OUTPUT "SPAM from relay rejected" $ EXIT $ ENDIF $ UCX SHOW HOST 'MY_ADDRESS_REVERSE'.SPAMSOURCES.ORBS.ORG $ IF $STATUS.EQ.1 $ THEN $ WRITE SYS$OUTPUT "SPAM source relay rejected" $ EXIT $ ENDIF $ ! $ ! Run receiver. $ ! $ run sys$system:ucx$smtp_receiver.exe $ goto exit 6-3 _______________________________________________________ 7 Information on Utilities __________________________________________________________ 7.1 How do I play an audio CD on my workstation? If you've installed the DECwindows examples, you'll find DECW$CDPLAYER.C, .DAT, .EXE, .UIL, and .UID. Copy the .UID and .DAT files to DECW$USER_DEFAULTS: (typically SYS$LOGIN:), define the logical name DECW$CD_PLAYER to be the device name of your CD-ROM drive (eg. DKA400:), give yourself PHY_IO and DIAGNOSE privileges, and run the .EXE. (These privileges are required, as the access to the CD-related extensions will require the use of the privilege-protected IO$_ DIAGNOSE I/O function code.) You can also install the image with these privileges. See the source for additional details - note that the comments regarding the need for SYSGEN CONNECT are no longer applicable (at least as of VMS V5.5-2). There's also SYS$EXAMPLES:CDROM_AUDIO.C and .EXE, a non-Motif program, available on OpenVMS VAX, and DECW$EXAMPLES:DECW$CDPLAYER.* on OpenVMS VAX and OpenVMS Alpha. The standard OpenVMS ATA (IDE) SYS$DQDRIVER device driver does not support the necessary does not support the necessary IO$_DIAGNOSE function code that is required for access to audio CD media commands (on OpenVMS versions prior to V7.3), but an updated SYS$DQDRIVER device driver (source code and all) with this capability and with the source code of an updated DECW$CDPLAYER CD audio player is available on the OpenVMS Freeware website (www.hp.com/go/openvms/freeware/, look for the directory /dqdriver/), and these updates are also included on OpenVMS Freeware V5.0, and OpenVMS ECO kits containing newer versions of the driver are available. Freeware V6.0 has a version of DQDRIVER that is newer than that of the OpenVMS Alpha V7.3-2 7-1 Information on Utilities release, with additional capabilities and with improved error diagnostics. OpenVMS Alpha V7.3 and later include a version of SYS$DQDRIVER with the necessary IO$_DIAGNOSE support. __________________________________________________________ 7.2 How do I access a Microsoft Windows floppy disk from OpenVMS? The HP Advanced Server (formerly known as PATHWORKS) for OpenVMS product includes an unsupported and undocumented utility called PCDISK, and this tool can read and write various Microsoft MS-DOS and Microsoft Windows FAT-format diskettes. ProGIS in Germany sells a product called VMove which supports DOS files on many different device types. For more information, send mail to info@progis.de. Engineering Software has a product called VAKSAT which will read, write, and erase files on MS-DOS FAT diskettes. Available for both VAX and Alpha. Contact ed@cityscape.co.uk for more information. MadGoat PC Exchange (PCX) is a utility for copying files to and from MS-DOS and Microsoft Windows (FAT) format diskettes under OpenVMS, using an RX23 (3.5"), RX26 (3.5"), or RX33 (5.25") diskette drive. For 3.5" diskettes, high-density disks can be read or written; double-density disks are read-only. Only high-density disks are supported on the RX33. o http://www.madgoat.com/ The Freeware package WINFX is available on Freeware V6.0, and can read the FAT volume structure. o http://www.hp.com/go/openvms/freeware/ 7-2 Information on Utilities __________________________________________________________ 7.3 How do I play sound files on an AlphaStation? DECsound doesn't work. The new AlphaStation systems use a different sound board (Microsoft Sound System) than the earlier DEC 3000 series systems, and DECsound, as supplied by DECwindows Motif, doesn't support this board. HP offers an optional product, Multimedia Services for OpenVMS: o http://www.compaq.com/info/spd/ OpenVMS typically uses SPD 25.01.xx and/or SPD 41.87.xx. which provides a replacement DECsound for this card as well as many other features (an AVI and MPEG player, video capture support, etc.) Ensoniq sound support is also available. __________________________________________________________ 7.4 Why is DECmigrate not working with Fortran? %OTS-F-INDATCOR internal data corrupted in Run- time Library This error can arise with Fortran programs if you are running a recent version of OpenVMS Alpha, and are using DECmigrate to translate Fortran applications. The DECmigrate Run-Time Library attempts to support mixed translated-native I/O to the same unit by sharing the native Fortran RTL's internal data structures, and in OpenVMS 7.2 these structures changed and the translated RTL was not updated accordingly. You can copy DEC$FORRTL.EXE from OpenVMS 7.1, copying it to some spare directory, and then defining the logical name DEC$FORRTL to point to it before running your translated application. Or rebuilding the application to use the available native Fortran compiler. Or you can apply the current Fortran RTL kit, which has a fix for this. See Section 13.11. 7-3 Information on Utilities __________________________________________________________ 7.5 How do I read IBM EBCDIC tapes on OpenVMS? Most (all?) IBM EBCDIC-based systems can read and write ANSI-labeled ASCII magtapes. Fixed-length records (MOUNT /FOREIGN /BLOCKSIZE=512 /RECORDSIZE=512, for one-block records) and the DCL COPY command can be used to transfer fixed-record-size text files out onto tape media, or to read from fixed-record tape media. Please consult the IBM documentation for the details and command syntax needed when reading and writing ANSI media using IBM JCL or other applicable IBM command language. There exists various freeware around (TAPECOPY, ETAPE, TCOPY, MTEXCH) that can read and write EBCDIC tapes. Visit the Encompasserve (DECUS) website software archives search engine (via http://www.decus.org/), and search for "EBCDIC" for details. OpenVMS does not include an integrated tool for EBCDIC tape processing, but does provide a character conversion API useful within application programs. One source for ETAPE is: o http://www.ualr.edu/ftp/vms/ETAPE_SRC/ The OpenVMS Freeware V5.0 distribution included this ETAPE tool, as well. __________________________________________________________ 7.6 How can I patch an OpenVMS Alpha image? Using the OpenVMS Freeware tool ZAP: o http://www.hp.com/go/openvms/freeware/, look for the Freeware V5.0 directory /rms_tools/. tell ZAP to read a block (bucket) of information based on the virtual block number (VBN), using X for hexadecimal. Dump yourself into the OpenVMS debugger with R2 pointing into the buffer, EXAMINE/INSTRUCTION as needed, alter the buffer as required, GO to get out of the debugger and back into ZAP, and use the ZAP W command to write the updated block. 7-4 _______________________________________________________ 8 DCL Details __________________________________________________________ 8.1 How do I run a program with arguments? The RUN command does not accept arguments. To pass arguments to a program, you must use what is called a "foreign command". For example: $ unzip :== $disk:[dir]unzip.exe $ unzip -? The leading $ in the equivilence name for the symbol definition is what makes the DCL symbol a foreign command. If the device and directory are omitted, SYS$SYSTEM: is assumed. Under OpenVMS V6.2 and later, DCL supports automatic foreign command definition via the logical name DCL$PATH:. An example of a definition of this logical name is: $ DEFINE DCL$PATH SYS$DISK:[],ddcu:[mytooldir],SYS$SYSTEM: DCL will first look for a command in the DCL command table, and if no match is found and if DCL$PATH is defined, it will then look for command procedures and executable images with filenames matching the command specified, in the directories specified via DCL$PATH. The first match found is invoked, and under OpenVMS, the DCL$PATH support will cause a command procedure to be activated in preference to an executable image. For more information on foreign commands or on automatic foreign command support, see the OpenVMS User's Manual. See also Section 10.3. If you want to create a detached process that takes arguments from a command line, it must be run under the control of a command line interpreter (CLI) (typically DCL). This is done by placing the command line in a 8-1 DCL Details file, specifying SYS$SYSTEM:LOGINOUT.EXE as the image to run and the command file as the input. For example: $ OPEN/WRITE CMD TEMP_INPUT.COM $ WRITE CMD "$ MYCOMMAND arguments" $ CLOSE CMD $ RUN/DETACHED SYS$SYSTEM:LOGINOUT /INPUT=TEMP_INPUT.COM Various OpenVMS library calls (such as lib$spawn(), cli$dcl_parse(), and the C library system() call) require access to a command line interpreter such as DCL to perform requested actions, and will not operate if a CLI is not available. When a CLI is not available, these calls typically return the error status SS$_NOCLI. And as mentioned above, invoke the image LOGINOUT to cause a CLI (such as DCL) to be mapped into and made available in the context of the target process. For examples of how TCP/IP Services sets up its foreign commands (which includes tools such as uuencode and uudecode), please see the DCL command procedure SYS$STARTUP:TCPIP$DEFINE_COMMANDS.COM. Also see Section 8.10. __________________________________________________________ 8.2 How can I clear the screen in DCL? The simplest way is the TYPE/PAGE NLA0: command. You can set up a symbol to clear the screen in your LOGIN.COM: $ CLS :== TYPE/PAGE NLA0: __________________________________________________________ 8.3 Using REPLY/LOG from DCL? Disabling Console OPCOMs? Your terminal must be enabled as an operator terminal before the REPLY/LOG command can be used, but a DCL procedure (batch command file, system startup, etc) does not have an associated terminal. To make this work, use the following sequence to enable the OPA0: console as the operator terminal, then the REPLY/LOG command will be accepted: 8-2 DCL Details $ DEFINE/USER SYS$COMMAND _OPA0: $ REPLY/LOG $ DEFINE/USER SYS$COMMAND _OPA0: $ REPLY/ENABLE To disable the system console terminal (OPA0:) as an operator terminal, use the following command: $ DEFINE/USER SYS$COMMAND _OPA0: $ REPLY/DISABLE Also see SYLOGICALS.COM (and SYLOGICALS.TEMPLATE) for information on configuring the behaviour of OPCOM, including the (default) use of the system console (OPA0:) as an operator terminial and the specific contents and behaviour of the system operator log file OPERATOR.LOG. __________________________________________________________ 8.4 How do I generate a random number in DCL? Here is a random number generator, just do a GOSUB RAND and the global symbol RANDOM will contain a randomly generated number. You can feed the generator a ceiling value (__CEIL) or a new seed (__SEED). 8-3 DCL Details $! RAND - returns a positive random number ("RANDOM") between 0 and $! __CEIL - 1. $! sharris-at-sdsdmvax.fb3.noaa.gov $ RAND: $ $ IF F$TYPE(__SEED) .EQS. "" $ THEN $ ! seed the random number generator, ... $ __NOW = F$CVTIME() $ __HOUR = 'F$EXTRACT(11,2,__NOW)' $ __MINUTE = 'F$EXTRACT(14,2,__NOW)' $ __SECOND = 'F$EXTRACT(17,2,__NOW)' $ __TICK = 'F$EXTRACT(20,2,__NOW)' $ $ __SEED == __TICK + (100 * __SECOND) + (6000 * __MINUTE) + - (360000 * __HOUR) $ ! the generator tends to do better with a large, odd seed, ... $ __SEED == (__SEED .OR. 1) $ ! clean up, ... $ DELETEX/SYMBOL __NOW $ DELETEX/SYMBOL __HOUR $ DELETEX/SYMBOL __MINUTE $ DELETEX/SYMBOL __SECOND $ DELETEX/SYMBOL __TICK $ ENDIF $ $ IF F$TYPE(__CEIL) .EQS. "" THEN __CEIL = %X3FFFFFFF $ $ __SEED == __SEED * 69069 + 1 $ $ RANDOM == (__SEED.AND.%X3FFFFFFF)/(%X40000000/__CEIL) $ $ RETURN __________________________________________________________ 8.5 What does the MCR command do? The MCR is an artifact of RSX compatibility mode, the operating system from which OpenVMS is descended. MCR is the Monitor Console Routine, and the command is intended to activate RSX compatibility mode utilities. When used on OpenVMS, the command is most commonly used to run the specified image and-because the tool 8-4 DCL Details detects the image is not a compatibility-mode image- it acts as a form of RUN command with the default file specification of SYS$SYSTEM:.EXE. MCR passes any (optional) command line arguments in a fashion similar to a foreign command. In other words: $ MCR FOO BAR is equivalent to: $ FOO :== $FOO $ FOO BAR MCR is not documented. Use of a foreign command or the DCL$PATH mechanism is preferred. For details on this, see Section 8.1. __________________________________________________________ 8.6 How do I change the OpenVMS system prompt? You can use the SET PROMPT command for this purpose. SET PROMPT sets the DCL prompt to the specified string. When you want to display variable information, you will need to establish a tie-in that provides the information to the SET PROMPT command as required. If you wish to display the default directory for instance, you will have to establish a tie between the SET DEFAULT command and the SET PROMPT commands, as there is no direct way to get the default directory as the DCL prompt. You can easily acquire or create a set of DCL command procedures that perform the SET DEFAULT and SET PROMPT for you. These DCL command procedures often use a command such as: $ set prompt='f$environment("default")' More advanced users could implement a system service or other intercept, and use these tools to intercept the directory change and reset the prompt accordingly. (This approach likely involves some kernel-mode programming, and requires write access to various undocumented OpenVMS data structures.) There are related tools available from various sources, including the following web sites: o ftp://ftp.hhs.dk/pub/vms/setpmt/ 8-5 DCL Details o ftp://ftp.tmesis.com/sys_service_hook.src o James F. Duff has also made available a Macro32 tool known as TIME_PROMPT, a tool that sets the prompt to the current system time. o Many folks have contributed DCL procedures to perform this task. Visit the newsgroup archives for information and examples. __________________________________________________________ 8.7 Can I do DECnet task-to-task communication with DCL? Yes, you can do this with DCL. The OpenVMS DECnet documentation shows various simple examples using the task object and the TYPE command to trigger the execution of a DCL command procedure on a remote node. An example DCL command procedure that is rather more advanced than using the TYPE command as a trigger is included in the Ask The Wizard area: o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. DCL does not include support asynchronous I/O, thus a predetermined protocol or a predetermined "turn-around" command sequence must be implemented in order to avoid protocol deadlocks-cases where both tasks are trying to write or both tasks are trying to read. The task that is writing messages to the network must write (or write and read) a predetermined sequence of messages, or it must write a message that tells the reader that it can now start writing messages. (This is the essence of a basic half-duplex network protocol scheme.) __________________________________________________________ 8.8 How can I get the width setting of a terminal? $ width = f$getdvi(terminal,"DEVBUFSIZ") 8-6 DCL Details __________________________________________________________ 8.9 How can I substitute symbols in a PIPE? Use DCL ampersand substitution, and not apostrophe substitution. $ pipe show system | search sys$input opcom | (read sys$input pid ; pid=f$element(0," ",pid) ; define/system opcom_pid &pid) $ show log opcom_pid "OPCOM_PID" = "0000020B" (LNM$SYSTEM_TABLE) __________________________________________________________ 8.10 Use of RUN/DETACH, LOGINOUT, and logical names? With a command to create a detached process such as: $ RUN/DETACHED SYS$SYSTEM:LOGINOUT /INPUT=TEMP_INPUT.COM If you are trying to use a logical name as the /INPUT, /OUTPUT or /ERROR on a RUN/DETACH command, then you must translate the logical name specifications to physical references before passing them, or the definitions must reside in a logical name table that is visible to the newly-created process. Also note that LOGINOUT only creates the SYS$LOGIN, SYS$LOGIN_DEVICE, and SYS$SCRATCH logical names if it is processing a login that is based on the contents of a SYSUAF record-without access to the associated SYSUAF record, this information is not available to LOGINOUT. (If you want to see these particular logical names created, then please specify the /AUTHORIZE qualifier on the RUN/DETACHED command.) If you do not specify LOGINOUT as the image, then there is no easy way to get these logical names. Also, any logical names that are used in the target image file specification must also be in a logical name table accessible (by default) by the newly-created detached process. Shared tables include the group (if the process is in the same UIC group) and the system table. (If the target process is to be in another UIC group, a suitablly privileged user or application can create the necessary logical name(s) directly in the other group logical name table.) 8-7 DCL Details When in doubt, create a short DCL command file as input, and use a SHOW LOGICAL and similar commands to examine the context. (And use physical device and directory references on the RUN/DETACH of the LOGINOUT image, when specifying this command file as /INPUT.) Also remember to check both security auditing and system accounting when troubleshooting problems with the RUN/DETACH. Also see Section 8.1. __________________________________________________________ 8.11 How to use escape and control characters in DCL? To write a message and then the bell character, use: $ bell[0,7] = 7 $ write sys$output "Hello''bell'" To write blinking text, use: $ esc[0,7] = 27 $ text = "Blinking Text" $ write sys$output "''esc'[5m''text'''esc'[m" Also see sections Section 11.7, Section 12.1. 8-8 _______________________________________________________ 9 Files __________________________________________________________ 9.1 How can I undelete a file? OpenVMS doesn't have an "undelete" function. However, if you are quick to write-protect the disk or if you can guarantee that no new files get created or existing files extended, your data is still on the disk and it may be possible to retrieve it. The FLORIAN tool available from various websites can potentially recover the file, see question Section 13.1 for pointers. Other alternatives here include the DFU tool, available on the OpenVMS Freeware CD-ROM distribution. If you are setting up a user environment for yourself or for others, it is quite easy to use DCL to intercept the DELETE command, using a symbol: $ DEL*ETE :== @SYS$LOGIN:MYDELETE.COM The DELETE symbol will cause the procedure to be invoked whenever the user enters the DELETE command, and it can copy the file(s) to a "trashcan" subdirectory before issuing a "real" DELETE on the files. Other procedures can retrieve the file(s) from the "trashcan" subdirectory, and can (and should) clean out the "trashcan" as appropriate. (Realize that this DELETE symbol can interfere with DELETE/GLOBAL and other similar DCL commands.) __________________________________________________________ 9.2 Why does SHOW QUOTA give a different answer than DIR/SIZE? DIRECTORY/SIZE doesn't take into account the size of file headers which are charged to your quota. Also, unless you use DIRECTORY/SIZE:ALL, you will see only the "used" size of the file, not the allocated size which is what gets charged against your quota. Also, you may have files in other directories. 9-1 Files $ DIRECTORY/SIZE=ALL/GRAND [username...] Grand total of D1 directories, F1 files, B1/B2 blocks. $ DIRECTORY/SIZZ=ALL/GRAND [-]username.DIR Grand total of 1 directory, 1 file, B3/B4 blocks. $ SHOW QUOTA User [username] has B5 blocks used, B6 available of B7 authorized and permitted overdraft of B8 blocks on disk If the user has no files in other directories and all file-headers are only 1 block, then the following should apply: B5=B2+B4+F1+1 If the diskquota has drifted out of synchronization, then the system-manager can force a quota rebuild-due to various factors, the quota file can potentially drift from the actual use over time, and a periodic rebuild can be performed at appropriate intervals. Also be aware that the DIRECTORY/SIZE command can report larger values than might otherwise be expected when used to evaluate files and/or directories that are alias links-such as the system roots on OpenVMS system disks-as the command reports a total that is cumulative over all of the files and directories examined, without regard for which ones might be alias entries and which are not. (In other words, a DIRECTORY/SIZE of an entire OpenVMS system disk will report a disk useage value larger than the (usually more accurate) value reported by the SHOW DEVICE command. This as a result of the alias entries linking each SYS$SYSDEVICE:[SYSCOMMON]SYS*.DIR directory file and the SYS$SYSDEVICE:[000000]VMS$COMMON.DIR file together.) __________________________________________________________ 9.3 How do I make sure that my data is safely written to disk? If your application must absolutely guarantee that data is available, no matter what, there's really no substitute for RMS Journaling and host- or controller- based shadowing. However, you can achieve a good degree of data integrity by issuing a SYS$FLUSH RMS call at appropriate times (if you're using RMS, that is.) If you're using a high-level language's I/O system, check 9-2 Files that language's documentation to see if you can access the RMS control blocks for the open file. In C you can use fflush followed by fsync. For details on disk bad block handling on MSCP and on SCSI disk devices, please see Ask The Wizard (ATW) topic (6926). o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. __________________________________________________________ 9.4 What are the limits on file specifications and directories? A file specification has an aggregate maximum size of 255 characters at present. The node and device specification may be up to 255 characters each - file name and file types may be up to 39 characters each. File versions are from 1 through 32767, though 0 (latest version), -0 (oldest version) and -n (n'th previous version) can be used in most contexts. A file specification may not have more than 8 directories and subdirectories - while it is possible to create subdirectories of greater depth, accessing them is problematic in most cases and this should be avoided. Application developers should use OpenVMS-supplied routines for parsing file specifications - this ensures that changes in what is allowable will not tend to break your application. Consider that various parts of the file specification may contain quoted strings with embedded spaces and other punctuation! Some routines of interest are SYS$FILESCAN, SYS$PARSE and LIB$TRIM_ FILESPEC. For further information, see the OpenVMS Guide to File Applications. Performance of larger directory files improves (greatly) with OpenVMS V7.2 and later-operations on directory files of 128 blocks and larger were rather slower on earlier OpenVMS releases due to the smaller size of the directory cache and due to the directory I/O processing logic. 9-3 Files For fastest directory deletions, consider a reverse deletion-delete from the last file in the directory to the first. This reversal speeds the deletion operation by avoiding unnecessary directory I/O operations as the files are deleted. Tools such as the Freeware DFU can be used for this purpose, as can various available reverse-DELETE DCL command procedures. __________________________________________________________ 9.5 What is the largest disk volume size OpenVMS can access? One Terabyte (TB; 2**31 blocks of 2**9 bytes; 0x07FFFFFFF blocks). 255 volumes in a volume set. The largest contiguous allocation possible for any particular file is 0x03FFFFFFF blocks. Prior to the release of V6.0, the OpenVMS file system was limited to disk volumes of 8.38 GB (2**24 blocks, 16777216 blocks) or less. On some systems, there are restrictions in the console program that limit the size of the OpenVMS system disk. Note that data disks are not affected by console program limits. For example, all members of the VAXstation 3100 series are limited to a system disk to 1.073 GB or less due to the console, though larger data disks are possible. This limit due to the SCSI drivers used by and built into the console ROM to read the OpenVMS bootstrap files, and these same drivers are also used by OpenVMS to write the system crashump. There are numerous discussions of this VAXstation 3100 in the comp.os.vms newsgroup archives. Please use Google newsgroup search to search the archives for further details, for discussions of the workarounds, and for details of the potential for a simple failed bootstrap and particularly for discussions of the potential for severe system disk corruptions on crashes. Some SCSI disks with capacities larger than 8.58 gigabytes (GB) will require the use of an OpenVMS ECO kit (eg: ALPSCSI04_062 or later; see Section 14.26 for details) for new SCSI device drivers. Failure to use this ECO can cause "rounding errors" on the SCSI disk device capacity-OpenVMS will not use nor display 9-4 Files the full capacity of the drive-and "%sysinit-e-error mounting system device status equals 000008C4" (8C4 -> "%SYSTEM-?-FILESTRUCT, unsupported file structure level") errors during bootstrap. (One workaround for the bootstrap when the bitmap is located far into the disk is the use of INIT/INDEX=BEGIN.) The problem here involves the particular extensions and fields used for larger capacity disks within the SCSI specifications and within the various intepretations of same. For ATA (IDE) disk drives: o Versions of SYS$DQDRIVER *BEFORE* X-15 topped out at 8.455 GB. Fixed drivers (equal or greater than "X-15") were shipped in: o OpenVMS Alpha V7.2-1, and later o V7.2 UPDATE V1.0 ECO, and later o V7.1-2 UPDATE V1.0 ECO, and later o V7.1-2 UPDATE V3.0 ECO, and later o The newer SYS$DQDRIVER driver operates to disks up to 33 GB without (known) problems, and effectively works with rather larger disks (up to circa 137 GB) but is known to report an incorrect number of "cylinders" with disks above 33 GB. See Section 14.4.4.2 for additional ATA SYS$DQDRIVER information. Be aware that a known restriction in certain older versions of the Alpha SRM Console prevents booting most ATA (IDE) drives larger than 8.455 GB, depending on exactly where the various files are located on the volume. Updated SRM consoles for systems with SRM and ATA (IDE) drive support are (will be) available. (OpenVMS Engineering has successfully bootstrapped 20GB ATA (IDE) disks using the appropriate SRM console version.) 9-5 Files NOTE: All ATA-related disk sizes listed in this section are stated in units of "disk (base ten) gigabytes" (1 GB = 10^9 bytes) and NOT in units of "software (base two) gigabytes" (1 GB = 2^30 (1073741824.) bytes. See Section 14.26. Be aware that larger disks that are using an extension of SCSI-2- disks that are using a mode page field that the SCSI-2 specifications normally reserved for tape devices-to permit a larger disk volume size will require a SCSI driver update for OpenVMS, and this change is part of V7.1-2 and later, and also part of ALPSCSI07_062 and later. (These larger disks disks will typically report a DRVERR, or will see the volume size "rounded down".) SCSI disks larger than 16777216 blocks cira 8.455 GB (base ten); 8GB (base two) require this ECO, or require the use of OpenVMS Alpha V7.1-2 or later. Applications written in C can be limited to file sizes of two gigabytes and less, as a result of the use of longword values within C file operations, and specifically off_t. This restriction is lifted in OpenVMS V7.3-1 and later, and with the application of the C ECO kits available for specific earlier releases. The use of a longword for off_t restricts applications using native C I/O to file sizes of two gigabytes or less, or these applications must use native RMS or XQP calls for specific operations. Also see Section 14.14, Section 14.26. __________________________________________________________ 9.6 What is the maximum file size, and the RMS record size limit? RMS can store individual files of a size up to the maximum supported volume size. Under OpenVMS V6.0 and later, the volume size and the RMS maximum file size limit is 2**31 * 512 bytes-one terabyte (1 TB). "Use a volume set to provide a large, homogeneous public file space. You must use a volume set to create files that are larger than a single physical disk volume. (The file system attempts to balance the load 9-6 Files on the volume sets, for example, by creating new files on the volume that is the least full at the time.)" "You can add volumes to an existing volume set at any time. The maximum number of volumes in a volume set is 255." The RMS formats-sequential, relative, and indexed- are limited by the one terabyte maximum volume size. RMS relative files are further limited to a number of records that will fit in 32 bits-4 billion records. Sequential and indexed formats do not have a record limit. Also see Section 2.16.1, Section 14.26. __________________________________________________________ 9.7 How do I write CD-Recordable or DVD media on OpenVMS? How to create CD-R, CD-RW, DVD-R, DVD+R, DVD-RW, or DVD+RW media on OpenVMS? o Acquire a comparatively recent SCSI-based or ATA (IDE) CD-R or DVD-R/RW or DVD+R/RW drive. Older drives can be problematic, while newer drives are readily available, cheap and very fast. o Get LDDRIVER from the Freeware. Versions of LDDRIVER are latent in OpenVMS Alpha V7.3-1 and later. (Look within SYS$MANAGER:CDRECORD.COM for details.) o Get CDRECORD or CDWRITE or other similar recording tool. CDRECORD (part of CDRTOOLS), CDWRITE, and DVDRECORD (part of DVDRTOOLS) packages (DVDRECORD is a fork of CDRECORD) are freely available, and versions of CDRECORD are available on the Freeware V6.0 distribution. (http://www.hp.com/go/openvms/freeware/) Versions of CDRECORD (non-DVD) are latent in OpenVMS Alpha V7.3-1 and later. Commercial versions of CDDRECORD-with DVD capabilities-are also available for various platforms, and particularly a variant of CDRECORD known as CDRECORD-ProDVD. 9-7 Files Beware the tool chosen: some versions and configurations of CDRECORD can record DVD media, as can the DVDRECORD package, as can the commercial DVDwrite package. Many versions of CDRECORD cannot record DVD media, including the version of CDRECORD latent within OpenVMS and the version found on Freeware V6.0; these versions cannot record DVD media. o Build the contents of the disk on the LD device partition. o Use the chosen recording tool to record the contents of the LD partition directly onto the CD-R or CD-RW media. Alternatively, consider the following command on OpenVMS Alpha V7.3-1 and later: @SYS$MANAGER:CDRECORD.COM HELP While folks have had success getting PC-based CD-R/RW or DVD-R/RW or DVD+R/RW tools to work with OpenVMS partitions, it is far easier and more reliable to use the OpenVMS-based versions of these tools and directly- attached devices. More details: Creation of CD recordable or DVD recordable media under OpenVMS typically involves one of two approaches: the use of the optional CD-R (`Scribe') capabilities available for the InfoServer or other "offline" hardware packages (PC-based packages will be included in this), or the use of a host- based package such as the CDRECORD or CDWRITE13_VMS or other utilities, OpenVMS ports of common open- source tools made available by Dr. Eberhard Heuser- Hofmann and others. Dr. Heuser-Hofmann has DVDwrite , a commercial package which can record DVD media. (http://home.tiscali.de/dvd4openvms) OpenVMS can read ODS-2, ODS-5, and ISO-9960 format CD-ROMs. (If you are very careful, you can create a dual-format CD-R; a CD-R with both ODS-2 and ISO-9660 or both ODS-5 and ISO-9660 or both.) 9-8 Files InfoServer hardware configurations are no longer available from HP, but may potentially be acquired through other means; as used equipment. Packages related to the use of DVD archiving are also available, see the multi-volume capabilities of the DVDarchive/restore Freeware. http://www.geocities.com/SiliconValley/Lakes/9999/vmscdwri.html Additional information is available at the following sites: o http://www.djesys.com/vms/cdrom.html o http://www.cd-info.com/CDIC/Technology/CD-R/vms.html o http://www.faqs.org/faqs/cdrom/cd- recordable/part1/preamble.html o http://www.tmesis.com/CDrom/ o http://www.tditx.com/~odsiso/ U.S. Design offers a package that includes the tools necessary to create a CD or DVD-R with either ISO-9660 or ODS-2 format, for standalone CD-R/RW, DVD-R, or DVD+R/RW drives, for recent OpenVMS versions. Details are available at: o http://www.usdesign.com/ Also see Section 9.7.2 for details on access to recorded media on older CD-ROM drives. _____________________________ 9.7.1 CD and DVD notation, terminology? CD-ROM is pre-recorded Compact Disk media, and is the original and oldest CD format. The original CD media was physically stamped, a recording process that is now largely reserved to the highest-volume media reproduction requirements. CD-R is CD Recordable, a write-once storage medium that can be read by all but the oldest of CD drives; a format which can be read and often even recorded by most CD-RW drives. 9-9 Files CD-RW is CD ReWritable, a format which is readable by many CD drives and by most CD-R drives, and with media that can be recorded and re-recorded by CD-RW drives. CD media recording speeds are listed as multiples of 150 kilobytes per second, so a 10X drive records at 1500 kilobytes (1.5 megabytes) per second. 600 MB (70 minutes) and 700 MB (80 minutes) recording capacities are both widely available. The minutes designation is derived from the traditional audio-format recording capacity of the particular media. DVD-R/RW is the older of two common Digital Versatile Disk recording formats, and the DVD-R Recordable or DVD-RW ReWritable media can be read by many DVD drives. As with CD-R formats in older CD drives, older DVD and particularly first-generation DVD players may have problems reading this media format. DVD+R/RW is the newer of the two common Digital Versatile Disk recording formats, and the DVD+R Recordable or DVD+RW ReWritable media can be read by many DVD drives. Akin to DVD-R/RW media, older and particularly first-generation DVD drives can have problems reading this media format. The DVD Plus-series drives and media tend to record faster than Minus drives, as (as of this writing) the Plus (+) drives do not require an initial media formatting pass and the Minus (-) drives do. While the appropriate Plus (+) or Minus (-) DVD raw media must be chosen for the particular DVD recorder (and DVD recording drives that are compatible with and capable of using both Plus and Minus media are available), the resulting recorded media is generally readable (playable) in all recent DVD drives and DVD players, regardless of type. (Compatibility is best within the same media-series devices of course, but be certain to verify compatibility across devices regardless of the particular device or particular recording media chosen.) 9-10 Files Presently Plus (+) media is slightly more expensive than Minus (-), but with the prices of all CD and all DVD media continuing to consistently fall, the differences in DVD media costs are becoming irrelevent for all but the production of huge volumes of DVD media. The rated DVD recording speeds are in multiples of 1353 kilobytes per second, thus a DVD 1X drive is roughly equivalent to a CD 9X drive in I/O requirements and transfer speed. DVD drive recording speed can and does vary. DVD disk drive recording speed is limited by the rated recording speed of the media used, so the slower (and cheaper) DVD media will not record any more quickly in a faster drive. A 2.4X DVD drive loaded with 1X media will record at 1X. _____________________________ 9.7.2 Use of RRD42 and other older (embossed-media) CD drives? The RRD42 series SCSI CD-ROM drive is sufficiently old that it can have problems processing CD-R and CD-RW media. Other very old CD drives can have equivalent media compatibility problems when attempting to read (much) newer CD media and newer CD media technologies. These older CD drives are generally intended for use with the so-called embossed media, rather than with non-embossed recorded (recordable) media now in common circulation. Please consider using a slightly-less-ancient CD-ROM or CD-R or CD-RW drive when working with non-embossed recorded CD media. To paraphrase one knowledgable-though deliberately nameless-storage engineer, "The RRD42 drive is just past the drooling idiot stage". 9-11 Files __________________________________________________________ 9.8 What I/O transfer size limits exist in OpenVMS? The maximum transfer size is an attribute of the particular I/O device, controller and driver combination; there is no inherent limit imposed by OpenVMS (other than the fact that, today, byte counts and LBNs are generally limited to 32 bits). The maximum size of a device I/O request is limited by the value in UCB$L_MAXBCNT, which is set by the device driver based on various factors. (Also check the setting of the MAXBUF system parameter for buffered I/O transfers, and check the process quotas.) Currently, SCSI drivers limit I/O transfers to FE00(16) bytes, 65024 bytes (decimal). The reasons for this transfer size limitation are largely historical. Similarly, DSSI devices are limited to the same value, this for hardware-specific reasons. Transfers to HSC and HSJ device controllers via the CI are limited to 1,048,576 bytes. Client MSCP-served devices are limited to 65535 bytes-to help ensure that the I/O fragmentation processing happens on the client and not on the server system. Parts of the OpenVMS I/O subsystem are optimized for data transfers less than 64KB, because (obviously) most I/O operations are (substantially) less than that. OpenVMS can handle larger transfers, if the driver and the device can handle it. Also see Section 9.4, Section 9.5. __________________________________________________________ 9.9 Can I use ODBC to connect to OpenVMS database files? Yes, you can use various available third-party packages that permit remote ODBC clients to access RMS files and various commercial databases via the network. For RMS, consider acquiring one of the packages available from EasySoft, Attunity Connect (formerly known as ISG Navigator), Oracle (DB Integrator), SolutionsIQ, and Synergex. 9-12 Files For specific commercial databases (other than RMS, of course), contact the database vendor directly for assistance. __________________________________________________________ 9.10 If my disks are shown as VIOC Compatible, am I using XFC? Yes, you are using XFC caching. Disks that are using XFC caching use communication and coordination protocols that are compatible with the older VIOC caching implementation. With the initial implementation of XFC on OpenVMS, you can use the command SHOW MEMORY/CACHE to see no disks reported in full XFC mode; all disks shown will be listed in "VIOC Compatable Mode". If you have the OpenVMS system parameter VCC_FLAGS set to 2 and are using OpenVMS Alpha V7.3-1 or later, or are using OpenVMS Alpha V7.3 with the VMS73_XFC V2.0 ECO kit or later or with the UPDATE kits, you are using XFC. Another confusion: the XFC product version is and remains V1.0 in all released configurations, please do not confuse the internal XFC product version (displayed by various commands) with the version number associated with the various ECO kit(s). XFC V1.0 does not permit volumes to enter full XFC caching, as displayed by the "Vols in Full XFC mode" portion of the DCL command SHOW MEMORY/CACHE output. 9-13 _______________________________________________________ 10 OpenVMS Programming Information __________________________________________________________ 10.1 Modular Programming, Facility Prefixes and Symbol Naming? Please first review the OpenVMS Programming Concepts Manual and the Guide to Modular Programming manuals. Both are available within the OpenVMS documentation set, and provide details of the expected norms for OpenVMS programs. o Learn about the facility prefix, and use a the appropriate prefix uniformly throughout all external symbols, all logical names, and all files located in shared directories. The prefix and the use of the dollar sign (<$>) and the underscore (<_>) help avoid collisions with other products. Use of the dollar sign is reserved to registered products. o Please consider use of tools such as the Freeware SDL package, and the GNM package. These permit you to generate include files and message documentation akin to that of OpenVMS, providing users of your product with a familiar environment. o For product installations, consider use of the PCSI installation utility, and provide a product-specific configuration DCL command procedure (usually SYS$MANAGER:prefix$CONFIG.COM) if configuration is required. o The product startup file is usually named SYS$STARTUP:prefix$STARTUP.COM, and the shutdown file (if needed) is usually SYS$STARTUP:prefix$SHUTDOWN.COM. OpenVMS provides a registry for facility prefixes and for MESSAGE message compiler codes. To request a prefix and a message facility code for a product you are reselling, send your request in a mail message addressed to product[-at-sign-]hylndr.sqp.zko.dec.com, 10-1 OpenVMS Programming Information requesting the submission form and details of the registration process. Note Please do not request facility prefixes for products that local to your business, your site, or your system. Facility prefixes and message codes and the facility registration process are intended solely for HP products and Partner Products (and yes, even OpenVMS Freeware packages) that will be distributed across multiple OpenVMS customer sites. For a list of common coding bugs, please see the remainder of this section of the FAQ and specifically Section 10.22, please also see the Ask The Wizard topic (1661), and for information on debugging an OpenVMS application, please see topic (7552). o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. __________________________________________________________ 10.2 Can I have a source code example of calling...? Please use the available SEARCH command on OpenVMS, and please remember to search the available resources, including the support databases and the newsgroup archives. Please also realize that most OpenVMS system services use similar calling sequences, meaning that an example of calling sys$getjpi can be used as an example for sys$getsyi and sys$getdvi. Students: please do not expect folks to write your homework for you. As for search resources: o SEARCH SYS$EXAMPLES:*.* target o SEARCH TCPIP$EXAMPLES:*.* target o http://askq.compaq.com/ o http://www.openvms.compaq.com/freeware/ o http://www.google.com/ 10-2 OpenVMS Programming Information OpenVMS programming documentation, including the numerous example programs found in recent versions of the OpenVMS Programming Concepts manual, is available: o http://www.openvms.compaq.com/doc/ o http://www.openvms.compaq.com/commercial/ As for details of argument passing, most OpenVMS system services and RTL routines pass string arguments by descriptor. Languages which support native string data types create descriptors automatically; those which do not (eg., C) require that you set them up explicitly. For further details on using descriptors and particularly for using descriptors from C, please see Section 10.13. There is extensive information available on how to call OpenVMS system services and OpenVMS Run-Time Library routines, including examples in numerous languages. Among the best available references are: o Your language's User Manual o OpenVMS Programming Environment Manual o OpenVMS Programming Concepts Manual o OpenVMS Programming Interfaces: Calling a System Routine o OpenVMS Calling Standard In addition, if you are a subscriber to the HP Software Information Network (available to those with a software support contract), the support database contains hundreds of worked examples of calling system services and RTL routines, including the one that seems to trip up almost everyone, SMG$CREATE_MENU. Arne Vajhøj has put together a collection of OpenVMS example programs. It can be found at: o ftp://ftp.hhs.dk/pub/vms/ 10-3 OpenVMS Programming Information Additional information and examples for OpenVMS are available via: o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. and via: o http://www.openvms.compaq.com/freeware/ __________________________________________________________ 10.3 How do I get the arguments from the command line? If you're writing a program and want to accept arguments from a foreign command, you can use LIB$GET_ FOREIGN to get the command line and parse it yourself, or if you're programming in C, use the normal argc/argv method. To write an application which uses the normal DCL verb/qualifier/parameter syntax for invocation, see the description of the CLI$ routines in the OpenVMS Callable Utility Routines Reference Manual. It is possible to write an application which can be used both ways; if a DCL verb isn't used to invoke the image, the application parses the command line itself. One way to do this is to call CLI$GET_VALUE for a required parameter. If it is not present (or you get an error), call LIB$GET_FOREIGN to get the command line and do the manual parse. See also Section 8.1. __________________________________________________________ 10.4 How do I get a formatted error message in a variable? Use the SYS$PUTMSG system service with an action routine that stores the message line(s) in the variable of your choice. Be sure the action routine returns a "false" (low bit clear) function value so that SYS$PUTMSG doesn't then try to display the message (unless you want it to.) See the description of $PUTMSG in the System Services Reference Manual for an example of using an action routine. 10-4 OpenVMS Programming Information __________________________________________________________ 10.5 How do I link against SYS$SYSTEM:SYS.STB on an Alpha system? LINK/SYSEXE is the OpenVMS Alpha equivalent of linking against SYS.STB. This links against the base image: SYS$BASE_IMAGE.EXE Also see Section 10.11, particularly for pointers to the details on shareable images and shareable image creation. __________________________________________________________ 10.6 How do I do a SET DEFAULT from inside a program? The problem is that SYS$SETDDIR only changes the default directory - NOT the default disk. The default disk is determined by the logical SYS$DISK. If you want to change the default disk within a program, then call LIB$SET_LOGICAL to change the logical SYS$DISK. You will need to call both LIB$SET_LOGICAL and SYS$SETDDIR to change both default disk and the default directory! __________________________________________________________ 10.7 How do I turn my Fortran COMMON into a shareable image on Alpha? You need to add SYMBOL_VECTOR=(=PSECT) to your options file. On OpenVMS VAX all OVR/REL/GBL psects were automatically exported into the shareable image's Global Symbol Table. On OpenVMS Alpha you have to tell the linker that you want this done by means of the PSECT keyword in the SYMBOL_VECTOR options file statement. This has several advantages over OpenVMS VAX. First, you don't have to worry about the address of the psect when you try to create a new, upwardly compatible version of the shareable image. Second, you can control which psects, if any, are made visible outside the shareable image. By default, COMMON PSECTs in HP Fortran for OpenVMS Alpha (as well as most other OpenVMS Alpha compilers) are NOSHR. On VAX, the default was SHR which required you to change the attribute to NOSHR if you wanted 10-5 OpenVMS Programming Information your COMMON to be in a shareable image but not write- shared by all processes on the system. If you do want write-sharing, use: CDEC$ PSECT common-name=SHR in the Fortran source code (the CDEC$ must be begin in column 1) or a linker options file PSECT_ATTR statement to set the COMMON PSECT attribute to SHR. For further information, see the Linker manual. __________________________________________________________ 10.8 How do I convert between IEEE and VAX floating data? In OpenVMS V6.1 and later, the routine CVT$CONVERT_ FLOAT is documented in the LIB$ Run-Time Library Reference Manual, and can perform floating point conversions between any two of the following floating datatypes: VAX (F,D,G,H), little-endian IEEE (single, double, quad), big-endian IEEE (single, double, quad), CRAY and IBM System\370, etc. HP Fortran (all OpenVMS platforms) has a feature which will perform automatic conversion of unformatted data during input or output. See the HP Fortran documentation for information on "non-native data in I/O" and the CONVERT= OPEN statement keyword. There are floating-point conversion source code packages available for various platforms. For further floating-point related information, see: o http://www.hhs.dk/anonymous/pub/vms/collection/ieee.zip __________________________________________________________ 10.9 How do I get the argument count in a Fortran routine? On VAX, many programmers would use a MACRO routine which accessed the AP register of the caller to get the address of the argument list and hence the argument count. This was not guaranteed to work on VAX, but usually did. However, it doesn't work at all on OpenVMS Alpha, as there is no AP register. On Alpha systems, you must use a language's built-in function to retrieve the argument count, if any. In Fortran this is 10-6 OpenVMS Programming Information IARGCOUNT, which is also available in DEC Fortran on OpenVMS VAX. Note that omitting arguments to Fortran routines is non-standard and is unsupported. It will work in many cases - read the DEC Fortran release notes for additional information. __________________________________________________________ 10.10 How do I get a unique system ID for licensing purposes? Many software developers desire to use a unique hardware ID to "lock" a given copy of their product to a specific system. Most VAX and Alpha systems do not have a unique hardware-set "system ID" that can be used for this purpose. HP OpenVMS products do not use hardware IDs in the licensing methods, as many users consider a hardware-based licensing scheme to be negative attribute when considering software purchases. HP OpenVMS uses a software-based system called the License Management Facility (LMF). This provides for software keys (Product Authorization Keys or PAKS) which support capacity and user-based license checking. HP offers an LMF PAK Generator to CSA members-see Section 2.12. For information on licensing, please see Section 12.5. However, if a hardware-based method is required, the most common method is based on an Ethernet adaptor hardware address. Sample source code for implementing this is available at: o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. 10-7 OpenVMS Programming Information __________________________________________________________ 10.11 What is an executable, shareable, system or UWSS image? Executable code in OpenVMS typically resides in an image-an image is a file-the file extension is typically .EXE-that contains this code. Common types of images include executable images, shareable images, system images, and protected (UWSS) images. Executable images are programs that can be directly executed. These images can grant enhanced privileges, with an INSTALL of the image with /PRIVILEGE, or can grant enhanced access with the specification of a subsystem identifier on the ACL associated with the image. Shareable images contain code executed indirectly, these images are referenced from executable images and/or from other shareable images. These images can not grant enhanced privileges, even with the use of INSTALL with /PRIVILEGE or a subsystem identifier. These shareable images can be dynamically activated (a LINK that occurs at run-time) via the LIB$FIND_ IMAGE_SYMBOL run-time library (RTL) routine. (See `protected images' for information on `privileged shareable images'.) System images are intended to run directly on the VAX or Alpha hardware-these are normally used for the kernel code that comprises an operating system. Protected images-also refered to as User-Written System Services (UWSS), or as privileged shareable images-are similiar in some ways to a standard shareable images, but these images include a `change mode' handler, and execute in an `inner' processor mode (privileged mode; executive or kernel), and code executing in inner modes has implicit SETPRV privilege. Must be INSTALLed with /PROTECT. Note that inner-mode code has restrictions around calling library routines, around calling various system services, and around calling code located in other protected or shareable images. 10-8 OpenVMS Programming Information Loadable images and device drivers are images that can be used to add code into the OpenVMS kernel. Pseudo- device drivers are a particularly convenient way to add executable code, with associated driver-defined data structures, into the kernel. The pseudo-device driver includes the UCB and DDB data structures, and a calling interface with support for both privileged and unprivileged access to the driver code via sys$qio[w] calls. A cookbook approach to creating OpenVMS shareable images is available at the URL: o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. __________________________________________________________ 10.12 How do I do a file copy from a program? There are several options available for copying files from within a program. Obvious choices include using lib$spawn(), system(), sys$sndjbc() or sys$creprc() to invoke a DCL COPY command. Other common alternatives include using the callable convert routines and the BACKUP application programming interface (V7.1 and later). __________________________________________________________ 10.13 What is a descriptor? A descriptor is a data structure that describes a string or an array. Each descriptor contains information that describes the type of the data being referenced, the size of the data, and the address of the data. It also includes a description of the storage used for the data, typically static or dynamic. Descriptors are passed by reference. The following are examples of creating and using descriptors in C, with the use of the angle brackets normally expected by the C include statements deliberately altered in deference to HTML: 10-9 OpenVMS Programming Information #include {descrip.h} #include {lib$routines.h} #include {stsdef.h} int RetStat; char TxtBuf[TXTSIZ] struct dsc$descriptor StaticDsc = { 0, DSC$K_DTYPE_T, DSC$K_CLASS_S, NULL }; struct dsc$descriptor DynDsc = { 0, DSC$K_DTYPE_T, DSC$K_CLASS_D, NULL }; int DynDscLen = 255; $DESCRIPTOR( ConstDsc, "This is a string" ); /* finish setting up a static descriptor */ StaticDsc.dsc$w_length = TXTSIZ; StaticDsc.dsc$a_pointer = (void *) TxtBuf; /* finish setting up a dynamic descriptor */ RetStat = lib$sget1_dd( &DynDscLen, &DynDsc ); if ( !$VMS_STATUS_SUCCESS( RetStat ) ) return RetStat; /* release the dynamic storage */ RetStat = lib$sfree1_dd( &DynDsc ); if (!$VMS_STATUS_SUCCESS( RetStat )) return RetStat; Static descriptors reference storage entirely under application program control, and the contents of the descriptor data structure can be modified as required (by the application). OpenVMS routines do not modify the contents of a static descriptor, nor do they alter the address or length values stored in the static descriptor. (The term "static" refers to the descriptor data structure, and not necessarily to the storage referenced by the descriptor.) Dynamic descriptors reference storage under the control of the run-time library, and the contents of a dynamic descriptor data structure-once initialized- can only be modified under control of run-time library routines. The dynamic storage referenced by the dynamic descriptor is allocated and maintained by the run-time library routines. Various OpenVMS routines do alter the contents of the descriptor data structure, changing the value for the amount and the address of the storage 10-10 OpenVMS Programming Information associated with the dynamic descriptor, as required. Routines can obviously access and alter the contents of the storage referenced by the descriptor. OpenVMS languages that include support for strings or arrays are expected to use descriptors for the particular structure. Most OpenVMS languages, such as Fortran and BASIC, use descriptors entirely transparently. Some, like DEC C, require the programmer to explicitly create and maintain the descriptor. For further information on string descriptors, see the OpenVMS Programming Concepts manual, part of the OpenVMS documentation set. Fortran defaults to passing integers by reference and characters by descriptor. The following sites discuss mixing Fortran and C source code in the same application: o http://www.hhs.dk/anonymous/pub/vms/misc/FORTRAN_C_ CALL.COM o ftp://ftp.hhs.dk/pub/vms/misc/FORTRAN_C_CALL.COM __________________________________________________________ 10.14 How do I create a process under another username? Many server processes can operate within the context of the target user using privileges, using calls such as sys$chkpro and (more commonly in this context) sys$check_access as needed to determine if access would be permitted for the specified user within the current security model. With OpenVMS V6.2 and later, the persona system services (SYS$PERSONA_*) can be used to assume the persona of the specified user-these allow the server to operate as the specified user, in a controlled fashion. The persona services can be used as a "wrapper" around a sys$creprc process creation call, as well-this will create a seperate process entirely under the assumed persona. 10-11 OpenVMS Programming Information Information on the persona system services is included in the OpenVMS V6.2 new features documentation, and in the OpenVMS V7.1 and later system services documentation. These system services exist and are supported in OpenVMS V6.2 and later releases. Typical mechanisms for creating a process under another username include: o personna services around a sys$creprc call. See above. o via DECnet task-to-task, using explicit specification of username and password, or using a DECnet proxy. This creates a network-mode job under the target user. The network-mode job might do little more than a RUN/DETACH of an image passed in via task-to-task-task-to-task communications are fully available using strictly DCL-to-DCL processing, or using a compiled language and DCL, etc.) o SUBMIT/USER, or the username argument on the sys$sndjbc call. This creates a batch-mode job under the specified username. The batch-mode job might do little more than a RUN/DETACH of an image passed in via a parameter. o the UIC argument on the sys$creprc call. This mimics the UIC of the target user, and is certainly not the prefered mechanism for this task. o Via pseudo-terminals... There are likely a few other mechanisms around... There are various tools available from DECUS and other sources that allow various forms of user impersonation, as well. These tools will require version-dependent kernel code and enhanced privileges for some of (or all of) their operations. 10-12 OpenVMS Programming Information __________________________________________________________ 10.15 Why do lib$spawn, lib$set_symbol fail in detached processes? The processing within run-time library (RTL) calls such as lib$attach, lib$disable_ctrl, lib$do_command, lib$enable_ctrl, lib$get_symbol, lib$run_program, lib$set_symbol, lib$set_logical, and lib$spawn, is dependent on and requires the presence of a command language interpreter (CLI), such as DCL. Without a CLI present in the current process, these calls will fail with a "NOCLI, no CLI present to perform function" error. Detached processes typically do not have a CLI present. In place of lib$spawn, sys$creprc can often be used. The context of the parent process (symbols and logical names) will not be propogated into the subprocess when sys$creprc is used, though when there is no CLI present in the process this (lack of) propogation is moot. To create a detached process with a CLI, you must specify LOGINOUT as the target image as discussed elsewhere in the FAQ, or only use these calls (and any other calls requiring a CLI) from images that are running in an "interactive", "batch", or "other" mode process. Also note that the lib$spawn and the C system call will fail in a CAPTIVE login environment. The lib$spawn call can be gotten to work in this environment with the specification of the TRUSTED flag. __________________________________________________________ 10.16 Where can I obtain Bliss, and the libraries and supporting files? The Bliss language compilers and documentation are available on the OpenVMS Freeware distributions. Bliss language source code that contains the following statement: LIBRARY 'SYS$LIBRARY:STARLET.L32'; 10-13 OpenVMS Programming Information or similar requires the presence of the Bliss libraries. These libraries are created on the target system using the Bliss require files, and are built using the following Bliss commands: STARLET.L32 contains the public interfaces to OpenVMS: $ BLISS /LIBRARY=SYS$COMMON:[SYSLIB]STARLET.L32 - SYS$LIBRARY:STARLET.REQ LIB.L32 contains both the public and private interfaces to OpenVMS: $ BLISS /LIBRARY=SYS$COMMON:[SYSLIB]LIB.L32 - SYS$LIBRARY:LIB.REQ+SYS$LIBRARY:STARLET.REQ The equivilent files for Bliss64 are created with: $ BLISS/A64/LIBRARY=SYS$COMMON:[SYSLIB]LIB.L64 - SYS$LIBRARY:LIB.R64+STARLET.REQ+STARLET.R64 $ BLISS/A64/LIBRARY=SYS$COMMON:[SYSLIB]STARLET.L64 - SYS$LIBRARY:STARLET.R64 Some Bliss code may also require the OpenVMS VAX architecture flags. The following is the equivilent of the Alpha ARCH_DEFS.REQ module: ! ! This is the OpenVMS VAX version of ARCH_DEFS.REQ, and ! contains the architectural definitions for conditionally ! compiling OpenVMS Bliss sources for use on VAX systems. ! (If you should encounter compilation errors here, please ! seriously consider upgrading your Bliss compiler.) ! MACRO VAXPAGE = 1%; MACRO BIGPAGE = 0%; ! MACRO VAX = ! = 1 if compiled BLISS/VAX %BLISS(BLISS32V)%; ! = 0 if not compiled BLISS/VAX MACRO EVAX = ! = 1 if compiled BLISS/E* (Obsolete, old name) (%BLISS(BLISS32E) OR %BLISS(BLISS64E))%; ! = 0 if compiled /VAX /Inn MACRO ALPHA = ! = 1 if compiled BLISS/E* (New arch name) (%BLISS(BLISS32E) OR %BLISS(BLISS64E))%; ! = 0 if compiled /VAX /Inn MACRO IA64 = ! = 1 if compiled BLISS/I* (New arch name) (%BLISS(BLISS32I) OR %BLISS(BLISS64I))%; ! = 0 if compiled /VAX or /Ann 10-14 OpenVMS Programming Information MACRO ADDRESSBITS = %BPADDR%; ! = 32 or 64 based on compiler used Some Bliss code may require the definition files for the OpenVMS older LIBRTL routine lib$tparse, or the newer lib$table_parse call: $ BLISS /LIBRARY=SYS$COMMON:[SYSLIB]TPAMAC.L32 - SYS$LIBRARY:TPAMAC.REQ __________________________________________________________ 10.17 How can I open a file for shared access? When creating a file, it is often useful to allow other applications and utilities-such as TYPE-to share read access to the file. This permits you to examine the contents of a log file, for instance. A C source example that demonstrates how to do this is available in topic (2867) in the OpenVMS Ask The Wizard area: o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. Depending on the environment, you may need to use C calls such as fsync and fflush, and-in specific cases- the setvbuf(_IONBF) call. __________________________________________________________ 10.18 How can I have common sources for messages, constants? Use the GNM tools on the OpenVMS Freeware to have common sources for MSG (message) files and SDML (Document) documentation files. Use the DOCUMENT command to convert the SDML documentation into the necessary formats (Text, Postscript, HTML, etc). Use the MESSAGE/SDL tool (latent in OpenVMS) to create an SDL file based on the messages. Then use the SDL tool (available on the OpenVMS Freeware) to convert the SDL file into language-specific definitions. (There is also a converter around to convert SDL into SDML, if you want to get pictures of the data structures for your documentation.) 10-15 OpenVMS Programming Information __________________________________________________________ 10.19 How do I activate the OpenVMS Debugger from an application? #include {lib$routines.h} #include {ssdef.h} #include {string.h} main() { char ascic_debug_commands[128]; char *dbgcmd = "*show calls;go;exit"; strcpy( ascic_debug_commands, dbgcmd ); ascic_debug_commands[0] = (char) strlen( dbgcmd ) - 1; lib$signal(SS$_DEBUG,1,ascic_debug_commands); return 1; } __________________________________________________________ 10.20 Dealing with Endian-ness? OpenVMS on VAX, OpenVMS on Alpha and OpenVMS on Intel IA-64 platforms (as well as all Microsoft Windows implementations and platforms) all support and all use the little-endian byte ordering. Certain Alpha microprocessors and certain Intel Itanium processors can be configured to operate in big-endian and potentially in bi-endian mode. HP-UX typically operates big-endian. With little-endian byte order, the least significant byte is always the first byte; the byte at the lowest address. With big-endian byte ordering, the byte storage order in memory is dependent on the size of the data (byte, word, longword) that is being referenced. Endian-ness is a problem has been solved many times before. Some of the typical solutions include htonl/htons and ntohl/ntohs in the standard C library and the TCP/IP Services XDR (eXternal Data Representation) libraries. One of the more recently introduced network formats, and one that is seeing extensive press and marketing coverage, is XML. 10-16 OpenVMS Programming Information __________________________________________________________ 10.21 How to resolve LINK-I-DATMISCH errors? The message LINK-I-DATMISCH is informational, and indicates that the version of the specified shareable image found in the system shareable image directory does not match the version of the shareable image that was originally loaded into IMAGELIB.OLB, one of the OpenVMS libraries typically searched by the LINKER. From a privileged username, you can usually completely repair this via the following DCL command: $ LIB/REPLACE/SHARE SYS$LIBRARY:IMAGELIB.OLB SYS$SHARE:LIBRTL.EXE This command assumes that the shareable image that was found in the SYS$SHARE: area is valid and upward- compatiable, and that the image has simply replaced an older version without also updating IMAGELIB. __________________________________________________________ 10.22 Compaq C and other OpenVMS C Programming Considerations? VAX C V3.2 was released for OpenVMS VAX systems in 1991. DEC C V4.0 replaced VAX C V3.2 in 1993 as the HP C compiler for OpenVMS VAX systems. HP C is the ANSI C compiler for OpenVMS Alpha systems. VAX C predates the ANSI C standards, and has various areas that are not compliant with ANSI C requirements. HP C is an ANSI C compiler, and can also compile most VAX C code when /STANDARD=VAXC is specified. Versions of this compiler between V3.2 and V6.5 (exclusive) were known as DEC C, DIGITAL C, and Compaq C. Both compilers can be installed at the same time on the same OpenVMS VAX system, allowing a migration from VAX C to DEC C, and allowing the same DEC C code to be used on OpenVMS VAX and OpenVMS Alpha. The system manager can choose the system default C compiler when HP C is installed on a system with VAX C, and a C programmer can explicitly select the required compiler for a any particular compilation. A current "C" license PAK allows access to both VAX C and HP C on the same OpenVMS VAX system. 10-17 OpenVMS Programming Information Various HP C versions can be installed on OpenVMS VAX V5.5-2 and later. OpenVMS VAX releases such as V5.5-2 and V6.0 will require the installation of a HP C RTL kit, a kit that is included with the HP C compiler. OpenVMS VAX versions V6.1 and later do not require a seperate RTL kit, but HP C RTL ECO kits are available to resolve problems found with the C RTL on various OpenVMS releases. With HP C, for automatic resolution of the standard C library routines by the LINKER utility, use the /PREFIX qualifier, such as /PREFIX=ALL_ENTRIES. If a particular application program replaces an existing C library routine, use /PREFIX=(ALL_ENTRIES,EXCEPT=(...)). (VAX C required explicit specification of an RTL shareable image or C object library during the link.) When the /PREFIX is requested, the compiler generates a "decc$" prefix on the specified symbols. This prefix allows the LINKER to resolve the external symbols against the symbols present in the DECC$SHR library. The DECC$SHR library is included in the IMAGELIB.OLB shareable image library, and IMAGELIB is searched by default when any program (written in any language) is LINKed. Because the standard C library routine names are very likely to match application routines written in other languages, a prefix "decc$" is added to the C symbol names to assure their uniqueness; to prevent symbol naming conflicts. C programs, however, can sometimes have private libraries for various purposes, and the external routines share the same names as the library routines. (This is not recommended, but there are applications around that use this technique.) Thus the need to explicity specify whether or not the "decc$" prefix should be prepended to the external symbol names by the compiler. The qualifiers, and most (all?) with associated pragmas, that may be of interest when migrating VAX C code to HP C include: o /PREFIX=ALL_ENTRIES 10-18 OpenVMS Programming Information As mentioned above. Failure to specificy this qualifier can cause the compiler to not add the prefixes for the names of the C library routines into the references placed in the object module, which can in turn cause problems resolving the external symbols in the library when the object code is linked. o /ASSUME=WRITABLE_STRING_LITERALS Some VAX C programs erroneously write to the string literals. By default, HP C does not allow the constants to change. o /SHARE_GLOBALS Enables sharing ("shr") of globals and of extern variables. HP C sets externs as non-shareable ("noshr"), VAX C as "shr". o /EXTERN_MODE=COMMON_BLOCK VAX C assumes common block model for external linkages. o /[NO]MEMBER_ALIGNMENT Refers to the padding placed between member elements within a struct. Disabling member alignment packs the data more tightly into memory, but this packaging has performance implications, both on OpenVMS VAX and particularly on OpenVMS Alpha systems. Permit structure members to be naturally aligned whenever possible, and avoid using /NOMEMBER_ ALIGNMENT. If you need to disable member alignment, use the equivilent #pragma to designate the specific structures. The alignment of structure members normally only comes into play with specific unaligned data structures-such as the sys$creprc quota itemlist- and with data structures that are using data that was organized by a system using byte or other non-member alignment. 10-19 OpenVMS Programming Information Versions of HP C such as V6.0 include the capability to extract the contents of the standard header libraries into directories such as SYS$SYSROOT:[DECC$LIB...], and provide various logical names that can be defined to control library searches. With HP C versions such as V6.0, the default operations of the compiler match the expectations of most OpenVMS programmers, without requiring any definitions of site-specific library- related logical names. (And logical names left from older DEC C versions can sometimes cause the compiler troubles locating header files.) HP C V5.6 and later include a backport library, a mechanism by which HP C running on older OpenVMS releases can gain access to newer RTL routines added to the RTL in later OpenVMS releases-the language RTLs ship with OpenVMS itself, and not with the compilers. Example C code is available in SYS$EXAMPLES:, in DECW$EXAMPLES (when the DECwindows examples are installed), in TCPIP$SERVICES (or on older releases, UCX$EXAMPLES) when HP TCP/IP Services is installed), on the Freeware CD-ROMs, and at web sites such as o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. _____________________________ 10.22.1 Other common C issues The localtime() function and various other functions maintain the number of years since 1900 in the "struct tm" structure member tm_year. This field will contain a value of 100 in the year 2000, 101 for 2001, etc., and the yearly incrementation of this field is expected to continue. The C epoch typically uses a longword (known as time_ t) to contain the number of seconds since midnight on 1-Jan-1970. At the current rate of consumption of seconds, this longword is expected to overflow (when interpreted as a signed longword) circa 03:14:07 on 10-20 OpenVMS Programming Information 19-Jan-2038 (GMT), as this time is circa 0x7FFFFFFF seconds since the C base date. (The most common solution is to ensure that time_t is an unsigned.) If C does not correctly handle the display of the local system time, then check the UTC configuration on OpenVMS-the most common symptom of this is a skew of one hour (or whatever the local daylight savings time change might be). This skew can be caused by incorrect handling of the "is_dst" setting in the application program, or by an incorrect OpenVMS UTC configuration on the local system. (See section Section 4.4.) Floating point is prohibited in OpenVMS Alpha inner- mode (privileged) code, and in any process or other execution context that does not have floating point enabled. C programmers developing and working with OpenVMS Alpha high-IPL kernel-mode code such as device drivers will want to become familiar with the floating point processing available in the environment, and with the C compiler qualifier /INSTRUCTION_SET=[NO]FLOATING_ POINT. Device drivers and other similar kernel-mode C code must be compiled with /INSTRUCTION_SET=FLOATING_ POINT and /EXTERN_MODEL=STRICT_REFDEF. Additionally, the SYS$LIBRARY:SYS$LIB_C.TLB/LIBRARY parameter will be needed to be appended to the module specification or declared via the C compiler's include library logical name mechanism when the C compiler is resolving kernel-mode data structures and definitions. This library contains OpenVMS kernel-mode and other system declaractions, and particularly a mixture of undocumented definitions and declarations, and particularly definitions and declarations that are subject to change (and that can accordingly lead to requirements for the recompilation of application code). When sharing variables with other languages, here is some example HP C code... 10-21 OpenVMS Programming Information ... #pragma extern_model save #pragma extern_model strict_refdef extern int VMS$GL_FLAVOR; #pragma extern_model restore ... and here is some associated example Bliss code... ... EXTERNAL VMS$GL_FLAVOR, .... _____________________________ 10.22.2 Other common C++ issues HP C++ (a separate compiler from HP C) provides both symbol mangling and symbol decoration. Some of the details of working with longer symbol names and the resulting symbol name mangling in mixed language environments are listed in the shareable image cookbook, and in the C++ documentation. Symbol name decoration permits the overloading of functions (by adding characters to the external symbol for the function to indicate the function return type and the argument data types involved), and mixed- language external references can and often do need to disable this decoration via the extern "C" declaration mechanism: extern "C" { extern int ExternSymbol(void *); extern int OtherExternSymbol(void *); } Also see Section 14.7 for information on /ARCHITECTURE and /OPTIMIZE=TUNE. See Section 10.15 for information on the C system and the lib$spawn call in CAPTIVE environments. 10-22 OpenVMS Programming Information Constructs such as the order of incrementation or decrementation and the order of argument processing within an argument list are all implementation-defined. This means that C coding constructs such as: i = i++; a[i] = i++; foo( i, i++, --i); are undefined and can have (adverse) implications when porting the C code to another C compiler or to another platform. In general, any combination of ++, -, =, +=, -=, *=, etc operators that will cause the same value to be modified multiple times (between what the ANSI/ISO C standard calls "sequence points") produce undefined and implementation-specific results. Within C, the following are the "sequence points": the ";" at the end of a C statment, the ||, &&, ?:, and comma operators, and a call to a function. Note specifically that = is NOT a sequence point, and that the individual arguments contained within a function argument list can be processed from right to left, from left to right, or at any random whim. HP C for OpenVMS VAX (formerly DEC C) and VAX C do differ in the related processing. So you are looking for OpenVMS-specific definitions (include files)? UCBDEF.H, PCBDEF.H and other OpenVMS-specific definitions-these are considered part of OpenVMS and not part of the C compiler kit-are available on all recent OpenVMS Alpha releases. To reference the version-dependent symbol library sys$share:sys$lib_c.tlb, use a command similar to the following for compilation: $ CC sourcea+SYS$LIBRARY:SYS$LIB_C/LIB You can also define DECC$TEXT_LIBRARY to reference the library. You will want to review the Programming Concepts manual, and specifically take a quick look at Chapter 21. 10-23 OpenVMS Programming Information And some general background: the STARLET definitions (and thus the sys$starlet_c.tlb library) contain the symbols and the definitions that are independent of the OpenVMS version. The LIB definitions (and thus sys$lib_c) contain symbols and definitions that can be dependent on the OpenVMS version. You won't need to rebuild your code after an OpenVMS upgrade if you have included definitions from STARLET. The same cannot be said for some of the definitions in LIB-you might need to rebuild your code. (The UCB structure can and has changed from release to release, for instance.) Recent versions of C automatically search sys$starlet_ c.tlb. Explicit specification of sys$lib_c.tlb is required. Also see the Ask The Wizard website topics (2486), (3803), and (1661): o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. See Section 9.5 for information on the C off_t limitations, resolved in OpenVMS V7.3-1 and later and in ECO kits available for specific OpenVMS releases. The use of a longword for off_t restricts applications using native C I/O to file sizes of two gigabytes or less, or these applications must use native RMS or XQP calls for specific operations. __________________________________________________________ 10.23 Status of Programming Tools on OpenVMS VAX? DECthreads V7.3 and the HP C compiler (also known as Compaq C and DEC C) V6.4 are presently expected to be the last updates and the last releases of these development packages for use on OpenVMS VAX. The run- time support for both DECthreads (CMA$RTL) and for C (DECC$CRTL) will continue to be maintained, and will continue to be available on OpenVMS VAX. The VAX C V3.2 compiler is the final VAX C compiler release for OpenVMS VAX, and the VAX C Run-Time Library (VAXCRTL) will also continue to be available. 10-24 OpenVMS Programming Information New development and new features and product enhancements continue for the OpenVMS Alpha and the OpenVMS IA-64 DECthreads and C compilers. 10-25 _______________________________________________________ 11 DECwindows __________________________________________________________ 11.1 How do I let someone else display something on my workstation? On a workstation, you will want to use the "Customize" menu of the session manager utility and select "Security". When the pop-up box appears, you can select the host node, username, and tranport that will allow you to launch an application that targets the workstation display. If this does not provide you with access to the display, You need a checklist of sorts: o Make sure that you've specified the X-windows "display" correctly on the remote host. For a DECnet transport, the specification uses two colons, while the TCP/IP transport typically uses one. The X Windows server and the X Windows screen follow the host specification, delimited by a period. For example: ________________________________________________________________ Table 11-1 X Windows Display Commands _______________________________________________________ Shell_____Command______________________________________ csh # setenv DISPLAY vms.domain:0.0 sh and ksh # $ DISPLAY=vms.domain:0.0 ; export DISPLAY DCL $ SET DISPLAY/CREATE/NODE=vms.domain - ___________________/TRANSPORT=TCPIP/SERVER=server/SCREEN=screen_ o If you have verified the command is correct and things are still not working, ensure the Security settings on the OpenVMS host side will allow the 11-1 DECwindows incoming connection: Pull down the "Options" menu in the Session Manager, and select "Security...". If you do not find your host and username and transport listed among the authorized users, you will need to add an entry. o There are various transports available, including LOCAL, DECNET, LAT, and TCPIP. You must Select the transport appropriate to the incoming connection. o If the transport is "DECnet", do NOT add the double colon (::) to the node name. o If the transport is "TCPIP", "Username" must be an asterisk (*). Why? Because unlike DECnet, the TCP/IP protocol does not provide the remote username information in the incoming connection. o If the connection is "TCPIP", it is best to use a full domain name (e.g. Node.Subd.Domain). However, you may have to use the IP address itself, if your host does not have a way to resolve the address via DNS. If you have the luxury of fixed addresses (eg: you are not using DHCP), then it can be helpful to add two entries for each TCP/IP host, one that specifies the host name and one that specifies the host address. o There are various TCP/IP packages for OpenVMS, and you must use syntax appropriate to the transport installed. o If a TCP/IP connection is still not working, ensure that the transport you want has been activated for use with DECwindows. See Section 11.15 for details of configuring TCP/IP as a transport. o There is a log file created in SYS$MANAGER: which can tell you which transports are loaded, and also tell you what connect attempts were rejected, including showing what the presented credentials were. This file is SYS$MANAGER:DECW$SERVER_0_ ERROR.LOG, although the 0 could be another number if you have multiple servers on the workstation. I 11-2 DECwindows have found this file to be very useful for tracking down what needs to be put in the Session Manager Security entries. __________________________________________________________ 11.2 How do I create a display on another workstation? To create a display from an OpenVMS host to a remote X Windows display, use one of the following DCL commands: $ SET DISPLAY /CREATE /TRANSPORT=net_transport /NODE=remote_node $ SET DISPLAY /CREATE /TRANSPORT=LAT /NODE=remote_node $ SET DISPLAY /CREATE /TRANSPORT=DECnet /NODE=remote_node $ SET DISPLAY /CREATE /TRANSPORT=TCPIP /NODE=remote_node Note that LAT is typically used only for the VXT series X Windows terminals, but it can also be used from OpenVMS to OpenVMS systems on various OpenVMS releases, such as on OpenVMS Alpha V6.1 and later. For details on configuring the TCP/IP transport, see Section 11.15. If you are interested in X Windows terminals and have an older VAXstation system around, please see the EWS package on Freeware V5.0. __________________________________________________________ 11.3 How can I get the information from SHOW DISPLAY into a symbol? Use the undocumented SHOW DISPLAY/SYMBOL, and then reference the symbols DECW$DISPLAY_NODE, DECW$DISPLAY_ SCREEN, DECW$DISPLAY_SERVER and/or DECW$DISPLAY_ TRANSPORT. An example of calling the underlying (and also undocumented) sys$qio programming interface for the WSDRIVER (WSAn:) is available at: http://www.hp.com/go/openvms/freeware/ Look in the Freeware V4.0 directory /srh_examples/DECUS_UNDOC_ CLINIC/. 11-3 DECwindows __________________________________________________________ 11.4 How do I get a log of a DECterm session? If you are working from a Decterm, you can use the AutoPrint feature. Choose the "Printer..." menu item from the "Options" menu, set the printing destination to the name of the file you want, and set "Auto Print Mode". You are now free to continue. It should be noted that all of the characters and escape sequences are captured, but if you display the resulting log file on a DECterm, then you will see exactly what was originally displayed. __________________________________________________________ 11.5 Why does the DELETE key delete forward instead of backward? This involves the Motif virtual key bindings. When a Motif application starts, it looks at the vendor string returned in the display connection information and attempts to match the string to a table of virtual bindings. You can override the default bindings in your decw$xdefaults.dat file. Here is the entry you would make to get the default VMS bindings. 11-4 DECwindows *defaultVirtualBindings:\ osfCancel : <>F11 \n\ osfLeft : <>Left \n\ osfUp : <>Up \n\ osfRight : <>Right \n\ osfDown : <>Down \n\ osfEndLine :Alt <>Right \n\ osfBeginLine :Alt <>Left \n\ osfPageUp : <>Prior \n\ osfPageDown : <>Next \n\ osfDelete :Shift <>Delete \n\ osfUndo :Alt <>Delete \n\ osfBackSpace : <>Delete \n\ osfAddMode :Shift <>F8 \n\ osfHelp : <>Help \n\ osfMenu : <>F4 \n\ osfMenuBar : <>F10 \n\ osfSelect : <>Select \n\ osfActivate : <>KP_Enter \n\ osfCopy :Shift <>DRemove \n\ osfCut : <>DRemove \n\ osfPaste : <>Insert To merge: $ xrdb :== $decw$utils:xrdb.exe $ xrdb -nocpp -merge decw$xdefaults.dat Also note that the DECW$UTILS:DECW$DEFINE_UTILS.COM procedure can be used to establish the xrdb and other symbols. Also see the DECxterm directory of Freeware V5.0 for details on connecting to OpenVMS from various UNIX platforms. __________________________________________________________ 11.6 Why is DECwindows Motif not starting? First check to see if there is a graphics device, usually a G* device. (eg: On a DEC 2000 model 300, use the command SHOW DEVICE GQ) If you do not find a graphics device: o OpenVMS has failed to find the appropriate IRQ information for an EISA graphics card (on the 11-5 DECwindows DEC 2000 series) such as the HP (Compaq) QVision, and did not autoconfigure it. Run the correct ECU (for Tru64 UNIX and OpenVMS) and reboot. This is necessary only on EISA-based systems. o You have an EISA-based system (such as the DEC 2000 model 300) and do not have a HP (Compaq) QVision video card. This EISA graphics card should have Compaq printed on it, and identifies itself as a CPQ3011 or a CPQ3111. If it is not one of these two EISA devices, then OpenVMS does not support it. (There are no other supported EISA graphics controllers, and EISA graphics are normally used with DECwindows only on the DEC 2000 series systems.) o You have a PCI-based system, and do not have a supported graphics controller-examples of supported controllers include the following: o PowerStorm 3D30 o PowerStorm 4D20 o PowerStorm 300 o PowerStorm 350 o ELSA GLoria Synergy o 3DLabs Oxygen VX1 See Section 5.15 for further information on some of these graphics controllers. o You have booted the system minimally, or have otherwise disabled the device autoconfiguration process. If there is a G* graphics device present: o There may have been a severe error in the DECwindows startup. Type the contents of SYS$MANAGER:DECW$SERVER_0_ERROR.LOG for any information on errors starting the server. 11-6 DECwindows o The system parameter WINDOW_SYSTEM is not set to 1. While this was a common way for system managers to disable the DECwindows server startup, it is not particularly reliable as DECwindows can now "correct" this setting. If you really do not want an OpenVMS system with workstation hardware to bootstrap and configure itself as a workstation, add the following definition to SYLOGICALS.COM: $ DEFINE/SYSTEM/EXEC DECW$IGNORE_WORKSTATION TRUE o You may not have a valid DECwindows Motif license loaded. To check for the two most common types of Motif product authorization keys (PAKs), use the following DCL commands: $ LICENSE LIST DW-MOTIF/FULL $ LICENSE LIST NET-APP-SUP*/FULL and examine the information displayed. Make sure that one of these licenses is present, valid and active. For information on registering software license product authorization keys (PAKs) when you cannot log into the system directly, please see Section 5.5.2. o Check that the DECW$PRIVATE_SERVER_SETUP.COM is correct for the graphics controller in use. For instance: The following is from the 9FX Vision 330 Owners Guide, EK-V330G-OG pg 2-9. Place the following in DECW$PRIVATE_SERVER_SETUP.COM, creatibng .COM from .TEMPLATE if necessary. Locate the DECW$PRIVATE_ SERVER_SETUP.COM file in SYS$SPECIFIC:[SYSMGR] or in SYS$COMMON:[SYSMGR] as appropriate; the former file is used for this system within a cluster configuration, and the latter is used for all systems that do not also have a local copy of this file in SYS$SPECIFIC:[SYSMGR]. $ DECW$XSIZE_IN_PIXELS == xvalue $ DECW$YSIZE_IN_PIXELS == yvalue $ DEFINE/SYSTEM DECW$SERVER_REFRESH_RATE rate_in_Hz 11-7 DECwindows Also see Section 11.12. Details of the PowerStorm 3D30 and 4D20 settings are available in the OpenVMS Ask The Wizard area. __________________________________________________________ 11.7 How do I set the title on a DECterm window? If you are creating a new DECterm window, check $ HELP CREATE /TERMINAL /WINDOW_ATTRIBUTES If you want to change the title of an existing window, use the following control sequences, where is the ANSI escape code, value decimal 27, and "text label" is what you want to display: To set the DECterm title, send: ]21;text label\ To set the icon label, send: ]2L;text label\ To set both the DECterm title and icon to the full device name: $ esc[0,7] = 27 $ fulldevnam = F$Edit(F$GetDVI("TT","FULLDEVNAM"),"UPCASE,COLLAPSE") $ write sys$output esc+ "]21;" + fulldevnam + esc + "\" $ write sys$output esc+ "]2L;" + fulldevnam + esc + "\" You can also change the title and the icon using the Options-Window... menu. Also see Section 12.1 and Section 8.11. __________________________________________________________ 11.8 How do I customize DECwindows, including the login screen? To customize various DECwindows Motif characteristics including the defaults used by the SET DISPLAY command, the DECwindows login screen background logo used (the default is the DIGITAL, Compaq, or HP logo), various keymaps, the FileView defaults, session manager defaults, the DECwindows login processing, DECwindows 11-8 DECwindows log file processing, and various other DECwindows attributes, see the example file: $ SYS$STARTUP:DECW$PRIVATE_APPS_SETUP.TEMPLATE This example template file is typically copied over to the filename SYS$COMMON:[SYS$STARTUP]DECW$PRIVATE_ APPS_SETUP.COM and then modified to meet site-specific requirements. Additionally, various X tools such as xsetroot, bitmap and xrdb-some these can be useful in customizing the appearance of an application or of the DECwindows Motif display-are provided in the DECW$UTILS: area. When using DECwindows V1.2-4 and later on OpenVMS Alpha, the default desktop is the Common Desktop Environment (CDE). You can select your preferred desktop (CDE or DECwindows Motif) when logging in, or you can change the default to the DECwindows Motif desktop using the DCL symbol decw$start_new_ desktop in the DECwindows private application setup command procedure. See SYS$STARTUP:DECW$PRIVATE_APPS_ SETUP.TEMPLATE for further details, and how to create DECW$PRIVATE_APPS_SETUP.COM. Note that with DECwindows CDE, the root window is no longer visible by default. The root window is hidden behind the "backdrop" window of the current CDE workspace. To make the root window visible, use the CDE style manager selection "backdrop none", and use information such as that in the OpenVMS FAQ to set the root window. To add a new backdrop to the DECwindows CDE environment, the backdrop must first be in or be converted into X11 pixmap format. (This conversion is often possible using tools such as xv.) Then (if necessary) create the default backdrop directory SYS$COMMON:[CDE$DEFAULTS.USER.BACKDROPS]. Place the X11 pixmap file containing the desired image into the backdrops directory, ensure that it has a filename extension of .PM. (The xv default filename extension for the X11 pixmap file is .XPM, while CDE expects only to see files with .PM.) Now invoke the CDE style manager and select a new backdrop. You will find 11-9 DECwindows your image will be placed at the end of the list of backdrops available. __________________________________________________________ 11.9 Why doesn't XtAppAddInput() work on OpenVMS? Yes, XtAppAddInput() does work on OpenVMS. The MIT definition of the X Windows call XtAppAddInput() includes platform-specific arguments. On platforms where C is the typically the primary programming language for the platform, the file descriptor mask is one of the arguments to the XtAppAddInput() call. On OpenVMS, the platform-specific arguments to this call include an event flag and an IOSB, as these are the traditional OpenVMS constructs used to synchronize the completion of asynchronous operations. While it would be easier to port non-OpenVMS C code that calls XtAppAddInput() over to OpenVMS if the arguments included the C file descriptor, this would make the call unusable from other OpenVMS languages, and would make it extremely difficult to use OpenVMS features such as ASTs and sys$qio calls. One restriction on the event flag: the event flag chosen must be from event flag cluster zero. When using the traditional lib$get_ef and lib$free_ef calls to allocate and deallocate event flags, you must first explicitly call lib$free_ef to free up some event flags in event flag cluster zero. Please see the event flag documentation for specific details on these calls and for specific event flags that can be freed in event flag cluster zero. Here is some example code that covers calling this routine on OpenVMS: 11-10 DECwindows m->InputID = XtAppAddInput( m->AppCtx, m->InputEF, m->InputIosb, the_callback, 1 ); if ( !((int) m->InputID )) { XtAppErrorMsg( m->AppCtx, "invalidDevice", "XtAppAddInput", "XtToolkitError", "Can't Access Device", (String *) NULL, (Cardinal *) NULL ); ... __________________________________________________________ 11.10 Why do the keyboard arrow keys move the DECwindows cursor? Congratulations, you have just stumbled into "dead rodent" mode. This DECwindows environment-where the keyboard arrow keys move the mouse cursor and where the [SELECT], [PREV], and [NEXT] keys emulate the three mouse buttons-allows rudimentary system operations when the mouse is among the casualties. To enter or exit "dead rodent" mode, enter the following: __________________________________________________________ 11.11 Why does half my DECwindows display blank? This is likely a result of receiving an OPCOM or other console message on a system that shares the system console with the DECwindows graphics workstation display. You can toggle off the console display window using and you can enable a serial console per Section 14.3.6 or Section 14.3.3.3. 11-11 DECwindows Also see the console message window application available with recent DECwindows versions-DECwindows versions V1.2-3 and later will enable this window by default. For details on this console message window, see the DECW$CONSOLE_SELECTION option in SYS$STARTUP:DECW$PRIVATE_APPS_SETUP.TEMPLATE. On older releases, you can disable output using the following: $ SET TERMINAL/PERMANENT/NOBROADCAST OPA0: $ DEFINE/USER SYS$COMMAND OPA0: $ REPLY/DISABLE Also see Section 14.3.3.2, Section 14.19, and Also see Section 8.3, __________________________________________________________ 11.12 %DECW-W-NODEVICE, No graphics device found on this system? To resolve the following error: %DECW-W-NODEVICE, No graphics device found on this system -DECW-I-NODECW, DECwindows graphics drivers will not be loaded o Ensure that the system parameter WINDOW_SYSTEM is set to 1. If it is not set to a value of 1, issue the commands: $ run sys$system:sysgen USE CURRENT SET WINDOW_SYSTEM 1 WRITE ACTIVE WRITE CURRENT EXIT Then reboot the system. o On OpenVMS Alpha, ensure the SYSMAN IO PREFIX LIST is set correctly, and specifically ensure the DECW$ prefix is included in the existing list. If it is not, you will need to add it: 11-12 DECwindows $ run sys$system:sysman IO SHOW PREFIX IO SET PREFIX=(DECW$,*) * = list returned by the show command IO AUTO/LOG EXIT o Ensure that the image SYS$SHARE:DECW$ICBM.EXE is installed in memory. If it is not installed, then install it: $ INSTALL LIST/FULL SYS$SHARE:DECW$ICBM $ INSTALL REPLACE SYS$SHARE:DECW$ICBM $ EDIT SYS$MANAGER:SYCONFIG.COM $! The following line was added to install $! support for the Mach64 Graphics Card $! $ INSTALL REPLACE SYS$SHARE:DECW$ICBM $ ^Z Then reboot the system. The ICBM mechanism is not used on and not needed by more recent DECwindows versions. o If the system still complains "%DECW-W-NODEVICE, No graphics device found on this system", then: o Boot the system as normal o Login as SYSTEM. o Create the file SYS$COMMON:[SYSMGR]DECW$USER_ AUTOCONFIG.DAT. Protection must permit world read access. o Add the following string on the very first line: CLEAR_PFLAG = ISA_4BYTE o Save the file o Set the file protections $ SET PROTECTION=W:RE SYS$MANAGER:DECW$USER_AUTOCONFIG.DAT o Reboot the system Also see Section 11.6. 11-13 DECwindows __________________________________________________________ 11.13 How can I reset the warning bell volume? With DECwindows CDE drivers and ECOs starting with ECOs for the DECwindows keyboard driver SYS$IKBDRIVER.EXE in OpenVMS Alpha V7.1-2 and V7.2-1 and with the SYS$IKBDRIVER.EXE included in OpenVMS V7.2-1H1 and later, the DECwindows CDE controls will now correctly manage the setting of the warning bell volume. Unfortunately, the equivalent controls in the older DECwindows Motif interface are not compatible and can no longer manage the warning bell volume. If you need to manage the volume with DECwindows Motif, consider using the following approach: $ @decw$utils:decw$define_utils $ xset b 1 100 100 The numerics are the volume, pitch, and duration, respectively. Why? When OpenVMS first started supporting the PC-style keyboards, the X Windows Server and the keyboard driver interface did not support the pitch and duration, and neither did DECwindows Motif. The DECwindows keyboard driver was accordingly changed to use the volume from the keyclick setting (keyclick is not available in a PC-style keyboard) and the bell volume setting to control the pitch and duration. DECwindows CDE does provide sliders for setting pitch and duration, so the keyboard driver and X Windows Server were modified to provide all of the information, and now the DECwindows CDE sliders work. This change is unfortunately incompatible with the old scheme used on the pre-CDE desktops, and the volume controls are now incompatible with the current keyboard drivers. Hence the use of xset. 11-14 DECwindows __________________________________________________________ 11.14 How can I alter the DECwindows CDE backdrop? To select a separate backdrop to be displayed on each screen using DECwindows CDE: o Click on the Application Manager. This is the drawer icon on the CDE toolbar. o Click on Desktop Tools o Click on Set Default Screen and select the required screen o Click on the Style Manager. This is the one containing the mouse and ttt on the CDE toolbar o Now change the background. __________________________________________________________ 11.15 How can I enable the DECwindows TCP/IP Transport To configure the TCP/IP transport for DECwindows, first ensure that a TCP/IP package is installed and configured. Then set the DCL symbol DECW$SERVER_ TRANSPORTS in SYS$MANAGER:DECW$PRIVATE_SERVER_ SETUP.COM to the appropriate local value, based on the comments in that file. If you do not have a copy of SYS$STARTUP:DECW$PRIVATE_SERVER_SETUP.COM, the use the following COPY command to create this file based on the provided template file: $ COPY SYS$MANAGER:DECW$PRIVATE_SERVER_SETUP.TEMPLATE - $_ SYS$COMMON:[SYSMGR]DECW$PRIVATE_SERVER_SETUP.COM 11-15 _______________________________________________________ 12 Miscellaneous Information __________________________________________________________ 12.1 Where can I find information on escape and control sequences? Information on escape and control sequences can be found in the OpenVMS I/O User's Reference Manual, in the chapter on the terminal driver. The chapter also includes details on the general format and content of these sequences. Specific details on the escape and control sequences supported by a particular serial device are typically found in the documentation provided with the specific device. Information on the sequences supported by DECwindows DECterm terminal emulator are included in the DECwindows documentation. Examples of common escape and control sequences- those typically used by the OpenVMS screen management package-can be found in the OpenVMS system file SYS$SYSTEM:SMGTERMS.TXT. The following refers to the function keys on the LK- series keyboards found on the VT-series terminals such as the VT220 and VT510, and the LK-series keyboards found on the OpenVMS workstations, and the keyboards found on compatible terminals. (Though note that the keyboard itself does not generate the sequence, the terminal or terminal emulator generates the sequence in response to user input.) In the following, {CSI} is decimal code 155 and can be replaced by the sequence "{ESC}[" (without the quotes) particularly for seven- bit operations, SS3 is decimal code 143 and can be replaced by "{ESC}O" particularly for seven-bit operations. Older VT1xx series terminals and any other terminals operating with seven-bit characters should not be sent eight-bit operators such as {CSI} and {SS3}. 12-1 Miscellaneous Information PF1={SS3}P PF2={SS3}Q PF3={SS3}R PF4={SS3}S KP0={SS3}p KP1={SS3}q KP2={SS3}r KP3={SS3}s KP4={SS3}t KP5={SS3}u KP6={SS3}v KP7={SS3}w KP8={SS3}x KP9={SS3}y KPCOMMA={SS3}l KPMINUS={SS3}m KPPERIOD={SS3}n ENTER={SS3}M DNARROW={CSI}B UPARROW={CSI}A LFARROW={CSI}D RTARROW={CSI}C FIND={CSI}1~ INSERT={CSI}2~ REMOVE={CSI}3~ SELECT={CSI}4~ PREV={CSI}5~ NEXT={CSI}6~ F6={CSI}17~ F7={CSI}18~ F8={CSI}19~ F9={CSI}20~ F10={CSI}21~ F11={CSI}23~ F12={CSI}24~ F13={CSI}25~ F14={CSI}26~ HELP={CSI}28~ DO={CSI}29~ F17={CSI}31~ F18={CSI}32~ F19={CSI}33~ F20={CSI}34~ An example of working with escape sequences (in DCL) follows: $ esc5m = "*[5m" $ esc5m[0,8] = 27 $ esc0m = "*[0m" $ esc0m[0,8] = 27 $ write sys$output esc5m + "blinking text" + esc0m Documentation on an ANSI terminal relatively similar to the VT525 series is available at: o ftp://ftp.boundless.com/pub/text/adds/docs/260_prog/ o ftp://ftp.boundless.com/pub/text/adds/docs/260_user/ Also see the various documentation and manuals available at: o http://www.vt100.net/ Information on the ReGIS graphics character set is available at: o http://www.cs.utk.edu/~shuford/terminal/dec_regis_ news.txt Also: o http://www.boundless.com/Text_Terminals/VT/ Also see Section 11.7, Section 8.11. 12-2 Miscellaneous Information __________________________________________________________ 12.2 Does DECprint (DCPS) work with the LRA0 parallel port? The parallel printing port LRA0: found on many OpenVMS Alpha systems is capable of some bidirectional communications, with enough for basic operations with most parallel printers. DECprint (DCPS) requires more than just the simple handshaking provided by the LRA0: port, therefore DCPS does not work with the LRA0: port. __________________________________________________________ 12.3 How do I check for free space on a (BACKUP) tape? You cannot know for certain, though you can certainly estimate the remaining capacity. Tape media is different than disk media, as disks have a known and pre-determined fixed capacity. Modern disks also appear logically perfect, based on bad block revectoring support and the extra blocks hidden within the disk structure for these bad block replacements. The capacity of tape media is not nearly as pre- determined, and the capacity can vary across different tape media (slightly different media lengths or different foil markers or other variations, for instance) and even on the same media over time (as bad spots in the media arise). Tapes can vary the amount of recording media required, depending on the remaining length of the tape, the numbers of correctable and uncorrectable media errors that might occur, the numbers and sizes of the inter-record gaps and related tape structure overhead, the particular media error recovery chosen, the tape density, the efficiently of any data compression in use, and the storage overhead required by BACKUP, tar, and other similar commands. BACKUP using with the default settings results in approximately 15% overhead, in terms of saveset size. (eg: Assuming a 500 KB input, the total size would be 575 KB.) Assuming no compression: 4 GB media / 575 KB saveset = 7294 savesets 12-3 Miscellaneous Information Assuming 1:2 compression: 8 GB media / 575 KB saveset = 14588 savesets Note: There are no inter-record gaps on DAT tapes. (When determining media capacity, you have to consider these with nine-track magtape media. Not with DAT (DDS). However, the block structure underneath the variable length record recording is based on a block size of circa 124 KB. Further, writing doubles filemarks and such can cause a loss of up to the underlying block size. Thus even though there are no inter-record gaps on DAT, larger savesets are still usually best. The compression algorithms used on various devices are generally not documented-further, there is no way to calculate the effective data compression ratio, the tape mark overhead, and similar given just the data to be stored on tape-short of actually trying it, of course. A typical compression ratio found with "everyday" data is somewhere around 1:1.8 to 1:2. Note: OpenVMS often uses the term COMPACTION for compression control, as in the qualifier /MEDIA_ FORMAT=COMPACTION. __________________________________________________________ 12.4 So what happened to sys$cmsuper? There is no SYS$CMSUPR service. The typical wisdom for getting into supervisor access mode (from user mode) is to execute a routine in executive mode (via a call to SYS$CMEXEC and the appropriate privilege) and then issue a SYS$DCLAST with the ASTADR parameter pointing to your routine entry point and the ACMODE parameter specified as PSL$C_ SUPER. Alternatively, you can reset mode in the call stack return path and unwind from executive or kernel out into supervisor mode. 12-4 Miscellaneous Information __________________________________________________________ 12.5 Correctly using license PAKs and LMF? If you have multiple LMF$LICENSE.LDB databases in your OpenVMS Cluster, then each and every PAK must be installed in each and every license database present in an OpenVMS Cluster. Even if you use /EXCLUDE or /INCLUDE, you need to have a consistent set of PAKs registered across all licensing databases present in the OpenVMS Cluster. If your software license permits it, you can use the following two commands to transfer license PAKs: $ LICENSE COPY... $ LICENSE ISSUE/PROCEDURE/OUTPUT=file product,... To display the particular license(s) required (such as when you receive a NOLICENSE error), use the following DCL sequence: $ SET PROCESS/PRIVILEGE=ALL $ REPLY/ENABLE $ DEFINE/SYSTEM/EXECUTIVE LMF$DISPLAY_OPCOM_MESSAGE This logical name will cause all license failures to generate OPCOM messages, and this will hopefully show which license(s) you need- there may well also be additional license failures displayed, as various products can check for and can be enabled by multiple license PAKs. You will want to deassign this logical name when done. Some of the more common license PAKs: DECnet Phase IV: DVNETRTG, DVNETEND, DVNETEXT, or NET-APP-SUP* DECnet-Plus: DVNETRTG, DVNETEND, DVNETEXT, or NET-APP-SUP* TCP/IP Services: UCX, or NET-APP-SUP* OpenVMS Alpha: OPENVMS-ALPHA and OPENVMS-ALPHA-USER OpenVMS VAX: VAX-VMS OpenVMS Galaxy: OPENVMS-GALAXY Cluster (Alpha): VMSCLUSTER, NET-APP-SUP* Cluster (VAX): VAXCLUSTER, NET-APP-SUP* 12-5 Miscellaneous Information Various NET-APP-SUP (NAS) license packages are available, each with differing collections of products authorized. See the various NAS Software Product Description (SPD) documents for specific details. o http://www.compaq.com/info/spd/ OpenVMS typically uses SPD 25.01.xx and/or SPD 41.87.xx. To determine which license PAK is failing (via a license check failure OPCOM message), use the command: $ DEFINE/SYSTEM/EXECUTIVE LMF$DISPLAY_OPCOM_MESSAGE TRUE Realize that defining this logical name will cause license checks that are otherwise hidden (unimplemented, latent, or part of a check for any of a series of licenses) to become visible. In other words, expect to see some spurious license check calls when you define this. For information on PAKGEN and on generating license PAKs, please see Section 10.10. 12-6 _______________________________________________________ 13 Finding and using Software __________________________________________________________ 13.1 Where can I find freeware/shareware/software for OpenVMS? o Details on many commercial OpenVMS products are available in the catalog located at: o http://www.compaq.com/csa/directory/ o An OpenVMS Freeware CD-ROM is distributed with OpenVMS, and is also available separately (QA-6KZAA- H8). The contents of the OpenVMS Freeware CD-ROM media are also available online at: o http://www.hp.com/go/openvms/freeware/ o ftp://ftp.montagar.com/ o ftp://mvb.saic.com/freewarev40/ and at various other sites. The website also includes various updates and new packages that become available after the CD-ROM distributions are created. Submissions to the OpenVMS Freeware can be made via: o http://www.hp.com/go/openvms/freeware/ To acquire the OpenVMS Freeware CD-ROM distribution, you can order an OpenVMS distribution from HP (the Freeware is included)(see the OpenVMS SPD for part numbers), or you can specifically order a Freeware distribution from HP under part number: o QA-6KZAA-H8 The Freeware CD-ROM set contains a large assortment of freeware, and is a good starting point if looking for utilities. Many of the packages listed below are also on the Freeware CD. Some of the most oft- requested OpenVMS tools on the Freeware CD include ZIP and UNZIP and GZIP (please see SOFT14), MMK 13-1 Finding and using Software (make), PINE, PERL, TAR, UUENCODE and UUDECODE. Many other tools are available on the Freeware. o The UUENCODE and UUDECODE tools and various other tools are also available as part of TCP/IP Services package. (Use the DCL command procedure SYS$STARTUP:TCPIP$DEFINE_COMMANDS.COM available on V5.0 and later to set up the necessary DCL foreign command symbols used for these and for various other tools provided by TCP/IP Services.) o OpenVMS software (formerly at Western Kentucky University (WKU) is now available via Madgoat and via Process Software archives: o http://www.process.com/openvms/index.html o http://www.madgoat.com/ o The FILESERV packages are also available via anonymous FTP from: o ftp://ftp.process.com/vms-freeware/ o ftp.process.com, under [.WKU.VMS.FILESERV]. o ftp.vms.stacken.kth.se, under [.MIRRORS.WKU.VMS.FILESERV]. o ftp.ctrl-c.liu.se, under [.WKU.VMS.FILESERV]. o ftp.riken.go.jp o ftp.vsm.com.au, under kits and kits/decwindows. o ftp.vsm.com.au, via the WWW instead of FTP. The packages are also available via e-mail from FILESERV@PROCESS.COM. Send the commands HELP and DIR ALL in the body of a mail message to this email address for further information on retrieving the files. o Arne Vajhøj operates an OpenVMS website, with software and other pointers, at: o http://www.levitte.org/~ava/ 13-2 Finding and using Software o Jouk maintains a summary of various public-domain and open-source software ports, and specifically ports of packages for use on OpenVMS, at: o http://nchrem.tnw.tudelft.nl/openvms/ o The Kermit file transfer package is available at: o http://www.columbia.edu/kermit/ o ftp://kermit.columbia.edu/ o ZMODEM is available at: o ftp://ftp.cs.pdx.edu/pub/zmodem See the FILES file in that directory for further details. Note that this freeware version of ZMODEM will interoperate only with ZMODEM software that is licensed from Omen Technology. (This package is also available on various of the Freeware distributions.) o A good source of software for OpenVMS systems and for various other platforms is the Encompass (formerly known as DECUS) library. Online catalogs are available as well as some software via o ftp://ftp.decus.org o gopher://gopher.decus.org/ o http://www.decus.org/ o DECUS SIG Tape collections are available on Mark Berryman's system, o ftp://mvb.saic.com/ o David Jones's DECthreads-based HTTP_SERVER World- Wide Web server for OpenVMS, often known as the OSU webserver: o http://kcgl1.eng.ohio- state.edu/www/doc/serverinfo.html o Secure Shell (SSH) Server for OpenVMS: o http://kcgl1.eng.ohio-state.edu/~JONESD/ssh/DOC/ Secure Shell (SSH) FISH Client for OpenVMS: o http://www.free.lp.se/fish/ Information on OpenSSL (SSLeay) for OpenVMS: 13-3 Finding and using Software o http://www.free.lp.se/openssl/ o http://www.free.lp.se/fish/ Information on OpenSSL (SSLeay) and OSU Web server interoperation: o http://www.ourservers.net/openvms_ports/ OpenSSL is included with OpenVMS V7.3-1 and later. o DECwindows Motif V1.2-3 includes NCSA Mosaic 2.4 built for TCP/IP Services (UCX). V1.2-4 includes Spyglass Enhanced Mosaic, which supports many of the Netscape enhancements. Versions of the Netscape Navigator and particularly the Mozilla Web Browser are also available for OpenVMS. The Compaq Secure Web Browser (CSWB) kit is a packaged version of the Mozilla.org Mozilla Web Browser. <(CSWB) o A port of the NCSA Mosaic web browser that supports TCP/IP Services, Multinet and SOCKETSHR/NETLIB is available from: o ftp://wvnvms.wvnet.edu/mosaic/ Versions of the Mosaic web browser are also available on the Freeware. o Lynx (a character-cell World-Wide-Web web browser) is available from o ftp://ftp2.cc.ukans.edu/pub/lynx Versions of Lynx, a character-cell web browser, are also available on the OpenVMS Freeware. o The Netscape Navigator and Mozilla web browsers are available at: o http://www.openvms.compaq.com/ebusiness/Technology.html o http://www.mozilla.org/ o PGP (Phil Zimmerman's "Pretty Good Privacy") is available from various distribution sites, including those listed in the PGP FAQ. Information on PGP and on OpenVMS downloads of PGP is available. Relevant URLs include: o http://www.ipgpp.org/ 13-4 Finding and using Software o http://web.mit.edu/network/pgp.html o http://www.pgpi.com/ o http://www.yrl.co.uk/~phil/pds/pds.html o http://www.nai.com/ o GNU Privacy Guard (GPG, GnuPG) is available. Search the comp.os.vms newsgroup archives for information regarding GnuPG; the source code, binaries for various platforms, and documentation are all available at: o http://www.gnupg.org/ The OpenVMS source code and OpenVMS Alpha images can be found at: o http://saf.bio.caltech.edu/pub/SOFTWARE/openvms/ o ftp://ftp.process.com/vms-freeware/mathog/ As of this writing, the port only runs on OpenVMS Alpha, but an investigation of an OpenVMS VAX port is reportedly under consideration. o An archive of the CENA DECwindows, X Windows, and VMS software packages can be found at the following sites: o http://decwarch.free.fr/ o ftp://ftp2.cnam.fr/decwindows/ o ftp://ftp.ctrl-c.liu.se/decwindows/ o ftp://ftp.vms.stacken.kth.se/mirrors/decwindows/ o http://www.multimania.com/pmoreau/decw/ Other FTP mirror sites for the DECwindows archive include: o axp.psl.ku.dk (Multinet) o ftp2.cnam.fr (MadGoat) ftp.x.org (in /contrib/vms) is effectively not a mirror, but it does have various OpenVMS packages from the DECwindows archive. A list of the http mirror sites for the DECwindows archive is available at: 13-5 Finding and using Software o http://axp616.gsi.de:8080/wwwar/cena/decwindows/cena.html Various of these packages are also available on the Freeware. o ImageMagick is an X11 package for display and interactive manipulation of images. The package includes tools for image conversion, annotation, compositing, animation, and creating montages. ImageMagick can read and write many of the more popular image formats (e.g. JPEG, TIFF, PNM, XPM, Photo CD, etc.). o http://www.imagemagick.org/ Versions of ImageMagick are also included on the Freeware. o XV is a image viewing and editing tool and is available from: o ftp://ftp.cis.upenn.edu/pub/xv o http://www.sanface.com/ o ftp://www-pi.physics.uiowa.edu/~dyson/xv/ o Many software packages are available for displaying various bitmap files (.JPG, .GIF, .BMP, etc) on OpenVMS. Xloadimage, Xli, Xv, ImageMagick are the most common tools used under OpenVMS. Various web browsers such as Mozilla (qv) can also display various file formats on OpenVMS. You can find some of these tools at the DECwindows Archive: o http://www.multimania.com/pmoreau/decw/index.html o http://www.multimania.com/pmoreau/decw/images.html o GHOSTSCRIPT (gs) and GHOSTVIEW (gv) are available from the Freeware V5.0 and Freeware V6.0 distributions: o http://www.hp.com/go/openvms/freeware/ Versions are also available on the Freeware. Also see: o http://www.cs.wisc.edu/~ghost/gnu/ 13-6 Finding and using Software o XPDF, a viewer for PDF (Adobe Acrobat) files, is available from: o http://www.foolabs.com/xpdf/ Also available on the Freeware. Beware: the XPDF tool included on OpenVMS Freeware V4.0 is dated, and has been found to have various bugs. Use the Freeware V5.0 version of the XPDF kit, or later. A Java-based PDF viewer is available from Adobe, and is known to operate on recent OpenVMS Alpha releases: o http://www.adobe.com/ o Various OpenVMS-related tools-both freeware and shareware-such as txt2pdf-are available from at: o http://www.sanface.com/ o The MPEG library version 1.1 is available for OpenVMS VAX and Alpha at o ftp://ftp.x.org/contrib/vms/mpeglib-11-vms.readme o ftp://ftp.x.org/contrib/vms/mpeglib-11-vms.zip Various MPEG players and related tools are available on the Freeware. o An Archie clone is available at INFO.CS.PUB.RO. Telnet to that machine, and login as VMSARCI. It contains now listings for over 30 ftp servers with over 14 gigabytes of OpenVMS software. The most useful commands are LIST, which generates a list of scanned ftp servers, and FIND string, whichs looks for a file containing "string" in the name; the search modes are only "substring" [default] and "exact", and regex search is not supported (so FIND EMACS will work, but FIND *EMACS* or FIND *EMACS*.* will not). The search is case-insensitive. The maintainer of the site (stfp@roipb.cs.ipb.ro) requests that anyone submit notifications of FTP servers with OpenvMS software that are not listed on the site. 13-7 Finding and using Software o The Levitte (extended :-) Family (and OpenVMS) website: o http://www.levitte.org/ o http://www.levitte.org/~ava/ o Robert Alan Byer's OpenVMS Hobbyist Systems, including OpenVMS public domain software and various ports: o http://www.ourservers.net/ o CalTech Software Archives: o http://seqaxp.bio.caltech.edu/pub/SOFTWARE/AAA_ CONTENTS.TXT o DJE Systems Website (David J. Dachtera) o http://www.djesys.com/freeware/vms/ o Web Servers: Apache Web server (HP (Compaq) Secure Web Server (CSWS)): o http://www.openvms.compaq.com/ebusiness/Technology.html o http://www.er6.eng.ohio- state.edu/~jonesd/apache/1_3_9/ The SOAP Toolkit is available at the OpenVMS website. OSU Web server o http://www.er6.eng.ohio- state.edu/www/doc/serverinfo.html o http://www.kjsl.com/archives/ o email list: VMS-WEB-daemon-Request@KJSL.COM WASD Web server o http://wasd.vsm.com.au/wasd/ Purveyor Web server: o email list: listserv@cjis.ci.lincoln.ne.us, no subject, one line message: SUBSCRIBE PURVEYOR FastCGI software is available from: o http://www.DigitalSynergyInc.com/ 13-8 Finding and using Software o CD-R (CD-Recordable) media tools are available, please see Section 9.7. o Grace (WYSIWYG 2D plotting tool) o http://plasma-gate.weizmann.ac.il/Grace/ o The POV-Ray ("Persistance of Vision" Raytracer) ray- tracing graphics package is available on the OpenVMS Freeware. o Majordomo mailing list handler: o http://www.openvms.compaq.com/ebusiness/Technology.html o PINE (OpenVMS tools for sending and receiving MIME mail): o ftp://ftp2.kcl.ac.uk/pub/vms/pine-vms/ o http://www.agh.cc.kcl.ac.uk/files/vms/pine-vms/ A MIME tool is available in OpenVMS V7.2 and later. Also see the mmencode base64 encode and decode available at: o http://nucwww.chem.sunysb.edu/htbin/software_ list.cgi o Menufinder (menu-driven system management environment): o http://www.itre.com/mf/download.html o SYSLOGCLIENT (a client for processing SYSLOG requests) has been provided for download by Mark Hemker at: o http://home.insightbb.com/~hemker/vms.html o tcgmsg, pvm, mpi, linda: o ftp://v36.chemie.uni-konstanz.de/tcgmsg_ vms/tcgmsg_vms.zip o OpenVMS software that can control a Tripp-Lite Uninterruptable Power Supply (UPS) is available from: o http://seqaxp.bio.caltech.edu/pub/SOFTWARE/TCONTROL.ZIP 13-9 Finding and using Software UPShot web-based software for controlling a UPS is available from: o http://www.tmesis.com/apc/beta.htmlx OpenVMS software for controlling Liebert UPS devices are available from the Liebert website: o http://www.liebert.com/apc/beta.htmlx o Examples of using the OpenVMS Foreign MAIL interface are available at: o http://www.hhs.dk/anonymous/pub/vms/collection/foreignmail.zip o http://www.hhs.dk/anonymous/pub/vms/nbl/nbl.zip o For tools to manage or to search your OpenVMS MAIL file, see: o http://vms.process.com/scripts/fileserv/fileserv.com?MLSEARCH o AscToHTM attempts to convert any plain text file to HTML, while AscToTab restricts itself to files that are plain text tables. (Versions are also availabe on the OpenVMS Freeware). o http://www.jafsoft.com/asctohtm/index.html o http://www.jafsoft.com/asctotab/index.html o Information on the SAMBA package, a package that provides SMB-based Microsoft Windows PC disk and print services for OpenVMS, is available at: o http://ifn03.ifn.ing.tu-bs.de/ifn/sonst/samba- vms.html o http://www.samba.org/ o http://www.hp.com/go/openvms/freeware/ To subscribe to the SAMBA-VMS mailing list e-mail listproc@samba.org with no subject line and the following single line of text: subscribe samba-vms Your Full Name Also see: o http://lists.samba.org/ 13-10 Finding and using Software o The Perl language is available for OpenVMS, see Section 13.10 for details. o XML is available for OpenVMS. Source code of an XML Parser is available from Oracle. Also see: o http://www.python.org/sigs/xml-sig/ An XML parser is available as part of OpenVMS V7.3 and later. o GTK+ (The GIMP GUI Tookit) for OpenVMS: o http://www.openvms.compaq.com/ebusiness/Technology.html o The OpenVMS Porting Library now available, and is intended to permit easier porting of C and C++ applications from UNIX systems to OpenVMS: o http://www.openvms.compaq.com/ebusiness/Technology.html GTK is also available. o Mlucas (specialized FFT): o ftp://hogranch.com/pub/mayer/README.html o Tools to monitor the terminals and the activity of other OpenVMS users (in addition to existing auditing capabilities in OpenVMS) are available. Peek and Spy (Networking Dynamics) and Contrl (Raxco) are two of the commercial packages, while the freeware Supervisor package is available on OpenVMS VAX. o http://www.networkingdynamics.com/ o http://www.raxco.com/ o Python for OpenVMS: o http://www.python.org/ Also see the OpenVMS Freeware. o Various packages for OpenVMS: o http://richj.home.mindspring.com/richware/index.html 13-11 Finding and using Software o http://www3.sympatico.ca/n.rieck/links/cool_vax_ vms.html o TSM (Terminal Server Manager) is available via: o http://www.compaq.com/support/digital_networks_ archive/servers/tsm/index.html o http://www.hp.com/go/openvms/freeware/, look on Freeware V5.0 URL. o Beware: The TSM saveset shipped on the Freeware V5.0 disk media is known to be busted. Download a new copy of the saveset from the Freeware V5.0 FTP server or from the Freeware V5.0 website. o TCL for OpenVMS: o ftp://sapodilla.rsmas.miami.edu/pub/VMS-tcl/ o make, gmake, mmk and other build tools are available on the Freeware. o An OpenVMS port of the ht://Dig web search engine is available at: o ftp://ftp.pdv-systeme.de/vms/ o A mySQL database client is available at: o http://mysql.holywar.net/Downloads/MySQL- 3.22/mysql-3.22.25-clients-vms.zip o http://mysql.holywar.net/Downloads/MySQL- 3.22/mysql-3.22.25-clients-vms.readme For additional information related to the mySQL port, please search the comp.os.vms newsgroup archives. A MySQL port is also available on the OpenVMS Freeware. o http://www.hp.com/go/openvms/freeware/ o If you need to change the file modification date and are looking for a utility such as the UNIX touch tool, look at DFU on the OpenVMS Freeware (DFU SET or simular), or use an existing DCL commands such as: $ SET FILE/PROTECT=(current_protection_mask) [...]*.* 13-12 Finding and using Software o A table listing translations between UNIX shell and OpenVMS DCL commands was posted to comp.os.vms by Christopher Smith some time ago. This page should be available from the google newsgroup archives. o The UNIX touch tool is available via various means: $ RENAME filename.ext;version * o http://nucwww.chem.sunysb.edu/helplib/@hvmsapps/TOUCH MadGoat FILE tool (see the MadGoat archives) o use /REVISION_DATE or /CREATION_DATE The DFU tool (see the OpenVMS Freeware) The pair: $ set file 'p1' /acl=(ident=[system],access=none) $ set file 'p1' /acl=(ident=[system],access=none) /delete $ SET FILE/VERSION=0 The following hack: $! Command procedure SETDATE.COM $! $! Changes the DATES for an input file to a $! file named OUTFILE. $! $assign/nolog 'p1' outfile $convert/fdl=sys$input 'p1' outfile: date creation 01-apr-2010 expiration 01-Apr-2012 revision 01-Apr-2011 backup ... The following RMS system service sequence: o sys$open(), with the XABRDT XAB structure chained. o set the desired values within the XABRDT XAB. o sys$close() 13-13 Finding and using Software __________________________________________________________ 13.2__Where_can_I_find_UNIX_tools for OpenVMS? 13.2.1 POSIX-compliant versions of POSIX routines and utilities lex, yacc, grep, tar, uuencode, uudecode, rcs, man, cpio, make, awk, ar, mail, etc., the POSIX shell, the POSIX C programming interface, etc. POSIX utilities can be used from within the POSIX shell, and via the DCL `POSIX/RUN POSIX$BIN:tool.' command. POSIX is a separately-installed package, and is licensed with OpenVMS V5.5 later. The POSIX installation kit is included on the consolidated distribution CD-ROM kit, and installation kits are also available separately. The POSIX package is no longer supported on OpenVMS, components of the POSIX standard such as parts of the POSIX API are being added into OpenVMS. Versions of POSIX generally do not operate on V7.x OpenVMS VAX and OpenVMS Alpha releases. _____________________________ 13.2.2 C system and library routines Common C system and library routines are present in the DEC C run-time library, which is available for V5.5 and later, and is shipped in V6.1 and later. DEC C is the upgrade for VAX C, DEC C and VAX C can coexist on the same system OpenVMS VAX system, and both compilers can be enabled via the "C" license PAK. Also see SYS$EXAMPLES:, and (if either is installed) the DECW$EXAMPLES: and TCPIP$EXAMPLES (or prior to V5.0, UCX$EXAMPLES:) areas. _____________________________ 13.2.3 X Windows utilities and routines Various X Windows utilities are available for DECwindows. DECwindows is an implementation of the X Windows environment and libraries, and provides various libraries, and provides various desktop interfaces, including COE, Motif, and XUI. 13-14 Finding and using Software xwd, xev, mosaic web browser, xrdb, bmtoa and atobm, xpr, ico, etc. are available. Look in DECW$UTILS: in DECwindows Motif V1.2-3 and later. Also see DECW$EXAMPLES: for example X and C programs. Miscellaneous tools and examples are also available. Examples include the older DWAUTH (X Windows SYSUAF authorize-like tool) tool, various versions of grep, fgrep, yacc, vmstar, uuencode, gawk, etc. html tools, the mx SMTP mail exchange package, X windows flight simulator, the mxrn X windows news reader, the OSU HTTPD WWW server, a WWW gopher browser, etc. are all on the various Freeware distributions. _____________________________ 13.2.4 TCP/IP Tools and Utilities for OpenVMS? TCP/IP Services (formerly known as UCX) contains tools such as ping, uuencode, smtp, snmp, rcp, nfs, tnfs, etc. OpenVMS V6.2 and later includes DCL-integrated support for various IP tools, with commands such as SET HOST/TELNET, and COPY/FTP. This interface requires the installation of an IP stack, and UCX V3.3 and later as well as any current third-party IP stack can be used. Once the IP stack is installed and configured, the DCL command qualifiers such as /FTP, /RCP, /RLOGIN, /TELNET, and /TN3270 are available on the various DCL commands. Various C programming examples in TCPIP$EXAMPLES and (on releases prior to V5.0) in UCX$EXAMPLES:. _____________________________ 13.2.5 The vi text editor vile, vim and elvis are all clones of the vi text editor, and all operate on OpenVMS. Versions of vile are available on the Freeware and at: o http://www.clark.net/pub/dickey/vile/vile.html 13-15 Finding and using Software vim: vi improved o http://www.polarfox.com/vim/ _____________________________ 13.2.6 Various GNU tools Information on the GNU on VMS (GNV) Project, which aims to port GNU software (bash, flex, bison, etc) to OpenVMS, is available at: o http://gnv.sourceforge.net/ Software info: o http://vms.gnu.ai.mit.edu/software/ Software archive: o ftp://vms.gnu.ai.mit.edu/gnu-vms/software/ Various GNU tools are also available on the Freeware. _____________________________ 13.2.6.1 GCC compiler A mirror for work performed at the ProGIS company in Germany in porting GCC (GNU C) to OpenVMS Alpha and OpenVMS VAX is available at: o ftp://vms.gnu.org/progis_mirror/gcc o http://www.levitte.org/~ava/vms_gnu.htmlx o ftp://ftp.caltech.edu/pub/rankin/ There are also updated header files for GCC on OpenVMS VAX that allow it to work with TCP/IP Sockets and the HP C RTL at: o ftp://ftp.qsl.net/pub/wb8tyw/gcc281_u/ The HP C compiler and other development tools are part of the OpenVMS Hobbyist licensing program for non-commercial users, and these and other tools are available to commercial developers via the HP DSPP partner program. (See Section 2.14 for information on DSPP.) 13-16 Finding and using Software __________________________________________________________ 13.3 Where can I get the Mozilla Web Browser? Mozilla.org is an open source organization providing HTML-related tools; software that is the basis for various utilities including the Mozilla web browser. OpenVMS Engineering is continuously porting Mozilla.org's web browser to OpenVMS, and OpenVMS ports of the current Mozilla baselevels and releases are available. The OpenVMS Mozilla port includes the web browser, the mail client, the Composer HTML editor, an IRC chat client, a netnews (NNTP) reader, and various other tools. The Mozilla web browser download and the development and release schedules for this and for other Mozilla- related tools are available at: o http://www.mozilla.org/ The available Compaq Secure Web Browser (CSWB) kit is a packaged version of the Mozilla Web Browser. A hardware configuration appropriate for Mozilla generally involves an OpenVMS Alpha system with an EV56 Alpha microprocessor, or an EV6 or more recent processor, and with 256 megabytes of system memory. The performance of Mozilla on EV5-based and earlier Alpha microprocessor systems is generally viewed as inadequate, this due to the extensive use of an Alpha instruction subset that is first available with the EV56 microprocessor generation. Mozilla is not available for OpenVMS VAX. Various versions of the Netscape Navigator web browser are based on the Mozilla code-base. See section Section 13.8 for information on various certificates for the Netscape Navigator V3.03 web browser; certificates that have presently expired. 13-17 Finding and using Software __________________________________________________________ 13.4 Where can I get Java for OpenVMS? Java is available on and is included with OpenVMS Alpha, starting with the OpenVMS Alpha V7.2 and later releases. Java download kits are available for OpenVMS Alpha V7.1 and later releases. Java is not available on OpenVMS VAX. As for why: the Java language definition requires a floating point format (IEEE) that is not native to VAX, and this would require the emulation of all floating point operations within Java applications. Further, the C source code used to implement for Java itself is heavily dependent on passing IEEE floating point values around among the many internal subroutines, and adding support for VAX would entail changes to the HP C compiler for OpenVMS VAX-and specifically to the VAX VCG code generator that is used by HP C on OpenVMS VAX systems-in order to add support for passing IEEE-format floating point doubles around. Alternatively, extensive changes to the Java source code to remove the assumption that the double is an IEEE floating point value. There are currently no plans to make a version of Java available for OpenVMS VAX. (A prototype version of Java was created for OpenVMS VAX, and performance was found to be inadequate. At best.) If Java2 or other environment lifts the requirements for IEEE floating point as part of the language definition, this decision may be revisited. If you are having problems with Display Postscript, you need to upgrade your Java kit-1.2.2-3 and later remove the requirement for Display Postcript extensions, and Java 1.2.2-3 is required with DECwindows V1.2-6 and later. For additional information on Java for Alpha systems, please see the OpenVMS documentation (V7.2 and later), and the following site: o http://www.compaq.com/java/alpha/index.html 13-18 Finding and using Software HP (Compaq) Secure Web Server (CSWS) includes CSWS_ JAVA, which provides the following Apache Tomcat technologies: JavaServer Pages 1.1, Java Servlet 2.2, and MOD_JK. (CSWS is based on the Apache web server. See SOFT1.) __________________________________________________________ 13.5 Obtaining user input in DCL CGI script? If you choose to use the GET method, then the form data is available in the DCL symbol QUERY_STRING, in URL-encoded format. If you use the POST method, then you need to read the form data from stdin. For a DCL CGI script running under the Netscape FastTrack web server, you can read the data using the following READ command: $ READ SYS$COMMAND postdata to read the information in. The following describes the use of DCL command procedures as CGI scripts with the OSU web server: o http://www.levitte.org/~ava/cgiscripts_other.htmlx DCL CGI is also discussed in the Writing Real Programs in DCL book, and in the Ask The Wizard website. __________________________________________________________ 13.6 How can a batch job get its own batch entry number? To have a batch procedure retrieve its own batch entry number, use the following: $ Entry = F$GETQUI("DISPLAY_ENTRY", - "entry_number","display_entry","this_job") Remember that the entry numbers issued by the OpenVMS Job Controller are always opaque longword values. Do not assume you know the format of the entry number, nor the range of entry numbers you might see, nor the algorithm that is used to assign enty numbers. You should simply assume opaque longword. 13-19 Finding and using Software __________________________________________________________ 13.7 How do I convert to new CMS or DTM libraries? A change was made to the format of the CMS database for CMS libraries starting with V3.5-03-to ensure that earlier versions of CMS are unable to access the database once the "conversion" to V3.5-05 and later is made, you must issue the following two commands when upgrading from V3.5-03 and prior. (The only differences between CMS version V3.5-03 and CMS version V3.5-05 involve changes to ensure that no earlier version of CMS can access the "converted" database, and corrupt it.) To perform the "conversion", issue the following commands for each CMS library present: $ RENAME disk:[directory]00CMS.* 01CMS.* $ COPY NLA0: disk:[directory]00CMS.CMS The new file 00CMS.CMS must have the same security settings as the 01CMS.CMS file, and is created solely to ensure continued compatibility with tools that expect to find a 00CMS.CMS file (eg: various versions of the Language-Sensitive text editor LSEDIT). If you choose to install and use the longer variant names support that is available with CMS V4.1 or later, you cannot mix earlier CMS versions within a cluster. If you attempt to mix older and newer versions, you will typically see the following BADLIB and BADTYPSTR error sequence when accessing the CMS library from the older CMS versions: %CMS-F-BADLIB, there is something wrong with your library -CMS-F-BADTYPSTR, header block type is 145; it should be 17 Please see the CMS V4.1 release notes for additional details on this. To perform the equivalent "conversion" for DEC Test Manager (DTM) V3.5 and prior versions to V3.6 and later versions, issue the following DCL commands for each DTM library present: $ RENAME disk:[directory]00DTM.* 01DTM.* $ COPY NLA0: disk:[directory]00DTM.DTM 13-20 Finding and using Software Like CMS, this change is intended to prevent older versions of DTM from accessing newer libraries, and corrupting the contents. Like CMS, once the libraries are renamed, they cannot and should not be renamed back to the older names; like CMS, the changes are not downward-compatible. To convert version 1 (ancient) DTM and CMS libraries forward, please see the DTM CONVERT and the CMS CONVERT commands. __________________________________________________________ 13.8 Where can I get new certificates for Netscape Navigator? The URLs that are available for adding or updating root certificates are: o http://www.entrust.net/customer/generalinfo/import.htm entrust o http://www.thawte.com/ thwate o https://www.verisign.com/server/prg/browser/root.html verisign To update certificates in Netscape Navigator V3.03 on OpenVMS, use the following: Thawte Server certificate which expired in 1998: 1 Under the Options Menu choose "Security Preferences..." 2 Select the "Site Certificates" tab 3 Select "Thawte Server CA" in the list of certificates 4 Select "Delete Certificate" and then "OK" 5 Go to http://www.thawte.com/serverbasic.crt 6 Follow the instructions on the popup dialog box to accept the certificate This involves hitting the "Next" button and clicking an accept button, and then naming the resulting certificate. The certificate is usually named with the same name as the original. 13-21 Finding and using Software VeriSign/RSA Server certificate which expired 31-Dec- 1999: 1 Under the Options Menu choose "Security Preferences..." 2 Select the "Site Certificates" tab 3 Select "Verisign/RSA Secure Server CA" in the list of certificates 4 Select "Delete Certificate" and then "OK" 5 Go to https://www.verisign.com/server/prg/browser/root.html 6 Follow the instructions on the popup dialog box to accept the certificate This involves hitting the "Next" button and clicking an accept button, and then naming the resulting certificate. Verisign suggests using the name "VeriSign CA". __________________________________________________________ 13.9 Why doesn't DCL symbol substitution work? The DCL symbol substitution processing occurs only at the DCL prompt, not within data and not within files. If you wish to perform symbol substitution in this environment, you typically write a small file containing the command(s) and data to be invoked- potentially only the data-and you then invoke the created procedure or reference the specified data. In this case, use of a file containing nolinemode commands or other techniques might be useful-you will want to ensure that the text editor you use does not attempt to use screen mode or similar, as this is not generally considered adventageous within a command procedure. Tools such as FTP have alternatives: COPY/FTP. DCL symbol substitution occurs in two passes, using the ampersand and the apostrophe. In most cases, only the apostrophe is necessary. In a few cases-such as the DCL PIPE command-you will may need to use the ampersand to get the substitution to work. The following example uses ampersand substitution to transfer the contents of the header into a logical name: 13-22 Finding and using Software $ PIPE CC/VERSION | (READ SYS$PIPE hdr ; DEFINE/JOB/NOLOG hdr &hdr ) A logical name (in the job logical name table; shared by all processes in the current job) was used as DCL symbols cannot be returned back out from a DCL PIPE or other spawned subprocess. __________________________________________________________ 13.10 Where can I get Perl for OpenVMS? OpenVMS support is included in the standard distribution of Perl, the popular scripting language created by Larry Wall. In addition to nearly all of the functionality available under Unix, OpenVMS- specific Perl modules provide interfaces to many native features, as well as access to Oracle, Ingres, and Sybase databases via the Perl DBI available on OpenVMS. A website useful for getting started with Perl on OpenVMS-where you will find such things as download links, instructions, auxiliary tools, and sample scripts-is available at: o http://www.sidhe.org/vmsperl If you have a C compiler, the best way to obtain Perl is to download and build it yourself. The latest production quality source kit is available from: o http://www.perl.com/CPAN/src/stable.tar.gz You will need GUNZIP and VMSTAR (both available from the OpenVMS Freeware CD, or from other sites) to unpack the archive; once you've done that, read the instructions in the README.vms file. Binary distributions for most Alpha and VAX environments are available on the OpenVMS Freeware CD- ROM and from various websites, including the following: o http://www.sidhe.org/vmsperl/prebuilt.html o http://www.hp.com/go/openvms/freeware/ 13-23 Finding and using Software During active Perl development cycles, test kits are sometimes found at: from: o ftp://ftp.sidhe.org/ Watch the mailing list (see below) for details on experimental releases. Charles Lane maintains pages on how to write CGI scripts in Perl for the OSU HTTP server, as well as more general tips, tricks, and patches for building and running Perl on OpenVMS: o http://www.crinoid.com/crinoid.htmlx There are OpenVMS-specific Perl modules that implement interfaces to a subset of the VMS System Services. With these modules, you can get (and often set) device, job, queue, user, system, and performance information. The lock manager, RMS indexed files, screen management utilities, and Intracluster Communication Services are also accessible via Perl. The relevant modules are all available from: o http://www.perl.com/CPAN/modules/by-module/VMS To subscribe to the OpenVMS Perl mailing list (a discussion forum for both user support and new development), send an email message to vmsperl- subscribe@perl.org The mailing list archives may be searched at: o http://www.xray.mpe.mpg.de/mailing-lists/vmsperl __________________________________________________________ 13.11 Obtaining the DECmigrate (VEST and TIE) translator? The DECmigrate image translation tool, a tool that translates OpenVMS VAX images for use on OpenVMS Alpha is available at: o http://h71000.www7.hp.com/openvms/products/omsva/omsva.html VEST is the name sometimes given to the DECmigrate translation tool, while TIE names the DECmigrate run- time environment. 13-24 Finding and using Software Please see Section 7.4 and Section 13.13 for related information. Please see the website for the most current details on availability and plans and status of translations for OpenVMS I64 platforms. __________________________________________________________ 13.12 Where can I get Zip, Unzip, self-extracting zip, etc? Many packages are provided in ZIP, GZIP, or BZIP2 format, which requires you to acquire the associated unzip tool to unpack it. You can get ZIP and UNZIP and related and similar tools from the following areas: o http://www.hp.com/go/openvms/freeware/ o ftp://ftp.process.com/vms-freeware/unzip.alpha_exe o ftp://ftp.process.com/vms-freeware/unzip.vax_exe o http://www.decus.de:8080/www/vms/sw/zip.htmlx o http://www.djesys.com/zip.html o http://www.djesys.com/unzip.html or you can request the FILESERV_TOOLS package from the e-mail server. Beware: The [000TOOLS...] pre-built versions of ZIP on the OpenVMS Freeware V4 (http://www.hp.com/go/openvms/freeware/ Freeware V4.0) CD-ROM will erroneously return BILF errors on OpenVMS V7.2 and later. Use of the source on the Freeware V4 to rebuild the ZIP image(s), or acquiring a pre-built ZIP image from one of the above areas can avoid this. The pre-built version of ZIP on the Freeware V4 kit is older than the included ZIP sources, and it contains a latent bug.] Directions for creating and using the sfx self- extracting zip file compression mechanism are available in the unzip kit that is available at: o http://www.hp.com/go/openvms/freeware/, look in a recent unzip* directory. With the UNZIP542 directory from Freeware V5.0, look for the file UNZIPSFX.TXT. 13-25 Finding and using Software If you want to build the zip images for yourself (eg: for an older OpenVMS version), pull over the entire contents of a recent unzip directory. o http://www.hp.com/go/openvms/freeware/ and invoke LINK.COM. HP OpenVMS Engineering uses a tool known as FTSV for creating self-extracting compressed files using the OpenVMS DCX compression tools, as seen with various OpenVMS ECO (patch) kits. sfx provides better compression than does DCX. The FTSV and its related FTSO package have only limited availability outside HP, and are not standard products. __________________________________________________________ 13.13 Are VAX Hardware Emulators Available? Software-based emulators of the VAX architecture and for specific VAX hardware platforms are available from various sources: o SRI CHARON-VAX http://www.softresint.com/ o Tim Stark's TS10 http://sourceforge.net/projects/ts10/ o Bob Supnik's Trailing Edge http://simh.trailing-edge.com/ VAX emulators that operate on PC systems and/or on OpenVMS Alpha systems are available. For information on an alternative to using a VAX emulator- on the available DECmigrate VAX executable image translator- please see Section 13.11. 13-26 _______________________________________________________ 14 Hardware Information __________________________________________________________ 14.1 What are the OpenVMS differences among VAX, Alpha, and IA-64? In terms of software, very few. As of OpenVMS V6.1, the VAX and Alpha platforms are very close to "feature parity". OpenVMS on IA-64 is expected to have "feature parity" with OpenVMS Alpha, and is based on the same source pool. Most applications can just be recompiled and run. Some differences to be aware of: o The default double-precision floating type on OpenVMS Alpha is VAX G_float, whereas on VAX it is usually D_float. D_float is available on Alpha, but D_float values are converted to G_float for computations and then converted back to D_float when stored. Because the G_float type has three fewer fraction bits than D_float, some applications may get different results. IEEE float types are also available on OpenVMS Alpha. o The preferred floating point format on Alpha and IA-64 is IEEE. o Data alignment is extremely important for best performance on Alpha. This means that data items should be allocated at addresses which are exact multiples of their sizes. Quadword alignment will offer the best performance, especially for character values and those smaller than 32 bits. Compilers will naturally align variables where they can and will issue warnings if they detect unaligned data items. o HP C is the only C compiler HP offers on OpenVMS Alpha, and is a direct descendant of Compaq C and DEC C on OpenVMS Alpha. HP C is compatible with DEC C on OpenVMS VAX, but is somewhat different from the older VAX C compiler most people are familiar 14-1 Hardware Information with. Read up on the /EXTERN_MODEL and /STANDARD qualifiers to avoid the most common problems. In additon to HP C, there are open-source ports such as Gnu C available for OpenVMS. o The page size on Alpha and IA-64 systems is variable, but is at least 8 kilobytes. This can have some effect on applications which use the $CRMPSC system service as well as on the display of available memory pages. The page size is available from $GETSYI(SYI$_PAGE_SIZE). There are also a number of manuals which discuss migration to OpenVMS Alpha available on the documentation CD-ROM media, both in the main documentation and in the archived documentation section. On more recent OpenVMS Alpha versions, OpenVMS Alpha has begun to add features and support not available on OpenVMS VAX. Salient new areas include the following: o 64-bit addressing in OpenVMS Alpha V7.0 and later o Multi-host SCSI support (SCSI TCQ) in V6.2 and later o PCI support (platform-dependent) o OpenVMS Galaxy support in V7.2 and later Please see Section 14.4.5 for Intel Itanium terminology. __________________________________________________________ 14.2 Seeking performance information for Alpha (and VAX) systems? HP makes a wide range of performance documents available through its FTP and WWW Internet servers (see Section 3.2). The following contain information on current Alpha and VAX products: o http://www.compaq.com/alphaserver/servers.html o http://www.compaq.com/alphaserver/vax/index.html 14-2 Hardware Information The following sites contain information on various retired VAX and Alpha products: o http://www.compaq.com/alphaserver/archive/index.html o http://www.compaq.com/alphaserver/performance/perf_ tps.html Also see CPU2000: o http://www.spec.org/osg/cpu2000/ o http://www.spec.org/osg/cpu2000/results/cpu2000.html __________________________________________________________ 14.3 Console Commands, Serial Lines, and Controls? This section contains information on VAX and Alpha consoles, and details related to console commands, serial lines, and configuration settings. _____________________________ 14.3.1 What commands are available in the Alpha SRM console? In addition to the normal BOOT commands and such (see Section 14.3.5.1 for some details) and the normal contents of the console HELP text, operations such as I/O redirection and floppy disk access are possible at the SRM console prompt: 1 Format a FAT floppy, and insert it into the AlphaStation floppy drive. 2 Perform the following at AlphaStation SRM Console : >>> show * > env.dat >>> show conf > conf.dat >>> cat env.dat > fat:env.dat/dva0 >>> cat conf.dat > fat:conf.dat/dva0 3 You may use the SRM "ls" command to display the contents of the floppy. >>> ls fat:env.dat/dva0 >>> ls fat:conf.dat/dva0 4 You can now transfer the FAT-format floppy to another system. 14-3 Hardware Information _____________________________ 14.3.2 What does SRM mean? What is PALcode? The abbreviation SRM is derived from the Alpha System Reference Manual, the specification of the Alpha architecture and the associated firmware. PALcode is a name assigned to a particular set of functions provided by the SRM firmware. PALcode is used to provide low-level functions required by higher-level operating system or application software, functions which may not be directly available in Alpha hardware. PALcode is implemented using available Alpha instructions and using the Alpha processor, though PALcode operates in a mode which simplifies programming. PALcode is also permitted access to processor-specific and otherwise internal features of a particular Alpha microprocessor implementation; microprocessor-specific features which are not easily accessable to operating system or application code. _____________________________ 14.3.3 Alpha COM ports and VAX console serial line information? This section contains information on the Alpha COM communication ports, and related settings, as well as on the VAX console bulkhead and VAX console serial line connection. _____________________________ 14.3.3.1 Which terminal device name is assigned to the COM ports? COM2 is normally TTA0:. COM1 is normally TTB0: if the Alpha workstation is booted with the SRM console environment variable set to graphics, and is OPA0: if the console is set to serial. _____________________________ 14.3.3.2 Which serial port is the console on the MicroVAX 3100? Just to keep life interesting, the MicroVAX 3100 has some "interesting" console ports behaviours based on the setting of the BREAK enable switch. When the console is not enabled to respond to BREAK, MMJ-1 is the console port. MMJ-3 will (confusingly) output 14-4 Hardware Information the results of the selftest in parallel with MMJ-1. When the console is enabled to respond to BREAK, MMJ-3 becomes the console port, and MMJ-1 will (confusingly) output the results of selftest in parallel with MMJ-3. _____________________________ 14.3.3.3 How can I set up an alternate console on a VAXstation? Most VAXstation systems have a switch-often labeled S3-that enables one of the serial lines as the system console. Various members of the DEC 3000 series Alpha systems also have a similarly-labled S3 switch for selection of the alternate console. Also see Section 14.3.6, Section 11.11, and Section 14.19. For information on registering software license product authorization keys (PAKs), please see Section 5.5.2. _____________________________ 14.3.3.4 Please explain the back panel of the MicroVAX II The MicroVAX-series console bulkhead was used with the KA630, KA650, KA655 processors. There are three controls on the console bulkhead of these systems: Triangle-in-circle-paddle: halt enable. dot-in-circle: halt () is enabled, and auto-boot is disabled. dot-not-in-circle: halt () is disabled, and auto-boot is enabled. Three-position-rotary: power-up bootstrap behaviour arrow: normal operation. face: language inquiry mode. t-in-circle: infinite self-test loop. Eight-position-rotary: console baud rate selection select the required baud rate; read at power-up. 14-5 Hardware Information There are several different bulkheads involved, including one for the BA23 and BA123 enclosures, and one for the S-box (BA2xx) series enclosure. The console bulkheads typically used either the MMJ serial line connection, or the MicroVAX DB9 (not the PC DB9 pinout), please see the descriptions of these in section WIRES1. For available adapters, see Section 14.28. Also present on the console bulkhead is a self-test indicator: a single-digit LED display. This matches the final part of the countdown displayed on the console or workstation, and can be used by a service organization to determine the nature of a processor problem. The particular countdown sequence varies by processor type, consult the hardware or owner's manual for the processor, or contact the local hardware service organization for information the self-test sequence for a particular processor module. Note that self-tests 2, 1 and 0 are associated with the transfer of control from the console program to the (booting) operating system. _____________________________ 14.3.4 What are Alpha console environment variables? Alpha systems have a variety of variables with values set up within the SRM system console. These environment variables control the particular behaviour of the console program and the system hardware, the particular console interface presented to the operating system, various default values for the operating system bootstrap, and related control mechanisms-in other words, "the environment variables provide an easily extensible mechanism for managing complex console state." The specific environment variables differ by platform and by firmware version-the baseline set is established by the Alpha Architecture: 14-6 Hardware Information AUTO_ACTION ("BOOT", "HALT", "RESTART", any other value assumed to be HALT), BOOT_DEV, BOOTDEF_DEV, BOOTED_DEV, BOOT_FILE, BOOTED_FILE, BOOT_OSFLAGS, BOOTED_OSFLAGS, BOOT_RESET ("ON", "OFF"), DUMP_DEV, ENABLE_AUDIT ("ON", "OFF"), LICENSE, CHAR_SET, LANGUAGE, TTY_DEV. OpenVMS Galaxy firmware can add console environment variables beginning with such strings as LP_* and HP_*, and each particular console implementation can (and often does) have various sorts of platform-specific extensions beyond these variables... The contents of a core set of environment variables are accessible from OpenVMS using the f$getenv lexical and the sys$getenv system service. (These calls are first documented in V7.2, but have been around for quite a while.) Access to arbitary console environment variables is rather more involved, and not directly available. _____________________________ 14.3.5 What are the boot control flag values? Both VAX and Alpha primary bootstraps support flag values; a mechanism which permits the system manager to perform specific customizations or site-specific debugging of the OpenVMS system bootstrap. While very similar, there are differences between VAX and Alpha systems in this area. _____________________________ 14.3.5.1 What are the Alpha APB boot flag values? The following flags are passed (via register R5) to the OpenVMS Alpha primary bootstrap image APB.EXE. These flags control the particular behaviour of the bootstrap: BOOT -FL root,flags bit description --- ---------------------------------------------- 14-7 Hardware Information 0 CONV Conversational bootstrap 1 DEBUG Load SYSTEM_DEBUG.EXE (XDELTA) 2 INIBPT Stop at initial system breakpoints if bit 1 set (EXEC_INIT) 3 DIAG Diagnostic bootstrap (loads diagboot.exe) 4 BOOBPT Stop at bootstrap breakpoints (APB and Sysboot) 5 NOHEADER Secondary bootstrap does not have an image header 6 NOTEST Inhibit memory test 7 SOLICIT Prompt for secondary bootstrap file 8 HALT Halt before transfer to secondary bootstrap 9 SHADOW Boot from shadow set 10 ISL LAD/LAST bootstrap 11 PALCHECK Disable PAL rev check halt 12 DEBUG_BOOT Transfer to intermediate primary bootstrap 13 CRDFAIL Mark CRD pages bad 14 ALIGN_FAULTS Report unaligned data traps in bootstrap 15 REM_DEBUG Allow remote high-level language debugger 16 DBG_INIT Enable verbose boot messages in EXEC_INIT 17 USER_MSGS Enable subset of verbose boot messages (user messages) 18 RSM Boot is controlled by RSM 19 FOREIGN Boot involves a "foreign" disk If you want to set the boot flags "permanently" use the SET BOOT_FLAGS command, e.g. >>> SET BOOT_OSFLAGS 0,1 _____________________________ 14.3.5.2 What are the VAX VMB boot flag values? The following flags are passed (via register R5) to the OpenVMS VAX primary bootstrap image VMB.EXE. These flags control the particular behaviour of the bootstrap: The exact syntax is console-specific, recent VAX consoles tend to use the following: >>> BOOT/R5:flags Bit Meaning --- ------- 14-8 Hardware Information 0 RPB$V_CONV Conversational boot. At various points in the system boot procedure, the bootstrap code solicits parameter and other input from the console terminal. If the DIAG is also on then the diagnostic supervisor should enter "MENU" mode and prompt user for the devices to test. 1 RPB$V_DEBUG Debug. If this flag is set, VMS maps the code for the XDELTA debugger into the system page tables of the running system. 2 RPB$V_INIBPT Initial breakpoint. If RPB$V_DEBUG is set, VMS executes a BPT instruction immediately after enabling mapping. 3 RPB$V_BBLOCK Secondary boot from the boot block. Secondary bootstrap is a single 512-byte block, whose LBN is specified in R4. 4 RPB$V_DIAG Diagnostic boot. Secondary bootstrap is image called [SYSMAINT]DIAGBOOT.EXE. 5 RPB$V_BOOBPT Bootstrap breakpoint. Stops the primary and secondary bootstraps with a breakpoint instruction before testing memory. 6 RPB$V_HEADER Image header. Takes the transfer address of the secondary bootstrap image from that file's image header. If RPB$V_HEADER is not set, transfers control to the first byte of the secondary boot file. 7 RPB$V_NOTEST Memory test inhibit. Sets a bit in the PFN bit map for each page of memory present. Does not test the memory. 8 RPB$V_SOLICT File name. VMB prompts for the name of a secondary bootstrap file. 14-9 Hardware Information 9 RPB$V_HALT Halt before transfer. Executes a HALT instruction before transferring control to the secondary bootstrap. 10 RPB$V_NOPFND No PFN deletion (not implemented; intended to tell VMB not to read a file from the boot device that identifies bad or reserved memory pages, so that VMB does not mark these pages as valid in the PFN bitmap). 11 RPB$V_MPM Specifies that multi-port memory is to be used for the total EXEC memory requirement. No local memory is to be used. This is for tightly-coupled multi-processing. If the DIAG is also on, then the diagnostic supervisor enters "AUTOTEST" mode. 12 RPB$V_USEMPM Specifies that multi-port memory should be used in addition to local memory, as though both were one single pool of pages. 13 RPB$V_MEMTEST Specifies that a more extensive algorithm be used when testing main memory for hardware uncorrectable (RDS) errors. 14 RPB$V_FINDMEM Requests use of MA780 memory if MS780 is insufficient for booting. Used for 11/782 installations. <31:28> RPB$V_TOPSYS Specifies the top level directory number for system disks with multiple systems. 14-10 Hardware Information _____________________________ 14.3.6 How do I boot an AlphaStation without monitor or keyboard? The AlphaStation series will boot without a keyboard attached. To use a serial terminal as the console, issue the SRM console command SET CONSOLE SERIAL followed by the console INIT command. Once this SRM command sequence has been invoked, the Alpha system will use the serial terminal. The DEC 3000 series has a jumper on the motherboard for this purpose. Various older Alpha workstations generally will not (automatically) bootstrap without a keyboard connected, due to the self-test failure that arises when the (missing) keyboard test fails. The usual settings for the console serial terminal (or PC terminal emulator acting as a serial console are: 9600 baud, 8 bits, no parity, one stop bit (9600 baud, 8N1). AlphaServer 4100 and derivative series platforms, and AlphaServer GS80, GS160, and GS320 series system consoles are capable of 57600 baud. See the COM2_BAUD console environment variable, and ensure that you have current SRM firmware version loaded. The AlphaStation and AlphaServer series use the PC DIN serial connector for the "COM1" and "COM2" serial lines, see Section 14.27 for details and pinout. For information on registering software license product authorization keys (PAKs), please see Section 5.5.2. _____________________________ 14.3.7 Downloading and using SRM console Firmware? This section discusses downloading and using Alpha console firmware, sometimes called PALcode. 14-11 Hardware Information _____________________________ 14.3.7.1 Where can I get updated console firmware for Alpha systems? Firmware updates for HP Alpha systems are available from: o ftp://ftp.digital.com/pub/Digital/Alpha/firmware/index.html o ftp://ftp.digital.com/pub/Digital/Alpha/firmware/ o ftp://ftp.digital.com/pub/Digital/Alpha/firmware/readme.html The latest and greatest firmware-if updated firmware has been released after the most recent firmware CD was distributed-is located at: o ftp://ftp.digital.com/pub/Digital/Alpha/firmware/interim/ For information on creating bootable floppies containing the firmware, and for related tools, please see the following areas: o ftp://ftp.digital.com/pub/DEC/Alpha/firmware/utilities/mkboot.txt o ftp://ftp.digital.com/pub/DEC/Alpha/firmware/utilities/mkbootarc.txt o ftp://ftp.digital.com/pub/DEC/Alpha/firmware/utilities/mkntboot.txt The SROM firmware loader expects an ODS-2 formatted floppy, see mkboot. As for which image to use, the ROM image uses a header and the file extension .ROM, and the SROM bootable floppy cannot use the .ROM file. To check the firmware loaded on recent OpenVMS Alpha systems, use the command: $ write sys$output f$getsyi("console_version") $ write sys$output f$getsyi("palcode_version") SDA> CLUE CONFIG Also see Section 14.3.7.2. 14-12 Hardware Information _____________________________ 14.3.7.2 How do I reload SRM firmware on a half-flash Alpha system? Some of the AlphaStation series systems are "half- flash" boxes, meaning only one set of firmware (SRM or AlphaBIOS) can be loaded in flash at a time. Getting back to the SRM firmware when AlphaBIOS (or ARC) is loaded can be a little interesting... That said, this usually involves shuffling some files, and then getting into the AlphaBIOS firmware update sequence, and then entering "update srm" at the apu-> prompt. To shuffle the files, copy the target SRM firmware file (as200_v7_0.exe is current) to a blank, initialized, FAT-format floppy under the filename A:\FWUPDATE.EXE From the AlphaBIOS Setup screen, select the Upgrade AlphaBIOS option. Once the firmware update utility gets going, enter: Apu-> update srm Answer "y" to the "Are you ready...?" Apu-> quit You've reloaded the flash. Now power-cycle the box to finish the process. Also see Section 14.3.7.1. _____________________________ 14.3.7.3 How do I switch between AlphaBIOS/ARC and SRM consoles? The specific steps required vary by system. You must first ensure that the particular Alpha system is supported by OpenVMS (see the SPD), that all core I/O components (graphics, disk controllers, etc) in the system are supported by OpenVMS (see the SPD), and that you have an OpenVMS distribution, that you have the necessary license keys (PAKs), and that you have the necessary SRM firmware loaded. 14-13 Hardware Information A typical sequence used for switching over from the AlphaBIOS graphics console to the SRM console follows: 1 Press to get to the AlphaBIOS setup menu. 2 Pick the "CMOS Setup..." item. 3 Press to get to the "Advanced CMOS Setup" menu. 4 Change the "Console Selection" to "OpenVMS Console (SRM)". 5 Press , , then to save your changes. 6 Power-cycle the system. Most Alpha systems support loading both the AlphaBIOS/ARC console and the SRM console at the same time, but systems such as the AlphaStation 255 are "half-flash" systems and do not support the presence of both the AlphaBIOS/ARC and SRM console firmware at the same time. If you have a "half-flash" system, you must load the SRM firmware from floppy, from a network download, or from a firmware CD-ROM. Following the normal AlphaBIOS or ARC firmware update sequence to the APU prompt, and then explictly select the target console. In other words, power up the system to the AlphaBIOS or ARC console, use the supplementary options to select the installation of new firmware (typically from CD-ROM), and then rather than using a sequence which updates the current firmware: Apu-> update -or- Apu-> update ARC Apu-> verify Apu-> quit Power-cycle the system Use the following sequence to specifically update (and load) SRM from AlphaBIOS/ARC on a "half-flash" system: Apu-> update SRM Apu-> verify Apu-> quit Power-cycle the system 14-14 Hardware Information Use the following sequence to specifically update (and load) the AlphaBIOS/ARC console from SRM on a "half- flash" system: >>> b -fl 0,A0 ddcu BOOTFILE: firmware_boot_file.exe Apu-> update ARC Apu-> verify Apu-> quit Power-cycle the system Once you have the SRM loaded, you can directly install OpenVMS or Tru64 UNIX on the system. Do not allow Windows NT to write a "harmless" signature to any disk used by OpenVMS, Tru64 UNIX, or Linux, as this will clobber a key part of the disk. (On OpenVMS, you can generally recover from this "harmless" action by using the WRITEBOOT tool.) If you have a "full-flash" system and want to select the SRM console from the AlphaBIOS or ARC console environment, select the "Switch to OpenVMS or Tru64 UNIX console" item from the "set up the system" submenu. Then power-cycle the system. If you have a "full-flash" system with the SRM console and want to select AlphaBIOS/ARC, use the command: >>> set os_type NT and power-cycle the system. For information on acquiring firmware, see Section 14.3.7.1. For information on OpenVMS license PAKs (for hobbyist use) see Section 2.7.4. For information on the Multia, see Section 14.4.1. Information on enabling and using the failsafe firmware loader for various systems-this tool is available only on some of the various Alpha platforms-is available in the hardware documentation for the system. This tool is used/needed when the firmware has been corrupted, and cannot load new firmware. 14-15 Hardware Information The full list of AlphaBIOS key sequences-these sequences are needed when using an LK-series keyboard with AlphaBIOS, as AlphaBIOS expects a PC-style keyboard: F1 Ctrl/A F2 Ctrl/B F3 Ctrl/C F4 Ctrl/D F5 Ctrl/E F6 Ctrl/F F7 Ctrl/P F8 Ctrl/R F9 Ctrl/T F10 Ctrl/U Insert Ctrl/V Delete Ctrl/W Backspace Ctrl/H Escape Ctrl/[ Return Ctrl/M LineFeed Ctrl/J (Plus) + upselect (some systems) (Minus) - downselect (some systems) TAB down arrow SHIFT+TAB up arrow _____________________________ 14.3.8 Console Management Options Options to collect multiple consoles into a single server are available, with both hardware options and software packages that can provide advanced features and capabilities. Some of the available console management options for OpenVMS: o http://www.robomon.com/ (Heroix) o http://www.ki.com/products/clim/ (KI Products) o http://www.globalmt.com/ (Global Maintech) o http://www.tditx.com/ (TECsys) o http://www.cai.com/products/commandit.htm (CA) 14-16 Hardware Information Computer Associates is the owner of what was once known as the VAXcluster Console System (VCS) console management package, and has integrated this capability into the CA management product suite. __________________________________________________________ 14.4 What platforms will OpenVMS operate on? For the list of boxes that are officially and formally supported by OpenVMS Engineering, please see the OpenVMS Software Product Description (SPD). o http://www.compaq.com/info/spd/ OpenVMS typically uses SPD 25.01.xx and/or SPD 41.87.xx. Sometimes a particular and officially unsupported Alpha box or Alpha motherboard will sufficiently resemble a supported box that the platform can effectively mimic and can bootstrap OpenVMS. Alternatively, somebody (usually one or more engineers within the OpenVMS Engineering group) will have put together a bootstrap kit - such as the kit for the Alpha Multia-which permits OpenVMS to bootstrap on the platform. Contrary to the assumptions of some folks, there are platform-level differences within the VAX and within Alpha platforms-hardware-level differences that can require moderate to extensive new coding within OpenVMS. Within a platform series, and particularly within Alpha platforms that support Dynamic System Recognition (DSR), OpenVMS can usually bootstrap. DSR is a mechanism by which OpenVMS Alpha can gather platform-specific information, and DSR is the reason why newer Alpha systems can be more easily and more commonly supported on older OpenVMS Alpha releases. DSR is implemented with OpenVMS Alpha code, with SRM console code, and with platform non-volatile memory. OpenVMS users with experience on older OpenVMS VAX releases and VAX hardware will recall that then-new VAX systems either required an OpenVMS VAX upgrade, or that earlier releases would mis-identified then- newer VAX systems-such as the case of the VAX 7000 model 800 being (mis)identified as a VAX 7000 model 14-17 Hardware Information 600 when bootstrapped on OpenVMS VAX V5.5-2. (This (mis)identification was the outcome of a deliberate engineering effort to permit the VAX 7000 model 800 to bootstrap on V5.5-2; the system manager could configure the VAX 7000 model 800 to (mis)identify itself as a model 600, to permit the system to bootstrap on V5.5- 2.) OpenVMS VAX and VAX platforms lack DSR support. OpenVMS I64 (please see Section 14.4.5 for Intel Itanium terminology) supports a platform-level feature similar to the OpenVMS Alpha DSR mechanism, based on the ACPI interface and the byte-code interpreter implemented within OpenVMS, within the EFI console, and particularly within non-volatile memory located on (byte-code interpreter compliant) PCI I/O hardware. ACPI tables provide the information that was formerly retrieved from DSR and from the SRM, and the byte-code interpreter can (theoretically) permit at least limited operations with (compliant) PCI hardware, whether or not OpenVMS has a driver for the particular hardware. The byte code interpreter may or may not permit operations with any particular PCI hardware, and may or may not have sufficient performance for local requirements, and PCI hardware may or may not include the necessary ROM-based drivers in the PCI hardware non-volatile storage. (The intent of this Intel platform-level effort is to move the host software drivers out onto the specific PCI hardware, and to permit the same byte code to operate regardless of the particular host platform.) At least the initial releases of OpenVMS I64 will not have support for the byte code interpreter nor for arbitrary PCI or system hardware, but will have support for ACPI-based system identification and system configuration. 14-18 Hardware Information _____________________________ 14.4.1 on the Alpha Multia? Yes, there are a set of unsupported images that permit specific OpenVMS Alpha versions to bootstrap on the Multia UDB system. These images and the associated instructions are available at the OpenVMS Freeware website: o http://www.hp.com/go/openvms/freeware/ Look in the Freeware V5.0 /multia/ directory. Instructions are included IN the kits. READ THE INSTRUCTIONS. PLEASE! Some of the restrictions involved when running OpenVMS on the Multia system include (but may well not be limited to) the following: o The PCMCIA support was completely removed, because the Intel chip on the Multia was not compatable with the Cirrus chip on the Alphabook. This means, of course, that you will not see and cannot use any PCMCIA cards on a Multia. The Multia uses shared interrupts, and as a result, a special ZLXp-E series graphics device driver-one that does not use interrupts-is needed. This driver is provided in the kit. o The serial lines don't work. o If you have a Multia with a PCI slot, you can't use any PCI card that requires interrupts. o The SRM console on this system is very old and very fragile. (This SRM console was designed only and strictly for diagnostic use, and was not particularly tested or used with OpenVMS.) o If things don't work for you, don't expect to see any OpenVMS updates, nor SRM console updates, nor any support. o Do not expect to see any new versions of OpenVMS on the Multia nor on any other unsupported systems. If such new versions do appear and do work, please consider it as a pleasant surprise. 14-19 Hardware Information The Multia images are not included on the OpenVMS Freeware V4.0 CD-ROM kit, the kit that was distributed with OpenVMS V7.2. (These images became available after Freeware V4.0 shipped.) Other sources of information for OpenVMS on Multia include: o http://www.djesys.com/vms/hobbyist/multia.html o http://www.djesys.com/vms/hobbyist/mltianot.html o http://www.djesys.com/vms/hobbyist/support.html o http://www.netbsd.org/Ports/alpha/multiafaq.html o http://www.brouhaha.com/~eric/computers/udb.html _____________________________ 14.4.2 on AlphaPC 164LX? AlphaPC 164SX? OpenVMS Alpha is not supported on the AlphaPC 164LX and 164SX series, though there are folks that have gotten certain of the LX series to load SRM and bootstrap OpenVMS. (The Aspen Durango II variant, specifically.) One problem has been generally reported: ATA (IDE) bootstraps will fail; SCSI storage and a SCSI CD-ROM device is required. Also see Section 14.4.2.1. _____________________________ 14.4.2.1 on the NoName AXPpci33 system? Information on bootstrapping OpenVMS (using the Multia files described in Section 14.4.1) on the (unsupported) NoName AXPpci33 module is available at: o http://www.jyu.fi/~kujala/vms-in-axppci33.txt Tips for using the Multia files with the AXPpci33: o You have to use the Multia kit and follow the directions in ALPHA8, but do *not* load the Multia SRM firmware into the AXPpci33. Rather, download and use the latest firmware for the AXPpci33 from the HP Alpha firmware website instead. o 64 MB memory is generally necessary. 14-20 Hardware Information o you cannot use any PCI cards, and if you plan on networking, you need to find an ISA Ethernet card supported by OpenVMS. o When the AXPpci33 board bootstraps, it will dump some stuff like a crash dump, but it will continue and-so far-this hasn't caused any particular hassles. o The system shutdown and reboot procedures do not work properly. o The serial console is reported to not work, though the serial ports apparently do work. The status of the parallel port is unknown. o Rumour has it that you have one of the AXPpci33 motherboards with the PS/2 mouse and keyboard connectors and a VGA card (one that will work under DECwindows) and you can run DECwindows on the system. _____________________________ 14.4.3 on the Alpha XL series? No. OpenVMS Engineering does not formally support the Alpha XL series, nor will OpenVMS (informally) bootstrap on the Alpha XL series. OpenVMS can not, will not, and does not bootstrap on the Alpha XL series. The Alpha XL series was targeted for use (only) with the Microsoft Windows NT operating system. The Alpha XL platform does not resemble other supported platforms. _____________________________ 14.4.4 OpenVMS on the Personal Workstation -a and -au series? Though OpenVMS is not supported on the Personal Workstation -a series platforms, OpenVMS might or might not bootstrap on the platform. 14-21 Hardware Information If you wish to attempt this, you must ensure that all graphics and all I/O controllers in the system are supported by OpenVMS. You must also ensure that you have the most current firmware loaded. _____________________________ 14.4.4.1 OpenVMS on the Whitebox Windows-Only series Alpha? Though OpenVMS is not supported on the "Whitebox" series of Alpha platforms, OpenVMS might or might not bootstrap on the platform. These systems were specifically configured, targeted and supported only for use with the Microsoft Windows NT operating system. On some of the "Whitebox" systems, the following sequence of console commands can potentially be used to convert the system over to unsupported use by and for OpenVMS Hobbyist users. (But please note that if you wish to attempt this, you must ensure that all graphics and all I/O controllers in the system are supported by OpenVMS, and you must ensure that you have the most current SRM firmware loaded. (For information on locating and downloading the most current Alpha SRM firmware, please see Section 14.3.7.1.) And you must realize that the resulting Whitebox configuration will be entirely unsupported and may or may not be stable and useful.) set os_type vms cat nvram ! too see what is in this, if anything edit nvram 10 set srm_boot on 20 e init If your nvram has other contents, you will need to change the line numbers (10 and 20) to reflect the contents of your configuration. To obtain documentation on the commands of the console editor, enter the ? command within the editor. The above sequence was reportedly tested on the DIGITAL Server 3300 series, a relative of the AlphaServer 800 series. The DIGITAL Server 3300 is not supported by OpenVMS, though the AlphaServer 800 series is a 14-22 Hardware Information supported platform. The sequence may or may not work on other platforms, and may or may not work on the DIGITAL Server 3300 platform. Also see Section 5.32. _____________________________ 14.4.4.2 OpenVMS and Personal Workstation ATA (IDE) bootstrap? OpenVMS will boot and is supported on the Personal Workstation -au series platforms, though OpenVMS will require a SCSI CD-ROM if the Intel Saturn I/O (SIO) IDE chip is present in the configuration- only the Cypress IDE controller chip is supported by OpenVMS for IDE bootstraps. If you have an -au series system, you can determine which IDE chip you have using the SRM console command: SHOW CONFIGURATION If you see "Cypress PCI Peripheral Controller", you can bootstrap OpenVMS from IDE storage. If you see "Intel SIO 82378", you will need to use and bootstrap from SCSI. (A procedure to load DQDRIVER on the Intel SIO- once the system has bootstrapped from a SCSI device-is expected to be included as part of the contents of the DQDRIVER directory on Freeware V5.0 and later.) Many of the -a series systems will include the Intel SIO, and thus cannot bootstrap from IDE. _____________________________ 14.4.5 On the Intel Itanium IA-64 platform? OpenVMS is being ported to the Intel IA-64 architecture; to HP systems based on the Intel Itanium Processor Family. The first release of OpenVMS I64 is V8.0, with the first general release of OpenVMS I64 expected to be V8.2. Some Intel and HP terminology: Itanium Processor Family is the name of the current implementation; of the current Intel microprocessor family implementing the IA-64 architecture. IA-64 is the name of the Intel 14-23 Hardware Information and HP architecture implementing the VLIW (Very Long Instruction Word) design known as EPIC (Explicitly Parallel Instruction Computing). I64 is the name of a family of HP computer systems using Intel Itanium processors. _____________________________ 14.4.5.1 Where can I get Intel Itanium information? Intel Itanium Processor Family and IA-64 Architecture, Hardware, Software, and related docoumentation materials are available at: o ftp://download.intel.com/design/IA-64/manuals/ o ftp://download.intel.com/design/IA-64/Downloads/ o ftp://download.intel.com/design/IA- 64/Downloads/archSysSoftware.pdf o ftp://download.intel.com/design/IA- 64/Downloads/24870101.pdf The Intel Extensible Firmware Interface (EFI) console documentation: http://www.pentium.de/technology/efi/index.htm Please see Section 14.4.5 for Intel Itanium terminology. __________________________________________________________ 14.5 What is the least expensive system that will run OpenVMS? The cheapest systems that are or have been recently offered by HP that will run OpenVMS Alpha are the AlphaServer DS10 server, the AlphaStation XP900 workstation, the AlphaStation VS10 workstation, and the AlphaStation XP1000 workstation. Other companies sell Alpha-powered systems and Alpha motherboards, some of which will run (and can be purchased with) OpenVMS- see the OpenVMS Software Product Description (SPD) for details on the supported systems and configurations. There are also many used AlphaStation, AlphaServer, and DEC 3000 models available which are quite suitable. For more experienced OpenVMS system managers, the 14-24 Hardware Information (unsupported) Multia can bootstrap OpenVMS-see Section 14.4.1 for details. Depending on the OpenVMS version and configuration, the OpenVMS Software Product Description (SPD) is available at: o http://www.openvms.compaq.com/doc/ o http://www.openvms.compaq.com/commercial/ When purchasing a system, ensure that the system itself is supported, that the system disk drive is supported or closely compatible, that the CD-ROM drive is supported or is closely compatable and that (in the case of SCSI devices) it also specifically supports 512 byte block transfers; no equivalent requirement exists for IDE devices. Also particularly ensure that the video controller is supported. Use of supported HP hardware will generally reduce the level of integration effort involved. A CD-ROM, CD-R or DVD drive is required for OpenVMS Alpha installations. CD-ROM drive compatibility information is available at: o http://sites.inka.de/pcde/dec-cdrom-list.txt __________________________________________________________ 14.6 Where can I get more information on Alpha systems? HP operates an AlphaServer information center at: o http://www.compaq.com/alphaserver/ Alpha Technical information and documentation is available at: o ftp://ftp.compaq.com/pub/products/alphaCPUdocs/ o http://h18000.www1.hp.com/products/software/alpha- tools/ o ftp://ftp.digital.com/pub/DEC/Alpha/systems/ o http://ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc- library.html 14-25 Hardware Information o Alpha Systems Update: http://www.compaq.com/alphaserver/fb_acu.html Software Product Description (SPD) information, including platform support documentation: o http://www.compaq.com/info/spd/ OpenVMS typically uses SPD 25.01.xx and/or SPD 41.87.xx. Information on Multia hardware is available at: o http://www.netbsd.org/Ports/alpha/multiafaq.html Information on DEC 3000 series hardware is available at: o http://www.phys.ufl.edu/~prescott/linux/alpha/dec3000- sysinfo.html o http://www.phys.ufl.edu/~prescott/linux/alpha/dec3000- docs.html o http://ftp.netbsd.org/pub/NetBSD/misc/dec- docs/index.html Information on current and future Alpha microprocessor designs is also available from AlphaPowered at: o http://www.alphapowered.com/alpha_tomorrow.html o http://www.alphapowered.com/timeline.html o http://www.alphapowered.com/ev7-and-ev8.html The NetBSD folks maintain useful Alpha hardware information at: o http://www.netbsd.org/Ports/alpha/models.html 14-26 Hardware Information __________________________________________________________ 14.7 Describe Alpha instruction emulation and instruction subsets? The Alpha architecture is upward- and downward- compatible, and newer instructions are emulated on older platforms, for those cases where the compiler is explicitly requested to generate the newer Alpha instructions. In particular, OpenVMS Alpha V7.1 and later include the instruction emulation capabilities necessary for the execution of newer Alpha instructions on older Alpha microprocessors. (Instruction emulation capabilities are available for user-mode application code, and are not available to device drivers or other similar kernel-mode code.) Alpha instructions are available in groups (or subsets). Obviously, there is the base instruction set that is available on all Alpha microprocessors. Then, the following are the current instruction extension groups (or subsets) that are available on some of various recent Alpha microprocessors: o byte/word extension (BWX): LDBU, LDWU, SEXTB, SEXTW, STB, and STW. o floating-point and square root extension (FIX): FTOIS, FTOIT, ITOFF, ITOFS, ITOFT, SQRTF, SQRTG, SQRTS, and SQRTT. o count extension (CIX): CTLZ, CTPOP, and CTTZ. o multi-media extension (MVI): MAXSB8, MAXSW4, MAXUB8, MAXUW4, MINSB8, MINSW4, MINUB8, MINUW4, PERR, PKLB, PKWB, UNPKBL, and UNPKBW. The typical instruction subset that provides the biggest win-and of course, your mileage may vary-is typically the instruction set that is provided by the EV56 and later; specifically, the byte-word instruction subset. To select this subset, use the following: /ARCHITECTURE=EV56/OPTIMIZE=TUNE=GENERIC 14-27 Hardware Information The /ARCHITECTURE controls the maximum instruction subset that the compiler will generally use, while the /OPTIMIZE=TUNE controls both the instruction-level scheduling and also the instructions generated inside loops-any code resulting from /OPTIMIZE=TUNE that is specific to an instruction subset will be generated only inside loops and will also be "protected" by an AMASK-based test that permits the execution of the proper code for the particular current Alpha microprocessor. Typically /OPTIMIZE=TUNE=GENERIC is the appropriate choice for tuning, and the /ARCHITECTURE selects the minimum target architecture for general use throughout the generated code. generated for later architectures and instruction subsets will run on older Alpha systems due to the emulation, but if /ARCHITECTURE is a significant benefit, then the emulation might be a performance penalty. Please see the OpenVMS Ask The Wizard area for the source code of a (non-privileged) tool that looks at the instruction subsets available on the particular Alpha microprocessor that the tool is run on. This tool demonstrates the use of the Alpha AMASK and IMPLVER instructions. Please see Section 10.22 and Section 14.10 for additional details and related considerations. __________________________________________________________ 14.8 What is the Accuracy of the Alpha Time of Year (BB_WATCH) Clock? The specification for maximum clock drift in the Alpha hardware clock is 50 parts per million (ppm), that is less than ±0.000050 seconds of drift per second, less than ±0.000050 days of drift per day, or less than ±0.000050 years of drift per year, etc. (eg: An error of one second over a day-long interval is roughly 11ppm, or 1000000/(24*60*60).) Put another way, this is .005%, which is around 130 seconds per month or 26 minutes per year. 14-28 Hardware Information The software-maintained system time can drift more than this, primarily due to other system activity. Typical causes of drift include extensive high-IPL code (soft memory errors, heavy activity at device IPLs, etc) that are causing the processing of the clock interrupts to be blocked. Also see Section 14.15, Section 4.3. __________________________________________________________ 14.9 So how do I open up the DEC 3000 chassis? After removing those two little screws, tilt the back end of the top shell upwards-then you can remove the lid. __________________________________________________________ 14.10 What is byte swizzling? "Swizzling" is the term used to describe the operation needed to do partial longword (i.e. byte or word) accesses to I/O space on those systems that don't support it directly. It involved shifting the offset into an address space by 5 (or 7 for one older system), and ORing this into the base address. It then required the size of the operation to be ORed into the low order bits. That is, because the EV4 and EV5 CPUs did not bring bits 0 and 1 off the chip, to do programmed I/O for bytes/words, the information on the size/offset of the transfer was encoded into the address data. The data itself then had to be shifted into the correct "byte lane" (i.e. its actual position within a longword). The EV56 CPU supports the byte/word instructions however only some EV56 systems support byte/word accesses to I/O space. Even on an EV56 system that supports byte/word accesses to I/O space, the relevant OpenVMS routines do not support byte/word access to I/O space. EV6 systems (with the exception of the AlphaServer GS60 and AlphaServer GS140 series, for reasons of platform compatability) support a flat, byte addressable I/O space. 14-29 Hardware Information If a device driver uses CRAM or IOC$WRITE_IO/IOC$READ_ IO, then OpenVMS will do the right thing without changing the driver - OpenVMS will swizzle and unswizzle as needed. To use byte/word operations on MEMORY, you need to tell the compiler to use the EV56 or EV6 architecture (/ARCHITECTURE=EV56). Memory operations did not swizzle, but the compiler would do long/quad access, and extract/insert bytes as needed. Using /ARCHITECTURE=EV56 allows smaller, more efficient byte/word access logic to memory. If the application is directly doing I/O space access across a range of Alpha systems (like the graphics servers), then the driver will need to know how to do swizzling for old platforms, and byte access for new platforms. Please see Section 10.22 and Section 14.7 for additional details and related considerations. __________________________________________________________ 14.11 What is the layout of the VAX floating point format? The VAX floating point format is derived from one of the PDP-11 FP formats, which helps explain its strange layout. There are four formats defined: F 32- bit single-precision, D and G 64-bit double-precision and H 128-bit quadruple precision. For all formats, the lowest addressed 16-bit "word" contains the sign and exponent (and for other than H, some of the most significant fraction bits). Each successive higher- addressed word contains the next 16 lesser-significant fraction bits. Bit 15 of the first word is the sign, 1 for negative, 0 for positive. Zero is represented by a biased exponent value of zero and a sign of zero; the fraction bits are ignored (but on Alpha, non- zero fraction bits in a zero value cause an error.) A value with biased exponent zero and sign bit 1 is a "reserved operand" - touching it causes an error - fraction bits are ignored. There are no minus zero, infinity, denormalized or NaN values. 14-30 Hardware Information For all formats, the fraction is normalized and the radix point assumed to be to the left of the MSB, hence the following range: 0.5 less than or equal to f and less than 1.0. The MSB, always being 1, is not stored. The binary exponent is stored with a bias varying with type in bits 14:n of the lowest-addressed word. FP Exponent Exponent Mantissa (Fraction) bits, Type Bits Bias including hidden bit ========================================================== F 8 128 24 D 8 128 56 G 11 1024 53 H 15 16384 113 The layout for D is identical to that for F except for 32 additional fraction bits. Example: +1.5 in F float is hex 000040C0 (fraction of .11[base 2], biased exponent of 129) __________________________________________________________ 14.12 Where can I find more info about VAX systems? o HP runs a VAX "InfoCenter" at: http://www.compaq.com/alphaserver/vax/ o Jim Agnew maintains a MicroVAX/VAXstation FAQ at: http://anacin.nsc.vcu.edu/~jim/mvax/mvax_faq.html o The VAXstation 3100 Owner's Guide: http://www.whiteice.com/~williamwebb/intro/DOC- i.html o A field guide to PDP-11 (and VAX) Q-bus and UNIBUS modules can be found at: http://metalab.unc.edu//pub/academic/computer- science/history/pdp-11/hardware/field-guide.txt o Various VAX historical information (also see Section 2.1) can be found at: http://telnet.hu/hamster/vax/e_index.html 14-31 Hardware Information __________________________________________________________ 14.13 Where can I find information on NetBSD for VAX systems? Gunnar Helliesen maintains a NetBSD VAX FAQ at http://vaxine.bitcon.no/. __________________________________________________________ 14.14 What system disk size limit on the MicroVAX and VAXstation 3100? System disks larger than 1.073 gigabytes (GB)-1fffff hexidecimal blocks - are not supported on any member of the VAXstation 3100 series and on certain older members of the MicroVAX 3100 series, and are not reliable on these affected systems. (See below to identify the affected systems-the more recent members of the MicroVAX 3100 series systems are NOT affected.) Various of the SCSI commands used by the boot drivers imbedded in the console PROM on all members of the VAXstation 3100 series use "Group 0" commands, which allow a 21 bit block number field, which allows access to the first 1fffff hexidecimal blocks of a disk. Any disk references past 1fffff will wrap-this wrapping behaviour can be of particular interest when writing a system crashdump file, as this can potentially lead to system disk corruptions should any part of the crashdump file be located beyond 1.073 GB. More recent systems and console PROMs use "Group 1" SCSI commands, which allow a 32 bit block number field. There was a similar limitation among the oldest of the MicroVAX 3100 series, but a console boot PROM was phased into production and was made available for field retrofits-this PROM upgrade allows the use of the "Group 1" SCSI commands, and thus larger system disks. There was no similar PROM upgrade for the VAXstation 3100 series. Systems that are affected by this limit: o VAXstation 3100 series, all members. No PROM upgrade is available. o MicroVAX 3100 models 10 and 20. No PROM upgrade is available. 14-32 Hardware Information o MicroVAX 3100 models 10e and 20e. Only systems with console VMB versions prior to V6.4 are affected. A PROM upgrade for these specific systems is (or was once) available. Also see http://www.whiteice.com/~williamwebb/intro/DOC-i.html Also see Section 9.5. __________________________________________________________ 14.15 What is the Accuracy of VAX the Time of Year (TOY) Clock? The VAX Time-Of-Year (TOY) clock (used to save the time over a reboot or power failure) is specified as having an accuracy of 0.0025%. This is a drift of roughly 65 seconds per month. The VAX Interval Time is used to keep the running time, and this has a specified accuracy of .01%. This is a drift of approximately 8.64 seconds per day. Any high-IPL activity can interfere with the IPL 22 or IPL 24 (this depends on the VAX implementation) clock interrupts-activities such as extensive device driver interrupts or memory errors are known to slow the clock. Also see Section 14.8, Section 4.3. __________________________________________________________ 14.16 What are the VAX processor (CPU) codes? 14-33 Hardware Information CPU: Platform: ----- --------- KA41-A : MicroVAX 3100 Model 10 and 20 KA41-B : VAXserver 3100 Model 10 and 20 KA41-C : InfoServer KA41-D : MicroVAX 3100 Model 10e and 20e KA41-E : VAXserver 3100 Model 10e and 20e KA42-A : VAXstation 3100 Model 30 and 40 KA42-B : VAXstation 3100 Model 38 and 48 KA43-A : VAXstation 3100 Model 76 KA45 : MicroVAX 3100 Model 30 and 40 KA46 : VAXstation 4000 Model 60 KA47 : MicroVAX 3100 Model 80 KA48 : VAXstation 4000 VLC KA49-A : VAXstation 4000 Model 90/90A KA49-B : VAXstation 4000 Model 95 KA49-C : VAXstation 4000 Model 96 KA50 : MicroVAX 3100 Model 90 KA51 : MicroVAX 3100 Model 95 KA52 : VAX 4000 Model 100 KA53 : VAX 4000 Model 105 KA54 : VAX 4000 Model 106 KA55 : MicroVAX 3100 Model 85 KA56 : MicroVAX 3100 Model 96 KA57 : VAX 4000 Model 108 KA58 : MicroVAX 3100 Model 88 KA59 : MicroVAX 3100 Model 98 KA85 : VAX 8500 KA86 : VAX 8600 KA88 : VAX 8800 KA600 : VAX 4000-50 (aka VAXbrick) KA610 : MicroVAX I, VAXstation I (aka KD32) KA620 : rtVAX (VAXeln) KA62A : VAX 6000-200 KA62B : VAX 6000-300 KA630 : MicroVAX II, VAXstation II KA640 : MicroVAX 3300, MicroVAX 3400 KA650 : VAXstation 3200, MicroVAX 3500, MicroVAX 3600, MicroVAX III KA64A : VAX 6000-400 KA655 : MicroVAX 3800, MicroVAX 3900, MicroVAX III+ KA65A : VAX 6000-500 KA660 : VAX 4000-200, VAX 4 upgrade KA66A : VAX 6000-600 14-34 Hardware Information KA670 : VAX 4000-300 KA675 : VAX 4000-400 KA680 : VAX 4000-500 KA681 : VAX 4000-500A KA690 : VAX 4000-600 KA691 : VAX 4000-605A KA692 : VAX 4000-700A KA693 : VAX 4000-605A KA694 : VAX 4000-705A KA730 : VAX-11/730 KA750 : VAX-11/750 KA780 : VAX-11/780, VAX-11/782 KA785 : VAX-11/785 KA7AA : VAX 7000-600 KA7AB : VAX 7000-700 KA7AC : VAX 7000-800 KA800 : VAXrta KA820 : VAX 8200, VAX 8300 KA825 : VAX 8250, VAX 8350 KA865 : VAX 8650 __________________________________________________________ 14.17 Where can I get software and hardware support information? Please contact the HP Customer Support Center. Services and information, manuals, guides, downloads, and various other information is available via the support link at: o http://www.hp.com/products/openvms/ Various hardware and system documentation is available at: o http://www.compaq.com/support/techpubs/user_ reference_guides/ o http://www.adenzel.demon.nl/vaxes/microvax3100/ o http://www.adenzel.demon.nl/vaxes/infoserver150/ 14-35 Hardware Information TSM (Terminal Server Manager), DEChub, DECserver, etc. information: o http://www.compaq.com/support/digital_networks_ archive/ The owner and maintainer of current DECserver and related hardware is DIGITAL Network Products Group (DNPG): o http://www.dnpg.com/ __________________________________________________________ 14.18 Where can I get hardware self-maintenance support assistance? The HP Assisted Services (CAS) program (a direct descendent of the program once known as DECmailer) is available to customers that wish to maintain their own system(s) (self-maintenance), but that wish some level of assistance in acquiring hardware diagnostics and hardware manuals for the system(s), and that wish to have access to spares and module-level repairs for customer-performed hardware module swaps: o http://www.compaq.com/CAS-Catalog/ __________________________________________________________ 14.19 Why does my system halt when I power-cycle the console terminal? Various VAX and Alpha consoles are designed to process the BREAK signal, treating it as a HALT request. A BREAK is a deliberately-generated serial line framing error. When a serial line device such as a terminal powers up (or sometimes when powering down) it can generate framing errors. These framing errors are indistingushable from a BREAK signal. When a BREAK is received on a serial line console for various VAX systems-including most VAXstation, MicroVAX, and VAX 4000 series-it is typically interpreted as a HALT. Alpha systems will also often 14-36 Hardware Information process a BREAK in a similar fashion, halting the system. There is no uniform or generally-available way to disable this behaviour on every VAX or Alpha system. On some systems, BREAK processing can be disabled in favor of [CTRL/P], or [CTRL/P] is the only way to halt the processor. The most common way to avoid these halts is to disable the serial line console or to simply not power-cycle the console terminal. There is certain important system state information that is displayed only on the console, OpenVMS expects to always have access to the system console. Also see Section 5.5. __________________________________________________________ 14.20 Can I reuse old keyboards, mice and monitors with a PC? Older HP keyboards (those with the DIGITAL logo and the RJ modular jacks), older HP mice (those with the DIGITAL logo and with the RJ modular jacks, or with a DIN connector with pins in a configuration other than the PC-standard DIN connector pin orientation), and older video monitors (with RGB synch-on-green video signaling) all use signaling formats and/or communications protocols that differ from the PC standards, and are not (easily) interchangable nor (easily) compatible with typical PC peripheral device controllers. The LK201 and LK401 keyboards, the VSXXX series mice, the VR260 and VR290 monitors, etc., are incompatible with most PC systems and with most KVM switches. Newer HP (and Compaq) keyboards (those with with PC- style DIN plugs, and the HP, Compaq or DIGITAL logo), newer HP mice (with PC-pin DIN plugs, and the HP, Compaq or DIGITAL logo), and newer video monitors (multi-synch) are often interchangeable with "industry standard" PC systems, and can often be used with most PC peripheral device controllers. LK461, LK463, LK46W, LK471, PC7XS-CA, VRC16, VRC21, TFT-series LCD flat-panel displays, etc., are typically reasonably compatible with most PC systems, and will usually 14-37 Hardware Information perform as expected within the limits of the hardware. (For details of CRT and LCD display compatibility, please see Section 14.21.) Rule of thumb: if the peripheral device component was sold for use with the DEC 2000 (DECpc 150 AXP), an AlphaServer series, an AlphaStation series, or a more recent Alpha system, it will probably work with a PC peripheral controller or with a PC-compatible KVM switch. If the peripheral device component was sold for use with an VT420 or older terminal, most VAX, most VAXstation, and most Alpha systems with names in the format DEC [four-digit-number], it probably won't work on a PC system or with a PC-compatible KVM. Note that the above is a general guideline, and should not be read to indicate that any particular peripheral device will or will not work in any particular configuration, save for those specific configurations the device is explicitly supported in. Software Integrators sells a video adapter card called Gemini P1 which will drive many of the older HP (DIGITAL-logo) fixed-frequency monitors on a PC system: o http://www.si87.com/ The DIGITAL part number 29-32540-01 converts the output from the RGB cable (3 BNC, synch-on-green) that comes with the VAXstation 3100 and VAXstation 4000 series to a female SVGA D connector. This adapter will allow PC multisync monitors with the needed frequency specifications to be used with the VAXstation series synch-on-green video connection. It may well also work with a VAXstation 2000 series systems, but specifics and performance of that combination are not immediately known at this writing. The protocol definition for the old DIGITAL keyboard and mouse interfaces is buried at the back of the QDSS section in the old VAXstation II manual, specifically, in the back of the VCB02 Video Subsystem Technical Manual (EK-104AA-TM). The keyboard wiring and protocol 14-38 Hardware Information is in appendix B, and occupies circa 44 pages. The mouse is in appendix C, circa 12 pages. Also see Section 14.21. __________________________________________________________ 14.21 Which video monitor works with which graphics controller? To determine the answer to the "will this video monitor or this LCD panel work with this graphics controller?" question, please first locate the resolution(s) and the frequencies that are possible/supported at both ends of the video cable (on the display and on the graphics controller, in other words), and then determine if there are any matching settings available. If there are multiple matches, you will need to determine which one is most appropriate for your needs. You will also need to determine if the video monitor or graphics controller requires the 3 BNC signaling with the synchronization signals on the green wire, or the 5 BNC signalling common on many PCs, or other connections such as the DB15 video connector or USB connector used on various systems. If there are no matches, you will likely need to change the hardware at one or both ends of the video cable. The refresh frequencies for many devices have been posted to comp.os.vms and/or other newsgroups. Search the archives for details. Also see: o http://www.repairfaq.org/ o http://www.mirage-mmc.com/faq/ o http://www.geocities.com/SiliconValley/Foothills/4467/fixedsync.html o http://saturn.tlug.org/sunstuff/ffmonitor.html o http://hawks.ha.md.us/hardware/monitor.html LCD-based and plasma-based flat-panel displays are generally compatible with all recent OpenVMS Alpha systems and supported graphics controllers. For best results, you should generally set the graphics controller to match the native LCD or plasma display resolution and (for LCD displays) also set the 14-39 Hardware Information controller refresh rate to 60Hz. Check your graphics controller and your display documentation for any device-specific requirements and/or configuration recommendations. Also see Section 14.20. __________________________________________________________ 14.22 Where can I get information on storage hardware? Information on various HP (Compaq, DIGITAL) OpenVMS and other disk storage hardware and controllers, and related technical information on SCSI, device jumpers, etc., is available at: o http://theref.aquascape.com/ Note: the above website appears to have become unavailable, and the FAQ maintainer is unaware of a new server. You may or may not have some success looking for this or other now-unavailable sites using the world-wide web archives at: o http://www.archive.org/ __________________________________________________________ 14.23 Why does my LK401 keyboard unexpectedly autorepeat? There are several modes of failure: o Pressing 2 and 3 keys at the same time causes one key to autorepeat when released. Check the hardware revision level printed on the bottom of the keyboard. If the revision level is C01, the keyboard firmware is broken. Call field service to replace the keyboard with any revision level other than C01. o Pressing certain keys is always broken. Typical symptoms are: delete always causes a autorepeat, return needs to be pressed twice, etc. This is frequently caused by having keys depressed while the keyboard is being initialized. Pressing ^F2 several times or unplugging and replugging the keyboard frequently fix this problem. (Ensure you have current ECO kits applied; there is a patch available to fix this problem.) 14-40 Hardware Information o A key that was working spontaneously stops working correctly. This may be either of the two previous cases, or it may be bad console firmware. Ensure that you have the most recent firmware installed on your Alpha system. In particular, an old version of the DEC 3000 SRM firmware is known to have a bug that can cause this keyboard misbehaviour. __________________________________________________________ 14.24 Problem - My LK411 sends the wrong keycodes or some keys are dead Check the firmware revision on the keyboard. Hardware revision B01 introduced an incompatability with the device driver which causes the keyboard to not be recognized correctly. There is a patch available to fix this problem: [AXPDRIV06_061] - the fix is also included in OpenVMS V6.2. The rev A01 keyboard, and the LK450 should work without problems. If you are working from another operating system platform, please see the DECxterm tool and related information on OpenVMS Freeware V5.0. __________________________________________________________ 14.25 Which DE500 variant works with which OpenVMS version? Ensure you have a version of the Alpha SRM console with support for the DE500 series device. Apply ALL mandatory ECO kits for the OpenVMS version in use, and also apply the CLUSIO, ALPBOOT, and ALPLAN kits, and apply any available ALPCPU ECO kit for the platform. o DE500-XA auto-detection, no auto-negotiation, OpenVMS V6.2-1H1 and ALPBOOT ECO, also V7.0 and later and ECO. Device hardware id 02000011 and 02000012. Component part number 54-24187-01 o DE500-AA auto-detection, auto-negotiation, OpenVMS V6.2 and ALPBOOT and ALPLAN ECOs, or V7.1 and later and ECO. Device hardware id 02000020 and 20000022. Component part number 54-24502-01 14-41 Hardware Information o DE500-BA auto-detection, auto-negotiation, OpenVMS V6.2-1H3 and CLUSIO, ALPBOOT, ALPLAN and ALPCPU ECOs, or V7.1-1H1 or later and ECO. Device hardware id 02000030 (check connector, vs DE500-FA) (other values on old Alpha SRM firmware) Component part number 54-24602-01 o DE500-FA (100 megabit fibre optic Ethernet) OpenVMS V7.1-1H1 and later Device hardware id 02000030 (check connector, vs DE500-BA) (other values possible on old Alpha SRM firmware) Component part number 54-24899-01 To check the DE500 device hardware id from OpenVMS, use the following command: $ ANALYZE/SYSTEM SDA> SHOW LAN/DEVICE=EWcu: The "hardware id" will be displayed. To set the DE500 speed via the Alpha SRM console environment variable: EWx0_MODE setting Meaning -------------------------- -------------------------------- Twisted-Pair 10 Mbit/sec, nofull_duplex Full Duplex, Twisted-Pair 10 Mbit/sec, full_duplex AUI 10 Mbit/sec, nofull_duplex BNC 10 Mbit/sec, nofull_duplex Fast 100 Mbit/sec, nofull_duplex FastFD (Full Duplex) 100 Mbit/sec, full_duplex Auto-Negotiate Negotiation with remote device To override the console setting and use LANCP: $ RUN SYS$SYSTEM:LANCP LANCP> SET DEV EWA0/SPEED=10 LANCP> SET DEV EWA0/SPEED=100/full_duplex Fast Ethernet (100Base, 100 megabit) controllers such as the DE500 series have a pair of connections available-while traditional Ethernet (10Base, 10 megabit) is inherently a half-duplex protocol, Fast Ethernet can be configured to use one or both of the 14-42 Hardware Information available connections, depending on the controller. Fast Ethernet can thus be half- or full-duplex depending on the configuration and the capabilities of the network controller and the Ethernet network plant. Some Fast Ethernet controllers can also operate at traditional Ethernet speeds, these controllers are thus often refered to as 10/100 Ethernet controllers. __________________________________________________________ 14.26 Third-party disk/tape/controllers/SCSI/widgets on OpenVMS? A wide variety of third-party widgets-SCSI and ATA (IDE) disks and tapes, graphics controllers, etc-are obviously widely available and are used on various platforms. If you purchase third-party "generic" SCSI or ATA (IDE) storage devices, you and your device vendor will be responsible for the testing and the support of the devices. In general, you can expect that Compaq will address non-standards-compliance problems within OpenVMS (changes that will also not prevent operations with other supported devices, of course), but you and/or the device vendor and/or the device manufacturer are responsible for finding and fixing problems in the particular third-party device and or controller involved. In particular, realize that neither SCSI nor ATA (IDE) is a particularly standard interface, these interfaces tend to be a collection of optionally-implemented and standardized interface features. You should not and can not simply assume that all SCSI nor ATA (IDE) storage devices are interchangeable. If you want to try to use a generic SCSI device, use V6.2 or later, or (better) V7.1-2 or later. If you wish to try to use ATA (IDE), use OpenVMS V7.1-2 or later. On older OpenVMS releases, see the disk capacity limits (Section 9.5). With SCSI disks on releases prior to V6.2, ensure that you have the ARRE and ARWE settings configured correctly (disabled). (If not, you will see DRVERR fatal drive errors and error log entries.) 14-43 Hardware Information Some SCSI disks set the medium type byte as part of the SCSI size field-this is a SET CAPACITY extension to SCSI specs. This problem also applies to VAX V7.1 and later. Disks with SCSI disk sizes past 8.58 GB and/or with the SET CAPACITY extension require ALPSCSI07 ECO or the OpenVMS Alpha V7.1-2 or later release. (See Section 9.5 for further details.) Based on the displays of the (undocumented) SYS$ETC:SCSI_INFO tool; this tool is present in OpenVMS V6.2 and later: Issuing 6-byte MODE SENSE QIOW to get current values for page 01h Page Code ................. 01h Page Name ................. Read-Write Error Recovery Saveable .................. Yes Size ...................... 10 Hex Data .................. E6 08 50 00 00 00 08 00 00 00 The E6 indicates that the AWRE and ARRE bits are set, and this is not acceptable on OpenVMS versions prior to V6.2. Further along in the SCSI_INFO display, if you also see: Issuing 6-byte MODE SENSE QIOW to get changeable values for page 81h Page Code ................. 01h Page Name ................. Read-Write Error Recovery Saveable .................. Yes Size ...................... 10 Hex Data .................. C0 08 50 00 00 00 08 00 00 00 The C0 value means that the AWRE and ARRE values can be changed on this particular SCSI device. (This is not always the case.) Use RZDISK from the OpenVMS Freeware, and reset the E6 flag byte to hexadecimal 26 (or whatever the remaining mask when you remove bits C0) on page one. Each SCSI and ATA (IDE) host contains non-trivial SCSI and IDE driver software, and each device contains equally non-trivial firmware- taken together with the mechanical and electronic components, this software 14-44 Hardware Information and firmware will determine whether or not a particular device will function as expected. Also note that various devices-such as various SCSI CD-R devices -can implement and can require vendor- specific protocol extensions, and these extensions can require modifications to OpenVMS or the addition of various utilities. In various of these cases, these devices perform functions that will require them to use SCSI or ATA (IDE) commands that are (hopefully) architecturally-compatible SCSI or ATA (IDE) command extensions. (Also see Section 7.1 and Section 9.7.) In order for OpenVMS to officially support a particular device, integration and testing work is mandated. There can be no certainty that any particular device will operate as expected in any particular configuration without first performing this (non-trivial) work. It is quite possible to find two devices-both entirely compliant with applicable standards or interface documents-that will not interoperate. The same general statement holds for OpenVMS bootstrapping on an unsupported VAX or Alpha platform. It might or might not work. In particular, please see the OpenVMS Software Product Description (SPD) for the list of platforms supported by OpenVMS. OpenVMS is not supported on the Personal Workstation -a series, on the Digital Server series platforms, on the AlphaServer 2100 series 5/375 CPU, on the Multia, on the AlphaServer DS20L, and on a variety of other platforms. (You might or might not see success booting OpenVMS on any of these platforms.) _____________________________ 14.26.1 Lists of third-party widgets on OpenVMS? Various folks have successfully used common third-party disk disk devices with OpenVMS, such as the ATA (IDE) and SCSI variants of the Iomega Zip250 removable disk device. 14-45 Hardware Information Common SCSI CD-R/CD-RW devices such as the Plextor PlexWriter 12/10/32S SCSI series and the HP DVD200i series (recording CD-R) have also been successfully utilized with various AlphaStation and VAXstation systems, and with tools such as CDRECORD. (A Plextor PlexWriter burn of 614400000 bytes (300000 sectors) requires just over six minutes at 12x, using an AlphaStation XP1000 666 MHz EV67 system UltraSCSI host.) If you choose to attempt to use third-party devices, ensure that you have the most current OpenVMS version and the most current ECO kit(s) applied. In the specific case of the ATA (IDE) Iomega Zip250 drive, ensure that you have the most current revision of SYS$DQDRIVER installed. _____________________________ 14.26.2 Are the 2X-KZPCA-AA and SN-KZPCA-AA LVD Ultra2 SCSI? Yes. Both of these controllers are Ultra2 low-voltage _________differential_(LVD)_SCSI controllers. 14.26.3 Resolving DRVERR fatal device error? If this is on an OpenVMS version prior to V6.2, please see the AWRE and ARRE information included in section Section 14.26. __________________________________________________________ 14.27 Looking for connector wiring pinouts? The DECconnect DEC- 423 Modified Modular Jack (MMJ) pinout: 1: Data Terminal Ready (DTR) 2: Transmit (TXD) 3: Transmit Ground (TXD-) 4: Receive Ground (RXD-) 5: Receive (RXD) 6: Data Set Ready (DSR) +------------------+ | 1 2 3 4 5 6 | +------------+ ++ +____+ 14-46 Hardware Information The PC-compatible DB9 connector pinout follows: 1: Data Carrier Detect (DCD) 2: Received Data 3: Transmit Data 4: Data Terminal Ready (DTR) 5: Ground 6: Data Set Ready (DSR) 7: Request To Send (RTS) 8: Clear To Send 9: floating The MicroVAX DB9 console connector pinout predates the PC-style DB9 pinout, and uses a then-common (and older) standard pinout, and uses the following EIA-232 series standard signals: 1: Protective Ground 2: Transmited Data 3: Received Data 4: Request To Send (RTS) 5: Data Terminal Ready (DTR) 6: Data Set Ready (DSR) 7: Signal Ground 8: Shorted to pin 9 on MicroVAX and VAXstation 2000... 9: ...series systems, otherwise left floating. When pin 8 is shorted to pin 9, this is a BCC08 (or variant) cable, most commonly used as a console cable on the MicroVAX 2000 and VAXstation 2000 series. (Other systems may or may not tolerate connecting pin 8 to pin 9.) The BC16E-nn (where -nn indicates the cable length) cable key impliicitly "flips over" (crosses-over) the signal wires, so all DECconnect MMJ connectors are wired the same. // ---- ---- | |---------------------------------| | ---- ---- \\ 14-47 Hardware Information The BC16E-nn cross-over wiring looks like this: Terminal Host MMJ MMJ DTR 1 --->---------->----------->--- 6 DSR TXD 2 --->---------->----------->--- 5 RXD 3 ------------------------------ 4 4 ------------------------------ 3 RXD 5 ---<----------<-----------<--- 2 TXD DSR 6 ---<----------<-----------<--- 1 DTR The BN24H looks like this: MMJ RJ45 1---------8 2---------2 3---------1 4---------3 5---------6 6---------7 The BN24J looks like this: MMJ RJ45 1---------7 2---------6 3---------3 4---------1 5---------2 6---------8 Also see: o http://www.hp.com/go/openvms/wizard/ o http://www.airborn.com.au/rs232.html o http://www.stanq.com/cable.html o For adapters and connectors, see Section 14.28. 14-48 Hardware Information __________________________________________________________ 14.28 What connectors and wiring adapters are available? The H8571-B converts the (non-2000-series) MicroVAX DB9 to MMJ DECconnect. The MicroVAX 2000 and VAXstation 2000 requires a BCC08 cable (which has the 8-9 short, see Section 14.27) and the H8571-D for use with DECconnect. More recent HP (HP, Compaq or DIGITAL logo) systems will use either the DECconnect MMJ wiring or (on all recent system designs) the PC-compatible DB9 pinout. DECconnect MMJ adapters: Part: Converts BC16E MMJ male to fit into: H8571-C 25 pin DSUB Female to MMJ, Unfiltered H8571-D EIA232 25 pin male (modem-wired) H8571-E 25 pin DSUB Female to MMJ, Filtered H8571-J PC/AT 9 pin male (PC serial port) H8572-0 BC16E MMJ double-female (MMJ extender) H8575-A EIA232 25 pin female (common) H8575-B EIA232 9 pin male (MicroVAX II console) H8575-D 25 Pin to MMJ W/EOS and ESD Protection H8577-AA 6 pin Female MMJ to 8 pin MJ BC16E-** MMJ cable, available in various lengths Numerous additional adapters and cables are available from the _OPEN DECconnect Building Wiring Components and Applications Catalog_, as well as descriptions of the above-listed parts. The H8571-A and H8575-A are MMJ to DB25 (female) and are wired as follows: Also see the adapter-, cable- and pinout-related discussions at: o http://www.hp.com/go/openvms/wizard/ Jameco offers a USB-A to PS/2 Mini DIN 6 Adapter (as part 168751), for those folks wishing to (try to) use PS/2 Keyboards via USB-A connections. The LK463 USB keyboard is also a potential option, for those wishing to connect an OpenVMS keyboard to USB systems or (via the provided adapter) to PS/2 systems. 14-49 Hardware Information __________________________________________________________ 14.29 What is flow control and how does it work? XON/XOFF is one kind of flow control. In ASCII, XON is the character, and XOFF is the . XON/XOFF flow control is typically associated with asynchronous serial line communications. XON/XOFF is an in-band flow control, meaning that the flow control is mixed in with the data. CTS/RTS is another type of flow control, and is sometimes called hardware flow control. Out-of-band means that seperate lines/pins from the data lines (pins) are used to carry the CTS/RTS signals. Both kinds of flow control are triggered when a threshold is reached in the incoming buffer. The flow control is suppose to reach the transmitter in time to have it stop transmitting before the receiver buffer is full and data is lost. Later, after a sufficient amount of the receiver's buffer is freed up, the resume flow control signal is sent to get the transmitter going again. DECnet Phase IV on OpenVMS VAX supports the use of asynchronous serial communications as a network line; of asynch DECnet. The communication devices (eg. modems, and drivers) must not be configured for XON/XOFF flow control. The incidence of these (unexpected) in-band characters will corrupt data packets. Further, the serial line device drivers might normally remove the XON and XOFF characters from the stream for terminal applications, but DECnet configures the driver to pass all characters through and requires that all characters be permitted. (The communication devices must pass through not only the XON and XOFF characters, they must pass all characters including the 8-bit characters. If data compression is happening, it must reproduce the source stream exactly. No addition or elimination of null characters, and full data transparency. 14-50 Hardware Information An Ethernet network is rather different than an asynchronous serial line. Ethernet specifies the control of data flow on a shared segment using CSMA/CD (Carrier Sense Multiple Access, with Collision Detect) An Ethernet station that is ready to transmit listens for a clear channel (Carrier Sense). When the channel is clear, the station begins to transmit by asserting a carrier and encoding the packet appropriately. The station concurrently listens to its own signal, to permit the station to detect if another station began to transmit at the same time-this is called collision detection. (The collision corrupts the signal in a way that can reliably be detected.) Upon detecting the collision, both stations will stop transmitting, and will back off and try again a little later. (You can see a log of this activity in the DECnet NCP network counters.) DECnet provides its own flow control, above and beyond the flow control of the physical layer (if any). The end nodes handshake at the beginning to establish a transmit window size-and a transmitter will only send that much data before stopping and waiting for an acknowledgement. The acknowledgement is only sent when the receiver has confirmed the packet is valid. (A well-configured DECnet generally avoids triggering any underlying (out-of-band) flow control mechanism.) __________________________________________________________ 14.30 CD-R and DVD device requirements? Read and write access to CD-ROM, CD-R and CD-RW devices on ATA (IDE) is generally handled transparently by SYS$DQDRIVER, and SYS$DQDRIVER will transparently block and de-block the media-native 2048 byte disk blocks with the 512 byte blocks expected by OpenVMS and by native OpenVMS software. Read access to CD-ROM, CD-R and CD-RW devices on SCSI is handled by DKDRIVER, though SYS$DKDRIVER will not transparently de-block the native 2048 byte disk blocks into the 512 byte blocks expected by OpenVMS. The drive or external software is expected to provide this de-blocking, thus either a 512-byte-block capable drive (such as all RRD-series SCSI CD-ROM drives) is 14-51 Hardware Information required, or host software is required for a 2048- byte block drive. SCSI drives with UNIX or 512-byte selectors will generally operate. At least some of the Plextor PlexWriter SCSI drives can be accessed from OpenVMS, and at least one Pioneer SCSI DVD drive (for CD media). The Pioneer SCSI DVD drive switches to 2048 byte blocks for DVD media, and a block-size conversion tool (written by Glenn Everhart) or other similar tool can be applied. OpenVMS also has supported HP DVD drives for the ATA (IDE) bus. For some related information (and details on a commercial DVDwrite package), please see: o http://home.tiscali.de/dvd4openvms/supported_ hardware.html Recording of CD and DVD media requires an application, and both commercial and non-commercial options are available. Please see CDRECORD (both non-DVD and DVD versions are available, and a commercial version is available), and also see DVDwrite (commercial) or DVDRECORD (open source). For information on the GKDRIVER (SYS$GKDRIVER) interface that is utilized by most CD and DVD recording tools to send commands to SCSI or ATAPI devices (most ATA devices can use SCSI-like command packets), please see SYS$EXAMPLES:GKTEST.C, and please see the various sections of the OpenVMS I/O User's Reference Manual. 14-52 _______________________________________________________ 15 Information on Networks and Clusters The following sections contain information on OpenVMS Networking with IP and DECnet, and on clustering and volume shadowing, on Fibre Channel, and on related products and configurations. __________________________________________________________ 15.1 How to connect OpenVMS to a Modem? Please see the Ask The Wizard area topics starting with (81), (1839), (2177), (3605), etc. o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. __________________________________________________________ 15.2 OpenVMS and IP Networking? The following sections contain information on OpenVMS and IP networking, as well as IP printing topics. _____________________________ 15.2.1 How to connect OpenVMS to the Internet? Some tutorial information and tips for connecting OpenVMS systems to the Internet are available at: o http://www.tmesis.com/internet/ _____________________________ 15.2.2 Connecting to an IP Printer? To connect a printer via the IP telnet or lpr/lpd protocols, you will need to install and configure an IP stack on OpenVMS, and configure the appropriate print queue. 15-1 Information on Networks and Clusters With current OpenVMS IP implementations, the choice of telnet or lpr/lpd really amounts to determining which of these works better with the particular printer involved. To support network printing, the printer must include an internal or external NIC or JetDirect; an adapter connecting the network and the printer. While it is normally possible to use a host-connected printer-when the host supports an LPD or telnet daemon, and OpenVMS and most other operating systems have the ability to serve locally-attached printers to other hosts on the network-it is generally far easier and far more effective to use a printer that is directly attached to the network. If your present printer does not have a NIC or a JetDirect, acquire an internal (if available) or external NIC or JetDirect. Or replace the printer. And obviously, most any operating system that can serve its local printers usually also provides a client that can access remote network-connected printers. please see the Ask The Wizard area topics-starting with topic (1020)-for additional information on IP-based network printing. o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. Please see Section 15.2.3 for information on Postscript printing. comment>(--------------------) _____________________________ 15.2.3 How do I connect a PostScript printer via TCP/IP? Using TCP/IP Services (UCX) as the TCP/IP stack, it is possible to configure queues using the UCX$TELNETSYM (TCP/IP Services prior to V5.0) or TCPIP$TELNETSYM (with V5.0 and later) in order to print to Postscript printers. This assumes however that the printer itself can convert whatever is passed to it into something intelligible. As an example, if the printer has an IP 15-2 Information on Networks and Clusters address of 123.456.789.101 and jobs should be passed to port 9100 then : $ INITIALIZE/QUEUE/ON="123.456.789.101:9100" - /PROCESSOR=UCX$TELNETSYM - my_ip_queue $ INITIALIZE/QUEUE/ON="123.456.789.101:9100" - /PROCESSOR=TCPIP$TELNETSYM - my_ip_queue The port number of 9100 is typical of HP JetDirect cards but may be different for other manufacturers cards. As a better alternative, DCPS Version 1.4 and later support IP queues using either HP TCP/IP Services for OpenVMS software or Process Software Multinet for OpenVMS. The usage of this type of interface is documented in the DCPS documentation or release notes, and the DCPS$STARTUP.TEMPLATE startup template file. For general and additional (non-Postscript) IP printing information, please see topic (1020) and other topics referenced in that topic elsewhere within the Ask The Wizard area. o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. Also see: o http://www.wotsit.org/ Please see Section 15.2.2 for pointers to an introduction to IP printing. _____________________________ 15.2.4 How do I set a default IP route or gateway on OpenVMS? If you have TCP/IP Services, then use the command for TCP/IP Services V5.0 and later: $ TCPIP SET ROUTE/GATE=x.x.x.x/DEFAULT/PERMANENT 15-3 Information on Networks and Clusters And for earlier TCP/IP Services versions, use the command: $ UCX SET ROUTE/GATE=x.x.x.x/DEFAULT/PERMANENT _____________________________ 15.2.5 How can I set up reverse telnet (like reverse LAT)? Though it may seem obvious, Telnet and LAT are quite different-with differing capabilities and design goals. Please see the documentation around the TCP/IP Services for OpenVMS TELNET command CREATE_SESSION. This command is the equivilent of the operations performed in LTLOAD.COM or LAT$SYSTARTUP.COM. There is no TELNET equivilent to the sys$qio[w] control interface for LTDRIVER (as documented in the I/O User's Reference Manual) available, though standard sys$qio[w] calls referencing the created TN device would likely operate as expected. _____________________________ 15.2.6 Why can't I use PPP and RAS to connect to OpenVMS Alpha? OpenVMS Alpha IP PPP does not presently support authentication, and the Microsoft Windows NT option to disable authentication during a RAS connection apparently doesn't currently work-RAS connections will require authentication-and this will thus prevent RAS connections. Future versions of OpenVMS and TCP/IP Services may add this, and future versions of Microsoft Windows may permit operations with authentication disabled. __________________________________________________________ 15.3 OpenVMS and DECnet Networking? The following sections contain information on OpenVMS and DECnet networking. 15-4 Information on Networks and Clusters _____________________________ 15.3.1 Can DECnet-Plus operate over IP? Yes. To configure DECnet-Plus to operate over IP transport and over IP backbone networks, install and configure DECnet-Plus, and install and configure the PWIP mechanism available within the currently-installed IP stack. Within TCP/IP Services, this is a PWIPDRIVER configuration option within the UCX$CONFIG (versions prior to V5.0) or TCPIP$CONFIG (with V5.0 and later) configuration tool. _____________________________ 15.3.2 What does "failure on back translate address request" mean? The error message: BCKTRNSFAIL, failure on the back translate address request indicates that the destination node is running DECnet- Plus, and that its naming service (DECnet-Plus DECdns, LOCAL node database, etc) cannot locate a name to associate with the source node's address. In other words, the destination node cannot determine the node name for the node that is the source of the incoming connection. Use the DECNET_REGISTER mechanism (on the destination node) to register or modify the name(s) and the address(es) of the source node. Check the namespace on the source node, as well. Typically, the nodes involved are using a LOCAL namespace, and the node name and address settings are not coherent across all nodes. Also check to make sure that the node is entered into its own LOCAL namespace. This can be a problem elsewhere, however. Very rarely, a cache corruption has been known to cause this error. To flush the cache, use the command: $ RUN SYS$SYSTEM:NCL flush session control naming cache entry "*" 15-5 Information on Networks and Clusters Also check to see that you are using the latest ECO for DECnet-Plus for the version you are running. DECnet- Plus can use the following namespaces: o DECdns: DECnet-Plus distributed name services. o LocalFile: a local file containing names and addresses. o DNS/BIND: the TCP/IP distributed name services mechanism. o The TCP/IP Services (UCX) local host file. Of these, searching DNS/BIND and LocalFile, respectively, is often the most appropriate configuration. _____________________________ 15.3.3 Performing SET HOST/MOP in DECnet-Plus? First, issue the NCL command SHOW MOP CIRCUIT * $ RUN SYS$SYSTEM:NCL SHOW MOP CIRCUIT * Assume that you have a circuit known as FDDI-0 displayed. Here is an example of the SET HOST/MOP command syntax utilized for this circuit: $ SET HOST/MOP/ADDRESS=08-00-2B-2C-5A-23/CIRCUIT=FDDI-0 Also see Section 15.6.3. __________________________________________________________ 15.4 How to determine the network hardware address? Most Alpha and most VAX systems have a console command that displays the network hardware address. Many systems will also have a sticker identifying the address, either on the enclosure or on the network controller itself. The system console power-up messages on a number of VAX and Alpha systems will display the hardware address, particularly on those systems with an integrated Ethernet network adapter present. 15-6 Information on Networks and Clusters If you cannot locate a sticker on the system, if the system powerup message is unavailable or does not display the address, and if the system is at the console prompt, start with the console command: HELP A console command similar to one of the following is typically used to display the hardware address: SHOW DEVICE SHOW ETHERNET SHOW CONFIG On the oldest VAX Q-bus systems, the following console command can be used to read the address directly off the (DELQA, DESQA, or the not-supported-in-V5.5-and- later DEQNA) Ethernet controller: E/P/W/N:5 20001920 Look at the low byte of the six words displayed by the above command. (The oldest VAX Q-bus systems-such as the KA630 processor module used on the MicroVAX II and VAXstation II series-lack a console HELP command, and these systems typically have the primary network controller installed such that the hardware address value is located at the system physical address 20001920.) If the system is a VAX system, and another VAX system on the network is configured to answer Maintenance and Operations Protocol (MOP) bootstrap requests (via DECnet Phase IV, DECnet-Plus, or LANCP), the MOM$SYSTEM:READ_ADDR.EXE tool can be requested: B/R5:100 ddcu Bootfile: READ_ADDR Where ddcu is the name of the Ethernet controller in the above command. The primarly local DELQA, DESQA, and DEQNA Q-bus controllers are usually named XQA0. An attempt to MOP download the READ_ADDR program will ensue, and (if the download is successful) READ_ADDR will display the hardware address. 15-7 Information on Networks and Clusters If the system is running, you can use DECnet or TCP/IP to display the hardware address with one of the following commands. $! DECnet Phase IV $ RUN SYS$SYSTEM:NCP SHOW KNOWN LINE CHARACTERISTICS $! DECnet-Plus $ RUN SYS$SYSTEM:NCL SHOW CSMA-CD STATION * ALL STATUS $! TCP/IP versions prior to V5.0 $ UCX SHOW INTERFACE/FULL $! TCP/IP versions V5.0 and later $ TCPIP SHOW INTERFACE/FULL A program can be created to display the hardware address, reading the necessary information from the network device drivers. A complete example C program for reading the Ethernet or IEEE 802.3 network controller hardware address (via sys$qio calls to the OpenVMS network device driver(s)) is available at the following URL: o http://www.hp.com/go/openvms/wizard/ To use the DECnet Phase IV configurator tool to watch for MOP SYSID activity on the local area network: $ RUN SYS$SYSTEM:NCP SET MODULE CONFIGURATOR KNOWN CIRCUIT SURVEILLANCE ENABLED Let the DECnet Phase IV configurator run for at least 20 minutes, and preferably longer. Then issue the following commands: $ RUN SYS$SYSTEM:NCP SHOW MODULE CONFIGURATOR KNOWN CIRCUIT STATUS TO filename.txt SET MODULE CONFIGURATOR KNOWN CIRCUIT SURVEILLANCE DISABLED 15-8 Information on Networks and Clusters The resulting file (named filename.txt) can now be searched for the information of interest. Most DECnet systems will generate MOP SYSID messages identifying items such as the controller hardware address and the controller type, and these messages are generated and multicast roughly every ten minutes. Information on the DECnet MOP SYSID messages and other parts of the maintenance protocols is included in the DECnet network architecture specifications referenced in section DOC9. _____________________________ 15.4.1 How do I reset the LAN (DECnet-Plus NCL) error counters? On recent OpenVMS releases: $ RUN SYS$SYSTEM:LANCP SET DEVICE/DEVICE_SPECIFIC=FUNCTION="CCOU" devname _____________________________ 15.4.2 How do I install DECnet Phase IV on VMS 7.1? On OpenVMS V7.1, all DECnet binaries were relocated into separate installation kits-you can selectively install the appropriate network: DECnet-Plus (formerly known as DECnet OSI), DECnet Phase IV, and HP TCP/IP Services (often known as UCX). On OpenVMS versions prior to V7.1, DECnet Phase IV was integrated, and there was no installation question. You had to install the DECnet-Plus (DECnet/OSI) package on the system, after the OpenVMS upgrade or installation completed. During an OpenVMS V7.1 installation or upgrade, the installation procedure will query you to learn if DECnet-Plus should be installed. If you are upgrading to V7.1 from an earlier release or are installing V7.1 from a distribution kit, simply answer "NO" to the question asking you if you want DECnet-Plus. Then-after the OpenVMS upgrade or installation completes - use the PCSI PRODUCT INSTALL command to install the DECnet Phase IV binaries from the kit provided on the OpenVMS software distribution kit. 15-9 Information on Networks and Clusters If you already have DECnet-Plus installed and wish to revert, you must reconfigure OpenVMS. You cannot reconfigure the "live" system, hence you must reboot the system using the V7.1 distribution CD-ROM. Then select the DCL ($$$ prompt) option. Then issue the commands: $$$ DEFINE/SYSTEM PCSI$SYSDEVICE DKA0: $$$ DEFINE/SYSTEM PCSI$SPECIFIC DKA0:[SYS0.] $$$ PRODUCT RECONFIGURE VMS /REMOTE/SOURCE=DKA0:[VMS$COMMON] The above commands assume that the target system device and system root are "DKA0:[SYS0.]". Replace this with the actual target device and root, as appropriate. The RECONFIGURE command will then issue a series of prompts. You will want to reconfigure DECnet-Plus off the system, obviously. You will then want to use the PCSI command PRODUCT INSTALL to install the DECnet Phase IV kit from the OpenVMS distribution media. Information on DECnet support, and on the kit names, is included in the OpenVMS V7.1 installation and upgrade documentation. Subsequent OpenVMS upgrade and installation procedures can and do offer both DECnet Phase IV and DECnet-Plus installations. __________________________________________________________ 15.5 How can I send (radio) pages from my OpenVMS system? There are third-party products available to send messages to radio paging devices (pagers), communicating via various protocols such as TAP (Telocator Alphanumeric Protocol); paging packages. RamPage (Ergonomic Solutions) is one of the available packages that can generate and transmit messages to radio pagers. Target Alert (Target Systems; formerly the DECalert product) is another. Networking Dynamics Corp has a product called Pager Plus. The System Watchdog package can also send pages. The Process Software package PMDF can route specific email addresses to a paging service, as well. 15-10 Information on Networks and Clusters Many commercial paging services provide email contact addresses for their paging customers-you can simply send or forward email directly to the email address assigned to the pager. Some people implement the sending of pages to radio pagers by sending commands to a modem to take the "phone" off the "hook", and then the paging sequence, followed by a delay, and then the same number that a human would dial to send a numeric page. (This is not entirely reliable, as the modem lacks "call progress detection", and the program could simply send the dial sequence when not really connected to the paging company's telephone-based dial-up receiver.) See Section 13.1 for information on the available catalog of products. __________________________________________________________ 15.6 OpenVMS, Clusters, Volume Shadowing? The following sections contain information on OpenVMS and Clusters, Volume Shadowing, and Cluster-related system parameters. _____________________________ 15.6.1 OpenVMS Cluster Communications Protocol Details? The following sections contain information on the OpenVMS System Communications Services (SCS) Protocol. _____________________________ 15.6.1.1 OpenVMS Cluster (SCS) over DECnet? Over IP? The OpenVMS Cluster environment operates over various network protocols, but the core of clustering uses the System Communications Services (SCS) protocols, and SCS-specific network datagrams. Direct (full) connectivity is assumed. An OpenVMS Cluster does not operate over DECnet, nor over IP. No SCS protocol routers are available. 15-11 Information on Networks and Clusters Many folks have suggested operating SCS over DECnet or IP over the years, but SCS is too far down in the layers, and any such project would entail a major or complete rewrite of SCS and of the DECnet or IP drivers. Further, the current DECnet and IP implementations have large tracts of code that operate at the application level, while SCS must operate in the rather more primitive contexts of the system and particularly the bootstrap-to get SCS to operate over a DECnet or IP connection would require relocating major portions of the DECnet or IP stack into the kernel. (And it is not clear that the result would even meet the bandwidth and latency expectations.) The usual approach for multi-site OpenVMS Cluster configurations involves FDDI, Memory Channel (MC2), or a point-to-point remote bridge, brouter, or switch. The connection must be transparent, and it must operate at 10 megabits per second or better (Ethernet speed), with latency characteristics similar to that of Ethernet or better. Various sites use FDDI, MC2, ATM, or point-to- point T3 link. _____________________________ 15.6.1.2 Configuring Cluster SCS for path load balancing? This section discusses OpenVMS Cluster communications, cluster terminology, related utilities, and command and control interfaces. _____________________________ 15.6.1.2.1 Cluster Terminology? SCS: Systems Communication Services. The protocol used to communicate between VMSCluster systems and between OpenVMS systems and SCS-based storage controllers. (SCSI-based storage controllers do not use SCS.) PORT: A communications device, such as DSSI, CI, Ethernet or FDDI. Each CI or DSSI bus is a different local port, named PAA0, PAB0, PAC0 etc. All Ethernet and FDDI busses make up a single PEA0 port. 15-12 Information on Networks and Clusters VIRTUAL CIRCUIT: A reliable communications path established between a pair of ports. Each port in a VMScluster establishes a virtual circuit with every other port in that cluster. All systems and storage controllers establish "Virtual Circuits" to enable communications between all available pairs of ports. SYSAP: A "system application" that communicates using SCS. Each SYSAP communicates with a particular remote SYSAP. Example SYSAPs include: VMS$DISK_CL_DRIVER connects to MSCP$DISK The disk class driver is on every VMSCluster system. MSCP$DISK is on all disk controllers and all VMSCluster systems that have SYSGEN parameter MSCP_LOAD set to 1 VMS$TAPE_CL_DRIVER connects to MSCP$TAPE The tape class driver is on every VMSCluster system. MSCP$TAPE is on all tape controllers and all VMSCluster systems that have SYSGEN parameter TMSCP_LOAD set to 1 VMS$VAXCLUSTER connects to VMS$VAXCLUSTER This SYSAP contains the connection manager, which manages cluster connectivity, runs the cluster state transition algorithm, and implements the cluster quorum algorithm. This SYSAP also handles lock traffic, and various other cluster communications functions. SCS$DIR_LOOKUP connects to SCS$DIRECTORY This SYSAP is used to find SYSAPs on remote systems MSCP and TMSCP The Mass Storage Control Protocol and the Tape MSCP servers are SYSAPs that provide access to disk and tape storage, typically operating over SCS protocols. MSCP and TMSCP SYSAPs exist within OpenVMS (for OpenVMS hosts serving disks and tapes), within CI- and DSSI- based storage controllers, and within host-based MSCP- or TMSCP storage controllers. MSCP and TMSCP can be used to serve MSCP and TMSCP storage devices, and can also be used to serve SCSI and other non-MSCP/non-TMSCP storage devices. 15-13 Information on Networks and Clusters SCS CONNECTION: A SYSAP on one node establishes an SCS connection to its counterpart on another node. This connection will be on ONE AND ONLY ONE of the available virtual circuits. _____________________________ 15.6.1.2.2 Cluster Communications Control? When there are multiple virtual circuits between two OpenVMS systems it is possible for the VMS$VAXCLUSTER to VMS$VAXCLUSTER connection to use any one of these circuits. All lock traffic between the two systems will then travel on the selected virtual circuit. Each port has a "LOAD CLASS" associated with it. This load class helps to determine which virtual circuit a connection will use. If one port has a higher load class than all others then this port will be used. If two or more ports have equally high load classes then the connection will use the first of these that it finds. Normally all CI and DSSI ports have a load class of 14(hex), while the Ethernet and FDDI ports will have a load class of A(hex). For instance, if you have multiple DSSI busses and an FDDI, the VMS$VAXCLUSTER connection will chose the DSSI bus as this path has the system disk, and thus will always be the first DSSI bus discovered when the OpenVMS system boots. To force all lock traffic off the DSSI and on to the FDDI, for instance, an adjustment to the load class value is required, or the DSSI SCS port must be disabled. Note that with PE ports, you can typically immediately re-enable the path, permitting failover to occur should congestion or a problem arise-a running average of the path latency is checked when the virtual circuit is formed, and at periodic intervals (circa every three seconds), and when a problem with a virtual circuit arises. 15-14 Information on Networks and Clusters In the case of PEDRIVER, the driver handles load balancing among the available Ethernet and FDDI connections based on the lowest latency path available to it. Traffic will be routed through that path until an event occurs that requires a fail-over. _____________________________ 15.6.1.2.3 Cluster Communications Control Tools and Utilities? In most OpenVMS versions, you can use the tools: o SYS$EXAMPLES:LAVC$STOP_BUS o SYS$EXAMPLES:LAVC$START_BUS These tools permit you to disable or enable all SCS traffic on the on the specified paths. You can also use a preferred path mechanism that tells the local MSCP disk class driver (DUDRIVER) which path to a disk should be used. Generally, this is used with dual-pathed disks, forcing I/O traffic through one of the controllers instead of the other. This can be used to implement a crude form of I/O load balancing at the disk I/O level. Prior to V7.2, the preferred path feature uses the tool: o SYS$EXAMPLES:PREFER.MAR In OpenVMS V7.2 and later, you can use the following DCL command: $ SET PREFERRED_PATH The preferred path mechanism does not disable nor affect SCS operations on the non-preferred path. With OpenVMS V7.3 and later, please see the SCACP utility for control over cluster communications, SCS virtual circuit control, port selection, and related. 15-15 Information on Networks and Clusters _____________________________ 15.6.2 Cluster System Parameter Settings? The following sections contain details of configuring cluster-related system parameters. _____________________________ 15.6.2.1 What is the correct value for EXPECTED_VOTES in a VMScluster? The VMScluster connection manager uses the concept of votes and quorum to prevent disk and memory data corruptions-when sufficient votes are present for quorum, then access to resources is permitted. When sufficient votes are not present, user activity will be blocked. The act of blocking user activity is called a "quorum hang", and is better thought of as a "user data integrity interlock". This mechanism is designed to prevent a partitioned VMScluster, and the resultant massive disk data corruptions. The quorum mechanism is expressly intended to prevent your data from becoming severely corrupted. On each OpenVMS node in a VMScluster, one sets two values in SYSGEN: VOTES, and EXPECTED_VOTES. The former is how many votes the node contributes to the VMScluster. The latter is the total number of votes expected when the full VMScluster is bootstrapped. Some sites erroneously attempt to set EXPECTED_VOTES too low, believing that this will allow when only a subset of voting nodes are present in a VMScluster. It does not. Further, an erroneous setting in EXPECTED_ VOTES is automatically corrected once VMScluster connections to other nodes are established; user data is at risk of severe corruptions during the earliest and most vulnerable portion of the system bootstrap, before the connections have been established. One can operate a VMScluster with one, two, or many voting nodes. With any but the two-node configuration, keeping a subset of the nodes active when some nodes fail can be easily configured. With the two-node configuration, one must use a primary-secondary configuration (where the primary has all the votes), a 15-16 Information on Networks and Clusters peer configuration (where when either node is down, the other hangs), or (preferable) a shared quorum disk. Use of a quorum disk does slow down VMScluster transitions somewhat - the addition of a third voting node that contributes the vote(s) that would be assigned to the quorum disk makes for faster transitions-but the use of a quorum disk does mean that either node in a two-node VMScluster configuration can operate when the other node is down. If you choose to use a quoum disk, a QUORUM.DAT file will be automatically created when OpenVMS first boots and when a quorum disk is specified - well, the QUORUM.DAT file will be created when OpenVMS is booted without also needing the votes from the quorum disk. In a two-node VMScluster with a shared storage interconnect, typically each node has one vote, and the quorum disk also has one vote. EXPECTED_VOTES is set to three. Using a quorum disk on a non-shared interconnect is unnecessary-the use of a quorum disk does not provide any value, and the votes assigned to the quorum disk should be assigned to the OpenVMS host serving access to the disk. For information on quorum hangs, see the OpenVMS documentation. For information on changing the EXPECTED_VOTES value on a running system, see the SET CLUSTER/EXPECTED_VOTES command, and see the documentation for the AMDS and Availability Manager tools. Also of potential interest is the OpenVMS system console documentation for the processor-specific console commands used to trigger the IPC (Interrrupt Priority Level %x0C; IPL C) handler. AMDS, Availability Manager, and the IPC handler can each be used to clear a quorum hang. Use of AMDS and Availability Manager is generally recommended over IPC, particularly because IPC can cause CLUEXIT bugchecks if the system should remain halted beyond the cluster sanity timer limits. 15-17 Information on Networks and Clusters The quorum scheme is a set of "blade guards" deliberately implemented by OpenVMS Engineering to provide data integrity-remove these blade guards at your peril. OpenVMS Engineering did not implement the quorum mechanism to make a system manager's life more difficult- the quorum mechanism was specifically implemented to keep your data from getting scrambled. _____________________________ 15.6.2.2 Explain disk (or tape) allocation class settings? The allocation class mechanism provides the system manager with a way to configure and resolve served and direct paths to storage devices within a cluster. Any served device that provides multiple paths should be configured using a non-zero allocation class, either at the MSCP (or TMSCP) storage controllers, at the port (for port allocation classes), or at the OpenVMS MSCP (or TMSCP) server. All controllers or servers providing a path to the same device should have the same allocation class (at the port, controller, or server level). Each disk (or tape) unit number used within a non- zero disk (or tape) allocation class must be unique, regardless of the particular device prefix. For the purposes of multi-path device path determination, any disk (or tape) device with the same unit number and the same disk (or tape) allocation class configuration is assumed to be the same device. If you are reconfiguring disk device allocation classes, you will want to avoid the use of allocation class one ($1$) until/unless you have Fibre Channel storage configured. (Fibre Channel storage specifically requires the use of allocation class $1$. eg: $1$DGA0:.) 15-18 Information on Networks and Clusters _____________________________ 15.6.2.2.1 How to configure allocation classes and Multi-Path SCSI? The HSZ allocation class is applied to devices, starting with OpenVMS V7.2. It is considered a port allocation class (PAC), and all device names with a PAC have their controller letter forced to "A". (You might infer from the the text in the "Guidelines for OpenVMS Cluster Configurations" that this is something you have to do, though OpenVMS will thoughtfully handle this renaming for you.) You can force the device names back to DKB by setting the HSZ allocation class to zero, and setting the PKB PAC to -1. This will use the host allocation class, and will leave the controller letter alone (that is, the DK controller letter will be the same as the SCSI port (PK) controller). Note that this won't work if the HSZ is configured in multibus failover mode. In this case, OpenVMS requires that you use an allocation class for the HSZ. When your configuration gets even moderately complex, you must pay careful attention to how you assign the three kinds of allocation class: node, port and HSZ/HSJ, as otherwise you could wind up with device naming conflicts that can be painful to resolve. The display-able path information is for SCSI multi-path, and permits the multi-path software to distinguish between different paths to the same device. If you have two paths to $1$DKA100, for example by having two KZPBA controllers and two SCSI buses to the HSZ, you would have two UCBs in a multi-path set. The path information is used by the multi-path software to distinguish between these two UCBs. The displayable path information describes the path; in this case, the SCSI port. If port is PKB, that's the path name you get. The device name is no longer completely tied to the port name; the device name now depends on the various allocation class settings of the controller, SCSI port or node. 15-19 Information on Networks and Clusters The reason the device name's controller letter is forced to "A" when you use PACs is because a shared SCSI bus may be configured via different ports on the various nodes connected to the bus. The port may be PKB on one node, and PKC on the other. Rather obviously, you will want to have the shared devices use the same device names on all nodes. To establish this, you will assign the same PAC on each node, and OpenVMS will force the controller letter to be the same on each node. Simply choosing "A" was easier and more deterministic than negotiating the controller letter between the nodes, and also parallels the solution used for this situation when DSSI or SDI/STI storage was used. To enable port allocation classes, see the SYSBOOT command SET/BOOT, and see the DEVICE_NAMING system parameter. This information is also described in the Cluster Systems and Guidelines for OpenVMS Cluster Configurations manuals. _____________________________ 15.6.3 Tell me about SET HOST/DUP and SET HOST/HSC The OpenVMS DCL commands SET HOST/DUP and SET HOST/HSC are used to connect to storage controllers via the Diagnostics and Utility Protocol (DUP). These commands require that the FYDRIVER device driver be connected. This device driver connection is typically performed by adding the following command(s) into the system startup command procedure: On OpenVMS Alpha: $ RUN SYS$SYSTEM:SYSMAN SYSMAN> IO CONNECT FYA0/NOADAPTER/DRIVER=SYS$FYDRIVER On OpenVMS VAX: $ RUN SYS$SYSTEM:SYSGEN SYSGEN> CONNECT FYA0/NOADAPTER Alternatives to the DCL SET HOST/DUP command include the console SET HOST command available on various mid- to recent-vintage VAX consoles: 15-20 Information on Networks and Clusters Access to Parameters on an Embedded DSSI controller: SET HOST/DUP/DSSI[/BUS:{0:1}] dssi_node_number PARAMS Access to Directory of tools on an Embedded DSSI controller: SET HOST/DUP/DSSI[/BUS:{0:1}] dssi_node_number DIRECT Access to Parameters on a KFQSA DSSI controller: SHOW UQSSP ! to get port_controller_number PARAMS SET HOST/DUP/UQSSP port_controller_number PARAMS These console commands are available on most MicroVAX and VAXstation 3xxx series systems, and most (all?) VAX 4xxx series systems. For further information, see the system documentation and-on most VAX systems-see the console HELP text. EK-410AB-MG, _DSSI VAXcluster Installation and Troubleshooting_, is a good resource for setting up a DSSI VMScluster on OpenVMS VAX nodes. (This manual predates coverage of OpenVMS Alpha systems, but gives good coverage to all hardware and software aspects of setting up a DSSI-based VMScluster-and most of the concepts covered are directly applicable to OpenVMS Alpha systems. This manual specifically covers the hardware, which is something not covered by the standard OpenVMS VMScluster documentation.) Also see Section 15.3.3, and for the SCS name of the OpenVMS host see Section 5.6. _____________________________ 15.6.4 How do I rename a DSSI disk (or tape?) If you want to renumber or rename DSSI disks or DSSI tapes, it's easy-if you know the secret incantation... From OpenVMS: 15-21 Information on Networks and Clusters $ RUN SYS$SYSTEM:SYSGEN SYSGEN> CONNECT FYA0/NOADAPTER SYSGEN> ^Z $ SET HOST/DUP/SERV=MSCP$DUP/TASK=PARAMS ... PARAMS> STAT CONF PARAMS> EXIT ... From the console on most 3000- and 4000-class VAX system consoles... (Obviously, the system must be halted for these commands...) Integrated DSSI: SET HOST/DUP/DSSI[/BUS:[0:1]] dssi_node_number PARAMS KFQSA: SET HOST/DUP/UQSSP port_controller_number PARAMS For information on how to get out into the PARAMS subsystem, also see the HELP at the console prompt for the SET HOST syntax, or see the HELP on SET HOST /DUP (once you've connected FYDRIVER under OpenVMS). Once you are out into the PARAMS subsystem, you can use the FORCEUNI option to force the use of the UNITNUM value and then set a unique UNITNUM inside each DSSI ISE-this causes each DSSI ISE to use the specfied unit number and not use the DSSI node as the unit number. Other parameters of interest are NODENAME and ALLCLASS, the node name and the (disk or tape) cluster allocation class. Ensure that all disk unit numbers used within an OpenVMS Cluster disk allocation class are unique, and all tape unit numbers used within an OpenVMS Cluster tape allocation class are also unique. For details on the SCS name of the OpenVMS host, see Section 5.6. For details of SET HOST/DUP, see Section 15.6.3. 15-22 Information on Networks and Clusters _____________________________ 15.6.5 Where can I get Fibre Channel Storage (SAN) information? o http://www.openvms.compaq.com/openvms/fibre/index.html _____________________________ 15.6.6 How can I split up an OpenVMS Cluster? Review the VMScluster documentation, and the System Management documentation. The following are the key points, but are likely not the only things you will need to change. OpenVMS Cluster support is directly integrated into the operating system, and there is no way to remove it. You can, however, remote site-specific tailoring that was added for a particular cluster configuration. First: Create restorable image BACKUPs of each of the current system disks. If something gets messed up, you want a way to recover, right? Create standalone BACKUP kits for the OpenVMS VAX systems, and create or acquire bootable BACKUP kits for the OpenVMS Alpha systems. Use CLUSTER_CONFIG or CLUSTER_CONFIG_LAN to remove the various system roots and to shut off boot services and VMScluster settings. Create as many architecture-specific copies of the system disks as required. Realize that the new systems will all likely be booting through root SYS0-if you have any system-specific files in any other roots, save them. Relocate the copies of the VMScluster common files onto each of the new system disks. Reset the console parameters and boot flags on each system for use on a standalone node. Reset the VAXCLUSTER and NISCS_LOAD_PEA0 parameters to 0 in SYSGEN and in MODPARAMS.DAT. Clobber the VMScluster group ID and password using SYSMAN. Reboot the systems seperately, and run AUTOGEN on each. 15-23 Information on Networks and Clusters Shut off MOP services via NCP or LANCP on the boot server nodes. Permanent seperation also requires the duplication of shared files. For a list of the files commonly shared, please see the most current version of SYS$STARTUP:SYLOGICALS.TEMPLATE, and specifically a version from OpenVMS V7.2 or later. The following files are typically shared within a cluster: Filename: default directory (in common root) and file type: SYSUAF SYS$SYSTEM:.DAT SYSUAFALT SYS$SYSTEM:.DAT SYSALF SYS$SYSTEM:.DAT RIGHTSLIST SYS$SYSTEM:.DAT NETPROXY SYS$SYSTEM:.DAT NET$PROXY SYS$SYSTEM:.DAT NETOBJECT SYS$SYSTEM:.DAT NETNODE_REMOTE SYS$SYSTEM:.DAT QMAN$MASTER SYS$SYSTEM: (this is a set of related files) LMF$LICENSE SYS$SYSTEM:.LDB VMSMAIL_PROFILE SYS$SYSTEM:.DATA VMS$OBJECTS SYS$SYSTEM:.DAT VMS$AUDIT_SERVER SYS$MANAGER:.DAT VMS$PASSWORD_HISTORY SYS$SYSTEM:.DATA NETNODE_UPDATE SYS$MANAGER:.COM VMS$PASSWORD_POLICY SYS$LIBRARY:.EXE LAN$NODE_DATABASE SYS$SYSTEM:LAN$NODE_DATABASE.DAT Also see the topics on "cluster divorce" in the Ask The Wizard area. o http://www.hp.com/go/openvms/wizard/ For additional information on the OpenVMS Ask The Wizard (ATW) area and for a pointer to the available ATW Wizard.zip archive, please see Section 3.9. Information on changing node names is included in Section 5.6. 15-24 Information on Networks and Clusters _____________________________ 15.6.7 Details on Volume Shadowing? This section contains information on host-based volume shadowing; on the disk mirroring capabilities available within OpenVMS. _____________________________ 15.6.7.1 Does volume shadowing require a non-zero allocation classes? Yes, use of host-based Volume Shadowing requires that the disk(s) involved be configured in a non-zero allocation class. Edit SYS$SYSTEM:MODPARAMS.DAT to include a declaration of an non-zero allocation class, such as setting the host allocation class to the value 7: ALLOCLASS = 7 Then AUTOGEN the system, and reboot. You should now be able to form the shadow set via a command such as the following: $ MOUNT dsa1007: /SHADOW=($7$dkb300:,$7$dkb500:) volumelabel When operating in an OpenVMS Cluster, this sequence will typically change the disk names from the SCSNODE prefix (scsnode$dkann) to the allocation-class prefix ($7$dkannn). This may provide you with the opportunity to move to a device-independent scheme using logical name constructs such as the DISK$volumelabel logical names in your startup and application environments; an opportunity to weed out physical device references. Allocation class one is used by Fibre Channel devices; it can be best to use another non-zero allocation class even if Fibre Channel is not currently configured and not currently planned. 15-25 ________________________________________________________________ Index 1858 ASAP 17-Nov-1858,4-2 See DSPP 2000 Ask The Wizard,3-12, 5-24, __Year,5-37___________________ 5-26, 5-27, 5-35, 8-6, 9-3, A 10-2, 10-4, 10-7, 10-9, ______________________________ 10-15, 10-20, 10-24, 15-1, Access Control List Entry, 15-2, 15-3, 15-24 5-12 ATA,7-1, 9-5, 14-20, 14-23, ACCVIO,5-37 14-43, 14-44, 14-45, 14-46, ACE,5-12 14-51 ACPI,14-18 ATAPI,14-51 ACS,5-56 Athalon,2-10 ACTS,4-8 ATW,3-12, 5-24, 5-26, 5-27, Advanced Server,5-4 5-35, 8-6, 9-3, 10-2, 10-4, Agnew, Jim,14-31 10-7, 10-9, 10-15, 10-20, Allocation Class 10-24, 15-1, 15-2, 15-3, Fibre Channel,15-25 15-24 Non-Zero,15-25 AUTOGEN,5-13 Volume Shadowing,15-25 Automatic Foreign Command,8-1 ALLOCLASS system parameter, AVI,7-3 15-25 awk,13-14 Alpha,2-11 ______________________________ AlphaPC 164LX,14-20 B AlphaPC 164SX,14-20 ______________________________ AMASK,14-28 Backdoor,5-9 Ambassador,1-10 Backdrops,11-9 AMD,2-10 BACKUP/IGNORE=INTERLOCK,5-52 AMD64,2-10 Bad Block Handling,9-3 ANSI C,10-17 BADLIB,13-20 AP,10-6 BADTYPSTR,13-20 Apache,13-8 bash,13-16 ar,13-14 Batch,13-19 Archie,13-7 BB_WATCH,4-6 Archival Media BC16E,14-47, 14-48, 14-49 DVDarchive/restore,9-9 BCC08,14-49 ARCH_DEFS.REQ,10-14 BCKTRNSFAIL,15-5 Argument Pointer,10-6 Berryman, Mark,1-4, 13-3 ARRE,14-43, 14-44, 14-46 Bi-Endian,10-16 ARWE,14-43, 14-44, 14-46 Big-Endian,10-16 Index-1 Index BIND,15-6 Carrier Sense Multiple Access, bison,13-14 with Collision Detect, Bliss 14-51 Architecture Flags,10-14 CD BLISS32E,10-14 embossed media,9-11 BLISS32I,10-14 Recording,9-7, 14-46 BLISS32V,10-14 CD-Audio,7-1 BLISS64E,10-14 CD Player,7-1 BLISS64I,10-14 CD-R,9-7, 13-9, 14-45, 14-46 Compiler,10-13 CD-R/RW,9-7, 9-9 Rebuilding System Libraries, CDRECORD,9-7, 14-46 10-14 CDRECORD-ProDVD,9-7 Block CDRTOOLS,9-7 Disk,2-21 CD-RW,9-7, 13-9, 14-46 BN24H,14-48 CDWRITE,9-7 BN24J,14-48 CGI,13-19 BNC,14-38 CHARON-VAX,13-26 BNU Bookreader,3-1 cli$get_value,10-4 Bookreader Clock BNU,3-1 TODR,4-5, 4-7 MGBOOK,3-1 TOY,4-5, 4-7 Browser,13-4 Clockmeister, Ulysses T. Byers, Robert Alan,13-8 See Time bzip2,13-25 Cluster ______________________________ Disk,2-21 C Cluster Load Balancing,15-15 ______________________________ Cluster Terminology,15-12 C,10-17, 10-24 CMA$RTL.EXE,10-24 Compaq C Compiler,10-17, CMS,13-20 10-24 00CMS,13-20 DEC C Compiler,10-17, 10-24 01CMS,13-20 Device Drivers,10-21 $cmsupr,12-4 HP C Compiler,10-17, 10-24 Columbia University,13-3 VAX C Compiler,10-17 COMMON,10-6 CA,5-3, 14-16 Compaq,5-36 Caesar Compaq Secure Web Browser, Julius,4-3 13-17 CalTech,13-8 Composer Campus Software License Grant Mozilla,13-17 See CSLG Computer Associates,5-3, 14-16 console,14-11 Index-2 Index Console DECthreads,10-24 VAXstation 3100,9-4 DECUS,1-9 Console Backdoor,5-9 See User Group Contrl,13-11 Hobbyist Licenses,2-7 COPY,10-9 DECUServe,1-3 CPAN,13-24 DECUS Software Library,13-3 cpio,13-14 DECW$CDPLAYER,7-1 $creprc,10-9 DELETE CSA Undelete,9-1 See DSPP Descriptor,10-10 CSLG,2-8 Deutsch,1-3 CSMA/CD,14-51 Developer Programs CSWB,13-17 See DSPP ______________________________ Device Driver,10-8 D Device Drivers ______________________________ C,10-21 Dachtera, David J.,13-8 Floating Point,10-21 DATMISCH,10-17 DEVICE_NAMING system parameter Daylight Savings Time,4-2, ,15-20 4-13, 4-17, 10-21 DFU,9-1, 9-4, 13-12 DAYLIGHT_SAVINGS.COM,4-13 DIAGNOSE,5-36 DB9,14-47, 14-49 DIGITAL Network Products Group DCL ,14-36 PIPE,13-22 Digital Synergy,13-8 DCPS,12-3 Digital Versatile Disk,9-10 DCX,13-26 Discounts DDB,10-9 See DSPP Debugger Disk Signalling SS$_DEBUG,10-16 Block,2-21 DEC-423,14-46 Cluster,2-21 DECalert,15-10 Sector,2-21 DECC$CRTL.EXE,10-24 Disk Mirroring,9-2 DECconnect,14-46 DECdns,15-6 See Volume Shadowing DECdocument,vi Disks DECevent,5-36 ATA,7-1, 9-5, 14-20, 14-23, DECmigrate,7-3, 13-24, 13-26 14-43, 14-44, 14-45, DECnet,14-51 14-46 Asynchronous,14-50 Bad Block Handling,9-3 DECNET_REGISTER,15-5 CD-R,14-45 MOP,15-6 CD-R/RW,9-7, 9-9 DECprint,12-3 CD-Recordable,9-7 DEC Test Manager,13-20 DVD+R/RW,9-7, 9-9 dvd200i,14-46 DVD-R/RW,9-7, 9-9 Index-3 Index Disks (cont'd) DTSS$INSTALL_TIMEZONE_RULE.COM DVD-Recordable,9-7 ,4-17 FAT Format,7-2 DTSS$NTP_PROVIDER.C,4-9 Floppy,7-2 DTSS$SET_TIMEZONE.EXE,4-14 IDE,7-1, 9-5, 14-20, 14-23, DTSS$UTC_STARTUP.COM,4-17 14-43, 14-44, 14-45, DVD,14-46 14-46 Recording,9-7 Jumpers,14-40 DVD+R,9-7, 9-9, 13-9 MSCP,9-3 DVD+R/RW,9-7 PC Format,7-2 DVD+RW,9-7, 13-9 PlexWriter,14-46, 14-52 dvd200i,14-46 SCSI,9-3, 9-12, 14-2, DVDarchive/restore,9-9 14-20, 14-23, 14-25, DVD-R,9-7, 13-9 14-32, 14-40, 14-43, DVD-R/RW,9-7, 9-9 14-44, 14-45, 14-46 DVDRTOOLS,9-7 SCSI-2,9-6 DVD-RW,9-7, 13-9 Volume Set,9-7 DVDwrite,9-8 Zip,14-45, 14-46 Dynamic System Recognition, Disk Shadowing,9-2 14-17 DJE Systems,13-8 ______________________________ DKDRIVER,14-51 E DNPG,14-36 ______________________________ DNS,15-6 EBCDIC,7-4 DOCUMENT,10-15 ECO kits,5-28 See DECdocument Search Engine,5-27 DQDRIVER,7-1, 9-5, 14-23, EFI,14-24 14-46, 14-51 EIA-232,14-47 Driver ELSA GLoria Synergy,5-25 Device,10-8 elvis,13-15 DRVERR,14-43, 14-46 embossed media,9-11 DSPP,2-8, 2-13, 2-17 Encompass DSR,14-17 See User Group DST,4-2, 4-13, 4-17, 10-21 Hobbyist Licenses,2-7 DTM,13-20 Encompasserve,1-3 00DTM,13-20 Encompass Software Library, 01DTM,13-20 13-3 DTSS,4-9 Endian-ness,10-16 DTSS$CLERK,4-19 Engineering Software,7-2 Too Few Servers Detected, Ensoniq,7-3 4-20 Enterex DTSS$CLERK,4-19 Hobbyist Licenses,2-7 EPIC,14-24 Index-4 Index $erapat,5-55 FAQ Sections (Old) (cont'd) Ergonomic Solutions,15-10 DECw11,11-10 Error analysis,5-36 DECw12,11-11 ETAPE,7-4 DECw13,11-11 Ethernet,14-51 DECw14,11-12 Event Flags,11-10 DECw15,11-14 EWS,11-3 DECw16,11-15 EXE$GL_TICKLENGTH,4-11 DECw17,11-15 EXE$GL_TIMEADJUST,4-11 DECw2,11-3 EXE$GL_TODR,4-4 DECw3,11-3 EXE$GQ_SAVED_HWCLOCK,4-6 DECw4,11-4 EXE$GQ_SYSTIME,4-4, 4-6 DECw5,11-4 EXE$GQ_TDF,4-14 DECw6,11-5 EXE$GQ_TODCBASE,4-4 DECw9,11-8 EXE$SETTIME,4-4 DECwindows,11-1 Executable Image,10-8 Doc1,3-1 EXPECTED_VOTES system Doc10,3-6 parameter,15-16 Doc11,3-7 Explicitly Parallel Doc12,3-13 Instruction Computing Doc13,3-10 See EPIC Doc14,3-12 Extensible Firmware Interface Doc2,3-1 See EFI Doc4,3-6 ______________________________ Doc5,3-6 F Doc6,3-5 ______________________________ File1,9-1 Facility Prefix,10-2 File2,9-1 FAQ Sections (Old) File3,9-2 DCL$PATH Logical Name,8-1 File4,9-3 DCL1,8-1 File5,9-4 DCL10,8-7 File6,9-6 DCL11,8-7 File7,9-7, 9-9 DCL12,8-8 File8,9-12 DCL3,8-2 File9,9-12 DCL4,8-2 Intro1,1-2 DCL5,8-3 Intro2,1-3 DCL6,8-4 Intro3,1-3 DCL7,8-5 Intro4,1-4 DCL8,8-6 Intro5,1-5 DCL9,8-6 Intro6,1-8 DECw$IGNORE_WORKSTATION Intro7,1-3 Logical Name,11-7 Intro8,1-9 DECw1,11-1 Mgmt1,5-1 DECw10,11-8 Mgmt10,15-16 Mgmt11,5-13 Index-5 Index FAQ Sections (Old) (cont'd) FAQ Sections (Old) (cont'd) Mgmt12,5-54 Mgmt54,15-25 Mgmt13,15-20 Mgmt56,5-44 Mgmt14,15-9 Mgmt57,5-45 Mgmt15,5-14 Mgmt58,15-6 Mgmt16,5-15 Mgmt59,5-45 Mgmt17,5-20 Mgmt6,15-2 Mgmt18,5-22 Mgmt60,5-47 Mgmt19,5-22 Mgmt61,15-18 Mgmt2,5-2 Mgmt62,5-47 Mgmt20,5-52 Mgmt63,5-56 Mgmt21,5-23 Mgmt64,5-51 Mgmt23,5-24 Mgmt9,5-11 Mgmt24,5-25 Misc12,12-3 Mgmt25,5-27 Misc13,12-3 Mgmt26,15-21 Misc14,12-4 Mgmt27,5-29 Misc15,15-10 Mgmt28,15-3 Misc17,15-9 Mgmt3,5-4 Misc19,15-11 Mgmt30,5-30 Misc2,12-1 Mgmt31,5-31 Misc20,12-5 Mgmt32,5-33 Misc6,15-5 Mgmt33,5-33 Misc7,15-6 Mgmt34,5-36 Misc9,15-4 Mgmt35,5-49 Prog1,10-2 Mgmt36,15-4 Prog10,10-7 Mgmt37,5-36 Prog11,10-8 Mgmt38,5-37 Prog12,10-9 Mgmt39,5-37 Prog13,10-9 Mgmt4,5-6 Prog14,2-19 Mgmt40,5-38 Prog15,2-21 Mgmt41,5-38 Prog16,10-11 Mgmt42,15-19 Prog17,10-13 Mgmt43,5-40 Prog18,10-13 Mgmt44,15-23 Prog19,10-15 Mgmt45,15-23 Prog2,10-4 Mgmt46,5-41 Prog20,10-15 Mgmt47,15-12, 15-14, 15-15 Prog21,10-16 Mgmt48,5-41 Prog22,10-16 Mgmt49,5-41 Prog23,10-17 Mgmt5,5-6, 5-10 Prog3,10-4 Mgmt50,5-42 Prog4,10-5 Mgmt51,5-42 Prog5,10-5 Mgmt52,5-44 Prog7,10-5 Mgmt53,5-44 Prog8,10-6 Index-6 Index FAQ Sections (Old) (cont'd) FAQ Sections (Old) (cont'd) Prog9,10-6 VMS5,2-4 Soft1,13-1 VMS7,2-4 Soft10,13-22 VMS8,2-6 Soft12,13-23 VMS9,2-7, 2-9 Soft13,13-24 Farmer, Ken,1-3 Soft14,13-25 FAT Disks,7-2 Soft2,13-14 FFT,13-11 Soft3,13-17 $filescan,9-3 Soft4,13-18 FILE tool,13-13 Soft5,10-17 FISH,13-3 Soft6,13-19 flex,13-14 Soft7,13-19 Floating Point,10-6 Soft9,13-20, 13-21 Device Drivers,10-21 Time1,4-2 Floppy,7-2 Time10,4-19 FLORIAN,9-1 Time11,4-4 $flush,9-2 Time12,4-1 Foreign Command,8-1 Time13,4-18 Fortran,10-7 Time2,4-7 Freeware,9-4, 10-4, 10-15 Time3,4-10 SETCLOCK,4-11 Time4,4-13 ftso,13-26 Time5,4-16 ftsv,13-26 Time6,4-8 ______________________________ Time7,4-11 G Time8,4-10 ______________________________ Time9,4-7 GB,2-21 Util1,7-1 $getdvi,10-2 Util2,7-2 $getjpi,10-2 Util3,7-3 $getsyi,10-2 Util4,7-3 Gigabyte,2-21 Util5,7-4 Global Maintech,14-16 Util6,7-4 gmake,13-12 VMS1,2-1 GMT,4-1 VMS10,2-9 GNM,10-15 VMS11,2-9 GNU,13-16 VMS12,2-13 GnuPG,13-5 VMS13,2-14 GNU Privacy Guard,13-5 VMS14,2-15 GNV,13-16 VMS15,2-15 Google,1-3 VMS16,2-17 GPG,13-5 VMS17,2-17 Grace,13-9 VMS2,2-2 grep,13-14 VMS3,2-3 VMS4,2-3 Index-7 Index GTK,13-11 Image gzip,13-25 Executable,10-8 ______________________________ Loadable,10-8 H Protected,10-8 ______________________________ Shareable,10-8 H8571-A,14-49 System,10-8 H8571-B,14-49 UWSS,10-8 H8571-C,14-49 IMAGELIB.OLB,10-17 H8571-D,14-49 ImageMagick,13-6 H8571-E,14-49 IMPLVER,14-28 H8571-J,14-49 InfoServer,9-9 H8572-0,14-49 Scribe,9-8 H8575-A,14-49 INFO-VAX,1-3, 1-4, 1-7 H8575-B,14-49 INITIALIZE,5-37 H8575-D,14-49 INSTALL,10-8 H8577-AA,14-49 Integrity,2-10, 2-12 Hardware Intel,2-10, 2-12 Serial Number,10-7 Interex Helliesen, Gunnar,14-32 See User Group Hemker, Mark,13-9 IO$_DIAGNOSE,7-1 Heroix,14-16 Iomega,14-45, 14-46 Heuser-Hofmann, Eberhard, IRC Client Dr.,9-8 Mozilla,13-17 Hobbyist,2-8 IRIG,4-9 Hour ISO-9960,9-8 Off By One,4-2, 4-17, 10-21 ISVN HP-UX,10-16 See DSPP HSG80,5-56 Itanium,2-10, 2-12, 14-18, ht://Dig,13-12 HTML,10-15 14-24 HTTP_SERVER,13-3 Itanium Processor Family ______________________________ See Itanium I ______________________________ ______________________________ J I64,2-10, 14-18, 14-24 ______________________________ IA-32,2-11 J2EE,13-18 IA-64 Architecture,2-10, Java,13-18 14-18, 14-24 JBC$COMMAND,5-29 IARGCOUNT,10-7 JCL,7-4 IDE,7-1, 9-5, 14-20, 14-23, JDK,13-18 14-43, 14-44, 14-45, 14-46, JetDirect,15-2 14-51 Jones, David,13-3 Identifier Jouk,13-3 Subsystem,10-8 Index-8 Index Julian Day,4-2 Licensing Programs Jumpers,14-40 Campus Software License ______________________________ Grant,2-8 K Developers,2-8, 2-17 ______________________________ DSPP,2-8, 2-17 Kb,2-22 Educational,2-8 KB,2-21, 2-22 Hobbyist,2-8 Kermit,13-3 Liebert,13-10 ki,14-16 linda,13-9 Kilobit,2-22 Linker Kilobyte,2-21, 2-22 COMMON,10-6 KI Products,14-16 PSECT_ATTR,10-6 KVM switch,14-37, 14-38 SYMBOL_VECTOR,10-5 ______________________________ SYS$BASE_IMAGE,10-5 L SYS.STB,10-5 ______________________________ /SYSEXE,10-5 LAVC$START_BUS,15-15 LINKER,10-17 LAVC$STOP_BUS,15-15 LISP$DAYLIGHT_SAVING_TIME_P LCD flat-panel display,14-38, Logical Name,4-16 14-40 LISP$TIME_ZONE Logical Name, Levitte,13-8 4-16 lex,13-14 Little-Endian,10-16 lib$find_image_symbol,10-8 LK201,14-37 lib$free_ef,11-10 LK401,14-37 lib$get_ef,11-10 LK461,14-38 lib$get_foreign,10-4 LK463,14-38, 14-49 lib$set_logical,10-5 LK46W,14-38 lib$sfree1_dd,10-10 LK471,14-38 lib$sget1_dd,10-10 LMF,2-8, 5-11, 10-7, 11-7, LIB$SIGNAL,10-16 12-5 lib$spawn,10-9 LMF$DISPLAY_OPCOM_MESSAGE lib$table_parse,10-15 Logical Name,12-5 lib$tparse,10-15 Loadable Image,10-8 lib$trim_filespec,9-3 LOAD_PWD_POLICY system LIB.L32,10-14 parameter,5-48 LIB.L64,10-14 LocalFile,15-6 LIB.R64,10-14 Logical Name LIB.REQ,10-14 DCL$PATH,8-1 License,5-11, 10-7, 11-7, DECW$IGNORE_WORKSTATION, 12-5 11-7 License Unit Requirements LISP$DAYLIGHT_SAVING_TIME_P, Table,2-7, 5-46 4-16 Licensing,10-7 LISP$TIME_ZONE,4-16 Index-9 Index Logical Name (cont'd) MAXBUF LMF$DISPLAY_OPCOM_MESSAGE, system parameter,9-12 12-5 MAXPROCESSCNT system parameter MAIL$TIMEZONE,4-16 ,5-10 NOTES$TIMEZONE,4-16 Mb,2-22 SYS$DISK,10-5 MB,2-21, 2-22 SYS$LOGIN,8-7 MD5,5-3 SYS$LOGIN_DEVICE,8-7 Megabit,2-22 SYS$SCRATCH,8-7 Megabyte,2-21 SYS$TIMEZONE_DAYLIGHT_SAVING Megabytes,2-22 ,4-15 Menufinder,13-9 SYS$TIMEZONE_DIFFERENTIAL, MESSAGE Compiler,10-15 4-15 MGBOOK Bookreader,3-1 SYS$TIMEZONE_NAME,4-15, MGPCX,7-2 4-18 microfortnight,2-23 TZ,4-18 MIME,13-9 UCX$NFS_TIME_DIFFERENTIAL, Minicopy,5-56 4-16 Minimerge,5-56 UCX$TDF,4-15 Mirroring,9-2 LOGINOUT,5-9 See Volume Shadowing lpd,15-1 Mlucas,13-11 lpr,15-1 MMJ,14-46, 14-47, 14-48, LRA0:,12-3 14-49 LURT,2-7, 5-46 mmk,13-12 LVD,14-46 Modified Modular Jack,14-46 164LX,14-20 MODPARAMS.DAT,15-23, 15-25 Lynx,13-4 Montagar,13-1 ______________________________ MOP,15-6 M Mosaic,13-4 ______________________________ Mozilla,13-4 MadGoat,5-36, 7-2, 13-2, Composer,13-17 13-13 IRC Client,13-17 MAIL$TIMEZONE Logical Name, Netnews Client,13-17 4-16 MPEG,7-3 MAIL10,6-3 mpi,13-9 MAIL7,6-1 MSCP_LOAD system parameter, MAIL9,6-1 15-13 Mail Count,6-1 MTAACP,5-37 Majordomo,13-9 MTEXCH,7-4 make,13-12, 13-14 Multia,14-19 man,13-14 Multinet,15-3 Mature Product Support,5-18 MySQL,13-12 Index-10 Index ______________________________ ______________________________ N P ______________________________ ______________________________ NCSA,13-4 Pager Plus,15-10 NCSC Class C2,5-10 Paging,15-10 NET$DISABLE_DTSS,4-20 PAK,2-8, 5-11, 10-7, 11-7, NET1,15-1 12-5 NET2,15-1 PAKGEN,10-7, 12-5 NetBSD,14-26 PALcode,14-4, 14-11 Netnews Client PA-RISC,2-11 Mozilla,13-17 $parse,9-3 Netscape Navigator,3-13, Partner Programs 13-17 See DSPP Networking Dynamics,5-36, Patch,7-4 13-11, 15-10 Patches New Mail Count,6-1 See ECO kits NIC,15-2 NISCS_LOAD_PEA0 system See ECO Search Engine parameter,15-23 PATHWORKS,5-4 NIST,4-8 PB,2-21 NOCLI,8-2 PBXGB-AA PowerStorm 3D30,5-26 NODECW,11-12 PBXGB-CA PowerStorm 4D20,5-26 NODEVICE,11-12 PBXGD-AE PowerStorm 350,5-26 NOLICENSE,5-9 PBXGK-BB PowerStorm 3D10T, NONEWMAIL,6-1 5-25 NOTES$TIMEZONE Logical Name, PC7XS-CA,14-38 4-16 PCDISK,7-2 NOTSET,4-19 PC Disks,7-2 17-Nov-1858,4-2 PCSI,5-40 NTP,4-9 PCX,7-2 ______________________________ Peek,13-11 O Pentium,2-10, 2-11 ______________________________ Perl,13-11, 13-23 ODBC,9-12 Petabyte,2-21 ODS-2,9-8 PGP,13-4 ODS-5,9-8 PHYSICALPAGES system parameter Ohio State University,13-3 ,5-13 OPA0:,5-9, 5-10, 14-11 PHYSICAL_MEMORY system OpenVMS.Org,1-3 parameter,5-13 OPENVMS-HOBBYIST,2-8 PINE,13-9 Opteron,2-10 Pioneer,14-52 OSU,13-3 PIPE,13-22 Outbuildings Plextor,14-46, 14-52 See Time Index-11 Index pm,11-9 ______________________________ PMDF,15-10 R Postscript,10-15 ______________________________ POV-Ray,13-9 Radeon 7500,5-27 PowerStorm 300,5-26 RamPage,15-10 PowerStorm 350,5-26 RAS,15-4 PowerStorm 3D10T,5-25 Raxco,13-11 PowerStorm 3D30,5-26 rcs,13-14 PowerStorm 4D20,5-26 Rlogin,5-55 PPP,15-4 RMS,9-12 Pretty Good Privacy,13-4 RMS Journaling,9-2 Printing Roadmap,1-1, 2-11 DCPS,12-3 robomon,14-16 lpr,15-1 Rocksoft,5-3 Parallel Port,12-3 Royal Greenwich Observatory telnet,15-1 See Time Prior Version Support,5-18 RRD42,9-11 Process Software,13-2, 15-3, RS-232,14-47 15-10 RZDISK,14-44 Product Authorization Key, ______________________________ 5-11, 10-7, 11-7, 12-5 S Product Registration,10-2 ______________________________ PRODUCT SHOW PRODUCT,5-40 SAIC,1-4, 13-1, 13-3 ProDVD,9-7 Saiga Systems,5-36 ProGIS,7-2, 13-16 Samba,5-4 Protected Image,10-8 SAMBA,13-10 PSECT_ATTR,10-6 SAO,4-2 $putmsg,10-4 SCACP,15-15 pvm,13-9 Scaliger PVS,5-18 Julius Caesar,4-3 PWIP,15-5 Scaliger, Joseph,4-3 Python,13-11 Scribe ______________________________ InfoServer,9-8 Q SCS,15-11, 15-12 ______________________________ SCSI,9-12, 14-2, 14-20, $qio,10-9, 11-10 14-23, 14-25, 14-32, 14-40, QMAN$JOURNAL,5-29 14-43, 14-44, 14-45, 14-46, QuickSpecs,3-4 14-51 QUORUM,15-17 SCSI-2,9-6 SCSI_INFO,14-44 SCSNODE system parameter, 5-11, 5-13, 15-25 Index-12 Index SCSSYSTEMID system parameter, SS$_DEBUG,10-16 5-13 SS$_NOCLI,8-2 SDL,10-15 SSH,13-3 SDML,vi, 10-15 FISH,13-3 Search Engine,13-12 SSL ECO,5-27 SSLeay,13-3 Patch,5-27 SSLeay,13-3 Sector Stark, Tim,13-26 Disk,2-21 STARLET.L32,10-14 Secure Shell,13-3 STARLET.L64,10-14 Security,5-10 STARLET.R64,10-14 Security MUP,5-3 STARLET.REQ,10-14 Self-extracting zip,13-25 Storage Serial Number,10-7 ATA,7-1, 9-5, 14-20, 14-23, SETCLOCK,4-11 14-43, 14-44, 14-45, SET PREFERRED_PATH command, 14-46 15-15 CD-R,14-45 $SETTIM,4-19 CD-R/RW,9-7, 9-9 SET TIME,4-19 CD-Recordable,9-7 SETTIME system parameter,4-4, Disk Settings,14-40 4-5 DVD+R/RW,9-7, 9-9 SFX,13-25 DVD-R/RW,9-7, 9-9 Shadowing,9-2 DVD-Recordable,9-7 Shareable Image,10-8 FAT Format,7-2 SHOW MEMORY/CACHE command, Floppy,7-2 9-13 Free Space,12-3 SIMH,13-26 IDE,7-1, 9-5, 14-20, 14-23, SMB,13-10 14-43, 14-44, 14-45, smg$create_menu,10-3 14-46 Smithsonian Astrophysical PC Format,7-2 Observatory,4-2 Remaining on Tape,12-3 $sndjbc,10-9 SCSI,9-12, 14-2, 14-20, SOAP,13-8 14-23, 14-25, 14-32, SOC,3-4 14-40, 14-43, 14-44, Sophos,5-4 14-45, 14-46 Spy,13-11 SCSI-2,9-6 Spyglass,13-4 Volume Set,9-7 SRI,1-3, 13-26 Subsystem Identifier,10-8 SRM,14-11 Supervisor,13-11 Acronym,14-4 Supnik, Bob,13-26 System Reference Manual, Support 14-4 Prior Version Support,5-18 Index-13 Index Swizzling,14-29 SYS$TIMEZONE_DIFFERENTIAL 164SX,14-20 Logical Name,4-15 SYLOGICALS.COM,4-20, 8-3, SYS$TIMEZONE_NAME Logical 11-7 Name,4-15, 4-18 SYLOGICALS.TEMPLATE,4-20, SYS$TIMEZONE_SRC.DAT,4-17 5-35, 5-55, 6-1, 8-3, 15-24 SYS$WSDRIVER,11-3 Symbol Substitution SYS.STB,10-5 PIPE,13-22 SYSBOOT,5-10, 15-20 SYMBOL_VECTOR,10-5 SYSGEN,5-10 synch-on-green,14-38 SYSLOG,13-9 SYS$BASE_IMAGE,10-5 System Disk SYS$BASE_IMAGE.EXE,4-14 VAXstation 3100,9-4 sys$cmsupr,12-4 System Image,10-8 sys$creprc,10-9 System parameters SYS$DISK Logical Name,10-5 ALLOCLASS,15-25 SYS$DKDRIVER,14-51 DEVICE_NAMING,15-20 SYS$DQDRIVER,7-1, 9-5, 14-23, EXPECTED_VOTES,15-16 14-46, 14-51 LOAD_PWD_POLICY,5-48 SYS$EXAMPLES:DAYLIGHT_ MAXBUF,9-12 SAVINGS.COM,4-13 MAXPROCESSCNT,5-10 sys$filescan,9-3 MSCP_LOAD,15-13 sys$flush,9-2 NISCS_LOAD_PEA0,15-23 sys$getdvi,10-2 PHYSICALPAGES,5-13 sys$getjpi,10-2 PHYSICAL_MEMORY,5-13 sys$getsyi,10-2 SCSNODE,5-11, 5-13, 15-25 SYS$LIB_C.TLB,10-21 SCSSYSTEMID,5-13 SYS$LOGIN Logical Name,8-7 SETTIME,4-4, 4-5 SYS$LOGIN_DEVICE Logical Name TIMEPROMPTWAIT,4-4, 4-5 ,8-7 TMSCP_LOAD,15-13 sys$parse,9-3 UAFALTERNATE,5-9 SYS$PIPE,13-22 VAXCLUSTER,15-23 sys$putmsg,10-4 VOTES,15-16 sys$qio,10-9, 11-10 WINDOW_SYSTEM,5-8, 11-7, SYS$SCRATCH Logical Name,8-7 11-12 sys$setddir,10-5 WRITESYSPARAMS,5-8 SYS$SETTIM,4-19 Systems and Options Catalog, sys$sndjbc,10-9 3-4 SYS$STARTUP:DTSS$STARTUP.COM, System Service,10-8 4-19 SYSUAF SYS$TIMEZONE.DAT,4-14, 4-17 Bypass,5-9 SYS$TIMEZONE_DAYLIGHT_SAVING Corrupt,5-9 Logical Name,4-15 SYSUAFALT.DAT,5-9 Index-14 Index ______________________________ Time (cont'd) T NIST,4-8 ______________________________ NOTSET,4-19 TAP,15-10 NTP,4-9 TAPECOPY,7-4 Off By One Hour,4-2, 4-17, Tapes 10-21 Compaction,12-4 Prime Meridian,4-2 Compression,12-4 SETCLOCK,4-11 Conversion,7-4 SET TIME Command,4-19 EBCDIC,7-4 TDF,4-14 Free Space,12-3 TIMENOTSET,4-19 tar,13-14 Time service enabled,4-19 Target Systems,15-10 Timezone Rules,4-18 TB,2-21 TODR,4-5, 4-7 tcgmsg,13-9 TOY,4-5, 4-7 TCL,13-12 UT0,4-1 TCOPY,7-4 UT1,4-1 TCQ,14-2 UT2,4-1 TDF,4-14 UTC,4-1, 4-2, 4-14, 4-17, TECsys,14-16 10-21 telnet,15-1 ZIC,4-18 Telnet,5-55 TIMENOTSET,4-19 Telocator Alphanumeric TIMEPROMPTWAUT system Protocol,15-10 parameter,4-4, 4-5 Terabyte,2-21 TMSCP_LOAD system parameter, Terminal Server Manager,13-12 15-13 Test-Drive,2-13 TODR,4-5, 4-7 Test Manager,13-20 Too Few Servers Detected,4-20 Text,10-15 Touch,13-12 TIE,13-24 Touch Technologies,vi Time TOY Clock,4-5, 4-7 ACTS,4-8 TPAMAC.REQ,10-15 Clock Drift,4-10, 4-11 Trailing Edge,13-26 Dial-up,4-8 Tripp-Lite,13-9 DST,4-2, 4-17, 10-21 TS10,13-26 DTSS,4-9 TSM,13-12 Error modifying time,4-19 TT2$M_DISCONNECT,5-56 GMT,4-1 TTY_DEFCHAR2,5-56 Greenwich,4-1 TZ Logical Name,4-18 IPL,4-10 IRIG,4-9 Julian,4-2 Julian Calendar,4-3 Julian Date,4-2 Julian Day,4-2 Index-15 Index ______________________________ VCC_FLAGS,9-13 U VCS,14-17 ______________________________ Veracity,5-3 U.S. Design,9-9 Very Long Instruction Word UAFALTERNATE,5-9 See VLIW UAFALTERNATE system parameter VEST,13-24 ,5-9 vi,13-15 UCB,10-9 vile,13-15 UCX$NFS_TIME_DIFFERENTIAL vim,13-15 Logical Name,4-16 VIOC,9-13 UCX$TDF Logical Name,4-15 VIOC Compatable Mode,9-13 undelete,9-1 Virtual Terminal,5-55 UPS,13-9, 13-10 VLIW,14-24 UPShot,13-10 VMove,7-2 User Group VMS73_XFC,9-13 DECUS,1-9 VMSINSTAL,5-40 Encompass,1-9 VMSLICENSE,5-11 Interex,1-9 _VMS_V6_SOURCE,4-14 UT0,4-1 Vols in Full XFC mode,9-13 UT1,4-1 Volume Set,9-7 UT2,4-1 Volume Shadowing,15-25 UTC,4-1, 4-14 Allocation Class,15-25 UTC$CONFIGURE_TDF.COM,4-13 Full Copy,5-57 UTC$TIMEZONE_SETUP.COM,4-13 Full Merge,5-58 UTC$TIME_SETUP.COM,4-13, Minicopy,5-56 4-14, 4-16, 4-18 Minimerge,5-56 uudecode,13-2, 13-14 VOTES system parameter,15-16 uuencode,13-2, 13-14 VR260,14-37 UWSS,10-8 VR290,14-37 ______________________________ VRC16,14-38 V VRC21,14-38 ______________________________ VSXXX,14-37 Vajhøj, Arne,13-2 VXT,11-3 VAKSAT,7-2 ______________________________ VAXcluster Console System, W 14-17 ______________________________ VAXCLUSTER system parameter, Web Archives,14-40 15-23 Web Browser VAXCRTL.EXE,10-24 Compaq Secure Web Browser, VAX Emulator,13-26 13-17 VAXstation 3100 CSWB,13-4, 13-17 Console,9-4 Lynx,13-4 System Disk Capacity,9-4 Mosaic,13-4 Mozilla,13-4, 13-17 Netscape,13-4 Index-16 Index Web Browser (cont'd) XLNperformance,5-36 Netscape Navigator,3-13, XLNsystems,5-36 13-17 XML,10-16, 13-11 Web server XOFF,14-50 Apache,13-8 XON,14-50 OSU,13-8 xpm,11-9 Purveyor,13-8 XtAppAddInput,11-10 WASD,13-8 xv,11-9 Webserver,13-3 X Windows,11-1 Western Kentucky University, X Windows Terminal,11-3 13-2 ______________________________ WINDOW_SYSTEM Y system parameter,11-7, ______________________________ 11-12 Y2K,5-37 WINDOW_SYSTEM system parameter yacc,13-14 Yamhill,2-10 ,5-8 Year 2000,5-37 WIZARD.ZIP,3-13 ______________________________ WKU,13-2 Z Write History Logging,5-56 ______________________________ WRITESYSPARAMS system ZAP,7-4 parameter,5-8 ZIC,4-18 WSDRIVER,11-3 Zimmerman, Phil,13-4 WWW,13-4 zip,13-25 ______________________________ Zip,14-45, 14-46 X Self-extracting,13-25 ______________________________ ZMODEM,13-3 XDR,10-16 XFC,9-13 Index-17