File I/O Statements
OPEN - Make a file available
READ - Get data from a file
WRITE - Output data to a file
CLOSE - Finish using a file
Notes:
DCL provides four statements for performing file I/O: OPEN, READ, WRITE and CLOSE.
Use OPEN to begin using a file.
Use READ to get data from a file.
Use WRITE to write data to a file or to update existing records.
Use CLOSE to finish using a file and release the associated resources.