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.
Comments:
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.