Page 1 of 2

S001-03 System Abend Code - FILEAID Batch ABEND

PostPosted: Mon Mar 07, 2011 2:51 pm
by Quasar
Hello -

We recently had a job-abend in our Production Environment. The job runs FILEAID in Batch, to Filter out Records, based on the //SYSIN Control Card. Here's the step.

//FILEVIS  EXEC PGM=FILEAID                                 
//DD01     DD DSN=CP81.CPARS.GRAP222.DATA,DISP=SHR         
//DD01O    DD DSN=CP81.CPARS.GRAP222.DATA,DISP=SHR         
//SYSIN    DD DSN=CP81.CPARS.PARMFILE.DATA(SELVIST),DISP=SHR


FILEAID Abended with a Return-Code 12. The Job Log, showed the following IEC020I messages.

IEC020I 001-3,CPARS22A,FILEVIS,DD01,3189,SMA3T2,
IEC020I CP81.CPARS.GRAP222.DATA                 
IEC020I NON-ACCEPTABLE ERROR


When I looked up the System Abend Code S001, Return Code 03, in the IBM MVS Messages Manual, I found the following explanation :

"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. "

When I searched for SYNAD, I found that, SYNAD is an Error-Analysis routine. You must supply it.

[b]File-Aid Messages[/b]
        * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *     
        * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *     
        * *                                                           * *     
        * *    AN ABEND HAS OCCURRED:  S001   U0000                   * *     
        * *                                                           * *     
        * *    PSW:  078D1000 00DD2644   RELEASE:  9.2.0   02/07/2010 * *     
        * *                                                           * *     
        * *    LOCATION: IGG019AQ+000000BA EP=00DD2588                * *     
        * *                                                           * *     
        * *    R0 000068D0  R1 000DABC0  R2 80065E2C  R3 00000000     * *     
        * *                                                           * *     
        * *    R4 00007B38  R5 80006FFE  R6 000DABC0  R7 00000000     * *     
        * *                                                           * *     
        * *    R8 000B0900  R9 00066DF0  RA 00035800  RB 000716D2     * *     
        * *                                                           * *     
        * *    RC 00036800  RD 0003A310  RE 00DD2636  RF 0004DEF0     * *     
        * *                                                           * *     
        * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *     
        * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *     
QSAM GET I/O ERROR "NO RECORD FOUND" ON DD01-SMA3T2 DS BLOCK CCHHR=0047000203!
  BLKS-SKIPPED=25,RECORDS-READ=2065,COPIED=2065       
2,065 RECORDS WRITTEN TO DD01O-CP81.CPARS.GRAP222.DATA
                           VOL=SMA3T2                 

After trying to re-run this step in Production, it ran fine, and completed Successfully.

My Understanding
My understanding is File-Aid in turn CALLS Qsam Routines - like IGG019* to access the records from the QSAM File, Blocking and Unblocking. Due to an error, some Blocks were skipped by QSAM while fetching the data, into its Buffers.

My Questions
1. How do I access the QSAM Input Output Block, as suggested in the IBM Manual?
2. How do I interprete the PSW, and Register 0-15 contents?
3. What is the exact cause of this abend according to you?

Eagerly awaiting your reply.

Thank you very much.

Re: S001-03 System Abend Code - FILEAID Batch ABEND

PostPosted: Mon Mar 07, 2011 4:01 pm
by enrico-sorichetti
the first thing You should understand / learn is
do NOT post the same question on multiple forums / mailing list in this case ( IBMMAIN )

Re: S001-03 System Abend Code - FILEAID Batch ABEND

PostPosted: Mon Mar 07, 2011 5:07 pm
by Quasar
Hi Enricho -

I apologize for posting it, but my intention was only to reach out for help, and get my problem noticed. Sorry about that. Do you have any clues to what this problem could be?

Thank you very much.

Re: S001-03 System Abend Code - FILEAID Batch ABEND

PostPosted: Mon Mar 07, 2011 5:40 pm
by Robert Sample
1. Look in the dump to find the IOB. If you didn't get a dump, you cannot go much further.
2. The PSW and register contents will make sense to the vendor, and probably nobody else. You can look at them, you may even enjoy them, but the vendor is not likely to tell you the signficance of any of them.
3. You had an I/O error. It appears to be transient since it went away with the rerun. Could it happen again? Yes. Will it happen again? Who knows -- that would depend upon exactly what caused the error, and many other factors (for example, if you have a device slowly going bad then the error is likely to recur, whereas if the problem was a line voltage spike causing noise instead of data being passed from the device there's not much chance of that happening again -- unless the noise is due to a faulty electircal set up in your computer room).

Re: S001-03 System Abend Code - FILEAID Batch ABEND

PostPosted: Mon Mar 07, 2011 6:05 pm
by Quasar
Hi Robert -

This has re-ocurred at my shop, for a second time now. :D

Thank you very much for the valuable insight, that you've provided.

Re: S001-03 System Abend Code - FILEAID Batch ABEND

PostPosted: Mon Mar 07, 2011 6:08 pm
by Robert Sample
Since it occurred again, report the problem to the vendor -- they may want you to take some special steps to capture data helpful for them to figure out what is going on. Then again, they may already know what the problem (and maybe solution) are already.

Re: S001-03 System Abend Code - FILEAID Batch ABEND

PostPosted: Mon Mar 07, 2011 6:37 pm
by Quasar
Robert -

I wrote an e-mail to the Compuware Support Help-desk at helpdesk.india@compuware.com, and they have logged an Incident Ticket on their system. Let's just see what happens.

Thank you very much.

Re: S001-03 System Abend Code - FILEAID Batch ABEND

PostPosted: Mon Mar 07, 2011 7:30 pm
by enrico-sorichetti
go back to school and learn to read and write...
mi name is Enrico, not Enricho!
misspelling other people name is the worst of bad manners

Re: S001-03 System Abend Code - FILEAID Batch ABEND

PostPosted: Mon Mar 07, 2011 9:28 pm
by Quasar
Enrico -

Apologies for spelling your name incorrectly, and fumbling up. I'll bear this mind enrico.

Thank you very much.

Re: S001-03 System Abend Code - FILEAID Batch ABEND

PostPosted: Mon Mar 07, 2011 10:15 pm
by BillyBoyo
enrico-sorichetti wrote:the first thing You should understand / learn is
do NOT post the same question on multiple forums / mailing list in this case ( IBMMAIN )


Dear Enrico,

How can you tell other people not to post wherever they like elsewhere on the internet? After all, you must be subscribed elsewhere...

Regards,

Bill