Joined: 10 Aug 2007 Posts: 6 Location: Kolkata, India
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
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.
Joined: 13 Feb 2004 Posts: 551 Location: Bangalore
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.