JCL for the initial load program

The JCL is an example of the JCL that you use to initially load your database.

The //DFSURWF1 DD statement is present only if a logical relationship or secondary index exists.

JCL used to initially load a database

//          EXEC  PGM=DFSRRC00,PARM='DLI,your initial load program name,
//                your PSB name'
//DFSRESLB    DD  references an authorized library that contains IMS
                  SVC modules
//STEPLIB     DD  references library that contains your load program
//            DD  DSN=IMS.SDFSRESL
//IMS         DD  DSN=IMS.PSBLIB,DISP=SHR
//            DD  DSN=IMS.DBDLIB,DISP=SHR
//DFSURWF1    DD  DCB=(RECFM=VB,LRECL=300,
//                BLKSIZE=(you must specify),
//                DSN=WF1,DISP=(MOD,PASS)
//DBNAME      DD  references the database data set to be
                  initially loaded or referenced by
                  the initial load program
//INPUT       DD  input to your initial load program
//DFSVSAMP    DD  input for VSAM and OSAM buffers and options
⋮
//*