Previous Topic: IntroductionNext Topic: Coding the Report


Locating the Data

The data for our report is stored in the personnel file of the Commonweather Corporation. The figure below describes part of the file. The complete description is in the appendix "The Personnel File Description".

Information about the data you will use to create your CA Culprit report is contained in a file description similar to the one above. The description is usually provided by your data-processing department.

 RECORD SIZE    200 bytes
 BLOCK SIZE     400 bytes
 RECORD FORMAT  FIXED (F)
 FILE TYPE      SEQUENTIAL (PS)


 Data Field    Start Position   Length (bytes)   Data Type

 EMPLOYEE-NAME      5                25          Alphanumeric
 FIRST-NAME         5                10          Alphanumeric
 LAST-NAME         15                15          Alphanumeric
 DEPT-NAME        115                45          Alphanumeric
 SALARY-AMOUNT    160                 7          Packed Decimal
 TITLE            171                20          Alphanumeric

Information about the data you will use to create your CA Culprit report is contained in a file description similar to the one above. The description is usually provided by your data-processing department.