Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dasdcopy64 is rejecting shadow file #699

Closed
Rakeshreddy11 opened this issue Jan 2, 2025 · 2 comments
Closed

dasdcopy64 is rejecting shadow file #699

Rakeshreddy11 opened this issue Jan 2, 2025 · 2 comments
Assignees
Labels
(Invalid/PEBKAC) Likely user error. The described problem does not exist or was otherwise determined to be bogus.

Comments

@Rakeshreddy11
Copy link

Rakeshreddy11 commented Jan 2, 2025

Hi,

I am using Hyperion 4.6 with CCKD (not 64) and shadow files. I tried to convert them to 64 using dasdcopy64:



E:\diskfiles\Herc4.6> dasdcopy64 F:\diskfiles\c4sys1.comp sf=F:\diskfiles\shadowfileszos24\c4sys1_1 F:\diskfiles\c4sys1new.comp      

HHC02499I Hercules utility dasdcopy64 - 64-bit DASD copy/convert - version 4.6.0.10941-SDL-g65c97fd6
HHC01414I (C) Copyright 1999-2023 by Roger Bowler, Jan Jaeger, and others
HHC01417I ** The SDL 4.x Hyperion version of Hercules **
HHC01415I Build date: Jun  8 2023 at 15:48:12
HHC02594E Syntax error: shadow files invalid if input not compressed
HHC00007I Previous message from function 'syntax' at dasdcopy64.c(685)

But the c4sys1.comp is a CCKD file with shadow files which I am using daily.

What am i missing here?

@Rakeshreddy11
Copy link
Author

Rakeshreddy11 commented Jan 2, 2025

Looks like the disk is not being recognised by Hercules.

From Hyperion log:

Before I used dasdcopy64:



05:03:09.671 00001598 HHC00414I 0:0A82 CCKD file F:/diskfiles/c4sys1.comp: model 3390-54 cyls 65520 heads 15 tracks 982800 trklen 56832

After:

03:34:07.255 00002550 HHC00406E 0:0A82 CKD file F:/diskfiles/c4sys1.comp: ckd header invalid
03:34:07.255 00002550 HHC00007I Previous message from function 'ckd_dasd_init_handler' at ckddasd.c(420)
03:34:07.255 00002550 HHC01463E 0:0A82 device initialization failed
03:34:07.255 00002550 HHC00007I Previous message from function 'attach_device' at config.c(1354)
03:34:07.255 00002550 HHC00417I 0:0A82 CKD file F:/diskfiles/c4sys1.comp: cache hits 0, misses 0, waits 0

E:\diskfiles\Herc4.7> convto64 F:\diskfiles\c4sys1.comp F:\diskfiles\c4sys1new.comp

HHC02499I Hercules utility convto64 - Convert compressed ckd to cckd64 format - version 4.7.0.11119-SDL-gf7d2360a
HHC01414I (C) Copyright 1999-2024 by Roger Bowler, Jan Jaeger, and others
HHC01417I ** The SDL 4.x Hyperion version of Hercules **
HHC01415I Build date: Mar  9 2024 at 20:27:46
HHC02962I Converting "F:/diskfiles/c4sys1.comp" to CCKD64 file format...
HHC02960E Dasd image file format unsupported or unrecognized: F:\diskfiles\c4sys1.comp
HHC00007I Previous message from function 'main' at convto64.c(318)
HHC02950I Usage: convto64 [-r] [-c] [-q] [-v] infile outfile
HHC02950I   infile    input file
HHC02950I   outfile   output file
HHC02950I options:
HHC02950I   -r     Replace output file
HHC02950I   -c     Write contiguous L2 tables
HHC02950I   -q     Minimal progress messages
HHC02950I   -v     Report every track copied

E:\diskfiles\Herc4.7> dasdcopy64 F:\diskfiles\c4sys1.comp F:\diskfiles\c4sys1new.comp

HHC02499I Hercules utility dasdcopy64 - 64-bit DASD copy/convert - version 4.7.0.11119-SDL-gf7d2360a
HHC01414I (C) Copyright 1999-2024 by Roger Bowler, Jan Jaeger, and others
HHC01417I ** The SDL 4.x Hyperion version of Hercules **
HHC01415I Build date: Mar  9 2024 at 20:27:46
HHC00507I 0:0000 FBA file F:/diskfiles/c4sys1.comp: origin 0, blks 8388600
HHC00474I 0:0000 FBA64 file F:\diskfiles\c4sys1new.comp: creating 3370 compressed volume : 8388600 sectors, 512 bytes/sector
HHC00471I 0:0000 CKD64 file F:\diskfiles\c4sys1new.comp: 8388600 sectors successfully written
HHC00507I 0:0001 CFBA64 file F:/diskfiles/c4sys1new.comp: origin 0, blks 8388600
HHC02423I DASD operation completed

E:\diskfiles\Herc4.7> cckdcdsk -3 -ro F:\diskfiles\c4sys1new.comp

HHC02499I Hercules utility cckdcdsk - DASD CCKD image verification - version 4.7.0.11119-SDL-gf7d2360a
HHC01414I (C) Copyright 1999-2024 by Roger Bowler, Jan Jaeger, and others
HHC01417I ** The SDL 4.x Hyperion version of Hercules **
HHC01415I Build date: Mar  9 2024 at 20:27:46
HHC02424E Dasd image file format unsupported or unrecognized: F:/diskfiles/c4sys1new.comp
HHC00007I Previous message from function 'main' at cckdcdsk.c(106)

Something went wrong with this file. Please help.

@Fish-Git Fish-Git changed the title dadfcopy64 is rejecting shadow file daddcopy64 is rejecting shadow file Jan 3, 2025
@Fish-Git
Copy link
Member

Fish-Git commented Jan 5, 2025

It is very likely you are simply doing something wrong.

You should really be asking this question on our support forum, and not here:

This GitHub Issues web site is for reporting Hercules bugs, not for providing help with using the product.

@Fish-Git Fish-Git closed this as completed Jan 5, 2025
@Fish-Git Fish-Git self-assigned this Jan 5, 2025
@Fish-Git Fish-Git added the (Invalid/PEBKAC) Likely user error. The described problem does not exist or was otherwise determined to be bogus. label Jan 5, 2025
@Fish-Git Fish-Git changed the title daddcopy64 is rejecting shadow file dasdcopy64 is rejecting shadow file Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(Invalid/PEBKAC) Likely user error. The described problem does not exist or was otherwise determined to be bogus.
Projects
None yet
Development

No branches or pull requests

2 participants