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
 
Elucidate S001-3 in a way S001-1 through S001-4

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: Elucidate S001-3 in a way S001-1 through S001-4
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    Post subject:
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

Site Director


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

PostPosted: Fri Apr 04, 2008 9:10 pm    Post subject:
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    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 ABEND CODE: S001 REASON CODE: 0001... Thirumurgann CLIST & REXX 8 Fri Jun 08, 2012 12:59 pm
No new posts S001 abend during sort dick scherrer JCL & VSAM 3 Wed Sep 17, 2008 4:02 am
No new posts Job Abended with S001-05 Binaya ABENDS & Debugging 5 Wed Jan 30, 2008 11:52 am
No new posts S001 abend in reading/writing a file ... rohitcognizant PL/I & Assembler 4 Thu Jun 14, 2007 2:42 pm
No new posts Assistance required to resolve S001 A... Gaurav_193 COBOL Programming 7 Wed Mar 14, 2007 9:22 pm

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