Data Build Manual
Changing Output to an Enscribe Key-Sequenced File
Customizing Data Build
099331 Tandem Computers Incorporated 6–5
Changing Output to an
Enscribe Key-
Sequenced File
The Data Build default for Enscribe is a fixed-length entry sequenced output file. The
following describes how to change the output to a key-sequenced file.
1. After the BUILD DDL (F2) step, exit Data Build and modify the output record
definition in the DDL Record Description File.
Before ...
FILE IS ...... ENTRY-SEQUENCED.
After ...
FILE IS ...... KEY-SEQUENCED.
Identify the key fields by the KEYTAG clause or the Key Assignment syntax.
2. Run the following to update the DDL dictionary and create a new FUPDEFS file.
DDL /IN ZZDDLIN, OUT $S.#DDLNEW/
Check the spooler location #DDLNEW and correct any errors.
3. Purge any existing output files.
4. Modify the FUPDEFS file.
FUPDEFS includes FUP commands to create the input and output files. If any files
already exist, errors are detected and FUP stops. To allow FUP to continue, add
the following at the beginning of FUPDEFS. Set n to the number of files that
already exist and for which Create errors are expected.
ALLOW
n
SEVERE ERRORS
5. Run the following command to create the output files.
FUP /IN FUPDEFS, OUT $S.#FUPDEF/
Check spooler location #FUPDEF and correct any errors in creating the output
files. The errors regarding already existing input files can be ignored.
6. Complete the GENERATE ( F3) and CREATE (F4) steps and then use an editor to
make changes to ZZPROGM.
Before ...
SELECT F-OUT-DEMO01
RESERVE 2 AREAS
ASSIGN TO "=DATAOT01".
After ...
SELECT F-OUT-DEMO01
RESERVE 2 AREAS
ASSIGN TO "=DATAOT01"
ORGANIZATION IS INDEXED