Actions required to process a file.
- Allocate the file
This assigns the file or data set to the User or Task.
- Open the file
This makes the file or data set available for processing.
- Perform the Input / Output Operations
This is the execution of the READ and / or WRITE instructions.
- Close the file,
Ensures residual data in buffers is written to the file.
- De-allocate the file
Free the file for other Users.