cckddiag(1)
π cckddiag π
okay bestie, so this is cckddiag, and it lives in section 1 of the General Commands Manual β the land of user commands β¨
β¨ NAME β¨
cckddiag β the Hercules CCKD DASD diagnostic tool π©Ίπ
πΈ SYNOPSIS πΈ
cckddiag [options...] filename
π¦ DESCRIPTION π¦
so basically this is a Hercules support tool, and its whole job is helping you figure out what's going on when CCKD DASD volumes start acting up ππ§ It operates on Hercules CCKD DASD volumes in read-only mode (no cap, it will not touch your stuff, it's just looking π) and it displays various information contained in CCKD DASD files.
real talk though: to actually use this effectively you need internal knowledge of Hercules CCKD DASD files. this is not a vibes-only tool, bestie, this is a "you already know the file format" tool π
π OPTIONS π
These options are how you tell cckddiag which portions of the CCKD DASD file to show you π«Ά
the rules, listen up: Options may not be combined. For example, -cd1 is not a valid option. Surround each option by blank(s). π«
Argument numbers may be specified either in decimal or hexadecimal. If the number begins with the characters 0x the number is presumed to be hexadecimal; else the number is presumed to be decimal. And here's the tea: no numeric overflow checking is done β the user is assumed (!) to know what they're doing π
Options are divided into three categories: global options, track-related options, and the offset option.
π Global options
filenameβ specifies the Hercules CCKD DASD filename (sometimes referred to as the DASD image file) π-vβ display version and exit βοΈ-dβ displayDEVHDR-cβ displayCDEVHDR-1β displayL1TAB(note this option is a numeric one π’)-gβ enable debug output π
π Track-related options π
To direct cckddiag to a specific track, two options are provided: -a and -r. The remaining track-related options describe the kind of output desired. And important: the TRKHDR for the track is displayed for all track-related options π―
-a cc hhβ display absolute CCHH data β where cc and hh are respectively the cylinder number (relative zero), and the head number (relative zero) π-r ttβ display relative track data β where tt is the track number (relative zero) π§-2β displayL2TABβ requires a corresponding-aor-rspecification to directcckddiagto a specific track β οΈ-tβ display track data β displays theCOUNT,KEY, andDATArecord summaries for the data residing on the indicated track π-xβ hex display track key/data β displays theKEYandDATArecords' contents in hexadecimal display format for the indicated track. Some repetitive data may be omitted from the hex display output π‘
π Offset option
This option provides the ability to examine any portion of the CCKD file, as an alternative to track specification πβ¨
-o oo llβ hex display data at offset oo of length ll π
π SEE ALSO π
cckd(4)http://www.hercules-390.org/β the Hercules emulator homepage πhttp://www.hercules-390.org/cckddasd.htmlβ which describes the Hercules CCKD DASD facility π
π HISTORY π
2003-02-07 originally written by James M. Morrison βοΈ
and that's the whole page, bestie π₯° this one's dated 2003-02-03, from the cckddiag(1) manual page β shoutout to the original author and the Hercules crew for keeping the mainframe dream alive, mwah ππ
π¦ where this page comes from
- debian bookworm: hercules 3.13-7
- debian trixie: hercules 3.13-8
- fedora 43: hercules 3.13-21.fc43 Β· QPL-1.0
- fedora 43: sdl-hercules 4.8-2.fc43 Β· QPL-1.0 AND (QPL-1.0 AND BSD-3-Clause) AND (QPL-1.0 AND MIT) AND (QPL-1.0 AND BSD-4-Clause)
- fedora 44: hercules 3.13-22.fc44 Β· QPL-1.0
- fedora 44: sdl-hercules 4.8-3.fc44 Β· QPL-1.0 AND (QPL-1.0 AND BSD-3-Clause) AND (QPL-1.0 AND MIT) AND (QPL-1.0 AND BSD-4-Clause)
- nixos 26.05: hercules 4.9.1
- nixpkgs unstable: hercules 4.9.1
- ubuntu jammy: hercules 3.13-7
- ubuntu noble: hercules 3.13-7
- ubuntu questing: hercules 3.13-8
- ubuntu resolute: hercules 3.13-9
- ubuntu stonking: hercules 3.13-9
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms