Technical data

Using Files and Directories
10.1 Understanding Extended File Specications Features
The following example shows the output when you run the program:
$ @test
Search returns DKA300:[FISHER]test.txt;1
Did not find file matching TEST
$ @test case-blind
Search returns DKA300:[FISHER]test.txt;1
Found a file matching TEST
Abbreviated and Full Directory Names Listed Separately with CONDENSED File
Names
Some system utilities and DCL commands, such as DIRECTORY, have a style
switch to control how they display file names.
If the style is CONDENSED, file names up to 255 bytes in length are
displayed. When a file specification reaches the 255-byte limit, the directory
name is abbreviated to a directory ID (DID).
If the style is EXPANDED, file names up to 4095 bytes in length are
displayed.
The following example shows a CONDENSED directory name. The DIRECTORY
command considers a DID abbreviated directory name as different from the
unabbreviated directory name and therefore generates a separate header when
the abbreviation occurs.
$ DIR/STYLE=CONDENSED
Directory DKA300:[DEEPER.aaaa.bbbb.cccc.dddd.eeee.ffff.gggg.hhhh.iiii._ten.aaaa.
bbbb.cccc.dddd.eeee.ffff.gggg.hhhh.iiii._ten.aaaa.bbbb.cccc.dddd.eeee.ffff.gggg.
hhhh.iiii._ten.aaaa.bbbb.cccc.dddd.eeee.ffff.gggg.hhhh.iiii._ten]
!
aaaa.txt;1
Total of 1 file.
Directory DKA300:[528,7036,0]
"
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.txt;1
Total of 1 file.
Grand total of 2 directories, 2 files.
#
!
With the CONDENSED style, if the combination of the directory name and
file name does not exceed 255 bytes, the directory name is not shortened to a
DID.
" With the CONDENSED style, if the combination of the directory name and
file name exceeds 255 bytes, the directory name is shortened to a DID.
# When you issue a DIRECTORY command that displays both a full and an
abbreviated directory format for the same directory name, DIRECTORY
counts these as two different directories.
For more information about DIRECTORY commands, refer to the OpenVMS DCL
Dictionary.
10.1.2.2 ODS-2 and ODS-5 Used Together
The following notes discuss issues related to using ODS-2 and ODS-5 together in
a cluster.
Using Files and Directories 105