The Definition screen is used to define the file’s record structure. Items entered here are used to create the FD generated into the .fd COPY file. Information entered in this interface must conform to the ACUCOBOL-GT rules for a file description entry. See for more information.Data Division.
Data items are added, removed, or modified in the Data item definition list. Note that you can copy and paste fields from another DLT or from a text file to build a file description in this interface.
To create or modify a file description, select the Definition tab and do the following:
The graphical Add icon looks like this:
If you use the graphical Add button, a 01 level item is automatically created. If you use the Add Item button, you can select the level number of your first field, or use items from a COPY file. Linking and importing items from a COPY file is discussed in Linking and Importing COPY files.
If you are adding an Occurs phrase, see Occurs Syntax Dialog for help navigating the Occurs interface.
In addition to the basic field information defined in the first seven columns of the Data item definition list, you can click in the More column to further refine your field definition. These additional options are discussed in The Field Dialog.
In most instances, if you create a field, then want to change its level number, you can double-click in the Level column and type a new value. If the value is not permitted, AcuBench displays an error message. In some instances, the field is read-only, and the level number cannot be changed.
The default level number assigned to a new item or sub-item can be changed in the Data Designer section of the Tools > Options interface, under Graphical FD.
Note that you can cut, copy and paste, or drag-and-drop items to make changes to a record.
|This area lets you select file declaration options.
|Enable this check box to include the IS EXTERNAL phrase.
|Enable this check box to include the IS GLOBAL phrase.
|This area lets you select file description entry phrases.
|Enable this check box to include the BLOCK CONTAINS phrase. Available only for sequential files.
Enter the minimum and maximum block size in the entry fields to the right. Enable the appropriate radio button to specify physical record size in terms of either logical records or characters.
|Enable this check box to include the CODE-SET phrase. Available only for sequential files.
Enter the name of the desired SPECIAL-NAMES character set in the Name entry field.
|Enable this check box to include the LABEL-RECORDS phrase. This phrase is ignored by the compiler.
|Enable this check box to include the LINAGE phrase. Available only for sequential files.
In the entry fields to the right, specify the number of lines on a page, the line number where the footing area begins on the page, and the numbers of lines in the top and bottom margins.
|Enable this check box to include the RECORD phrase.
Specify the record size in the Record area to the right. Enable the Contain radio button to specify the size of a fixed- or variable-length record. Enable Varying in Size to specify the size of a variable-length record.
|Value of File-ID
Enable this check box to include the
VALUE-OF-FILE ID phrase.
Enter the file’s external name in the Name entry field to the right.
|Value of label
|Enable this check box to include the VALUE OF LABEL phrase. This phrase is ignored by the compiler.
When you are finished entering File Definition Information, you can do one of the following: