Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups 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
Author Message
main_ani_frame

New User


Joined: 10 Aug 2007
Posts: 7
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
References
PostPosted: Fri Apr 04, 2008 2:45 pm    Post subject: Re: Elucidate S001-3 in a way S001-1 through S001-4 Reply with quote

ashimer

Senior Member


Joined: 13 Feb 2004
Posts: 309
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

Global Moderator


Joined: 23 Nov 2006
Posts: 7471
Location: 221 B Baker St

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
Splitted: Fri Apr 04, 2008 9:13 pm by William Thompson From Topic Assistance required to resolve S001 ABEND (Mainframe COBOL)
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1