Data management is the part of the operating system that controls the storing and accessing of data by an application program. Table 44 shows the data management operations provided by the i5/OS system and their corresponding ILE RPG operation. It also shows which operations are allowed for which ILE RPG device type.
Data Management Operation | ILE RPG I/O Operation |
---|---|
OPEN |
OPEN |
READ By relative record number By key Sequential Previous Next Invited Device |
READ, CHAIN READ, READE, CHAIN, primary and secondary file READ READP, READPE READ, READE READ |
WRITE-READ |
EXFMT |
WRITE By relative record number By key Sequential |
WRITE WRITE, EXCEPT, primary and secondary file WRITE, EXCEPT |
FEOD |
FEOD |
UPDATE By relative record number By key |
UPDATE, primary and secondary file UPDATE, primary and secondary file |
DELETE By relative record number By key |
DELETE, primary and secondary file DELETE, primary and secondary file |
ACQUIRE |
ACQ |
RELEASE |
REL |
COMMIT |
COMMIT |
ROLLBACK |
ROLBK |
CLOSE |
CLOSE, LR RETURN |