You are on page 1of 6

//HZ5BNNC JOB (1B2ZKL,4CZ1),'PM1PX100

',
// CLASS=T,MSGCLASS=Y,NOTIFY=HZ5BNN
//JESWTR OUTPUT JESDS=ALL,DEST=LOCAL,DEFAULT=YES
/*JOBPARM S=ANY,RESAFF=D2T7
//S3A3BD2 EXEC PGM=DSNHPC,REGION=2M,
// PARM=('HOST(COB2),APOST,APOSTSQL',
// 'NOSOURCE')
//STEPLIB DD DSN=D2T7.DSNLOAD,
// DISP=(SHR,KEEP,KEEP)
//DBRMLIB DD DSN=HZ5BNN.PM1CH.DBRMLIB(PM1PX100),
// DISP=(SHR,KEEP,KEEP)
//SYSCIN DD DISP=(MOD,PASS,KEEP),
// UNIT=SYSDA,
// SPACE=(10796,(60,120))
//SYSPRINT DD DSN=HZ5BNN.COMP.TEMP,
// UNIT=SYSDA,
// DISP=(NEW,PASS,DELETE),
// SPACE=(10796,(60,120),RLSE),
// DCB=(RECFM=FBA,LRECL=133,BLKSIZE=10773,DSORG=PS)
//SYSTERM DD DSN=HZ5BNN.TEST.SYSTERM,
// UNIT=PERMDA,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(10796,(60,120),RLSE),
// DCB=(RECFM=FBA,LRECL=133,BLKSIZE=10773,DSORG=PS)
//SYSUT1 DD SPACE=(800,(500,500),,,ROUND),
// UNIT=SYSDA
//SYSUT2 DD SPACE=(800,(500,500),,,ROUND),
// UNIT=SYSDA
//SYSIN DD DSN=HZ5BNN.AUDIT.COBOL(PM1PX100),
// DISP=(SHR,KEEP,KEEP)
//*********************************************************************
//* MOD THE PRECOMPILER SYSPRINT LISTING TO THE COMPILE LISTING
//*********************************************************************
//S3C3BD2 EXEC PGM=IEBGENER
//SYSUT1 DD DSN=HZ5BNN.COMP.TEMP,
// DISP=(OLD,DELETE,DELETE)
//SYSUT2 DD DSN=HZ5BNN.COMP.LISTING,
// DISP=(NEW,KEEP,KEEP),
// UNIT=SYSDA,
// SPACE=(10796,(60,120),RLSE),
// DCB=(RECFM=FBA,LRECL=133,BLKSIZE=10773,DSORG=PS)
//SYSPRINT DD SYSOUT=*,OUTPUT=*.JESWTR
GENERATE MAXFLDS=2,MAXLITS=12
RECORD FIELD=(121,1,,1)
//SYSIN DD *
//*********************************************************************
//* MOD THE PRECOMPILER SYSTERM LISTING TO THE COMPILE LISTING
//*********************************************************************
//S3D3BD2 EXEC PGM=IEBGENER
//SYSUT1 DD DSN=HZ5BNN.TEST.SYSTERM,
// DISP=(OLD,CATLG,DELETE)
//SYSUT2 DD DSN=HZ5BNN.COMP.LISTING,
// DISP=(MOD,KEEP,KEEP),
// UNIT=SYSDA,
// SPACE=(10796,(60,120),RLSE),
// DCB=(RECFM=FBA,LRECL=133,BLKSIZE=10773,DSORG=PS)
//SYSPRINT DD SYSOUT=*,OUTPUT=*.JESWTR
GENERATE MAXFLDS=2,MAXLITS=12
RECORD FIELD=(120,1,,2)
//SYSIN DD *

S3A3BD2)) //SYSUT1 DD * //SYSUT2 DD * //********************************************************************* //* (4) ABEND TO PREVENT THIS JOB FROM CONTINUING //********************************************************************* //S3E9008 EXEC PGM=WAEP390. // DCB=(RECFM=FB.BLKSIZE=10773.(900.(60.PARM='Y'.TEST.LRECL=80.S3A3BD2.RLSE).TEST.GE.120).300)) //SYSUT4 DD UNIT=SYSDA.LINECOUNT(58).KEEP) //SYSLIN DD DSN=HZ5BNN.REGION=4M.(60.SPACE=(10796.SIZE(MAX).S3A3BD2)) //********************************************************************* //* COBOL II COMPILE //* //* MEMBER = PM1PX100 //* DS TYPE = CB2PTD2 //* //********************************************************************* //* //S4A3060 EXEC PGM=IGYCRCTL.SPACE=(10796. // COND=(EVEN.LINKLIB. // SPACE=(10796.RENT') //SYSPRINT DD DSN=HZ5BNN. // DISP=(MOD.300)) .120). // DCB=(RECFM=FBA.(4. // DISP=(NEW.300)) //SYSUT3 DD UNIT=SYSDA.SPACE=(10796. // PARM=('NODECK. // DISP=(SHR.MAP.//******************************************************************* //* IF PREVIOUS STEP FAILED THEN //* (1) SEND ERROR MESSAGE //* HZ5BNNC *** CHANGE CB2PTD2(PM1PX100) DB2-PRE-COMPILE FAILED //* TO USER(S) //* HZ5BNN //******************************************************************* //S3B9008 EXEC PGM=WAEPSEND. // COND=(EVEN. // COND=(EVEN.BLKSIZE=3120) //SYSUT1 DD UNIT=SYSDA.GE.KEEP.LISTING.LRECL=133.300)) //SYSUT2 DD UNIT=SYSDA. // 'XREF.SYSCIN.(4.COMP. // SPACE=(10796. // UNIT=SYSDA.PASS.(0.PARM='Y'.DELETE). // COND=(EVEN.KEEP).S3A3BD2)) //SYSUT1 DD * //SYSUT2 DD * //********************************************************************* //* (4) ABEND TO PREVENT THIS JOB FROM CONTINUING //********************************************************************* //S3E9008 EXEC PGM=WAEP390.EQ.KEEP.(300.EQ.RLSE).S3A3BD2)) //******************************************************************* //* IF PREVIOUS STEP FAILED THEN //* (1) SEND ERROR MESSAGE //* HZ5BNNC *** CHANGE CB2PTD2(PM1PX100) SAVE-DB2-DBRM FAILED //* TO USER(S) //* HZ5BNN //******************************************************************* //S3B9008 EXEC PGM=WAEPSEND. // ''.(300.OBJECT'.OFF.(0.SPACE=(10796.(300.DSORG=PS) //* //SYSIN DD DSN=*.

// DISP=(SHR.//SYSUT5 DD UNIT=SYSDA. // SPACE=(10796. // DISP=(NEW.LKB4T.OUTPUT=*.LRECL=80. // SPACE=(10796.BLKSIZE=10720) //WAERCP1 DD DUMMY.S4A3060)) //SYSUT1 DD * //SYSUT2 DD * //********************************************************************* //* (4) ABEND TO PREVENT THIS JOB FROM CONTINUING //********************************************************************* //S4E9008 EXEC PGM=WAEP390.TEST.300)) //SYSUT7 DD UNIT=SYSDA. // COND=(EVEN.CATLG.DELETE).JESWTR //SYSUDUMP DD SYSOUT=*. // PARM=('/CHCM.LRECL=80.KEEP) //******************************************************************* //* IF PREVIOUS STEP FAILED THEN //* (1) SEND ERROR MESSAGE //* HZ5BNNC *** CHANGE CB2PTD2(PM1PX100) COMPILE FAILED //* TO USER(S) //* HZ5BNN //******************************************************************* //S4B9008 EXEC PGM=WAEPSEND.GE.SPACE=(10796. // DCB=(RECFM=FB. // DCB=(RECFM=FB.2') //WAERIN1 DD DSN=*..(300.COMPILE.MACLIB.OUTPUT=*.S4A3060)) //********************************************************************* //* LINK EDIT //* SYSLMOD = HZ5BNN.CATLG. // DISP=(SHR.SYSCIN.PM1.TEST.(4.(4.CB2PTD2.BLKSIZE=10720) //WAERLB4 DD DSN=HZ5BNN.GE.DELETE).LKOPT. // UNIT=SYSDA.(300.TESTLIB //* LOAD MEMBER = PM1PX100 //* DS TYPE = CB2PTD2 //* SETSSI 100499FF //********************************************************************* //********************************************************************* //* HANDLE ALIAS CONTROL CARDS * //********************************************************************* //S5A3D03 EXEC PGM=WAEP330. // DCB=(RECFM=FB.PARM='Y'.(4. // DISP=(NEW.BLKSIZE=10720) //WAERCP2 DD DUMMY. // UNIT=SYSDA.300)) //SYSTERM DD SYSOUT=*.JESWTR //******************************************************************* //* IF PREVIOUS STEP FAILED THEN //* (1) SEND ERROR MESSAGE //* HZ5BNNC *** CHANGE CB2PTD2(PM1PX100) LINKCTL FAILED //* TO USER(S) //* HZ5BNN .SPACE=(10796.PASS) //WAERIN2 DD * //WAEROUT DD DSN=HZ5BNN.SPACE=(10796.BLKSIZE=10720) //WAERDEL DD * //SYSPRINT DD SYSOUT=*.OUTPUT=*. // DCB=(RECFM=FB.PM1PX100.LRECL=80.(4.KEEP.(300.4)).LRECL=80.JESWTR //SYSLIB DD DSN=SYS2.4)). // COND=(EVEN.S3A3BD2.300)) //SYSUT6 DD UNIT=SYSDA.

IBMLANG.//******************************************************************* //S5B9008 EXEC PGM=WAEPSEND.LRECL=121. // DISP=(SHR.DELETE.KEEP) //SYSUT1 DD UNIT=(SYSDA.LINKD.KEEP) // DD DSN=SYS3A.EQ. // UNIT=SYSDA.KEEP) // DD DSN=PCHCM.SYSLMOD)).LKED.TESTLIB.CALLIB.120)) //SYSLIN DD DSN=HZ5BNN.KEEP.PM1CH.TEST.(0.KEEP. // COND=(EVEN.PASS.120).IBM. // '') //SYSPRINT DD DSN=HZ5BNN.LINKLIB.KEEP.(0.LIST //* //* //********************************************************************* //S6A3250 EXEC PGM=IEWL.DELETE) // DD DDNAME=SYSIN //SYSIN DD DSN=HZ5BNN.S5A3D03)) //SYSUT1 DD * //SYSUT2 DD * //********************************************************************* //* (4) ABEND TO PREVENT THIS JOB FROM CONTINUING //********************************************************************* //S5E9008 EXEC PGM=WAEP390. // DISP=(SHR. // DISP=(SHR.(60. // DISP=(OLD.COMPILE.KEEP) // DD DSN=PCHCM.KEEP) // DD DSN=SYS2. // DISP=(SHR.REGION=4096K.COMPILE. // SPACE=(10796.PARM='Y'.(60.LKB4T. // PARM=('XREF.TEST.DSNLOAD.KEEP.DELETE.KEEP.TEST.KEEP.EQ.PRODLIB. // DISP=(SHR.KEEP.DELETE) //SYSTERM DD DUMMY //******************************************************************* //* IF PREVIOUS STEP FAILED THEN //* (1) SEND ERROR MESSAGE //* HZ5BNNC *** CHANGE CB2PTD2(PM1PX100) LINK FAILED //* TO USER(S) //* HZ5BNN . // DCB=(RECFM=FBA.S5A3D03)) //********************************************************************* //* LINKAGE EDITOR //* XREF.KEEP) // DD DSN=SYS1.SEP=(SYSLIN.CATLG.KEEP. // DISP=(OLD.KEEP) // DD DSN=D2T7.KEEP) //SYSLMOD DD DSN=HZ5BNN. // SPACE=(10796. // DISP=(SHR.HOLDLIB. // DISP=(SHR. // DISP=(.BLKSIZE=4114).LIST'.USRLIB.TESTLIB(PM1PX100).KEEP. // COND=(EVEN.DELETE) // DD DSN=HZ5BNN. // DISP=(SHR. // DISP=(OLD.KEEP) // DD DSN=SYS1.TEST.KEEP.RLSE) //SYSLIB DD DSN=HZ5BNN.PM1CH.CATLG).LKOPT.KEEP) // DD DSN=SYS2A. // DISP=(SHR.LINKLIB. // DISP=(SHR.LINKLIB.

// PARM=IKJEFT01.GE. // COND=(EVEN.RLSE) //SYSTSIN DD * DSN SYSTEM (D2T7) RETRY(2) BIND PLAN(PM1PX100) MEMBER(PM1PX100) LIB('HZ5BNN.(4.LT. // DISP=SHR //SYSPRINT DD SYSOUT=*. // COND=(EVEN.KEEP.DBRMLIB') - OWNER (CHCMM1G2) ISOLATION(CS) //* DELETE FROM CHCMM1PO.PARM='Y'.PM1CH.//******************************************************************* //S6B9008 EXEC PGM=WAEPSEND.120). //*SYSIN DD * //* ) //SYSPRINT DD SYSOUT=* //******************************************************************* //* IF PREVIOUS STEP FAILED THEN //* (1) SEND ERROR MESSAGE //* HZ5BNNC *** CHANGE CB2PTD2(PM1PX100) DB2-BIND FAILED //* TO USER(S) //* HZ5BNN //******************************************************************* //S8B9008 EXEC PGM=WAEPSEND.S6A3250).S4A3060)) //SYSUT1 DD * //SYSUT2 DD * //********************************************************************* //* (4) ABEND TO PREVENT THIS JOB FROM CONTINUING //********************************************************************* //S6E9008 EXEC PGM=WAEP390.(4.LISTING.(4. // DISP=(MOD.PARM='Y' //SYSUT1 DD * .KEEP). // COND=(EVEN.DSNLOAD.LT.S4A3060)) //* //* //* //********************************************************************* //* DB2 BIND * //********************************************************************* //S8A3BD3 EXEC PGM=WAAPNSWP.PLAN_TABLE WHERE APPLNAME='PM1PX100'.GE.OUTPUT=*.S8A3BD3)) //SYSUT1 DD * //SYSUT2 DD * //********************************************************************* //* (4) ABEND TO PREVENT THIS JOB FROM CONTINUING //********************************************************************* //S8E9008 EXEC PGM=WAEP390. //* SET CURRENT SQLID = 'CHCMM1G2'.(4.GE. // DYNAMNBR=100 //STEPLIB DD DSN=D2T7.COMP. // DISP=SHR // DD DSN=SYS1. // COND=(EVEN.S8A3BD3)) //******************************************************************* //* CHANGE SUCCESSFUL SEND MESSAGE //* HZ5BNNC .S6A3250).PARM='Y'.(4. // SPACE=(10796.JESWTR //SYSTSPRT DD DSN=HZ5BNN.(60.IBMLANG.CHANGE CB2PTD2(PM1PX100) SUCCESSFUL //* TO USER(S) //* HZ5BNN //******************************************************************* //S9A9009 EXEC PGM=WAEPSEND.LKED.(4.GE.

//SYSUT2 DD * MESSAGE  .