11.3.1 FCOPEN

1.
Function
Opens a file.
2.
Call
CALL FCOPEN(IOU,CDSN,NRL,CACT,ICON)
3.
Explanation of Parameters
IOU (I) I/O unit number.
CDSN (C*(*)) File name.
NRL (I) Length of record.
CACT (C*1) Specification of I/O mode. Specify 'R' when reading and 'W' when writing.
ICON (I) Condition code.
4.
Notes
(a)
When a file is opened for writing, the existing file is deleted.