Data Build Manual

Changing Output to an Enscribe Key-Sequenced File
Customizing Data Build
6–6 099331 Tandem Computers Incorporated
ACCESS MODE IS RANDOM
RECORD KEY IS DEM1-PHONE-X OF OUT-DEMO01.
7. You can change the sequential WRITE statement in PROCLIB to include an
INVALID KEY phrase.
Before ...
WRITE OUT-DEMO01.
After ...
WRITE OUT-DEMO01 INVALID KEY
DISPLAY "INVALID KEY = " DEM1-PHONE-X OF OUT-DEMO01
GO TO END-JOB.
8. Exit Data Build, compile the modified program as follows and check the spooler
for errors. The program cannot be compiled using the CREATE (F4) step in Data
Build because the user program modifications will be lost.
COBOL85/IN ZZPROGM,OUT $S.#PROGM/ZZPROGMX
9. Enter OBEY XRUN to restart Data Build and proceed with the RUN (F5) step as
usual.