Opens a file for reading, writing or for appending
• Syntax:
OPEN DATASET [FOR INPUT|OUTPUT|APPENDING]
[IN BINARY|TEXT MODE]
[AT POSITION ]
[MESSAGE ]
[FILTER ].
• can be a logical or physical file name
2)– READ DATASET
• Reads a file
• Syntax:
READ DATASET INTO [LENGTH ].
• can be a logical or physical file names
• Logical file names can be created in customizing
3)TRANSFER DATASET
• Syntax:
- Writing to a dataset
TRANSFER TO [LENGTH ].
4) Closing a dataset
CLOSE DATASET