Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What is S013 and the solution for it

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

New User


Joined: 27 Mar 2006
Posts: 16

PostPosted: Thu Aug 10, 2006 12:30 pm    Post subject: What is S013 and the solution for it
Reply with quote

hi
Please tell me what is S013 and the solution for it

Thanks
Back to top
View user's profile Send private message

muthuvel

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Chennai

PostPosted: Thu Aug 10, 2006 5:04 pm    Post subject: Re: What is S013 and the solution for it
Reply with quote

When i refered thru the mainframe manual i got the following detail.


S013 MVS ABEND - SYSTEM 013.

Explanation: When running SQL PA in batch mode it is possible to encounter this error if the input data set exists, but the member name
does not. For example, a valid DBRM library was used for ANLIN, but the member name specified did not exist. This will also result in JOB NOT RUN - JCL ERROR message. Under MVS, the member name is not checked until run time, hence the S013 abend.

User Response: Check the spelling on the appropriate DD statement and rerun.

I hope this will be useful.

Regards,
Muthuvel.
Back to top
View user's profile Send private message
srkumar422

New User


Joined: 27 Mar 2006
Posts: 16

PostPosted: Thu Aug 10, 2006 6:09 pm    Post subject: Re: What is S013 and the solution for it
Reply with quote

Thanks Muttu
Back to top
View user's profile Send private message
neeraj.cobol

New User


Joined: 18 Aug 2006
Posts: 2
Location: Bangalore

PostPosted: Tue Aug 22, 2006 11:33 am    Post subject: What is S013 and the solution for it
Reply with quote

Possible causes for this abend include: 1. DCB parameters conflict, no BLKSIZE or not valid multiple of LRECL 2. Merge - SORTIN01 does not contain the maximum blocksize 3. JCL -- tried to create a PDS without allocating directory blocks 4. Missing or misplaced SYSIN DD card 5. PDS member not found when coded in JCL
Back to top
View user's profile Send private message
srkumar422

New User


Joined: 27 Mar 2006
Posts: 16

PostPosted: Mon Aug 28, 2006 6:27 pm    Post subject: Re: What is S013 and the solution for it
Reply with quote

i think the 3rd reason is correct i.e. while creating the dataset JCL is not giving proper blksize. i checkd the blocksize and it is '?'. May i know how to avoid it.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Mon Aug 28, 2006 6:31 pm    Post subject: Re: What is S013 and the solution for it
Reply with quote

What JCL did you use to create it?
Back to top
View user's profile Send private message
srkumar422

New User


Joined: 27 Mar 2006
Posts: 16

PostPosted: Mon Aug 28, 2006 6:48 pm    Post subject:
Reply with quote

Code:

//STEP02    EXEC PGM=BTQMAIN,COND=(0,NE)                       
//STEPLIB   DD DSN=SUPT.TTU.TDP0.APPLOAD,DISP=SHR             
//          DD DSN=SUPT.TTU.TDP0.TRLOAD,DISP=SHR               
//SYSTERM   DD SYSOUT=*                                       
//SYSPRINT  DD SYSOUT=*                                       
//SYSUDUMP  DD SYSOUT=*                                       
//PM40SQL   DD DSN=Rg1876.ASKME.ST40.DATA,                     
//            DISP=(NEW,CATLG,DELETE),                         
//            UNIT=SYSDA,                                     
//            SPACE=(CYL,(200,100),RLSE),                     
//            DCB=(RECFM=FB,LRECL=280)                         
//SYSIN     DD DSN=Rg1876.TERADATA.CNTLCARD(DWLOG27D),DISP=SHR
//          DD DSN=Rg1876.SQL.FOCPDS(LQ833KS1),DISP=SHR       
//          DD DSN=Rg1876.TERADATA.CNTLCARD(BTEQQUIT),DISP=SHR


this is the jcl
Back to top
View user's profile Send private message
cristalclearwaters

New User


Joined: 21 Aug 2006
Posts: 13

PostPosted: Mon Aug 28, 2006 9:01 pm    Post subject: Re: What is S013 and the solution for it
Reply with quote

You should get a return code along with the S013
013-rc
That will be more helpful in narrowing down the cause of the abend.
Do you know the return code?
Back to top
View user's profile Send private message
shefu_sarandha

New User


Joined: 30 Aug 2006
Posts: 5
Location: newark, de

PostPosted: Fri Sep 01, 2006 7:53 pm    Post subject:
Reply with quote

Please include the following line in your JCL
DCB=(RECFM=FB,LRECL=280, BLKSIZE=2800) ;
instead of the line in your jcl.
Back to top
View user's profile Send private message
v.nagaraj

New User


Joined: 25 Feb 2006
Posts: 5

PostPosted: Tue Sep 05, 2006 1:23 pm    Post subject: Re: What is S013 and the solution for it
Reply with quote

icon_lol.gif HI suman kumar,

This is beause of wrong control information in creating ur dataset and also it relates to file attribute mismatch,u can check the properties again and resubmit the JOB once.Try this.
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
This topic is locked: you cannot edit posts or make replies. Need help in design the solution ritnihi PL/I & Assembler 1 Tue Dec 22, 2015 1:48 pm
No new posts Please give me solution(OUTPUT ) for ... sivareddy123 COBOL Programming 4 Mon Feb 02, 2015 1:33 pm
No new posts Delimited File -Unable to Find solution Dimpy Udhani JCL & VSAM 7 Mon Nov 24, 2014 11:40 am
No new posts MQ Solution Designer Certification Appu IBM Tools 0 Mon Jul 07, 2014 11:25 am
No new posts ICETOOL/Joinkeys Solution for Group B... ksouren007 DFSORT/ICETOOL 3 Wed Mar 05, 2014 4:04 pm

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