COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
An OSS file name identifies one of these:
◦ Disk file
◦ Special file name (such as a temporary disk file)
For details on OSS file names, see Files in the OSS Environment (page 713)Files in the
OSS Environment.
• Special names for operating system files
A special name is a substitute (in the source program) for a certain operating system file:
Operating System File
OSSGuardianSpecial Name
The default input device (FD 0)—do not use it
in SELECT clauses or the SPECIAL-NAMES
The file named in the IN parameter of startup
message of current process.
#IN
paragraph as you can in the Guardian
environment.
The default output device (FD 1)—do not use it
in SELECT clauses or the SPECIAL-NAMES
The file named in the OUT parameter of
startup message of current process.
#OUT
paragraph as you can in the Guardian
environment.
Home terminal of current process.#TERM
Temporary disk file on default volume.#TEMP
Created during execution of an OPEN
statement, purged during execution of a
CLOSE statement.
You cannot specify a volume name for
#TEMP. The volume used for #TEMP is the
current default volume. If you want a
temporary file on another volume, either
specify only the volume name or specify a
TACL ASSIGN command with only the volume
name, for example:
ASSIGN a-file, $vol
File name specified with the run-time library
routine COBOLASSIGN or COBOL_ASSIGN_
during the execution of the current process.
#DYNAMIC
Legal only in the SELECT clause of a
file-control entry.
If you use #DYNAMIC as the file name in an
ASSIGN command, TACL accepts it, but does
not make the file dynamically assignable, and
the file becomes unusable because it has an
invalid name.
For more information on spooler collectors, see the Spooler Utilities Reference Manual.
Qualified Names
Every name that you reference in a COBOL program must be unique, either because no other
name has the same spelling (including hyphenation) or because the name is part of a hierarchy
of names (such as a data-name defined within a record). In the latter case, you can qualify the
name with one or more of the higher-level names. You must specify enough higher-level names to
make the name unique, but you need not specify all levels. The most significant name in a hierarchy
must have unique spelling, because you cannot qualify it.
Character-Strings 67










