IIRC, the lengths in both the BDW and RDW include the 4-byte overhead.

The BDW has the correct length.  However, the RDWs should be x'00260000',
not x'00220000', assuming that each of the data fields are 34 bytes long.


On Wed, Jan 21, 2026 at 11:48 AM Joseph Reichman <
[email protected]> wrote:

> Hi
>
> I had originally planed on using snap to dump
> Records however since it rounds the storage I decided to write my own dump
> routine
>
>
> However I left the bsam access method in
>
> I now decided to write 3 records out
>
> Each record has 34 bytes
>
> So here is the layout
>
> BDW.   X’00760000’
> RDW1.   X’00220000’
>       Mess1 dc cl34
> Rdw2.  X’00220000’
>
> Mess2 dc cl34
> RDW3 dc x’00220000’
> Mess3 dc cl34
>
>
> When browsing the file in ISPF I see a bunch of literals ******** I/on
> error detected *******
>
>
> However in the z/os job log nothing is mentioned of a I/o error
>
> Thanks
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to