Running DEDB Unload

The unload program (FABCUR1) is run as a standard z/OS® batch job. You need to specify an EXEC statement and DD statements that define the input and output data sets in your JCL.

Procedure

  1. Estimate the region size required to run the function.
    Note: The actual region size depends on the number of subtasks or output files.
  2. Code the JCL for the unload (FABCUR1) job step.
  3. Specify the DD statements to define input data sets, output data sets, and how the function is run.
  4. Run the JCL.
    Tip: FPB allows you to specify site default parameters for DEDB Unload (FABCUR1). Macros and sample JCL streams are provided to generate the site default table.

Example

The following figure shows example JCL stream for FABCUR1.

Figure 1. Example JCL for DEDB unload
//STEP1    EXEC PGM=FABCUR1,REGION=rrrrM
//RMODLIB  DD DSN=IMSVS.SDFSRESL,DISP=SHR
//NEWACB   DD DSN=IMSVS.ACBLIB,DISP=SHR
//OLDACB   DD DSN=IMSVS.BKUP.ACBLIB,DISP=SHR
//SYSPRINT DD SYSOUT=A
//SYSIN    DD *,DCB=BLKSIZE=80
   ... control statements ...
//DURAUDIT DD SYSOUT=A
//areaxxx  DD DSN=VSAM.AREAxxx,DISP=OLD
//DURDBDFN DD DSN=HPFP.UR.DURDBDFN,
//            DISP=(NEW,CATLG,DELETE),
//            UNIT=SYSDA,SPACE=(TRK,(1,1))
//DURDzzzO DD DSN=HPFP.UR.FILEzzz.SEGDATA,
//            DISP=(NEW,CATLG,DELETE),UNIT=TAPE
//DURDzzzE DD DSN=HPFP.UR.FILEzzz.SEGDATAE,
//            DISP=(NEW,CATLG,DELETE),UNIT=TAPE
//DURSzzzO DD DSN=HPFP.UR.FILEzzz.SORTCARD,
//            DISP=(NEW,CATLG,DELETE),
//            UNIT=SYSDA,SPACE=(TRK,(1,1))
//*