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

Elucidate S001-3 in a way S001-1 through S001-4


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
main_ani_frame

New User


Joined: 10 Aug 2007
Posts: 6
Location: Kolkata, India

PostPosted: Fri Apr 04, 2008 2:45 pm
Reply with quote

Shobana Bhaskar wrote:
Yes, Please mention specifically.. Anyhow see any of the below can be the reason.
There can be more than one reason for S001 but all related to dataset length/blksize
S001-0 THE LRECL AND BLKSIZE SPECIFIED IN DCB DIFFERS FROM LRECL AND BLKSIZE INDICATED IN DATA SET.
S001-1 RECFM=U WAS SPECIFIED, BUT NO LRECL WAS SPECIFIED OR -
A WRITE WAS ATTEMPTED TO A DATA SET THAT WAS OPENED FOR INPUT OR -
READ WAS ATTEMPTED TO A DATA SET THAT WAS OPENED FOR OUTPUT OR -
INCORRECT CONCATENATION (I.E. LARGEST BLKSIZE NOT FIRST)
S001-4 THE MOST PROBABLY CAUSES OF A S001-4 ABEND ARE:
I/O ERROR BECAUSE OF DEFECTIVE VOLUME OR DEVICE OR -
AN EMPTY DATA SET OR -
OUT OF SPACE




Hi,

Could someone please elucidate S001-3 in a way S001-1 through S001-4 have been explained. Shall be a great help.

I am having this problem with respect to a tape file which is being used as input. Please help me in this regard.

Thanks,
Animall
Back to top
View user's profile Send private message
ashimer

Active Member


Joined: 13 Feb 2004
Posts: 551
Location: Bangalore

PostPosted: Fri Apr 04, 2008 4:20 pm
Reply with quote

for 3 the defintion is as follows

If the return code is 3, for QSAM, an unacceptable error occurred
because of one of the following:

- The caller returned from the SYNAD.

- The caller did not provide a SYNAD.

Look at the input/output block (IOB) to determine why the error was
unacceptable to QSAM.

The SYNAD routine collects information such as jobname, stepname, unit address, device type, ddname, operation, error description, and access method. The SYNADAF macro is used to extract this information.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Apr 04, 2008 9:10 pm
Reply with quote

Hello,

Please post the info from the jes output that has the message(s) number(s) and text presented by the abend.

Also, please post the jcl from the abended step.
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 ABEND CODE: S001 REASON CODE: 0001... CLIST & REXX 8
No new posts S001 abend during sort JCL & VSAM 3
No new posts Job Abended with S001-05 ABENDS & Debugging 5
No new posts S001 abend in reading/writing a file ... PL/I & Assembler 4
No new posts Assistance required to resolve S001 A... COBOL Programming 7
Search our Forums:

Back to Top