IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

CP3KEXTR Setup- SYSTEM COMPLETION CODE=013 REASON CODE=0000


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mighty

New User


Joined: 21 May 2008
Posts: 26
Location: chennai

PostPosted: Tue Dec 24, 2019 10:08 pm
Reply with quote

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
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Tue Dec 24, 2019 11:52 pm
Reply with quote

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.                                                           
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Dec 24, 2019 11:53 pm
Reply with quote

what happened when You googled with SYSTEM COMPLETION CODE=013 REASON CODE=00000034

when I did that
the first hit was the the link to the manual page describing the reason for the error and the actions to take



if You want to be taken seriously You should avoid posting bullshit like ...

Quote:
Occupation: Makes deep fried memes
Mainframe Skills: Level 3 woke memelord
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Tue Dec 24, 2019 11:54 pm
Reply with quote

You can run an IFASMFDP on the dataset //SMFIN DD DISP=SHR,DSN=CUSTMER.SMF.DATASET

and check if it has data or the file is processable.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Wed Dec 25, 2019 12:01 am
Reply with quote

Quote:
if You want to be taken seriously You should avoid posting bullshit like ...

I don't care if someone takes me seriously or no. I am here to learn and possibly help. I do what makes me happy.
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Wed Dec 25, 2019 4:02 pm
Reply with quote

If you have a tape management system, i.e. RMM, then check the tape information like blksize, block count etc.
Back to top
View user's profile Send private message
mighty

New User


Joined: 21 May 2008
Posts: 26
Location: chennai

PostPosted: Thu Dec 26, 2019 9:36 am
Reply with quote

Hello everyone..Thank you so much for all your help.I fixed my JCl.

I have changed SMF input file instead of PDB file(SAS file).
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2011
Location: USA

PostPosted: Fri Dec 27, 2019 8:43 pm
Reply with quote

mighty wrote:
Hello everyone..Thank you so much for all your help.I fixed my JCl.

I have changed SMF input file instead of PDB file(SAS file).


Quote:
Hello everyone.. Thank you so much for all your help. I fixed my car.

I did use propane gas from a big tank instead of the one from a gas station (Exxon property).
36_11_6.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Reorg abended with REASON=X'00E40347' DB2 2
No new posts REASON 00D70014 in load utility DB2 6
Search our Forums:

Back to Top