COBOL Manual for TNS/E Programs (H06.03+)
Libraries and Utility Routines
HP COBOL Manual for TNS/E Programs—520347-003
13-66
COBOL_ASSIGN_
After fd-name is declared as dynamically assignable, the HP COBOL program can
use ENTER to call COBOL_ASSIGN_. The general form of the ENTER statement to
use COBOL_ASSIGN_ is:
library-reference
is a mnemonic-name associated, in the SPECIAL-NAMES paragraph, with either
COBOLLIB or some other object file containing an object copy of
COBOL_ASSIGN_. See Files of Dummy Routines.
fd-name
is the fd-name of a file connector. The file specified in the ASSIGN phrase of the
SELECT clause that references fd-name will be replaced by system-file-
name. If the program was compiled in the OSS environment, the file will be an OSS
file, unless it was defined as a Guardian file by an ASSIGN such as:
ASSIGN TO "GUARDIAN #DYNAMIC"
system-file-name
is an alphanumeric data item holding the file-system file name of the file to be
assigned. system-file-name is in external form. It must be left-justified in the
data item and any unused portion of the name must contain spaces.
ENTER COBOL_ASSIGN_
"
USING
library-reference
system-file-name
OF
"
fd-name
error-numberGIVING
file-code
file-type
ns ns
VST356.vsd










