Previous Topic: Accessing Standard Files with Reporting FacilityNext Topic: GET Command


Sequential Files

The following file definition illustrates how to access a sequential file:

 FILE1: FILE TAPE RECORD=100 BLOCK=1000 KEY=A,B,C
        DEFINE A 1-4 N
        DEFINE B 12-13 X
        DEFINE C 10-11 N
        DEFINE D 27-30 P2

In the discussions that follow, assume this file is in ascending sequence of field C within field B within field A.