My JCL abended with SYSTEM COMPLETION CODE=013 REASON CODE=00000034 . Please suggest on how to fix this.
JCL:
Code:
//S1 EXEC PGM=IEFBR14
//DD1 DD DSN=CUSTMER.CPSTOOLS.SMFDAT,DISP=(MOD,DELETE),
// SPACE=(TRK,(1)),UNIT=SYSDA
//DD2 DD DSN=CUSTMER.CPSTOOLS.RMFDAT,DISP=(MOD,DELETE),
// SPACE=(TRK,(1)),UNIT=SYSDA
//*DD3 DD DSN=CUSTMER.CPSTOOLS.SMFTRS,DISP=(MOD,DELETE),
//* SPACE=(TRK,(1)),UNIT=SYSDA
//EXTR EXEC PGM=LOADER
//* PRINT DATA SET FOR MESSAGES FROM YOUR RUN
//PRINT001 DD SYSOUT=*
//* INPUT SMF DATASET - REQUIRED TYPE 70 OPTIONAL 74, 113
//SMFIN DD DISP=SHR,DSN=CUSTMER.SMF.DATASET
//* DATASET FOR OUTPUT FILE - REQUIRED
//EDF001 DD DSN=CUSTMER.CPSTOOLS.RMFDAT,DISP=(,CATLG),
// UNIT=SYSDA,SPACE=(CYL,(5,1),RLSE),LRECL=80,RECFM=FB
//* TYPE 30 EXTRACT DATA
//DATA001 DD DSN=CUSTMER.CPSTOOLS.SMFDAT,DISP=(,CATLG),
// UNIT=SYSDA,SPACE=(CYL,(50,50),RLSE)
//* PGNMAP DATA
//PGN001 DD DSN=CUSTMER.CPSTOOLS.JCL(PGNMAP),DISP=SHR
//* DDS FOR OPTIONAL INTERNAL SORT OF SMF RECORDS
//*SORTMSGS DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(200))
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(200))
//SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(200))
//SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(200))
//SORTWK04 DD UNIT=SYSDA,SPACE=(CYL,(200))
//* # OPTIONAL USER DUMP DATASET
//*SYSUDUMP DD SYSOUT=*
//SYSIN001 DD *
ENT='CUSTOMER DATA' YOUR COMPANY NAME (REQUIRED)
SYSID=SYSD SMF SYSID (REQUIRED)
DURATION=01:00 HH:MM DURATION FOR SUMMARY SAMPLES. DURATION
* MUST BE A MULTIPLE OF THE RMF INTERVAL
PGN=GOAL CREATE A PGNMAP AND GATHER WORKLOAD DATA
SORT=YES IF SMF RECORDS ARE ALREADY IN SORTED ORDER
* OMITTING SORT=YES WILL SPEED THINGS UP.
*TIME=(00:00-24:00) DEFAULT IS TO COLLECT FOR ALL DATA IN INPUT
*DATE=(07/16/10) FILE. USE THESE PARAMETERS TO REDUCE THE
* PERIOD OF STUDY.
/*
//* MESSAGES FROM THE MVS LOADER
//SYSLOUT DD SYSOUT=*
//* THE OBJECT MODULE OF THE PROGRAM
//SYSLIN DD DISP=SHR,DSN=PATTRSN.CPSTOOLS.JCL(ZOBJEXTR)
Abended message:
Code:
J E S 2 J O B L O G -- S Y S T E M T S Y S -- N O
20.44.58 JOB08429 ---- TUESDAY, 24 DEC 2019 ----
20.44.58 JOB08429 IRR010I USERID xxx IS ASSIGNED TO THIS JOB.
20.44.58 JOB08429 ICH70001I xxxx LAST ACCESS AT 20:42:54 ON TUESDAY, DECEMB
20.44.58 JOB08429 $HASP373 xxxx STARTED - INIT 259 - CLASS P - SYS
20.44.58 JOB08429 IEF403I xxxx - STARTED - TIME=20.44.58
20.44.59 JOB08429 GSDMV20I -JOBNAME STEPNAME PROCSTEP CCODE ELAPSED-TIME CPU-
20.44.59 JOB08429 GSDMV21I -xxxxx S1 0 00:00:00 0
20.44.59 JOB08429 IEF233A M 194F,D76342,,xxxxx,EXTR, 490
490 SMF input file name
20.44.59 JOB08429 IEC141I 013-34,IGG0191I,XXXX
,EXTR,SMFIN,194F,D76342, 491
491 SMF input file
20.44.59 JOB08429 IEA995I SYMPTOM DUMP OUTPUT 492
492 SYSTEM COMPLETION CODE=013 REASON CODE=00000034
492 TIME=20.44.59 SEQ=59442 CPU=0000 ASID=01E2
492 PSW AT TIME OF ERROR 075C1000 80DDD568 ILC 2 INTC 0D
Joined: 28 Aug 2007 Posts: 1744 Location: Tirupur, India
Check the dataset - //SMFIN DD DISP=SHR,DSN=CUSTMER.SMF.DATASET
Is it empty? Does it have the right file attributes?
RC of 34 is,
Code:
34 The system detected one of these conditions:
o The following combination was specified: QSAM, MACRF=GD or PD, and
a RECFM value that is not VS, VBS, DS, or DBS.
o An OPEN macro instruction was issued for a data set with BLKSIZE
and BUFL equal to 0. The system determined that it had to obtain
buffers but was unable to do so.
o RECFM was specified with both the A and M attributes.
o The following combination was specified: QSAM, LRECL=0, and a RECFM
value that is not V or VB.
o The following combination was specified: RECFM=V or VB and LRECL
greater than the quantity BLKSIZE minus 4.
o The following combination was specified: QSAM and BLKSIZE=0. No
nonzero BLKSIZE value was available from any source and the system
could not determine one. Coding BLKSIZE=0 in the JCL never has an
effect except when overriding a cataloged procedure variable.
o The following combination was specified: RECFM not variable or
undefined and LRECL greater than BLKSIZE.
o The following combination was specified: BFTEK=A, RECFM=VBS, and
LRECL=0.