Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Program Abended with S013

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

New User


Joined: 04 Jul 2006
Posts: 1

PostPosted: Tue Jul 11, 2006 12:31 pm    Post subject: Program Abended with S013
Reply with quote

I wrote new program then I create the bind package then when I submit the job to run this prog it is abending with S013. Can you help me out from this abend.
The JCL:

//OTGADISB JOB (3092105290,CD05,,,RBENSON),RBENSON,CLASS=X
/*ROUTE PRINT STATVIEW
//***********************************************************
//DSNTEP2 EXEC DB2TEST
//SYSTSIN DD *
DSN
RUN PROGRAM(DSNTEP2) PLAN(DSNTEP2)
END
/*
//SYSIN DD *
SET CURRENT SQLID = 'D2TCGAU';
DELETE FROM PLAN_TABLE WHERE PROGNAME = 'WC000300';
/*
//***********************************************************
//BIND EXEC DB2TEST
//SYSTSIN DD DSN=CDCT.OPDB2LIB.PACKLIB(WC000300),DISP=SHR
//*

spool information:


1 DSNTEP2 DB2 00
2 BIND DB2 *S013
Back to top
View user's profile Send private message

cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Tue Jul 11, 2006 6:01 pm    Post subject: Re: Abend S013
Reply with quote

An S013 usually involve a jobs inability to locate a member of a PDS.

Make sure this dataset and member are correctly spelled:
CDCT.OPDB2LIB.PACKLIB(WC000300)
Back to top
View user's profile Send private message
nhgol

New User


Joined: 10 Oct 2006
Posts: 4

PostPosted: Tue Oct 10, 2006 2:08 am    Post subject: Re: Abend S013
Reply with quote

An S013 is accompanied by a message IEC141-I that gives you a return code. If you look up that message, it will list the various return codes and will tell you why you couldn't open the file. Maybe BLKSZ wasn't a multiple of LRECL and they were fixed-length records, etc.
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 IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us