Previous Topic: How to UseNext Topic: Sample Report: MASSADD


Example JCL

The following shows the command to add records to table TEL in database 400. The input data set is TELLER. In this example, the job defaults to Multi-User Facility mode.

Note: Use the following as a guide to prepare your JCL. The JCL statements are for example only. Lowercase letters in a statement indicate a value you must supply. Code all statements to your site and installation standards.

 * $$ JOB ...           See the previous note and JCL Requirements.
 * $$ LST ...
 // JOB name
 // EXEC PROC=procname  Whether you use PROCs or LIBDEFs, see JCL Requirements.
 // ASSGN SYS005,TAPE
 // PAUSE MOUNT TAPE
 // TLBL TELLER,'input'                            Input data set
 // EXEC DBUTLTY,SIZE=750K
          MASSADD   DBID=400,DEVICE=TAPE,DTFNAME=TELLER,TABLE=TEL
 /*
 /&
 * $$ EOJ