Specifies that the record area associated with a file should only be allocated at the time of an OPEN statement and not before.
>>-.---.-.----.--HOSTFD------------------->< +-/-+ +-NO-+
None
Default: | NOHOSTFD |
Phase: | Syntax check |
$SET: | Initial |
If you specify this directive, operations on the record area associated with a file are only possible while the file is open. HOSTFD does not affect EXTERNAL or SORT files. Nor does it affect files defined in a SAME RECORD AREA clause in the I-O CONTROL paragraph.
Specify NOHOSTFD if you need to access a file's record area after a FILE CLOSE has been performed on it.
This directive is for mainframe compatibility.