Data Build Manual

DDL Input and Output (F2)
Running Data Build
4–12 099331 Tandem Computers Incorporated
To run ZZDDLIN manually, do the following:
1. Exit from Data Build (after running the F2 step).
2. Edit and modify the DDL Record Descriptions file.
3. Enter the following at the TACL prompt:
DDL /IN
zzddlin
, OUT $
s.#zzddl
/
4. Check spooler location #ZZDDL and correct any errors.
5. Run Data Build by entering the following at the TACL prompt:
OBEY XRUN
Building the DDL Records Table 4-3 shows how Data Build uses the Source Record Descriptions file in the BUILD
DDL (F2) step to build the input DDL records and the output DDL records.
The first column shows how the data type is described in the Source Record
Descriptions file. From the source record descriptions, Data Build creates the input for
DDL, as shown in the second and third columns.
Table 4-3. Field Conversion to DDL
Source Record
Descriptions File
DDL Record
Descriptions File
Input Record
DDL Record
Descriptions File
Output Record
PIC X(4) PIC X(4) HEADING “CHAR” PIC X(4)
PIC S9(5) without COMP PIC S9(5) HEADING “CHAR” PIC S9(5)
PIC 9(7) COMP-3 PIC X(4) HEADING “PTOB” PIC 9(7) COMP
PIC S9(10) COMP-3 PIC X(6) HEADING “PTOB” PIC S9(10)
PIC 9(4) COMP PIC X(2) HEADING “COMP” PIC 9(4) COMP
PIC 9(8) COMP PIC X(4) HEADING “COMP” PIC 9(8) COMP
PIC X(10) DATE
yyyy-mm-dd
PIC X(10) HEADING “CHARDATE” PIC S9(18) COMP
PIC X(8) TIME
hh.mm.ss
PIC X(8) HEADING “CHARTIME” PIC S9(18) COMP
PIC X(26) TIMESTAMP
yyyy-mm-dd-hh.mm.ss.nnnnnn
PIC X(26) HEADING “CHARDATETIME” PIC S9(18) COMP
Creating Output Files for
Enscribe Conversion
For Enscribe conversions, you might need to exit Data Build after the BUILD (F2) step
for the following reasons:
1. Your output files have not been created and your input files already exist.
2. You want one or more of the output files to be key-sequenced.
3. You want one or more of the output files to use an alternate index.
For key-sequenced output, see Section 6, “Customizing Data Build.”