Data Build Manual

File and DEFINE Names
Understanding Data Build Files
2–2 099331 Tandem Computers Incorporated
With the exception of IXF disk input files, the actual input and output file names can
be different from the DEFINE names. This can be very confusing. In general, it is
better to make the actual file name the same as the DEFINE name.
File Naming Conventions You use the Data Build Conversion Environment (F1) screen to specify a prefix name
for the input files, Source Record Description files, DDL files, and output files. This
prefix is from 1 to 6 characters long; for each fileset, Data Build appends a
consecutively increasing 2-digit number from 01 to 99 for each file.
The Data Build Conversion Environment (F1) screen looks like this:
C O N V E R S I O N E N V I R O N M E N T
==============================================================================
CONVERSION Subvolume: $DATA.DBSAMPLS
SOURCE Record Descriptions Files: RDE
DDL Record Descriptions Files: DD
DATA ( IN: X
Files ( OUT: CNVRT
( OPTIONS: 1 SQL-LOAD 2 SORTED
( 3 4
( 5 6
( TACL: $SYSTEM.SYS00.TACL
( COBOL: $SYSTEM.SYSTEM.COBOL85
Location ( DDL: $SYSTEM.SYSTEM.DDL
Of System ( EDIT: $SYSTEM.SYSTEM.EDIT
Software ( PERUSE: $SYSTEM.SYSTEM.PERUSE
( DATABUILD: $DATA.ZDATABLD
==============================================================================
F5 - Print F14 - Update SF16 - RETURN
Record read OK Approx key REC-KEY
In the environment configured above, the user-supplied prefix names are the
following:
The Source Record Descriptions file prefix is RDE.
The DDL file prefix is DD.
The input file prefix is X.
The output file prefix is CNVRT.
The following three examples show the file naming for each of the three conversion
environments: Non-IXF input to Enscribe, Non-IXF input to NonStop SQL, and IXF
input to NonStop SQL. They build on each other so if you are interested in IXF input
to NonStop SQL, you should read all three examples.
Note that the DEFINE names (user-created in the DEFINES and PATHCNFG files) are
used in the RUN (F5) step, which runs the conversion program. For IXF input data,
the DEFINES file is also used in the BUILD DDL (F2) step.