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
 
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 How to display offset thru cobol prog... tvinodkumar7 CICS 0 Sun Apr 22, 2018 8:42 pm
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts Mantis Program Compiled? luis carlos CICS 2 Sat Apr 07, 2018 8:59 pm
No new posts Undefined Report Program socker_dad COBOL Programming 2 Fri Mar 30, 2018 1:45 am

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