| Data File Setup |
|
The Data File Setup dialog box is used to set format
and data file information. |
|
| Screen Image |
 |
|
| Fields |
| Format Information |
|
File Type |
|
Displays the setting of the File Type in the COBOL Library Analysis Method tab of
the Environment Setup dialog box. |
|
|
To
specify a library: |
|
1. Click the Setup button. The Specifying
Format Files dialog box is displayed. |
|
2. Select a file that is of the type indicated in File Type field (COBOL library
file name or layout definition file) and click
the Open button. If the Cancel
button is clicked, the system returns to Data File Setup dialog box.
Note: Specify a file only of the File Type indicated.
A file of a type other than the File Type will result in an analytical error.
|
|
3. Click OK when the message "Analyze the Library
<library-name>?" is displayed. |
|
4. After the file is analyzed, the file name and record length are displayed in
the Data File Setup dialog box. If any errors are generated in the analysis, a message
is displayed explaining the error. |
|
|
Character Code |
|
Displays the setting of the Character Code in the Analysis Option section of the
COBOL Library Analysis Method tab of the Environment
Setup dialog box. |
|
|
BINARY |
|
Displays the setting of the BINARY Option in the Analysis Option section of the
COBOL Library Analysis Method tab of the Environment
Setup dialog box. |
|
| Data File Information |
|
File Organization |
|
Select Sequential, Line Sequential, Indexed, or Relative. |
|
|
Record Format |
|
The default value is Fixed. This field is disabled when an existing fixed-length
file is being edited.
|
|
|
Length |
|
Specify a record length in the
range of 1 to 32760. The default value is the record
length of the analyzed library. The record length of existing indexed files cannot
be modified. |
|
|
Minimum |
|
For variable length format indexed files, specify the minimum record length of a
data file. For fixed files, this Minimum is set to 0.
|
|
Note: The minimum record length will be set
automatically
with the Key Info, even if it not set in the Minimum field. |
|
|
Key Info |
|
Key Information is enabled when Indexed is selected for the File Organization. |
|
|
1. Click the Setup button. The Key Information
Setup dialog box is displayed. |
|
|
2. Specify the primary key and secondary keys. |
|
|
| Specifying Keys |
Offsets and lengths are in bytes. Offsets start from
1. For compound keys,
use a "/"(slash) to separate the
individual components. |
| Example) "1,10/11,5" |
| Specifying Duplicate Keys |
Check the Duplicate Key check box for any keys that can have
duplicates. |
|
|
|
3. When all the settings are completed, click OK. The Data File Setup dialog box
is displayed. |
|
|
Code Information |
|
Displays the code system of the data file. |
|
|
Comment |
|
Optional: You can enter a comment for the data file, up to 255 characters. |