The FILEORGANIZATION attribute can be set in one of two ways for an indexed file: indexed files that have relative keys have FILEORGANIZATION attribute equal to INDEXEDNOTRESTRICTED. (RPG files have relative keys by default.) Indexed files that do not have relative keys have FILEORGANIZATION attribute equal to INDEXED. The FILEORGANIZATION attribute must be set each time the indexed file is opened. Refer to the File Attributes Programming Reference Manual for more information about the FILEORGANIZATION attribute.