I am in error. I confused the data lenfgth field and key length fields in my explanation. The field lengths are the same, but I reversed the order.

Also, in Dave's post I interpreted "lst" as "first", rather than "last". Spent too many years typing on a real typewriter, which normally has no digit for one.

(Eating humble pie)  :-)

Rick
-------------------------------------------------------------------------
Rick Fochtman wrote:

------------------------------------<snip>-----------------------------------

Determine what track the dataset was allocated to then run this utility specifying the first track of the dataset.

//DFDSS EXEC PGM=ADRDSSU //volume DD VOL=SER=volume,UNIT=3390,DISP=SHR //SYSPRINT DD SYSOUT=* //SYSIN DD * PRINT TRACKS(X'00xxx',X'0000',X'00xxx',X'0000') - INDDNAME(volume)
Here is sample:

ADR006I (001)-STEND(01), 2010.288 14:52:47 EXECUTION BEGINS *** TRACK(CCHH) 000D0000 R0 DATA 0000000000000000 COUNT 000D000001000000 ADR006I (001)-STEND(02), 2010.288 14:52:47 EXECUTION ENDS Note the lst 4 digits of COUNT are zero indicating a zero length block.
-------------------------------------------<unsnip>---------------------------------- Dave, your illustration is somewhat ambiguous. That count field should be broken down to more detail. The fields are, from left to right:

Cylinder 000D
Track 0000
Record 01
Data length 0000
Key length 00

The data length of zero denotes the EOF mark. And if data length is zero, the key length is irrelevant.

The EOF mark is signalled back through the interrupt hardware and software as a UNIT EXCEPTION.

Rick

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to