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

ABEND S013 REASON CODE=0000004C


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Dec 05, 2008 7:05 pm
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Dec 05, 2008 7:33 pm
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Dec 05, 2008 10:25 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Reorg abended with REASON=X'00E40347' DB2 2
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts REASON 00D70014 in load utility DB2 6
Search our Forums:

Back to Top