dasdseq(1)
β¨ dasdseq(1) β Hercules DSORG=PS retrieval command β¨
okay so bestie, welcome to the dasdseq(1) page from the General Commands Manual π this is the little Hercules command that goes and fetches a DSORG=PS (sequential) dataset off a CKD/CCKD DASD for you. no cap.
the vibe is: the dataset is presumed to be encoded in EBCDIC (iykyk), and there's a second form of the command for the 'expert mode' girlies who want more advanced access to the data on the DASD image. it's giving power user energy fr fr π
π SYNOPSIS
dasdseq [options...] image [sf=shadow] filespec
dasdseq [-debug] [-expert] [-ascii] image [sf=shadow] [attr] filespec
[debugopts] [ascii]
π¦ DESCRIPTION
so like, this is a Hercules command whose whole job is to retrieve a DSORG=PS (sequential) dataset from CKD/CCKD DASD. the dataset is presumed to be encoded in EBCDIC. periodt.
the second form of the command? that one's for 'expert mode' users, and it allows more advanced access to data on the DASD image. main character energy only π
π OPTIONS
the following options are used to specify dasdseq behavior. surround each option by blank(s) β yes literally, blanks, don't skip this part bestie. the options are divided into three categories: required, optional, and expert mode operands.
π Required operands
imageβ specifies the Hercules CKD/CCKD DASD filename (sometimes referred to as the DASD image file) πΎfilespecβ the dataset name of the file to retrieve. it's case insensitive, and it gets converted to upper case for searching the VTOC on the image DASD volume.
πΈ Optional operands
sf=shadowβ for CCKD images which also use shadow files, this specifies the[path/]filenameof the shadow file. note thesf=, which must be present for this option π«Ά-asciiβ convert the output file to ASCII (from EBCDIC). additionally, trailing blanks are trimmed. the'ascii'option (no leading dash) is deprecated, and may be removed in a future release. so like, use the dash version, she's the icon π
π Expert mode operands
all expert mode operands are considered to be experimental. proceed accordingly bestie π
dasdseq [-debug] [-expert] [-ascii] image [sf=shadow] [attr] filespec
[debugopts]
-debugβ additional debug options are displayed. specifying-debugwill (eventually) display dataset extent information. (eventually!! she's on her own timeline, we respect it β¨)attrβ dataset attributes (only useful with-abs)
[-recfm fb] [-lrecl aa]
-recfmdesignates RECFM, reserved for future supportfbβ fixed, blocked (only RECFM currently supported)
-lrecldesignates dataset LRECLaaβ decimal logical record length (default80)
blocksize need not be specified; dasdseq handles whatever block size comes off the volume. she's flexible like that π
filespecβ composed of the following sub-operands, in the following order:heads,abs,filename.-heads xxβ defines # tracks per cylinder on device;xx= decimal number of heads per cylinder on device-abs cc hh tt [...] [-abs cc hh tt]β-absindicates the beginning of each extent's location in terms of absolute dasd image location.ccβ decimal cylinder number (relative zero)hhβ decimal head number (relative zero)ttβ decimal number of tracks in extent
when -abs is specified, each -abs group specifies one dataset extent. for multi-extent datasets, -abs groups may be repeated as needed, in the order in which the dataset's extents occur. a maximum of 123 extents are supported. with -abs, no VTOC structure is implied; a F1 DSCB will not be sought.
dasdseqwill frequently report'track not found in extent table'(along with a message fromfbcopyaboutrc -1fromconvert_tt) due to potentially missing EOF markers in the extent, and the fact that the F1 DSCBDS1LSTARfield is not valid. check your output file before you panic. π
fbcopy -abs ignores EOF, in case you are attempting to recovery PDS member(s) from a damaged dasd volume, preferring to wait until all tracks in the extent have been processed. tracks containing PDS members may have more than one EOF per track. expect a lot of associated manual effort with -abs. lowkey a whole project bestie π
when -abs is -not- specified, filename specifies the MVS DSORG=PS dataset on the volume. the dasd image volume containing the dataset must have a valid VTOC structure, and a F1 DSCB describing the dataset.
filenameβ will be the filename of the output file in the current directory; output filename in the same case as the command line filename. so like, she matches your energy exactly πdebugoptsβ produces debugging output, refer to the source code. (yes really, go read the source, that's the citation π )
verbose [x [y [z]]]
verboseβ debug output level (default =0when not specified). higher numbers produce more output.xβ main program (default =1whenverbosespecified)yβcopyfile+showf1zβdasdutil
π SEE ALSO
dasdpdsuforDSORG=POdatasetscckd(4)for CCKD DASDhttp://www.hercules-390.org/cckddasd.htmlwhich describes the Hercules CCKD DASD facility.http://www.hercules-390.org/the Hercules emulator homepage.
π HISTORY
2003-03-10 β originally written by James M. Morrison
and that's the whole page bestie π«Ά this one lives in the General Commands Manual and it's dated 2003-03-10, so she's been iconic since way before any of us were on the timeline. slay, honestly πβ¨ππ¦
π¦ 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