hercules-390 / hyperion

Hercules 390
Other
253 stars 70 forks source link

Undocumented DASDCOPY features and restrictions #282

Closed Neo-Desktop closed 4 years ago

Neo-Desktop commented 4 years ago

This references a 14(!) year old thread on yahoo groups

Situation 1:

dasdcopy -o ckd -lfs DISK_1.3390 NEWDISK.3390

the `-lfs' means make one large file. When DISK_1.3390 is opened, the code is smart enough to open DISK_2.3390 too.

This enhancement to the -lfs switch is undocumented


Situation 2:

I tried using the -bz2 option, too, to get the file size down, but dasdcopy keeps printing the usage as if it's an unrecognized option

This is still accurate as of today Expected: explanation as to why the -bz2 option is unrecognized

Explanation:

The -bz2 parameter is incompatible with -lfs (-lfs implies ckd) and with `-o ckd' (which specifies ckd).

This also implies that -lfs is not compatible with -o CCKD


Lastly:

There's been enough confusion about this (dasdcopy just printing the syntax whenever conflicting operands are entered) that I will try to fix the code to give a more meaningful error message.

I agree, the way this is currently implemented is really confusing and requires a google search for why things aren't working intuitively

Furthermore, on principle, 14-year-old bugs should be fixed

Fish-Git commented 4 years ago

FYI:

hercules-390/hyperion is commonly considered to be a dead Hercules project (no longer actively maintained).

SDL-Hercules-390/hyperion however, is not, and is commonly considered to be the only actively maintained Hercules project currently in existence.

Have you investigated the SDL version of dasdcopy? I believe it might behave better.

If it doesn't however, then please submit a new GitHub Issue in SDL Hyperion's github issue tracker, NOT here. Generally speaking, we're much more responsive to problem reports and don't typically let them sit for 14 years.

Neo-Desktop commented 4 years ago

Will do, thanks again @Fish-Git