That number caught my eye.

The RDW is 4 less than 16448 - which is X'4040'.  An inadvertent move of
spaces might be the culprit somewhere.

Later,
Ray

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Kirk Talman
Sent: Monday June 12 2006 09:24
To: [email protected]
Subject: Re: Fw: Help wanted : COBOL/QSAM - Incorrect RDW

1) If you do a READ instead of a READ INTO, the 01 is addressing the buffer
with all records left in the current physical record.  So yes, if you look
you might see the next record(s).  You might also get an 0C4 if none are
present.  If it hurst don't do it.

2) the s002 and the RDW of 16444  means there are record(s)  longer than
1504 (4 for RDW plus 1500) and/or less than 63 (4 for RDW plus 59).  To
process the records, change FD to:

CCURS 1 TO 32760.









<[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...

> Note - the 1st record record is 318 bytes, the 2nd record
> 318 bytes and the 3rd record is 1499 bytes. So the first read has 
> actually read half way into the third record.
> 
> Upon the second read an RDW value of 16444 is returned in 
> WS-REC-LENGTH and the abend follows.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to