Moves involving file record areas

The successful execution of an OPEN statement for a given file makes the record area for that file available. You can move data to or from the record description entries associated with a file only when the file is in the open status.

Execution of an implicit or explicit CLOSE statement removes a file from open status and makes the record area unavailable.