COBOL Manual for TNS/E Programs (H06.03+)

Libraries and Utility Routines
HP COBOL Manual for TNS/E Programs520347-003
13-65
COBOL_ASSIGN_
COBOL_ASSIGN_
The COBOL_ASSIGN_ routine enables an HP COBOL program to perform an
ASSIGN-like statement while the program is executing. It associates a COBOL file
name (fd-name ) with a file-system file name.
You must declare the COBOL file name as dynamically assignable in a file-control
entry in the Input-Output Section. The syntax for this declaration is:
This form of the ASSIGN clause specifies only that fd-name is dynamically
assignable; unlike other forms of the ASSIGN clause (or of the command interpeter
ASSIGN command), it does not associate fd-name with any file-system file name.
SELECT
OPTIONAL
fd-name
ASSIGN #DYNAMIC
TO
VST355.vsd