On Tue, Apr 20, 2021 at 06:14:30PM +0000, Seymour J Metz wrote:
> The sample I saw included what looked like valid BDWs and RDWs. If it
> is not missing records then it should work with a DCB override.

I didn't see that -- I think they may be missing.  It starts:

00000000: 00ca 6d0f 0200 18b0 0050 9000 0080 7ff8  ..m......P......
00000010: 3030 200f 0000 7ff8 2721 000f e5a2 0000  00 .....'!......
00000020: 2252 0000 0002 006b 00de 0000 0080 0000  "R.....k........
00000030: 0100 0b07 6930 0000 0100 0000 ff00 0000  ....i0..........
00000040: 8f00 8000 048b 80c8 58f4 4400 0000 01af  ........X.D.....
00000050: 0000 01af 000b 000c 0000 0000 0000 0000  ................
00000060: 0000 0000 0000 0000 0000 0000 0000 0000  ................

But the ca6d0f at +1 should be at offset 9 counting the BDW/RDW.

 IEBCOPY unload format: 

 Figure 116. Contents of the COPYR1 Descriptor Record 

    � 0           � 4              � Structure      � Block Descriptor Word  �
    �             �                �                � (BDW) for RECFM=VS     �
    �             �                �                � data sets              �
    � 4           � 4              � Structure      � Segment Descriptor     �
    �             �                �                � Word (SDW) for         �
    �             �                �                � RECFM=VS data sets     �
    � 8           � 1              � Bit Flags      � Unload Data set        �
    �             �                �                � Information.
    � 9           � 3              � Binary         � The constant value     �
    �             �                �                � X'CA6D0F'.

IEBCOPY dumps the DASD count files too though and they contain the
block length.

What else is mangled would take more data.

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

Reply via email to