Data Build Manual
User Exits
Customizing Data Build
099331 Tandem Computers Incorporated 6–9
The user exit section names in USERLIB are:
U-SPECIAL-NAMES just after the SPECIAL-NAMES paragraph statement
U-WS just before the end of working storage
U-PRE-PROCESS just before the first file is processed
U-POST-PROCESS immediately after the last file is processed
U-IN-filename for each file, immediately before processing each input
record. filename is the record name on the 01 level
from the corresponding Source Record Descriptions File.
U-IN-filename-fieldname
for each input field, immediately before processing
that field. filename is the record name on the 01
level and fieldname is the name of the field from the
corresponding Source Record Descriptions File.
U-OUT-filename-fieldname
for each input field, immediately after that field is
processed and moved to the output record. filename is
the record name on the 01 level and fieldname is the
name of the field from the corresponding Source Record
Descriptions File.
U-OUT-filename for each file, immediately after each record is
processed and before the record is output. filename is
the record name on the 01 level from the corresponding
Source Record Descriptions File.
U-USER-ROUTINES at the end of the COBOL85 conversion program
User exit code is copied inline with the COBOL85 conversion program.
A generated paragraph name precedes the processing for each field. A before-
processing field exit (U-IN-filename-fieldname) can include a GO TO statement to
bypass the standard processing for that field and continue execution at the start of a
subsequent paragraph name. To determine the generated paragraph names, either:
After the GENERATE (F3) step, look at the PROCLIB file which contains all field-
level processing and is later copied into the COBOL85 source program file,
ZZPROGM, or
After the CREATE (F4) step, look at the program listing at spooler location
#PROGM for ENSCRIBE or #PROGM1 for SQL-INSERT or SQL-LOAD.