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
 

 

ABEND S013 REASON CODE=0000004C

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Mathiv Anan

Active User


Joined: 23 Jul 2008
Posts: 106
Location: USA

PostPosted: Fri Dec 05, 2008 6:49 pm    Post subject: ABEND S013 REASON CODE=0000004C
Reply with quote

I am executing an assembler in jcl. But it abends with return code S013. The reason of the abend in abend-aid says,

'SEQ data set-DCB BUFL smaller than BLKSIZE' for the input DSN.

since it is input file i am confused about this.

Could you help me on this.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Fri Dec 05, 2008 7:05 pm    Post subject:
Reply with quote

So what's the file look like and what's the assembler look like for the file and what's the JCL statement for the file look like?
Back to top
View user's profile Send private message
Mathiv Anan

Active User


Joined: 23 Jul 2008
Posts: 106
Location: USA

PostPosted: Fri Dec 05, 2008 7:24 pm    Post subject:
Reply with quote

It is a PS file of 200 bytes FB.

The assember just edits/validates the file for correctness.

In jcl, the file is just used as an input.

example:

Code:
//DDNAME    DD DSN=TSO.SAMPLE.PSFILE,
//             DISP=OLD
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Fri Dec 05, 2008 7:33 pm    Post subject:
Reply with quote

From your earlier post,
Quote:
'SEQ data set-DCB BUFL smaller than BLKSIZE' for the input DSN.
so what is the file DCB (use ISPF 3.4 and put an I by the file to get the full details), and what does the Assembler DCB for this file look like -- by which I mean post the Assembler code for the file, don't tell us what it looks like? Without vital details like this, we're not going to be able to provide any assistance.
Back to top
View user's profile Send private message
Mathiv Anan

Active User


Joined: 23 Jul 2008
Posts: 106
Location: USA

PostPosted: Fri Dec 05, 2008 10:05 pm    Post subject:
Reply with quote

ok.

File DCB,

Device type : 3390
DSORG: PS
RECFM: FB
LRECL: 200
BLKSIZE: 27000

In Assembler, since it is an input file, there is no DCB provided but there is DCB provided for output file in assembler.

The input file 'INPUT' is defined in the code as below.

Code:

FID007   DC    CL8'INPUT  '        A79585     


Please let me know if you need any additional information
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Fri Dec 05, 2008 10:25 pm    Post subject:
Reply with quote

OK, let's try this again ... show me the OPEN statement for the input file in Assembler. This statement should say something like
Code:
         OPEN (DDNAME,(INPUT))
. Also post the line(s) of Assembler that has the label of DDNAME -- which should look something like
Code:
DDNAME   DCB ...
. I want to compare what you posted for the file against what the Assembler program thinks the file looks like.
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 -> JCL & VSAM 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 Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm


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