Use position 32 to identify the organization of program described files.
An indexed file can be processed:
A program-described file that is processed without keys can be processed:
A record-address file (indicated by an R in position 16) that contains relative-record numbers must be identified by a T in position 32. (A record-address file must be program described.) Each record retrieved from the file being processed is based on the relative record number in the record-address file. (Relative record numbers cannot be used for a record-address-limits file.)
Each relative-record number in the record-address file is a 4-byte binary field; therefore, each 4-byte unit of a record-address file contains a relative-record number.
A minus one (-1 or hexadecimal FFFFFFFF) relative-record number value causes the record to be skipped. End of file occurs when all record-address file records have been processed.
For more information on how to handle System/36 Environment record-address files, see the RPG/400* User's Guide.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.