Vmsfaq
Vmsfaq
(FAQ)
ABSTRACT
FAQ
Contents
PREFACE i
iii
Contents
iv
Contents
3.7 WHAT OPENVMS MAILING LISTS AND FORUMS ARE AVAILABLE? 3–8
3.8 WHAT IS THIS ASK THE WIZARD WEBSITE I’VE HEARD ABOUT? 3–10
v
Contents
4.5 WHY DOES THE SET TIME COMMAND FAIL? HELP MANAGING
DTSS? 4–20
vi
Contents
5.8 WHY DOESN’T OPENVMS SEE THE NEW MEMORY I JUST ADDED? 5–12
vii
Contents
5.17 HOW CAN I ACQUIRE OPENVMS PATCHES, FIXES, AND ECOS? 5–26
viii
Contents
5.24 DO I NEED A PAK FOR THE DECEVENT (HP ANALYZE) TOOL? 5–33
5.28 HOW DOES PCSI USE THE IMAGE BUILD_IDENT FIELD? 5–35
5.30 WHAT FILE CHECKSUM TOOLS ARE AVAILABLE FOR OPENVMS? 5–38
5.34 HOW CAN I CUSTOMIZE THE DCPS DEVICE CONTROL FOR A NEW
PRINTER? 5–39
ix
Contents
x
Contents
6.1 MAIL KEEPS SAYING I HAVE NEW MESSAGES, BUT I DON’T. WHAT DO I
DO? 6–1
xi
Contents
xii
Contents
9.6 WHAT IS THE MAXIMUM FILE SIZE, AND THE RMS RECORD SIZE
LIMIT? 9–6
xiii
Contents
10.3 HOW DO I GET THE ARGUMENTS FROM THE COMMAND LINE? 10–4
10.8 HOW DO I CONVERT BETWEEN IEEE AND VAX FLOATING DATA? 10–5
10.16 WHERE CAN I OBTAIN BLISS, AND THE LIBRARIES AND SUPPORTING
FILES? 10–12
xiv
Contents
xv
Contents
11.3 HOW CAN I GET THE INFORMATION FROM SHOW DISPLAY INTO A
SYMBOL? 11–3
xvi
Contents
xvii
Contents
13.7 HOW CAN A BATCH JOB GET ITS OWN BATCH ENTRY NUMBER? 13–19
13.11 WHERE CAN I GET ZIP, UNZIP, SELF-EXTRACTING ZIP, ETC? 13–22
14.1 WHAT ARE THE OPENVMS DIFFERENCES AMONG VAX, ALPHA, AND
IA-64? 14–1
xviii
Contents
xix
Contents
14.10 WHAT IS THE LAYOUT OF THE VAX FLOATING POINT FORMAT? 14–33
14.11 WHERE CAN I FIND MORE INFO ABOUT VAX SYSTEMS? 14–33
14.13 WHAT SYSTEM DISK SIZE LIMIT ON THE MICROVAX AND VAXSTATION
3100? 14–34
xx
Contents
14.24 HOW DO I SET THE SPEED AND DUPLEX ON OPENVMS I64? 14–44
xxi
Contents
15.5 HOW CAN I SEND (RADIO) PAGES FROM MY OPENVMS SYSTEM? 15–9
xxii
Contents
INDEX
TABLES
1–1 Core Websites 1–1
1–2 INFO-VAX Mail Server Commands 1–4
2–1 OpenVMS Alpha Media Kits 2–5
2–2 OpenVMS I64 Order Numbers 2–6
2–3 OpenVMS I64 Media Suffix 2–6
2–4 OpenVMS Source Listings Kits 2–6
2–5 OpenVMS Alpha Version Rule-Of-Thumb 2–15
3–1 OpenVMS Websites 3–2
3–2 OpenVMS Tutorial and Documentation Websites 3–5
3–3 DP Books 3–7
3–4 OpenVMS Mailing Lists 3–8
3–5 OpenVMS Discussion Forums 3–10
5–1 PCSI Generation Number 5–36
11–1 X Windows Display Commands 11–1
14–1 I64 Conversational Bootstrap Flags 14–8
14–2 Alpha Conversational Bootstrap Flags 14–9
14–3 VAX Conversational Bootstrap Flags 14–10
14–4 DE500 Speed and Duplex Settings 14–43
14–5 DEC MMJ Pin-out 14–47
14–6 PC DB9 Pin-out 14–48
14–7 MicroVAX DB9 Pin-out 14–49
14–8 DECconnect MMJ Connectors and Adapters 14–50
xxiii
Contents
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!
iii
OpenVMS Frequently Asked Questions (FAQ)
Thank you!
Post to Newsgroups With Care!
Please consider reading Section 1.3 before posting to the
comp.os.vms or any other newsgroups. (What you post can
come back to haunt you.)
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 (hoff{NoSpam-
atsign}hoffmanlabs{NoSpam-dot}org) wishes to thank to all of those folks
who post answers to the newsgroups, and that have contributed to the
contents of and to the general improvements 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.
Jim Agnew, Paul Anderson, Jason Armistead, Zoltan Arpadffy, John
AtoZ, Bailey, Gary Barclay, (The) Beav, Jeremy Begg, Colin Blake,
Fabrice Blanquart, Ken Blaylock, Kenneth Block, Bol, Craig Berry,
Mark Berryman, Jim Becker, Verell Boaen, Bol, Jim Brankin, Richard
Brodie, Colin Butcher, 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, Mike Duffy, 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, Rich Hearn, Fletcher Hearns, Phillip Helbig, Hein van den
Heuvel, Stephen Hoffman, Eberhard Heuser-Hofmann, Sue Holt, Mark
Hopkins, Horn, Jaf, Leif Jansson, Kevin Jenkins, Don R. Jones, Henry
Juengst, inazu_k, Geoff Kingsmill, Fred Kleinsorge, Felix Kreisel, Veli
Korkko, Ruslan R. Laishev, Peter ‘‘EPLAN’’ Langstoeger, Norm Lastovica,
p_lee, Jerry Leichter, Richard Levitte, Tom Linden, Steve Lionel, Denis
Maillard, Kerry Main, John E. Malmberg, David Mathog, Dale Miller, Ian
Miller, Dick Munroe, Patrick Moreau, Morrison, otis, George Pagliarulo,
iv
OpenVMS Frequently Asked Questions (FAQ)
Keith Parris, Guy Peleg, Plass, pvhp, David Rabahy, Stan Rabinowitz,
Mike Raspuzzi, Steve Reece, Neil Rieck, Ian Ring, Aaron Sakovich,
Warren Sander, Mark Schafer, Brian Schenkenberger, Atlant Schmidt,
Wayne Sewell, Steven Shamlian, Sue Skonetski, Scott Snadow, Sue
Sommer, 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 (hoff{NoSpam-
atsign}hoffmanlabs{NoSpam-dot}org) 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.
v
OpenVMS Frequently Asked Questions (FAQ)
vi
OpenVMS Frequently Asked Questions (FAQ)
included, cited or otherwise referenced here may or may not reflect the
stated opinions of HP, of the FAQ editor, or of any other entity.
All trademarks, registered trademarks, servicemarks and registered
servicemarks used or referenced here are the properties of their respective
owner(s) or holders. Please route any corrections, requests or related
updates to the FAQ Editor (hoff{NoSpam-atsign}hoffmanlabs{NoSpam-
dot}org)
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.
The master copy of this FAQ is posted at
• http://www.hp.com/go/openvms/faq
vii
1 Introduction
URL Contents
Core OpenVMS Information, including roadmaps and release schedules
http://www.hp.com/go/openvms/
Core OpenVMS Support Search Engine URLs, the ITRC support and discussion forums, and the
ITRC FTP-accessable Patch Area
http://www2.itrc.hp.com/service/james/CPQhome.do (formerly the NLSA Natural
Language Search Assistant, and formerly AskQ.)
http://www.itrc.hp.com/
ftp://ftp.itrc.hp.com/openvms_patches/
1–1
Introduction
1–2
Introduction
1–3
Introduction
Command Description
HELP Acquire information on mail server
SUBSCRIBE INFO-VAX Join to the mailing list
UNSUBSCRIBE INFO-VAX Leave the mailing list
SET INFO-VAX DIGEST Select periodic omnibus mail messages
from the mail server, rather than
multiple individual messages for each
posting.
SET INFO-VAX NODIGEST Separate mail delivery of each
message posted
SET INFO-VAX NOMAIL Establish an email address for posting,
though not for receiving, mail.
SET INFO-VAX MAIL Establish an email address for both
posting and for receiving mail from the
mailing list.
1–4
Introduction
• http://www.encompassus.org/
1–5
Introduction
1–6
Introduction
1–7
2 General Information
2–1
General Information
Also please see the related software licensing topics Section 2.8.4,
Section 2.8.1, and Section 2.15, and (for developers working on commercial
applications for OpenVMS) Section 2.8.3.
2–2
General Information
the high degree of support for industry 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.
2–3
General Information
2–4
General Information
The CD-ROMs listed in Table 2–1 contain just the OpenVMS Alpha
operating system. The operating system distribution kits are bootable,
and can be used to run BACKUP from the optical media, as well as
performing an installation or upgrade.
Part Description
QA-MT1AG-H8 OpenVMS Alpha V6.2-1H3 hardware release CD-ROM;
also requires QA-MT1AA-H8.6.2
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-2 maintenance release CD-ROM
QA-MT3AA-H8 OpenVMS Alpha and VAX products and documentation
on CD-ROM
QA-MT3AE-H8 OpenVMS Alpha and VAX documentation on CD-ROM
2–5
General Information
Part Description
BA322AA#??? OpenVMS I64 FOE Product
BA323AA#??? OpenVMS I64 EOE Product
BA324AA#??? OpenVMS I64 MCOE Product
The product suffix required for the order numbers listed in Table 2–2 can
be found in Table 2–3.
Suffix Description
A18 OpenVMS I64 FOE V8.2 DVD media
AJR OE media kit on DVD media
0D1 Factory installation
The OpenVMS VAX, OpenVMS Alpha and OpenVMS I64 source listings
sets referenced in Table 2–4 include the source listings of most of
OpenVMS, and these machine-readable distributions are invaluable
for any folks working directly with OpenVMS internals, as well as for
folks interested in seeing examples of various OpenVMS programming
interfaces.
Part Description
QB-MT1AB-E8 OpenVMS Alpha Source Listings kit and license
QT-MT1AB-Q8 OpenVMS Alpha Source Listings Updates
BA422AA OpenVMS I64 Source Listings kit and license
QB-001AB-E8 OpenVMS VAX Source Listings kit and license
QT-001AB-Q8 OpenVMS VAX Source Listings Updates
BA422AA OpenVMS I64 source listings kit and license
Again, please see the OpenVMS SPD and the documents and parts
referenced there for the most current information.
For information on non-commercial software distributions for use by and
for OpenVMS Hobbyists, please see Section 2.8.1.
You can also find pointers to the Software Rollout Report and to the
OpenVMS SPD listings via the above SQP website.
Information on obtaining and transfering licenses is available in
Section 2.6 and Section 2.8.4, while information on the OpenVMS
Hobbyist licensing program and on obtaining hobbyist product
distribution kits is in Section 2.8.1.
2–7
General Information
2–8
General Information
OpenVMS platform and you will want the ‘‘Layered Products’’ licenses.
You will want to select and to acquire two sets of license PAKs.
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.12 and particularly please see the emulator-related
documentation.
• GrayMatter Software
http://www.graysoft.com/GSCHobbyPR.html
http://www.graysoft.com/GSCHobbyPR.html
• Argent Software
http://jams.argent-software.com/hobby.html
• Kednos
http://www.kednos.com/
• LJK
http://ljk.com
• Process Software
http://www.process.com/openvms/hobbyist.html
• Raxco
http://www.raxco.com/hobbyist/
• Software Resources International (SRI)
http://www.softresint.com/charon-vax/Tools_and_tips.htm
Hobbyist license product additions, and any updates for products already
listed here are welcome. Please contact the FAQ Editor (hoff{NoSpam-
atsign}hoffmanlabs{NoSpam-dot}org)
2–9
General Information
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.
One of the benefits available is a (free) license product authorization
key (PAK) that enables the generation of license PAKs—the so-called
PAKGEN PAK generator license PAK. An example of this is available
on the OpenVMS Freeware V8.0 distribution. (And no, you can’t use the
Freeware PAKGEN PAK to generate any license PAK you might want.)
Please see Section 2.8.3 for additional details on the DSPP program.
For information on the OpenbVMS Hobbyist and OpenVMS Educational
license programs, please see Section 2.8.1.
2–10
General Information
2–11
General Information
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 fully expects to see customers using mixed-architecture
clusters and fully shared file systems, as well.
OpenVMS Engineering is well aware of the AMD AMD64 (64-bit)
platform and processors. (At least one of the available VAX emulators
can reportedly utilize parts of the AMD64 instruction set, please contact
the VAX emulator vendor(s) or maintainer(s) for assistance and details
on their products.) OpenVMS Engineering is also well aware of the Intel
EM64T platform and processors. There are no plans to provide a native
port of HP OpenVMS for any systems based on the AMD AMD64 nor
Intel EM64T architectures.
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 chose 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 EV7-series 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 and later run natively on the Itanium processor
family, with no use of IA-32 instructions. While OpenVMS can and does
support 32-bit OpenVMS 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. Both OpenVMS 32-bit and 64-bit applications operate
2–12
General Information
within the native Itanium instruction set and run-time environment, and
do not use the Itanium IA-32 environment.
But yes, a native IA-32 port or a native AMD AMD64 or Intel EM64T 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 appliance-like devices. (The
downside 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 AMD64 nor Intel EM64T
architectures and processors.
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:
• http://h18000.www1.hp.com/info/spd/
OpenVMS typically uses SPD 25.01.xx, SPD 41.87.xx, and SPD
82.35.xx.
2–13
General Information
2–14
General Information
Microprocessor OpenVMS
Generic Generation Version General Comments
EV4 21064 V1.0 few systems; most
EV4 require later;
upgrade available
EV5 21164 V6.2 subsequent upgrade
available
EV56 21164A V6.2-1H3 subsequent upgrade
to V7.1 and later
2–15
General Information
Microprocessor OpenVMS
Generic Generation Version General Comments
2–16
General Information
2–17
General Information
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.8.3 for additional details on the DSPP program.
2–18
General Information
2–19
General Information
2–20
General Information
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 I64, the memory page size is also variable, ranging from
4096 bytes (4 kilobytes) up to 256 megabytes (MB) and potentially up
to 4 gigabytes (GB). As with OpenVMS Alpha, sys$getsyi and f$getsyi
and the PAGE_SIZE itemcode can and should be used to determine the
current system page size. In general, OpenVMS I64 will use a page size
of 8 kilobytes, or larger.
On OpenVMS Alpha and on OpenVMS I64, a 512 byte area of memory—
equivalent in size to an OpenVMS VAX memory page—is often refered to
as a ‘‘pagelet’’.
2–21
General Information
2–22
3 Documentation
3–1
Documentation
URL Sponsor
HP OpenVMS Marketing
http://www.hp.com/go/openvms/
Encompass DFWCUG
http://www.openvmshobbyist.org/
Arne Vajhøj
http://www.levitte.org/~ava/
Saiga Systems
http://www.saiga.com/
Wayne Sewell
http://www.tachysoft.com/
proGIS Software
http://www.progis.de/openvms.htm
Jeff Cameron
http://www.jcameron.com/vms/
David Mathog’s (quite useful) information about OpenVMS.
http://saf.bio.caltech.edu/soft_doc.html
Cracking
‘‘The Beave’’
Includes system cracking information that can be of interest to OpenVMS System Managers, and to
OpenVMS Network and Security Managers. This information is available at the Deathrow cluster.
http://manson.vistech.net/ht_root/Hack-VMS-faq
Undocumented Features
DECUS Deutschland
http://zinser.no-ip.info/www/eng/vms/qaa/undoc.htmlx
Arne Vajhøj
http://www.levitte.org/~ava/vms_tip.htmlx
The OpenVMS Freeware contains various examples of undocumented features and interfaces
3–2
Documentation
URL Sponsor
http://www.hp.com/go/openvms/freeware/
Comparisons of UNIX and Linux shell commands and DCL Commands
http://www.mcsr.olemiss.edu/unixhelp/VMStoUNIX.html
http://wwwvms.mppmu.mpg.de/vmsdoc/UNIX_VMS_CMD_XREF.HTML
Comparisons of emacs and OpenVMS text editor commands
http://www.unh.edu/cis/docs/vms-to-unix/Emacs/cheat-sheet.html
Bibliographies
http://www.openvms.org/pages.php?page=Books
http://www.levitte.org/~ava/vms_book.htmlx
Introductory
Please see Table 3–2 for listings of introductory web sites and related materials.
Programming
An OpenVMS Programming FAQ
http://www.pdv-systeme.de/users/martinv/VMS_Programming_FAQ.html
Networking
Tutorial information and tips for connecting OpenVMS systems to the Internet
http://www.tmesis.com/internet/
Documentation and Specifications for DECnet Phase IV, DECnet task-to-task DCL examples, and a
whole lot more.
http://www.hp.com/go/openvms/wizard/
HP OpenVMS Documentation
Please see Table 3–2 for listings of documentation web sites and related materials.
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.17.
Catalogs and Pricing
HP Product QuickSpecs and product information
http://www.hp.com/go/productbulletin/
3–3
Documentation
URL Sponsor
3–4
Documentation
3.6 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.
URL Sponsor
Introductory
3–5
Documentation
URL Sponsor
http://www.levitte.org/~ava/vms_faq.htmlx
http://saf.bio.caltech.edu/vms_sheet.html
http://seqaxp.bio.caltech.edu/www/vms_beginners_faq.html
Various introductory materials
http://www.montagar.com/openvms_class/
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.
http://www.mcsr.olemiss.edu/unixhelp/VMStoUNIX.html
A comparison table of various command-level tasks, with information
on the UNIX and Linux shell command(s), and on the OpenVMS DCL
command(s).
HP OpenVMS Documentation
http://www.hp.com/go/openvms/doc/
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
3–6
Documentation
URL Sponsor
http://www.mindiq.com/
MindIQ training information
http://www.quadratrix.be/
Quadratrix; OpenVMS training, products and services; affiliated with
Global Knowledge and KeyJob
3–7
Documentation
Within the above table, no attempt is made to track which books are
currently in print, or are currently out of print.
For various featured OpenVMS books, also please see the books link at
the OpenVMS website:
• http://www.hp.com/go/openvms
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–8
Documentation
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
Documentation
3.8 What is this Ask The Wizard website I’ve heard about?
The HP OpenVMS Ask The Wizard (ATW) website was an informal area
discussing OpenVMS, containing questions and answers on a wide variety
of topics.
• http://www.hp.com/go/openvms/wizard/ (retired; use ITRC forums)
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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference.
To access a cited topic directly, use the URL filename WIZ_topic-
number.HTML, or use the topic search engine. Cited topics are shown
in parentheses, and act as unique topic addresses. These should not be
confused with the relative topic numbers shown at the site. For example,
3–10
Documentation
the topic (1020) can be accessed directly using the URL filename wiz_
1020.html, at the web site that the following URL resolves into:
• http://www.hp.com/go/openvms/wizard/
3–11
4 Time and Timekeeping
4–1
Time and Timekeeping
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:
• http://www.openvms.compaq.com/openvms/products/year-
2000/leap.html
• http://www.eecis.udel.edu/~ntp/
• http://www.nist.gov/
• http://www.boulder.nist.gov/timefreq/
• http://www.tondering.dk/claus/calendar.html
• http://es.rice.edu/ES/humsoc/Galileo/Things/gregorian_calendar.html
• http://www.timeanddate.com
are all good time-related resources, with some general and some specific
to OpenVMS.
4–2
Time and Timekeeping
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.
4.1.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.1.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.1.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 and the TOY clock is valid
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.
• IF the TOY clock is within a day of EXE$GL_TODR
THEN the system time is calculated as follows:
• EXE$GQ_SYSTIME = EXE$GQ_TODCBASE + ((TOY_CLOCK -
EXE$GL_TODR) * 100000)
4–3
Time and Timekeeping
4–4
Time and Timekeeping
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.
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.
4.1.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.1.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.
• The system parameters SETTIME and TIMEPROMPTWAIT
determine how the system time will be set.
• If SETTIME = 0
then EXE$INIT_HWCLOCK reads the hardware clock to set the
system time.
• 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.
• IF TIMEPROMPTWAIT = 0
THEN the system time is calculated from the contents of
EXE$GQ_SAVED_HWCLOCK + 1.
• IF TIMEPROMPTWAIT < 0
THEN the user is prompted for the time and date and unable to
continue until the information is entered.
4–5
Time and Timekeeping
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.)
IA-64 (Itanium) hardware time-keeping details to be added...
4.1.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 the
time parameter specified) 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 (with the current time as a parameter) 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 (with a parameter)
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–6
Time and Timekeeping
4–7
Time and Timekeeping
4–8
Time and Timekeeping
• http://www.boulder.nist.gov/timefreq/service/acts.htm
• http://www.boulder.nist.gov/timefreq/
• http://www.time.gov/
http://www.spectracomcorp.com/
Information on, and experiences or recommendations for or against these
or other similar devices is welcome.
You can also maintain your system times in better synchronization, with
available tools described in Section 4.2 and elsewhere.
4–10
Time and Timekeeping
4–11
Time and Timekeeping
4–12
Time and Timekeeping
Note that NTP does not provide for a Daylight Saving 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:
• http://www.hp.com/go/openvms/doc/
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.
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
4–13
Time and Timekeeping
4–14
Time and Timekeeping
4–15
Time and Timekeeping
4–16
Time and Timekeeping
Note
As mentioned in Section 4.4.2, please don’t modify
or redefine 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. Rather, please use the zic compiler
and/or the UTC$TIME_SETUP.COM procedure.
For various published timezone rules or updated to same, see the tar.gz
files (these are gzipped tar archives) available at:
• ftp://elsie.nci.nih.gov/pub/
These are gzipped tar archives, and are the pubished source used for
the OpenVMS timezone rules on OpenVMS V7.3 and later, and within
the predecessor C run-time environment timezone support used on older
OpenVMS releases. You’ll need to first gunzip and then use vmstar to
unpack and access the contents of the archives.
The published timezone rules include the effective date ranges for the
individual rules, so you can reload your rules prior to a particular set
of new rules becoming effective. The effective dates for the particular
timezone rules are additionally necessary to allow the appropriate
translation of older dates and times within the appropriate historical
context of the particular date and time value.
For related information, see Section 4.4.1.
4–17
Time and Timekeeping
If you want to venture into uncharted territories and modify the TDF
used within older releases of TCP/IP Services—within releases prior
V5.0—you can attempt to use the following undocumented commands:
SET TIME/DIFF=[positive or negative TDF integer]
GENERATE TIME
to reset the value of the logical name UCX$TDF.
Prior to OpenVMS 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.
The following are other TDF-related logical names used/available on
OpenVMS systems, with typical daylight time and standard time 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 modifying these timezone logical names and on
managing the timezone rules, see Section 4.4.1.
4–18
Time and Timekeeping
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:
4–19
Time and Timekeeping
$ 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.7,
Section 4.4 and Section 10.22.1.
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 issue this command, and you must
also be granted the NET$MANAGE identifer to shutdown and to restart
DTSS.
4–20
Time and Timekeeping
4–21
Time and Timekeeping
4–22
Time and Timekeeping
You can use the MBM commands SHOW TIME and SET TIME to view
and to manipulate the base system time. The delta time value for the
primary MBM will be indicated, and it is this value in conjunction with
the base time that is used to generate the time available to OpenVMS
via the SRM console. If you issue a SET TIME=time command from
OpenVMS, the delta time will change, but not the MBM base system
time. If you change the MBM base system time, the calculated time
available to OpenVMS via the SRM console(s) will change. (Resetting the
base time thus involves changing the base system time, and then issuing
SET TIME=time command(s) to each of the OpenVMS vPars or nPars
environments to adjust the respective delta time values.) Rebooting,
resetting or issuing an MBM SET TIME will reset the system time.
Typically, you will want to establish the MBM time value once, and
probably setting it to UTC or such, and you will then want to boot each
partition conversationally, setting the SETTIME system parameter to
force the entry of the time within each booting system environment. Once
the MBM time value has been set once, you will typically not want to
alter it again. You will typically want to manage and modify only the
time values within each partition.
The time and data values stored in the primary MBM and replicated
in the zero or more secondary MBMs that might be present within the
system are coordinated.
To enter the PMU from the SRM console, and to exit back to SRM:
MBM - (PMU, Platform Management Utility)
From SRM P00> enter {Esc} {Esc} MBM
CTRL/[ CTRL/[ MBM (MBM must be uppercase)
MBM> connect (to exit to SRM)
The CTRL/[ is the escape character. Use the cited key sequences to enter
the PMU. You can also access the PMU through a modem, or from a
terminal or terminal emulator or terminal server connected to the server
management LAN. Having the server management LAN bridged to an
untrusted LAN can be unwise, however, and with risks analogous to those
of configuring a traditional VAX or Alpha console serial line to an open
terminal server or to a dial-in modem.
See the AlphaServer GS1280 documentation for additional information.
4–23
Time and Timekeeping
4–24
Time and Timekeeping
4–25
5 System Management Information
5–1
System Management Information
5–2
System Management Information
The FAQ maintainer is aware of a few (and very old) DECnet worms that
have affected OpenVMS systems on DECnet networks (‘‘WANK’’ was one),
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. Details on
PVS releases are available over in Section 5.10.6.) 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
[email protected]). MD5 tools are also available; see Section 5.30 for
details on MD5.
Tools to scan OpenVMS file systems for Microsoft Windows infections
are and have been available, including a commercial package
from Sophos , and a port of the open source Clam Antivirus
scanner at http://www.clamav.net/ and with an OpenVMS port at
http://fafner.dyndns.org/~alexey/clamav.zip.
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
System Management Information
An add-on ISO-9660 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, 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]
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.
5–4
System Management Information
5–5
System Management Information
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 console syntax for the conversational
bootstrap varies by system model and by system architecture—
this typically involves specifying a flag with the lowest bit set. See
Section 14.3.5 for related details.) 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
@<console media procedure name varies widely>
On Alpha:
b -flags e,1
5–6
System Management Information
5–7
System Management Information
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
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–9
System Management Information
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.10, and
Section 14.17.
For information on troubleshooting DECwindows, please see Section 11.5.
5–10
System Management Information
There are likely a few other areas where the nodename will be stored.
Local procedures and data files are one such example, and various sites
will have the system name loaded in the operator control panel via the
OCP_TEXT console environment variable available at the SRM prompt on
some Alpha systems is another.
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...
5–11
System Management Information
5.8 Why doesn’t OpenVMS see the new memory I just added?
When adding memory to an OpenVMS system, you 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 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–12
System Management Information
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
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–13
System Management Information
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, you can update to V7.1-1H(1,2), ...
to V7.2-1H1, to 7.3.
From 7.2, 7.2-1, 7.2-1H1, 7.2-2, 7.3 or 7.3-1,
you can upgrade to V7.3-2
From V7.3, V7.2-2, V7.2-1H1, V7.2-1, and V7.1-2,
you can upgrade to V7.3-1
From V7.3-1,
you can upgrade to V7.3-2 or to V8.2.
From V7.3-1 or V7.3-2,
you can upgrade to V8.2.
From V7.3-2 or V8.2,
you can upgrade to V8.3.
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
V6.2 through 7.1-1H2 inclusive -> V7.3
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, V7.3-1)
V7.2-2 -> (V7.3, V7.3-1, V7.3-2)
V7.3 -> (V7.3-1, V7.3-2)
V7.3-1 -> (V7.3-2, V8.2)
V7.3-2 -> (V8.2, V8.3)
5–14
System Management Information
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 Alpha V7.1, or
later.
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.
Users of OpenVMS Alpha V7.1-1H1, V7.1-1H2, V7.2-1H1 or other
hardware are encouraged to upgrade to the next available non-hardware-
release, and should preferably upgrade to the current or to a supported
OpenVMS Alpha release.
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.
OpenVMS Alpha V7.1-2 and later use PCSI for LHRs and for OpenVMS
upgrades and for all OpenVMS ECO kit installations; V7.1-2 and later use
upgrades and not updates. VMSINSTAL OpenVMS ECO kits (updates)
are not used on OpenVMS Alpha V7.1-2 and later; prior to V7.1-2,
VMSINSTAL-based ECO (update) kits are used for OpenVMS.
5–15
System Management Information
From V8.2,
you can upgrade to V8.2-1 or V8.3
From V8.2-1,
you can upgrade to V8.3
Some typical OpenVMS I64 upgrade (or update) paths are:
V8.2 -> V8.2-1 -> V8.3
OpenVMS I64 V8.2 is the first production release. OpenVMS I64 V8.0
and V8.1 were intended for early adopters of OpenVMS on Integrity
servers, and are not considered to be production releases.
To utilize OpenVMS I64 V8.2, you must perform a full installation of V8.2.
No supported upgrade path to V8.2 is available from previous releases;
there is no upgrade from OpenVMS I64 E8.2, nor from the earlier V8.1 or
V8.0 releases.
5–16
System Management Information
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
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.
for further details on the Rolling Upgrade, and for support information.
5–17
System Management Information
And see the following links, with the caveat that the direct ‘‘/hps’’ links
shown here may become stale:
• http://www.hp.com/hps/os/os_pvs.html
• http://www.hp.com/hps/os/os_ovms.html
5–18
System Management Information
5–19
System Management Information
For minimum OpenVMS versions for various platforms, see Section 2.12.
5–20
System Management Information
5–21
System Management Information
5–22
System Management Information
If disk quotas are in use, add an entry via SYSMAN for each disk:
DISKQUOTA ADD groupidentifier -
/PERMQUOTA=pq/OVERDRAFT=od/DEVICE=ddcu:
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.
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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference.
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.34.
5–23
System Management Information
5–24
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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference.
Support for the ELSA GLoria Synergy is integrated into all current
OpenVMS Alpha releases.
Support for the PowerStorm 300 and PowerStorm 350 series graphics
controllers is integrated into current OpenVMS Alpha releases.
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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference.
5–25
System Management Information
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::
You can subscribe to an email notification list at the ITRC site.
For a list of OpenVMS ECO kits recently released, you can use:
• http://Eisner.DECUS.org/conferences/OpenVMS-patches_new_1.HTML
Examples and ECO kit installation instructions are included in the cover
letter. For ECO kit email notifications, lists of available ECO kits, cover
letters and other associated documentation, look in:
• http://www.itrc.hp.com/
• ftp://ftp.itrc.hp.com/openvms_patches/
5–26
System Management Information
5–27
System Management Information
5–28
System Management Information
5–29
System Management Information
5–30
System Management Information
5–31
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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference.
5–32
System Management Information
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–33
System Management Information
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.27 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–34
System Management Information
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.
5–35
System Management Information
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.
Ranges of PCSI generation numbers for various OpenVMS releases are
included in Table 5–1. The use of xxxx indicates a range of generations
is available, from 0000 to 9999, inclusive. The format of, the particular
operation of, and the assignment of PCSI generation numbers is subject to
change without notice.
5–36
System Management Information
5–37
System Management Information
5–38
System Management Information
5.34 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:
• 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.)
• rename each extracted setup module to a corresponding:
LPS$$UNRECOGNIZED_*
5–39
System Management Information
5.35 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–40
System Management Information
5–41
System Management Information
5–43
System Management Information
5–44
System Management Information
5.42.1.1 Why has OpenVMS gone through the agony of this change?
When a directory is renamed, the modified date is changed. When the
restoration needs to restore the directory and its contents, and the
restoration should not result in the restoration of the older directory
name when a series of incremental BACKUPs are restored. Thus an
incremental BACKUP operation needs to pick up all of the changes.
5–45
System Management Information
5–46
System Management Information
5–47
System Management Information
5–48
System Management Information
5–49
System Management Information
You can also often configure the particular web browser to choose
the appropriate transfer mode by default, based on the particular file
extensions, using a customization menu available in most web browsers.
You can select that the specific file extentions involved use the FTP binary
transfer mode, which will reduce the number of corruptions seen.
5–50
System Management Information
5–51
System Management Information
disk – but this basic disk overwrite operation is likely sufficient to prevent
the typical information disclosures.
You will want to consult with your site security officer, your corporate
security or legal office, with HP Services or your prefered service
organization, or with a firm that specializes in erasure or data
declassification tasks. HP Services does traditionally offer a secure disk
declassification service.
5–52
System Management Information
5.42.7.1.1 Mini-Copy?
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 Mini-Copy is faster than a Full Copy.
5–53
System Management Information
5.42.7.1.2 Mini-Merge?
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 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. If a node
crashes, the surviving nodes can query to determine 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 potentially requiring many minutes or even hours
for a regular full Merge.
5–54
System Management Information
And you can also monitor file version numbers, and can report problems
with ever-increasing file versions to the organization(s) supporting the
application(s) generating files with ever-increasing version numbers for
details on potential problems, and for any recommendations on resetting
the version numbers for the particular product or package. If required, of
course.
The following pair of DCL commands—though obviously subject to timing
windows— can be used to rename all the versions of a file back down to a
contiguous sequence of versions starting at 1:
$ RENAME file.typ;* RENAME.TMP;
$ RENAME RENAME.TMP;* file.typ;
The key to the success of this RENAME sequence is the specification
of (only) the trailing semicolon on the second parameter of each of the
RENAME commands.
You may also see the numbers of files reduced with DELETE commands,
with multiple directories, or with PURGE commands such as the following
examples:
$ PURGE/BEFORE="-2-"
$ PURGE/BEFORE="TODAY-2-"
$ PURGE/KEEP=10"
You can use DFU (Freeware) to quickly and efficiently scan for all files
with large(r) version numbers:
DFU SEARCH/VERSION=MINIMUM=nnnn
If you are creating or supporting an application, selecting temporary or
log file filenames from among a set of filenames—selecting filenames
based on time, on process id, on the day of week, week number, or month,
on the f$unique lexical (V7.3-2 and later), etc—is often useful, as this
approach more easily permits on-line adjustments to the highest file
versions and easily permits on-line version compression using techniques
shown above. With differing filenames, you are less likely to encounter
errors resulting from files that are currently locked. You can also detect
the impending version number limit within the application, and can clean
up older versions and roll the next file version creation to ;1 or such.
Also see Section 9.4.
5–55
System Management Information
5–56
System Management Information
assumes the drive compression logic doesn’t itself notice this and disable
its own compression.
5–57
6 Information on Mail
6–1
Information on Mail
• http://www.agh.cc.kcl.ac.uk/files/vms/pine-vms/
• ftp://ftp2.kcl.ac.uk/pub/vms/pine-vms/
• If you are working from an X Windows display, you can 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.
• 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:
• http://saf.bio.caltech.edu/pub/software/openvms/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.
• With OpenVMS V7.2 and later, use the MIME tool supplied with
OpenVMS.
6–2
Information on Mail
$ !
$ ! 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
Information on Utilities
which provides a replacement for 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–2
Information on Utilities
7–3
8 DCL Details
8–1
DCL Details
8–2
DCL Details
8–3
DCL Details
8–4
DCL Details
8–5
DCL Details
8–6
DCL Details
There are related tools available from various sources, including the
following web sites:
• ftp://ftp.hhs.dk/pub/vms/setpmt/
• ftp://ftp.tmesis.com/sys_service_hook.src
• 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.
• Many folks have contributed DCL procedures to perform this task.
Visit the newsgroup archives for information and examples.
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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference.
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–7
DCL Details
8–8
DCL Details
8–9
DCL Details
8–10
9 Files
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–2
Files
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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference.
9–3
Files
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 crashdump.
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.25 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 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:
• Versions of SYS$DQDRIVER *BEFORE* X-15 topped out at 8.455
GB.
Fixed drivers (equal or greater than "X-15") were shipped in:
• OpenVMS Alpha V7.2-1, and later
• V7.2 UPDATE V1.0 ECO, and later
9–4
Files
9–5
Files
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 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.’’ Further, with a
255 member bound-volume set, the theoretical maximum limit of files is
4,261,478,145 files, less the directories and reserved files.
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.17.1, Section 14.25.
9–6
Files
problematic, while newer drives are readily available, and are cheap
and very fast, and tend to have better compliance with current
standards. Use of older drives is not recommended. Related device
requirements information is available in Section 14.29.
• Get the most recent LDDRIVER available on the Freeware, or
activate and use the LD version latent in OpenVMS Alpha V7.3-
1 and V7.3-2 by loading the LD command verb (look within
SYS$MANAGER:CDRECORD.COM for related details), or use the
integrated LD found in OpenVMS V8.2 and later.
In particular, you will want to use the current ECO kit for LDDRIVER
(as available), or the version of LD distributed with V8.2. The
OpenVMS V8.2 version of LDDRIVER was also kitted on Freeware
V7.0 as LD071.
If you are not running OpenVMS V8.2, the specified LD071 kit or
later, or a current ECO with the update, you will want to upgrade, or
you will want to use the DCL command:
SET FILE/CACHING_ATTRIBUTES=NO_CACHING
on the LD partition file. This is a workaround for an incompatibility found between
older LDDRIVER versions and the XFC caching support.
As an alternative to LD and LDDRIVER, you can acquire and load
the VD64 package from the Freeware.
• Use the COPY/RECORDABLE_MEDIA command available within
OpenVMS V8.3 and later, or use the version of CDRECORD
built in V7.3-1 or later, or obtain and utilize one of the open
source or commercial versions of the CDRTOOLS/CDRECORD or
DVDRTOOLS/CDRECORD tools, or other similar recording tools.
Freeware V6.0 distribution. ( http://www.hp.com/go/openvms/freeware/
) An OpenVMS port of the cmcd CD audio ripper is also reportedly
available. http://www.amb.org/xmcd/
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.
COPY/RECORDABLE_MEDIA is built into OpenVMS V8.3 and later.
9–7
Files
9–8
Files
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:
• http://www.usdesign.com/
Also see Section 9.7.2 for details on access to recorded media on older
CD-ROM drives.
9–9
Files
9–10
Files
9–11
Files
9–13
Files
9–14
10 OpenVMS Programming Information
10–1
OpenVMS Programming 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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference.
10–2
OpenVMS Programming Information
In addition, you can also locate answers, source code examples and
related discussions in the James Search Assistant (formerly NLSA
(Natural Language Search Assistant), itself formerly known as Ask
Compaq (AskQ)) database:
• http://www2.itrc.hp.com/service/james/CPQhome.do
In this area, you will find the source code of programming examples
for calls to many of the OpenVMS system services (and from various
programming languages), including calls to core services sys$getjpi[w],
sys$getsyi[w] and sys$qio[w], as well as source code examples for calls to
many other system services and run-time library routines, and examples
of one of the more difficult calling interfaces found on OpenVMS systems,
that of the smg$create_menu routine.
Arne Vajhøj has put together a collection of OpenVMS example programs.
It can be found at:
• ftp://ftp.hhs.dk/pub/vms/
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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference. and via:
• http://www.hp.com/go/openvms/freeware/
10–3
OpenVMS Programming Information
10–4
OpenVMS Programming 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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference.
10–7
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:
• http://www.hp.com/go/openvms/wizard/ (retired; use ITRC forums)
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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference.
10–8
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
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
10–9
OpenVMS Programming Information
10–10
OpenVMS Programming Information
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–11
OpenVMS Programming Information
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’;
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–12
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
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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference.
Depending on the environment, you may need to use C calls such as fsync
and fflush, and—in specific cases—the setvbuf(_IONBF) call.
For related materials around commands that can potentially be used to
override file locking—to view the file contents as currently written to
disk—see Section 9.12.
10–13
OpenVMS Programming Information
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–14
OpenVMS Programming Information
10–15
OpenVMS Programming Information
10–16
OpenVMS Programming Information
10–17
OpenVMS Programming 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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference.
10–19
OpenVMS Programming Information
10–20
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):
• http://www.hp.com/go/openvms/wizard/ (retired; use ITRC forums)
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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference.
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–21
OpenVMS Programming Information
The goal of all this is to provide a guide to relative scale of changes and
the associated effort involved in an upgrade for the user and/or for the
application programmer.
10–23
OpenVMS Programming Information
10–24
OpenVMS Programming Information
10–25
OpenVMS Programming Information
10–26
OpenVMS Programming Information
For details of using these tracing mechanisms, see the tr_print macros in
lib.mlb (Macro32), in sys$lib_c.tlb (C) and lib.req (Bliss) libraries.
10–27
11 DECwindows
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
• 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 incoming connection: Pull down the ‘‘Options’’ menu in the
Session Manager, and select ‘‘Security...’’. If you do not find your host
11–1
DECwindows
and username and transport listed among the authorized users, you
will need to add an entry.
• There are various transports available, including LOCAL,
DECNET, LAT, and TCPIP. You must Select the transport
appropriate to the incoming connection.
• If the transport is ‘‘DECnet’’, do NOT add the double colon (::) to
the node name.
• 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.
• 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.
• There are various TCP/IP packages for OpenVMS, and you must
use syntax appropriate to the transport installed.
• 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.14 for details of configuring TCP/IP as a transport.
• 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 have found this file to be very useful for tracking
down what needs to be put in the Session Manager Security entries.
11–2
DECwindows
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.14.
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
DECwindows
11–5
DECwindows
To set the DECterm title, send the escape character, then the characters
‘‘]21;’’, then the text label string, and then an escape character followed by
a backslash character.
To set the icon label, send the escape character, then the characters ‘‘]2L;’’,
then the icon label string, and then an escape character followed by a
backslash character.
To set both the DECterm title and icon to the full device name, you can
use the following DCL commands:
$ 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.13.
11–6
DECwindows
11–7
DECwindows
The login logo is stored as an XPM bitmap image in the text file
SYS$SYSROOT:[SYSCOMMON.CDE$DEFAULTS.SYSTEM.APPCONFIG.ICONS.C]DECDTLOGO
and it can be changed. Copy the file to SYS$SYSROOT:[SYSCOMMON.CDE$DEFAULTS.USER.A
as DECwindows upgrades can replace the system version of this file.
On DECwindows V1.3-1 and later (and possibly on V1.3), both
DECwindows CDE and DECwindows Motif displays use this logo file.
On older releases, only the DECwindows CDE displays used this logo
file, while the logo used for the Motif login display was hard-coded into
the package and the only available override is the DECW$LOGINLOGO
command procedure mechanism within the customized, site-specific
DECW$PRIVATE_APPS_SETUP.COM file.
Look at the contents of the DECDTLOGO.PM file and at other *.XPM
files and tools for additional details.
11.7.2 Why does the DELETE key delete forward instead of backward?
Some operating systems use Ctrl/H as Delete ; as the character back-delete
key. Most OpenVMS applications, VT-series terminals (check the terminal
settings, many can have this configured within the terminal set-up
menus), and DECterm terminals all use Delete as the character back-delete,
and use Ctrl/H as a request to move to the beginning of the command line.
The Integrity EFI console does use Ctrl/H as Delete ; as the character back-
delete key.
Also see the SET TERMINAL/BACKSPACE command available on
OpenVMS V8.2 and later.
This behaviour 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 OpenVMS bindings.
*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
11–9
DECwindows
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.
For other keymapping information, see Section 11.7.1.
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.9 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: CTRL/SHIFT/F3
11–11
DECwindows
Also see Section 14.3.3.2, Section 14.17, and Also see Section 8.4,
11–12
DECwindows
11–13
DECwindows
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–15
DECwindows
11–16
DECwindows
37
BACKSTAGE.ttf -Grfonts-Backstage-bold-r-normal--0-0-0-0-p-0-iso8859-1
IDAutomationHC39M_Free.ttf -IDAutomation-HC39M-medium-r-normal--0-0-0-0-m-0-misc-Barcode39
SUSESerif-Bold.ttf -Suse-Suse-bold-r-normal--0-0-0-0-p-0-iso8859-1
SUSESerif-Roman.ttf -Suse-Suse-medium-r-normal--0-0-0-0-p-0-iso8859-1
SUSESans-Bold.ttf -Suse-Suse-bold-r-normal-sans-0-0-0-0-p-0-iso8859-1
SUSESans-BoldOblique.ttf -Suse-Suse-bold-o-normal-sans-0-0-0-0-p-0-iso8859-1
SUSESans-Oblique.ttf -Suse-Suse-medium-o-normal-sans-0-0-0-0-p-0-iso8859-1
SUSESans-Roman.ttf -Suse-Suse-medium-r-normal-sans-0-0-0-0-p-0-iso8859-1
SUSESansMono-Bold.ttf -Suse-Suse Mono-bold-r-normal-sans-0-0-0-0-m-0-iso8859-1
...
MCTIMEBI.TTF -UOregon-MAC C Times-bold-i-normal--0-0-0-0-p-0-macedonian-0
MCTIMEI.TTF -UOregon-MAC C Times-medium-i-normal--0-0-0-0-p-0-macedonian-0
The first line of this data file is the number of font file entries which
follow. Each entry consists of the font file name, and a font description.
There are fourteen fields in the description, separated by hyphens (dashes,
‘‘-’’). Fields may contain embedded spaces. The fields are
• Foundry: the name of the company or person which produced the font.
• Family: the name of the Typeface (what most people will call the
‘‘font’’).
• Weight: How ‘‘heavy’’ the type appears. Normal fonts are ‘‘medium’’
or ‘‘regular’’, variations include ‘‘bold’’, ‘‘demi’’, ‘‘light’’, etc.
• Slant: ‘‘r’’ for regular, ‘‘i’’ for italic, or ‘‘o’’ for oblique.
• Width: ‘‘normal’’, ‘‘wide’’, ‘‘narrow’’, ‘‘condensed’’, etc.
• Style: normally left empty, it can also identify variations on a basic
family such as ‘‘sans’’ (sans serifs; without the serif, the ending and
usually pointed portion of the stroke). Fonts of different styles can be
grouped in the same family.
• Sizes: the next four fields identify the size and scale of individual
characters for fonts that have fixed point sizes. For fonts which scale
(such as TrueType), the four fields are all zero.
• Spacing: ‘‘p’’ for proportional, ‘‘m’’ for monospaced, or ‘‘c’’ for character
cell.
Note: although DECwindows can identify different spacings within a
family, the author has found that mixing monospaced and proportional
fonts in the same family may cause some proportional font options to
not appear in a font selection menu within Notepad (only). (A fix for
this is expected in DECwindows V1.5 and later.)
• The next field is always zero for TrueType fonts.
11–17
DECwindows
• Character Set: the last two fields identify the name and version
number of the character set represented within the font. For many
applications, these fields are informational only.
The next step is to update the list of fonts known to DECwindows, using
the xset utility.
$ mc decw$utils:xset fp rehash
It is also possible to reset the font list to the default:
$ mc decw$utils:xset fp default
This is useful if you need to recover from errors.
The Notepad utility, normally available through the ‘‘Applications’’ menu
in Session Manager, is a convenient way to see if the font is available.
Start the application, select ‘‘Options’’, then select ‘‘Font...’’. In the
‘‘Family (Foundry)’’ window, you will see the list of fonts available. User-
added TrueType fonts will normally be at the end of this list. Select the
desired font family, then select the Size (dpi) (which will always be 0(0) for
TrueType fonts), and the various font options (Weight, Slant, Width, etc.)
should appear in the next window. You should then be able to select the
desired font and click OK or Apply to use it, or Cancel to exit without changing
the font.
If you don’t see all of the fonts you added, check to see that the number
at the beginning of the DECW$FONT_DIRECTORY*.DAT file is correct,
that the files are set to world (or appropriate) access, and that TrueType
fonts are in Stream_LF format.
Some applications require entering a full font name, which will look like
the font description entry.
Please keep in mind that not all applications can use every font which
may be available on your system. For example, DECterm is designed to
use families of fonts specifically designed for character cell applications.
Other fonts (specifically TrueType) may work erratically, and may result
in an unusable display. It is best to use only monospaced fonts specifically
intended for DECterm with DECterm.
The SYS$COMMON:[SYSFONT.DECW.USER_TRUETYPE] doesn’t exist
on OpenVMS VAX V7.3 with DECwindows V1.2-6, but the procedure
above does appear to work if the directory is created and the instructions
above are followed.
11–18
12 Miscellaneous Information
12–1
Miscellaneous Information
Also:
• http://www.boundless.com/Text_Terminals/VT/
12.2 Does DECprint (DCPS) work with the LRA0 parallel port?
No.
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–2
Miscellaneous Information
12–3
Miscellaneous Information
12–4
Miscellaneous Information
12–5
13 Finding and Using Software
13–1
Finding and Using Software
13–2
Finding and Using Software
13–3
Finding and Using Software
• http://www.free.lp.se/fish/
Information on OpenSSL (SSLeay) and OSU Web server
interoperation:
• http://www.ourservers.net/openvms_ports/
OpenSSL is included with OpenVMS V7.3-1 and later.
• 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.
• A port of the NCSA Mosaic web browser that supports TCP/IP
Services, Multinet and SOCKETSHR/NETLIB is available from:
• ftp://wvnvms.wvnet.edu/mosaic/
Versions of the Mosaic web browser are also available on the
Freeware.
• Lynx (a character-cell World-Wide-Web web browser) is available from
• ftp://ftp2.cc.ukans.edu/pub/lynx
Versions of Lynx, a character-cell web browser, are also available on
the OpenVMS Freeware.
• The Netscape Navigator and Mozilla web browsers are available at:
• http://www.openvms.compaq.com/ebusiness/Technology.html
• http://www.mozilla.org/
• 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:
• http://www.ipgpp.org/
• http://web.mit.edu/network/pgp.html
• http://www.pgpi.com/
• http://www.yrl.co.uk/~phil/pds/pds.html
• http://www.nai.com/
• GNU Privacy Guard (GPG, GnuPG) is available.
13–4
Finding and Using Software
13–5
Finding and Using Software
13–6
Finding and Using Software
• The MPEG library version 1.1 is available for OpenVMS VAX and
Alpha at
• ftp://ftp.x.org/contrib/vms/mpeglib-11-vms.readme
• ftp://ftp.x.org/contrib/vms/mpeglib-11-vms.zip
Various MPEG players and related tools are available on the
Freeware.
• 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 ([email protected]) requests that anyone
submit notifications of FTP servers with OpenvMS software that are
not listed on the site.
• The Levitte (extended :-) Family (and OpenVMS) website:
• http://www.levitte.org/
• http://www.levitte.org/~ava/
• Robert Alan Byer’s OpenVMS Hobbyist Systems, including OpenVMS
public domain software and various ports:
• http://www.ourservers.net/
• CalTech Software Archives:
• http://saf.bio.caltech.edu/pub/software/openvms/aaa_contents.txt
• DJE Systems Website (David J. Dachtera)
• http://www.djesys.com/freeware/vms/
• Web Servers:
Apache Web server (HP Secure Web Server (SWS, formerly CSWS)):
• http://www.openvms.compaq.com/ebusiness/Technology.html
• http://www.er6.eng.ohio-state.edu/~jonesd/apache/1_3_9/
The SOAP Toolkit is available at the OpenVMS website.
OSU Web server
13–7
Finding and Using Software
• http://www.er6.eng.ohio-state.edu/www/doc/serverinfo.html
• http://www.kjsl.com/archives/
• email list: [email protected]
WASD Web server
• http://wasd.vsm.com.au/wasd/
Purveyor Web server:
• email list: [email protected], no subject, one line
message: SUBSCRIBE PURVEYOR
FastCGI software is available from:
• http://www.DigitalSynergyInc.com/
• CD-R (CD-Recordable) media tools are available, please see
Section 9.7.
• Grace (WYSIWYG 2D plotting tool)
• http://plasma-gate.weizmann.ac.il/Grace/
• The POV-Ray ("Persistance of Vision" Raytracer) ray-tracing graphics
package is available on the OpenVMS Freeware.
• Majordomo mailing list handler:
• http://www.openvms.compaq.com/ebusiness/Technology.html
• PINE (OpenVMS tools for sending and receiving MIME mail):
• ftp://ftp2.kcl.ac.uk/pub/vms/pine-vms/
• 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:
• http://nucwww.chem.sunysb.edu/htbin/software_list.cgi
• Menufinder (menu-driven system management environment):
• http://www.itre.com/mf/download.html
• SYSLOGCLIENT (a client for processing SYSLOG requests) has been
provided for download by Mark Hemker at:
• http://home.insightbb.com/~hemker/vms.html
• tcgmsg, pvm, mpi, linda:
• ftp://v36.chemie.uni-konstanz.de/tcgmsg_vms/tcgmsg_vms.zip
13–8
Finding and Using Software
13–9
Finding and Using Software
13–10
Finding and Using Software
13–11
Finding and Using Software
OpenVMS ports of the xmcd and MPlayer tools have also been reported as
available.
13–12
Finding and Using Software
The GNV package (Section 13.2.6) and the various C library calls
available in current/recent libraries are the replacement for the POSIX
package.
13–13
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, Castle Wolfenstein (Wolf3D), etc. are all on the
various OpenVMS Freeware distributions. (Also see the GNV package
(Section 13.2.6) for related materials, APIs, and tools.)
vim: vi improved
• http://www.polarfox.com/vim/
13–14
Finding and Using Software
Software info:
• http://vms.gnu.ai.mit.edu/software/
Software archive:
• ftp://vms.gnu.ai.mit.edu/gnu-vms/software/
13–15
Finding and Using Software
• GNU/FSF
ftp://ftp.tmk.com/vms-freeware/gcc-for-alpha/
• Help GCC - SUNY NCSB
http://nucwww.chem.sunysb.edu/helplib/@hvmsapps/GCC
• Redhat’s gcc Archive
ftp://ftp.mirror.ac.uk/sites/sources.redhat.com/ftp/gcc/releases
• Malmberg’s Ftp Service - gcc281_u
ftp://ftp.qsl.net/pub/wb8tyw/gcc281_u/
• updated header-files for GNU C 2.8
ftp://ftp.qsl.net/pub/wb8tyw/gcc281_u/
13–16
Finding and Using Software
The available Secure Web Browser (SWB) kit is a packaged version of the
Mozilla Web Browser, and typically the SWB version number matches the
underlying Mozilla version.
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.
13–17
Finding and Using Software
13–18
Finding and Using Software
DCL CGI is also discussed in the Writing Real Programs in DCL book,
and in the Ask The Wizard website.
13.7 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.
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
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.
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:
• 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:
• http://www.sidhe.org/vmsperl/prebuilt.html
• http://www.hp.com/go/openvms/freeware/
13–20
Finding and Using Software
During active Perl development cycles, test kits are sometimes found at:
from:
• 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:
• http://www.crinoid.com/crinoid.htmlx
VEST is the name sometimes given to the DECmigrate translation tool for
VAX images, AEST is the name given to the Alpha translation tools, and
TIE names the DECmigrate run-time environment within OpenVMS. (If
you’ve ever noticed images with filenames ending with _TV and wondered
what this meant, these images are part of TIE.) And yes, you can use
AEST to re-translate images that were translated using VEST; you can
perform a second translation of a VAX image.
13–21
Finding and Using Software
Please see Section 13.12 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–22
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 and unzip
directory, or Info-Zip directory, or visit one of the web sites. With most
OpenVMS ports of the tools, find and invoke LINK.COM. No compilers
are needed, as objects are provided with most distributions.
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 typically provides
better compression than does DCX.) FTSV and FTSO are available on
Freeware V7.0, for OpenVMS VAX and OpenVMS Alpha. Due to changes
in the image headers, no version of FTSV is presently available for
OpenVMS I64.
13–23
14 Hardware Information
14–1
Hardware Information
14–2
Hardware Information
The following sites are reachable via the AlphaServer information pages,
and contain information on various retired VAX and Alpha products:
• http://www.compaq.com/alphaserver/archive/index.html
• http://www.compaq.com/alphaserver/performance/perf_tps.html
14–3
Hardware Information
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–4
Hardware Information
14–5
Hardware Information
14–6
Hardware Information
14–7
Hardware Information
You can specify the boot flags via an EFI environment variable VMS_
FLAGS , or via the boot alias boot options mechanism, or by appending
the requested boot flags onto the specification of VMS_LOADER.EFI.
To set the bootstrap flags environment variable at the EFI shell prompt,
use:
Shell> SET VMS_FLAGS "0,1"
When you register an EFI boot alias (please see Section 14.4.5 for Intel
Itanium terminology), you will be asked if you want to enter boot options,
and what type. To add boot flags to a boot alias, select Unicode as the
boot options type, and enter an SRM-like options string, such as the
conversational bootstrap selected by the following example:
-flages 0,1
For related information on managing EFI boot aliases from OpenVMS
I64, please see Section 14.3.10.
When using VMS_LOADER.EFI to request boot flags, you will want to
specify the invocation as follows:
fsn:\efi\vms\vms_loader -flags 0,1
The above shows a conversational bootstrap request.
Typical boot flags are listed in Table 14–1.
14–8
Hardware Information
14–9
Hardware Information
If you want to set the boot flags ‘‘permanently’’, use the SET BOOT_
FLAGS command, e.g.:
>>> SET BOOT_OSFLAGS 0,1
14–10
Hardware Information
14–11
Hardware Information
The exact syntax is console-specific, recent VAX consoles tend to use the
following:
>>> BOOT/R5:flags
14–12
Hardware Information
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 a PC-compatible DB9 serial
connector for the COM1 and COM2 serial lines (and for the OPA0: console
line, if that was configured via SRM), please see Section 14.26 for details
and pin-out.
For information on registering software license product authorization keys
(PAKs), please see Section 5.6.2.
For a related behaviour of DECwindows, please see Section 11.10. For
information on the VAXstation alternate console mechanisms, please see
Section 14.3.3.3.
14.3.7.1 Where can I get updated console firmware for Alpha systems?
Firmware updates for HP Alpha systems are available from:
• ftp://ftp.digital.com/pub/Digital/Alpha/firmware/index.html
• ftp://ftp.digital.com/pub/Digital/Alpha/firmware/
• 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:
wideftp://ftp.digital.com/pub/Digital/Alpha/firmware/interim/
14–13
Hardware Information
14–14
Hardware Information
14–15
Hardware Information
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
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 Microsoft Windows NT or other
operating system(s) to write a ‘‘harmless’’ signature to any disk used
by OpenVMS Alpha or OpenVMS VAX, as this will clobber a key part
of the disk; this will overwrite the OpenVMS bootblock. (On OpenVMS
Alpha and OpenVMS VAX, you can generally recover from this so-called
‘‘harmless’’ action by using the WRITEBOOT.EXE tool.
Using OpenVMS I64 and the EFI console, the bootblock structures
are expected to be compatible with those of Microsoft Windows and
other Integrity operating systems; please see the discussion of the
SET BOOTBLOCK command and the SYS$SETBOOT.EXE image in
Section 9.7.3, in Section 14.3.9, and in the OpenVMS documentation for
related details.)
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.8.1. For information on the Multia, see Section 14.4.1.
14–16
Hardware Information
14–17
Hardware Information
14–18
Hardware Information
14–19
Hardware Information
11 Boot it. Follow the directions displayed by the firmware loader and
related documentation, heeding the release notes that were reviewed
earlier.
12 Perform a cold restart of the Integrity server.
14–21
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:
• http://www.djesys.com/vms/hobbyist/multia.html
• http://www.djesys.com/vms/hobbyist/mltianot.html
• http://www.djesys.com/vms/hobbyist/support.html
• http://www.netbsd.org/Ports/alpha/multiafaq.html
• http://www.brouhaha.com/~eric/computers/udb.html
14–22
Hardware Information
14–23
Hardware Information
14–24
Hardware Information
• The Miata GL. The Miata GL variant has USB ports and on-board
SCSI and bootstraps using the on-board Cypress IDE chipset and
an ATAPI CD-ROM are supported by OpenVMS. The Miata GL -a
variant is need not be configured with an add-on SCSI controller,
given both the ability to bootstrap from ATAPI CD-ROM and the
on-board SCSI.
Graphics and other I/O can and does vary by package.
Various of the Miata GL systems are supported by OpenVMS.
For obvious reasons, most folks will prefer and will select a Miata GL
system, given the choice between the Miata MX5 and the Miata GL
series. And as for your next question, you cannot necessarily nor easily
distinguish the Miata MX5 from the Miata GL based solely on the model
number.
See Section 14.4.4.2 for related details.
14–25
Hardware Information
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 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.33.
14–26
Hardware Information
14–27
Hardware Information
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
series models available which are quite suitable. For more experienced
OpenVMS system managers, the (unsupported) Multia can bootstrap
OpenVMS—see Section 14.4.1 for details.
Used Itanium-based systems that a hobbyist could likely use to bootstrap
OpenVMS I64 have been seen selling on auction websites for under
US$1000. New Integrity rx2620 series systems (officially supported by
OpenVMS I64) have been offered as part of a week-long DSPP porting and
training package for US$2000. See Section 2.8.3 for details on the DSPP
program. Also see the HP Renew used- and/or refurbished-equipment
program for any hardware that might be available.
Free and commercial VAX software-based hardware emulators are
available for various platforms. See Section 13.12 for details on those.
14–29
Hardware Information
14–30
Hardware Information
14–31
Hardware Information
14–32
Hardware Information
14–33
Hardware Information
14.13 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.
14–34
Hardware Information
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:
• VAXstation 3100 series, all members. No PROM upgrade is available.
• MicroVAX 3100 models 10 and 20. No PROM upgrade is available.
• 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
14–35
Hardware Information
14–36
Hardware Information
14.17 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.
14–37
Hardware Information
14.18 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, usually with a VGA or SVGA connection, or later) 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 perform as expected within the limits of the hardware. (For
details of CRT and LCD display compatibility, please see Section 14.19.)
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
14–38
Hardware Information
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:
• http://www.si87.com/
14–39
Hardware Information
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 signaling common on many PCs, or other
connections such as the DB15 video connector or USB connector used on
various systems. (BNC signaling is comparatively old, but prevalent with
many older hobbyist AlphaStation or VAXstation configurations.)
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:
• http://www.repairfaq.org/
• http://www.mirage-mmc.com/faq/
• http://www.geocities.com/SiliconValley/Foothills/4467/fixedsync.html
• http://saturn.tlug.org/sunstuff/ffmonitor.html
• http://hawks.ha.md.us/hardware/monitor.html
14–40
Hardware Information
Note
the aquascape website appears to have become
unavailable, and the FAQ maintainer is unaware of a
new or replacement server. You may or may not have some
success looking for this or of any other now-unavailable
sites using the world-wide web archives at:
• http://www.archive.org/
14–41
Hardware Information
14.22 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–42
Hardware Information
To check the DE500 device hardware id from OpenVMS, use the following
command:
$ ANALYZE/SYSTEM
SDA> SHOW LAN/DEVICE=EWc:
The ‘‘hardware version’’ will be displayed.
To set the DE500 speed and duplex settings via the associated Alpha SRM
console environment variable, see Table 14–4.
14–43
Hardware Information
14–44
Hardware Information
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.)
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 shown indicates that the AWRE and ARRE bits are set, and this
is incompatible with OpenVMS versions prior to V6.2. Further along in
the same 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.) If the bits are
set, you can use RZDISK from the OpenVMS Freeware, and can 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/ATAPI (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 and firmware will determine whether or not a particular device
will function as expected.
14–45
Hardware Information
14–46
Hardware Information
of 614400000 bytes (300000 sectors) requires just over six minutes at 12x,
using an AlphaStation XP1000 666 MHz EV67 system UltraSCSI host.)
(See Section 9.7 for detailed discussions of recording optical media on
OpenVMS, and the available tools.)
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.
Pin Description
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–47
Hardware Information
The BC16E-nn (where the ‘‘-nn’’ indicates the cable length) cabling and
keying ‘‘flips over’’ or ‘‘crosses-over’’ the signal wires, and this allows all
DECconnect MMJ connections to be wired identically; the ends of the
BC16E are symmetrical and fully interchangeable, and allows either
end of the cable to be connected either to the terminal or to the host.
Specifically, 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
DECconnect parts and connections are available from HP, and MMJ
crimping dies for use in typical telco-style crimping tools, and MMJ
connectors, are available from Blackbox and from other communications
equipment vendors.
The PC-compatible DB9 connector pin-out found on Alpha and Integrity
COM serial ports—and on most PC systems is listed in Table 14–6.
Pin Description
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 pin-out predates the PC-style DB9
pin-out (adapters discussed in Section 14.27), and uses a then-common
(and older) standard pin-out, and uses the EIA-232 series standard
signals shown in Table 14–7.
14–48
Hardware Information
Pin Description
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 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:
• http://www.hp.com/go/openvms/wizard/
• http://www.airborn.com.au/rs232.html
• http://www.stanq.com/cable.html
14–49
Hardware Information
14–50
Hardware Information
Numerous additional adapters and cables are available from the (now
out of print) OPEN DECconnect Building Wiring Components and
Applications Catalog, as well as descriptions of the above-listed parts.
The DECconnect wiring system has insufficient signaling for modems, and
particularly lacks support for modem control signals.
The H8571-A and H8575-A are MMJ to DB25 (female) and other
connector wiring diagrams and adapter-, cable- and pin-out-related
discussions are available at:
• http://www.hp.com/go/openvms/wizard/
Jameco has offered 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. The LK463 provides the classic OpenVMS
keyboard and keyboard layout on USB-based system configurations,
including operations with the USB connection on specific Alpha systems
(and specifically on those with supported USB connections) and on
Integrity servers.
For information on the Alpha console COM port(s) or on the VAX console
port, please see Section 14.3.
14–51
Hardware Information
14–52
Hardware Information
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–53
Hardware Information
14–54
Hardware Information
Part
MicroVAX 3100 series VAX 4000 series Number
Model 90/KA50 Model 100/KA52 54-21797-
01
Model 95/KA51 Model 105/KA53 54-21797-
02
Model 96/KA54 Model 106/KA56 54-21797-
03
Model 98/KA57 Model 108/KA59 54-24695-
01
14–55
Hardware Information
>>> T 9D 50
confirm (y/n)? y
These commands solely alter the identification returned within the
specified pairings. These commands do not alter the system performance,
and the commands can not and do not allow, for instance, a 54-21797-01
motherboard to become a 54-24695-01 motherboard.
See Section 14.14 for a more complete list of KA-series codes for various
VAX processors.
14–56
15 Information on Networks and Clusters
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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference.
15–1
Information on Networks and Clusters
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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference.
Please see Section 15.2.3 for information on Postscript printing.
15–2
Information on Networks and Clusters
$ 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.
• http://www.hp.com/go/openvms/wizard/ (retired; use ITRC forums)
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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference. Also see:
• http://www.wotsit.org/
15–3
Information on Networks and Clusters
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–4
Information on Networks and Clusters
15–5
Information on Networks and Clusters
15–6
Information on Networks and Clusters
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.
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:
• 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
15–7
Information on Networks and Clusters
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
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–8
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–9
Information on Networks and Clusters
15–10
Information on Networks and Clusters
15–11
Information on Networks and Clusters
15–12
Information on Networks and Clusters
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:
• 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–13
Information on Networks and Clusters
15–14
Information on Networks and Clusters
15–15
Information on Networks and Clusters
15–16
Information on Networks and Clusters
15–17
Information on Networks and Clusters
15–18
Information on Networks and Clusters
15–19
Information on Networks and Clusters
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.7. For details of SET
HOST/DUP, see Section 15.6.3.
• http://www.openvms.compaq.com/openvms/fibre/index.html
15–20
Information on Networks and Clusters
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:.DAT
VMS$CLASS_SCHEDULE SYS$SYSTEM:.DATA
SYS$REGISTRY SYS$SYSTEM:; this is a set of related
files
In addition to the documentation, also see the current version of the file
SYS$STARTUP:SYLOGICALS.TEMPLATE. Specifically, please see the
most recent version of this file available, starting on or after OpenVMS
V7.2.
A failure to have common or (in the case of multiple SYSUAF files)
synchronized files can cause problems with batch operations, with
the SUBMIT/USER command, with the general operations with the
cluster alias, and with various SYSMAN and related operations. Object
protections and defaults will not necessarily be consistent, as well. This
can also lead to system security problems, including unintended access
denials and unintended object accesses, should the files and particularly
should the binary identifier values become skewed.
15–21
Information on Networks and Clusters
15–22
Information on Networks and Clusters
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.8. ATW has been superceded (for new questions) by the ITRC
discussion forums; the area remains available for reference.
Information on changing node names is included in Section 5.7.
15–23
Index
Index–1
Index
Index–2
Index
Index–3
Index
Index–4
Index
Index–5
Index
Index–6
Index
Index–7
Index
Index–8
Index
Index–9
Index
Index–10
Index
Index–11
Index
Index–12
Index
Index–13
Index
Index–14
Index
Index–15
Index
Index–16
Index
Index–17
Index
Index–18
Index
Index–19
Index
Index–20
Index
Index–21
Index
X Y
X11 • 11–15 Y2K • 5–33
X11R5 • 11–15 yacc • 13–14
X11R6.6 • 11–15 Yamhill • 2–12
XDR • 10–14 Year 2000 • 5–33
XFC • 9–13
XLNperformance • 5–33
XLNsystems • 5–33
Z
XML • 2–6, 10–14, 13–10 ZAP • 7–3
XOFF • 14–52 zic compiler • 4–15, 4–16
XON • 14–52 Zimmerman, Phil • 13–4
XOR • 5–38 zip • 5–56, 9–14, 13–22
XP1000 • 14–40 Zip • 14–46, 14–47
XPDF • 3–1, 13–6
Also see Info-Zip
xpm • 11–7
Self-extracting • 13–22
XtAppAddInput • 11–10
ZMODEM • 13–3
xv • 11–7
X Windows • 11–1
Index–22