Describe file and record layouts
The File and Record Layouts Report is a six part report that provides information about the attributes of each file and specific details about the data items within each record:
Sample report
The following figure shows the first page of a sample File and Record Layouts Report.
PRANDEM2 FILE AND RECORD LAYOUTS (FILE SECTION) DICTIONARY LOADER dd mmm yy 1425 PAGE 1 FILE NAME: CUSTOMER-FILE DEVICE NAME: UT-2400-S-CUSTIN LABEL: OMITTED BLOCK SIZE: UNBLOCKED RECORD SIZE: 104 CHARACTERS RECORD FORMAT: FIXED 079000 OPEN INPUT CUSTOMER-FILE 084000 READ CUSTOMER-FILE RECORD 125000 CLOSE CUSTOMER-FILE LV-DAT NAME SRC LN POS SIZE USAGE OCC VALUE FD CUSTOMER-FILE 037000 01 CUSTOMER 043000 1 (104) GROUP 03 CUST-NUM 044000 1 10 DISP 03 CUST-NAME 045000 11 20 DISP 03 CUST-ADDRESS 046000 31 (40) GROUP 05 CUST-ADDR1 047000 31 20 DISP 05 CUST-ADDR2 048000 51 (20) GROUP 06 CUST-CITY 049000 51 15 DISP 06 CUST-ZIP-CODE 050000 66 5 DISP 03 CUST-CREDIT 051000 71 3 DISP 88 CUST-CREDIT-EXEC 052000 'AAA' 88 CUST-GOOD 053000 ' ' 88 CUST-POOR 054000 'XXX' 03 FILLER 055000 74 31 DISP
Field descriptions
The file name.
The device name assigned to the file.
Information about LABEL records. The report displays the keywords OMITTED or STANDARD, or the name of a user LABEL record.
The size of the physical block, if blocked.
The size of the file's data records.
The RECORDING MODE of the record. The report displays FIXED, VARIABLE, UNDEFINED, or SPANNED.
The level number of the data item. For items for which level number is not applicable, codes provide information about the item:
No level number is provided for definitions of index names used by the INDEXED BY clause.
Name of the data item. DATA NAME can be a file name, record name, or an element name.
The line number of the source line where the data item is defined.
Starting position associated with the data item.
The size of the data item. Parentheses enclose a size reported for a group item.
The form in which the data item is to be stored as the result of the source program's specifications:
The following report writing specifications can also appear in this column:
The number of occurrences of the data item if the definition of the item uses an OCCURS clause.
The value assigned to the data item if the definition of the item uses a VALUE clause.
Copyright © 2013 CA.
All rights reserved.
|
|