Data Build Manual
Where to Go Next
Running the Sample Programs
099331 Tandem Computers Incorporated 5-25
2. Press any key to return to the Main Menu. At the bottom of the Main Menu, this
message is displayed:
BUILD Complete — CHECK DDL RESULTS ON SPOOLER.
3. To check the results on the spooler, press F12 to run Peruse.
4. Check the spooler locations #BLDDDL and #DDL. Make sure you check the last
page of #DDL for any errors or warnings. If you find errors or warnings, correct
them before going to the next step.
5. Exit Peruse and return to Data Build.
The DDL output will contain a record definition section for each input file. Data Build
has taken the source record descriptions for each file and redefined the format of the
data in a format that Data Build understands. This provides for storage of conversion
information in the DDL dictionary.
Generating Conversion
Procedures
Pressing F3 generates the conversion procedures for each DDL input file—DDLDEF01,
DDLDEF02, and DDLDEF03. During this step, Data Build creates, compiles, and
executes a COBOL85 program that creates the procedures for the COBOL85
conversion program.
To generate the conversion procedures, follow these steps:
1. Press F3 at the Main Menu.
On your terminal, you will see a message that says Data Build is generating the
COBOL85 procedures, starting the COBOL85 compile, and then executing the
compiled program. You will also see the starting and stopping time stamps. The
display information is simultaneously logged to the spooler. The program that is
compiled and executed during this step creates the procedures that are used in
step F4 to create the procedures for the COBOL85 conversion program.
2. Press any key to return to the Main Menu. At the bottom of the Main Menu, this
message is displayed:
GENERATE Complete — CHECK RESULTS ON SPOOLER.
3. Press F12 to run Peruse. The compiler output is on the spooler at locations
#GENPROC and #PROCS. If desired, you can print this compiled program and
review how the conversion procedures are generated.
4. Check #PROCS for compiler errors or warnings. The number of errors or
warnings is listed on the last page of the output. If you find errors, correct them
before continuing.
When Data Build generates the conversion procedures, those procedures are saved in
the file PROCLIB. PROCLIB, a library file, contains the procedures needed to convert
each input file. Those procedures are later assembled into the COBOL85 conversion
program by using COPY statements.