This document provides an overview of Extended File Specifications and
describes the impact of Extended File Specifications on system
managers, application developers, and users of the traditional OpenVMS
environment.
Revision/Update Information:
This is a new guide.
Software Version:
OpenVMS Alpha Version 7.2 OpenVMS VAX Version 7.2
Compaq Computer Corporation Houston, Texas
January 1999
Compaq Computer Corporation makes no representations that the use of
its products in the manner described in this publication will not
infringe on existing or future patent rights, nor do the descriptions
contained in this publication imply the granting of licenses to make,
use, or sell equipment or software in accordance with the description.
Possession, use, or copying of the software described in this
publication is authorized only pursuant to a valid written license from
Compaq or an authorized sublicensor.
Compaq conducts its business in a manner that conserves the environment
and protects the safety and health of its employees, customers, and the
community.
The following are trademarks of Compaq Computer Corporation:
Bookreader, DECdirect, DECwindows, DIGITAL, OpenVMS, VAX, VAX DOCUMENT,
VAXcluster, VMS, and the Compaq logo.
Microsoft, MS, and MS-DOS are registered trademarks of Microsoft
Corporation.
Motif, OSF, OSF/1, OSF/Motif, and Open Software Foundation are
registered trademarks of the Open Software Foundation, Inc.
UNIX is a registered trademark in the United States and other
countries, licensed exclusively through X/Open Company Ltd.
All other trademarks and registered trademarks are the property of
their respective holders.
ZK6536
The OpenVMS documentation set is available on CD-ROM.
This document was prepared using VAX DOCUMENT, Version V3.2n.
This document is intended for system managers, application developers,
and users who implement Extended File Specifications on one or more
systems in an OpenVMS environment.
Document Structure
This manual consists of the following chapters and appendixes:
Chapter 1 provides an overview of Extended File Specifications
and its features.
Chapter 2 describes the changes visible to OpenVMS system
managers, provides instructions on how to enable and control user
access to ODS-5 volumes, and describes the impact on functions such as
backing up and restoring media.
Chapter 3 describes the changes visible to OpenVMS users when
using ODS-5 volumes.
Chapter 4 describes how to evaluate the support for Extended
File Specifications of OpenVMS applications.
Appendix A contains guidelines for setting users' expectations
about using the features of Extended File Specifications.
Appendix B contains detailed technical information about the
changes to the OpenVMS programming interface to support Extended File
Specifications. Much of this material appears in other documents in the
OpenVMS documentation.
Appendix C describes the DEC Multinational character set and the
ISO Latin-1 character set.
Related Documents
For related information about Extended File Specifications, see the
following documents:
Guide to OpenVMS File Applications
OpenVMS DCL Dictionary: A--M
OpenVMS DCL Dictionary: N--Z
OpenVMS RTL Library (LIB$) Manual
OpenVMS Record Management Services Reference Manual
OpenVMS System Manager's Manual: Essentials
OpenVMS System Manager's Manual: Tuning, Monitoring, and Complex Systems
OpenVMS System Management Utilities Reference Manual: A--L
OpenVMS System Management Utilities Reference Manual: M--Z
OpenVMS System Services Reference Manual: A--GETMSG
OpenVMS System Services Reference Manual: GETQUI--Z
OpenVMS Utility Routines Manual
Advanced Server for OpenVMS Server Administrator's Guide
For additional information on the Open Systems Software Group (OSSG)
products and services, access the following OpenVMS World Wide Web
address:
http://www.openvms.digital.com
Reader's Comments
Compaq welcomes your comments on this manual.
Print or edit the online form SYS$HELP:OPENVMSDOC_COMMENTS.TXT and send
us your comments by:
Use the following World Wide Web address to order additional
documentation:
http://www.openvms.digital.com:81/
If you need help deciding which documentation best meets your needs,
call 800-DIGITAL (800-344-4825).
Conventions
In this manual, any reference to OpenVMS is synonymous with DIGITAL
OpenVMS.
VMScluster systems are now referred to as OpenVMS Cluster systems.
Unless otherwise specified, references to OpenVMS Clusters or clusters
in this document are synonymous with VMSclusters.
In this manual, every use of DECwindows and DECwindows Motif refers to
DECwindows Motif for OpenVMS software.
The following conventions are also used in this manual:
Ctrl/
x
A sequence such as Ctrl/
x indicates that you must hold down the key labeled Ctrl while
you press another key or a pointing device button.
PF1
x
A sequence such as PF1
x indicates that you must first press and release the key
labeled PF1 and then press and release another key or a pointing device
button.
[Return]
In examples, a key name enclosed in a box indicates that you press a
key on the keyboard. (In text, a key name is not enclosed in a box.)
In the HTML version of this document, this convention appears as
brackets, rather than a box.
...
A horizontal ellipsis in examples indicates one of the following
possibilities:
Additional optional arguments in a statement have been omitted.
The preceding item or items can be repeated one or more times.
Additional parameters, values, or other information can be entered.
.
.
.
A vertical ellipsis indicates the omission of items from a code example
or command format; the items are omitted because they are not important
to the topic being discussed.
( )
In command format descriptions, parentheses indicate that you must
enclose the options in parentheses if you choose more than one.
[ ]
In command format descriptions, brackets indicate optional elements.
You can choose one, none, or all of the options. (Brackets are not
optional, however, in the syntax of a directory name in an OpenVMS file
specification or in the syntax of a substring specification in an
assignment statement.)
[|]
In command format descriptions, vertical bars separating items inside
brackets indicate that you choose one, none, or more than one of the
options.
{ }
In command format descriptions, braces indicate required elements; you
must choose one of the options listed.
bold text
This text style represents the introduction of a new term or the name
of an argument, an attribute, or a reason.
italic text
Italic text indicates important information, complete titles of
manuals, or variables. Variables include information that varies in
system output (Internal error
number), in command lines (/PRODUCER=
name), and in command parameters in text (where
dd represents the predefined code for the device type).
UPPERCASE TEXT
Uppercase text indicates a command, the name of a routine, the name of
a file, or the abbreviation for a system privilege.
Monospace text
Monospace type indicates code examples and interactive screen displays.
In the C programming language, monospace type in text identifies
the following elements: keywords, the names of independently compiled
external functions and files, syntax summaries, and references to
variables or identifiers introduced in an example.
-
A hyphen at the end of a command format description, command line, or
code line indicates that the command or statement continues on the
following line.
numbers
All numbers in text are assumed to be decimal unless otherwise noted.
Nondecimal radixes---binary, octal, or hexadecimal---are explicitly
indicated.
OpenVMS Version 7.2 on Alpha implements Extended File Specifications,
which consists of two major components:
A new, optional, volume structure, ODS-5, which provides support
for file names that are longer and have a greater range of legal
characters than in previous versions of OpenVMS
Support for deep directories
Taken together, these components provide much greater flexibility for
OpenVMS Alpha systems (using Advanced Server for OpenVMS 7.2, formerly known as
PATHWORKS for OpenVMS), to store, manage, serve, and access files that
have names similar to those in a Windows 95/98 or Windows NT
environment.
This chapter provides a brief overview of the benefits, features, and
support for Extended File Specifications, as well as changes in OpenVMS
behavior that occur under Extended File Specifications.
The deep directories and extended file names supported by Extended File
Specifications provide the following benefits:
Users of Advanced Server for OpenVMS 7.2
(formerly known as PATHWORKS for OpenVMS) have the ability to store
longer file names, preserve the case of file names, and use deeper
directory structures. These new capabilities make the use of an OpenVMS
file server more transparent to Windows 95/98 and Windows NT users.
OpenVMS system managers can see files on OpenVMS systems with the
names as specified by Windows 95/98 and Windows NT users.
Applications developers who are porting applications from other
environments that have support for deep directories can use a parallel
structure on OpenVMS.
Longer file naming capabilities and Unicode support enables
OpenVMS Version 7.2 to act as a
DCOM server for Windows NT clients, and ODS-5 provides capabilites that
make the OpenVMS and Windows NT environment more homogeneous for DCOM
developers.
JAVA applications on OpenVMS will comply with
JAVA object naming standards.
General OpenVMS users can make use of long file names, new
character support, and the ability to have lowercase and mixed-case
file names.
These benefits result from the features described in Section 1.2.
Extended File Specifications consists of two main features, the ODS-5
volume structure, and support for deep directories. These features are
described in the sections that follow.
OpenVMS Version 7.2 implements On-Disk Structure Level 5 (ODS-5). This
structure provides the basis for creating and storing files with
extended file names. You can choose whether or not to convert a volume
to ODS-5 on your OpenVMS Alpha systems.
The ODS-5 volume structure allows the following features:
Long file names
More characters legal within file names
Preservation of case within file names
These features are described in the sections that follow.
On an ODS-5 volume, the name of a file (excluding the version number)
can be up to 236 8-bit or 118 16-bit characters long. Complete file
specifications longer than 255 bytes are abbreviated by RMS when
presented to unmodified applications.
For more information on extended file names, see Section 3.1.2.
A broader set of characters is available for naming files on OpenVMS.
ODS-5 offers support for file names that use the 8-bit ISO Latin-1
character and 16-bit
Unicode (UCS-2) character sets.
ISO LATIN-1 and Unicode (UCS-2) Character Sets
The ISO Latin-1 Multinational character set is a superset of the
traditional ASCII character
set used by versions of OpenVMS previous to Version 7.2. In extended
file specifications, all characters from the 8-bit ISO Latin-1
Multinational character set are valid in file specifications,
except the following:
C0 control codes (0x00 to 0x1F inclusive)
Double quotation marks (")
Asterisk (*)
Backslash (\)
Colon (:)
Left and right angle brackets (< >)
Slash (/)
Question mark (?)
Vertical bar (|)
To unambiguously enter or display certain special characters in an
ODS-5 compliant file specification, such as a space, you must precede
the character with a
circumflex (^).
For more information on how these character sets are used in file
names, see Section 3.1.2.
In prior versions of OpenVMS, DCL, RMS, and the file system converted
all file specifications to uppercase. ODS-5 preserves the case of file
specifications. For example:
On an ODS-5 volume, directory names conform to most of the same
conventions as file names when using the ISO Latin-1
character set. Periods and special characters can be present in the
directory name, but in some cases, they must be preceded by a
circumflex (^) in order to be recognized as literal characters.
Section 3.2 contains more information about deep directories.
Section 3.6.1 contains information about displaying long directory names.
ODS-5 is being introduced primarily to provide enhanced file sharing
capabilities for users of Advanced Server for OpenVMS 7.2
(formerly known as PATHWORKS for OpenVMS), as well as
DCOM and JAVA applications.
Once ODS-5 volumes are enabled, some of the new capabilities can
potentially impact certain applications or layered products, as well as
some areas of system management. The new syntax for file names that is
allowed on ODS-5 volumes cannot be fully utilized on ODS-2 volumes.
Because pre-Version 7.2 Alpha systems cannot access ODS-5 volumes, and
Open VMS Version 7.2 VAX systems have limited ODS-5 functionality, you
must be careful where and how you enable ODS-5 volumes in mixed-version
and mixed-architecture OpenVMS Clusters.
The following sections comprise a summary of how enabling ODS-5 volumes
can impact system management, users, and applications.
RMS access to deep directories and extended file names is available
only on ODS-5 volumes mounted on OpenVMS Alpha V7.2 systems. Compaq
recommends that ODS-5 volumes be enabled only on a homogeneous OpenVMS
Alpha V7.2 Cluster.
If ODS-5 is enabled in a mixed-version or mixed-architecture OpenVMS
Cluster, the system manager must follow special procedures and be aware
of specific restrictions on mixed-version and mixed-architecture
OpenVMS Clusters with ODS-5 volumes enabled:
Users must access ODS-5 files and deep directories from OpenVMS
Alpha V7.2 systems only, because these capabilities are not supported
on earlier versions.
Users who have created deep directories can view those directories
only from OpenVMS Alpha V7.2 systems.
Pre-Version 7.2 systems cannot mount an ODS-5 volume nor read ODS-2
or ODS-5 file names on that volume.
Section 1.3.2 describes in greater detail the limitations of ODS-5
support for users in a mixed-version or mixed-architecture OpenVMS
Cluster.
Most unprivileged applications will work with most extended file names,
but some may need modifications to work with all extended file names.
Privileged applications that use physical or logical I/O to disk and
applications that have a specific need to access ODS-5 file names or
volumes may require modifications and should be analyzed. See the
website www.openvms.digital.com/openvms/os/swroll/72.html for a list of
fully supported OpenVMS applications. Section 1.3.3 describes in greater
detail the impact of ODS-5 on OpenVMS applications.
Chapter 2 contains more information for determining the levels of
support for Extended File Specifications, and guidelines for managing a
system with ODS-5 volumes enabled.
A user on an OpenVMS Alpha Version 7.2 system can take advantage of all
Extended File Specifications capabilities on ODS-5 volumes mounted on
an OpenVMS Alpha Version 7.2 system.
A user on a mixed-version or mixed-architecture OpenVMS Cluster is
subject to some limitations in ODS-5 functionality. Section 1.3.2.1 lists
those restrictions that exist on a mixed-version OpenVMS Cluster.
Section 1.3.2.2 lists those restrictions that exist on a
mixed-architecture OpenVMS Cluster.
A user on an OpenVMS Alpha Version 7.2 system can continue to access
pre-Version 7.2 files and directories; for example, a user can do all
of the following:
Create and access deep directory structures on ODS-2 volumes.
Read a BACKUP saveset created on an earlier version of OpenVMS.
Use
DECnet to copy a file with an ODS-5 name to a file with an ODS-2 name
on a system running an earlier version of OpenVMS.
On mixed-version clusters, some restrictions exist. Users on a version
of OpenVMS prior to Version 7.2:
Cannot access any files on an ODS-5 volume. This is true regardless
of whether the volume is connected physically on a CI or SCSI bus, or
by an MSCP or QIO server.
Cannot successfully create or restore an ODS-5 image saveset.
However, these users can successfully restore ODS-2-compliant file
names from an ODS-5 saveset.
Current ODS-2 volume and file management functions remain the same on
both VAX and Alpha Version 7.2 systems; however, extended file naming
and parsing are not available on VAX systems.
The following sections describe support on OpenVMS VAX and Alpha
systems in a mixed-architecture cluster.
In mixed-architecture OpenVMS Version 7.2 clusters, OpenVMS Version 7.2
VAX systems are limited to the following Extended File Specifications
functionality:
Ability to mount an ODS-5 volume
Ability to write and manage ODS-2-compliant files on an ODS-5
volume
See pseudonames (\pISO_LATIN\.??? or
\pUNICODE\.???) when accessing an ODS-5 file specification
From a VAX system, users cannot successfully create or restore an ODS-5
image saveset. However, these users can successfully restore
ODS-2-compliant file names from an ODS-5 saveset.