Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
CP3KEXTR Setup- SYSTEM COMPLETION CODE=013 REASON CODE=0000

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
mighty

New User


Joined: 21 May 2008
Posts: 24
Location: chennai

PostPosted: Tue Dec 24, 2019 10:08 pm    Post subject: CP3KEXTR Setup- SYSTEM COMPLETION CODE=013 REASON CODE=0000
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: 1675
Location: Tirupur

PostPosted: Tue Dec 24, 2019 11:52 pm    Post subject:
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

Senior Member


Joined: 14 Mar 2007
Posts: 10643
Location: italy

PostPosted: Tue Dec 24, 2019 11:53 pm    Post subject: Reply to: CP3KEXTR Setup- SYSTEM COMPLETION CODE=013 REASON CODE=0000
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: 1675
Location: Tirupur

PostPosted: Tue Dec 24, 2019 11:54 pm    Post subject:
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: 1675
Location: Tirupur

PostPosted: Wed Dec 25, 2019 12:01 am    Post subject:
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 User


Joined: 01 Sep 2015
Posts: 331
Location: Denmark

PostPosted: Wed Dec 25, 2019 4:02 pm    Post subject:
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: 24
Location: chennai

PostPosted: Thu Dec 26, 2019 9:36 am    Post subject: Reply to: CP3KEXTR Setup- SYSTEM COMPLETION CODE=013 REASON CODE=0000
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

Active Member


Joined: 29 Apr 2008
Posts: 667
Location: Maryland

PostPosted: Fri Dec 27, 2019 8:43 pm    Post subject: Re: Reply to: CP3KEXTR Setup- SYSTEM COMPLETION CODE=013 REASON CODE=0000
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Listing EVERY Dataset on a system DaveV All Other Mainframe Topics 4 Thu Jan 09, 2020 7:48 pm
No new posts How to compare Packed date in details... Floramq SYNCSORT 5 Sun Jan 05, 2020 7:40 am
No new posts Debug set up for COBOL module but ope... elixir1986 IBM Tools 1 Sun Dec 22, 2019 12:05 am
No new posts Abend S000 U0000 REASON=00000000 Uday Kumar Thota IMS DB/DC 3 Wed Oct 30, 2019 8:43 pm
No new posts COBOL -DB2 SQL code to have GROUP BY ... vinu78 DB2 21 Wed Oct 23, 2019 7:00 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us