Index Files

An index file contains a complete list of all files that meet the testing criteria of the task or are included in the task. The program creates these files only if you specify the LOCKINDEX option. However, FILECOPY uses index files as input when you use the ADDED request.

An index file is a disk or disk pack file with a MAXRECSIZE value of 30 words. The first record is reserved for future use. The body of an index file consists of logical records that describe files. Each record contains the file name and other information. A logical record can extend over more than one physical record. Each logical record starts at the boundary of a physical record.

The following describes the file layout:

Logical Record   0
          Length:    30 words
          Contents:  Reserved
Logical Record   1 - end
          Length:    Variable in 30-word segments
          Contents:
               Word 0 : Reserved
               Word 1 : Word displacement from
                        start of record to
                        start of standardform
                        <file name>.
               Word 2 - (Word 1) : Reserved
               Words (Word 1) - End of logical record:
                        Standardform <file name>.