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

What is S013 and the solution for it


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
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
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: Canada

PostPosted: Thu Aug 10, 2006 5:04 pm
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
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
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
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

Global Moderator


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

PostPosted: Mon Aug 28, 2006 6:31 pm
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts SDSF like solution in EJES (store com... All Other Mainframe Topics 4
No new posts A very ingenious mainframe automation... CA Products 1
No new posts Typing the CENT sign ยข on mainframe,... All Other Mainframe Topics 2
No new posts Any single step solution possible? SYNCSORT 7
This topic is locked: you cannot edit posts or make replies. CICS availability solution CICS 17
Search our Forums:

Back to Top