See the following for how to calculate a sector
https://www.ibm.com/support/knowledgecenter/en/SSB27H_6.2.0/fa2mr_sectval.html

Question 2: why 20 sectors at a minimum.  It's a long answer.
We tend to think of a record as three unified parts, COUNT, KEY and DATA, but 
really they are three mini-records (for lack of a better description). Each 
part needs enough cells for the data, plus 9 cells of CRC and other control 
information that we can never see.

So, for a COUNT field it takes 10 cells; for a KEY field, if present, and a 
DATA field the calculation is:

SECTORS = 9 + (KL + (6 * KN) + 6) / 34)
Where KN = (KL + 6) / 232
      KL = Key length
Change KL to DL and do the same calculation for the data area.

Question 3: Are you running under VM and using a mini-disk?  VM formats their 
R0 differently, I believe.

Hope this helps.

Chris Blaicher
Technical Architect
Mainframe Development
P: 201-930-8234  |  M: 512-627-3803
E: cblaic...@syncsort.com

Syncsort Incorporated
2 Blue Hill Plaza #1563
Pearl River, NY 10965
www.syncsort.com

Data quality leader Trillium Software is now a part of Syncsort.


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of R.S.
Sent: Tuesday, January 23, 2018 7:15 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: CKD details

Another set of questions:

1. What is sector???
3390 specification says it has 224 sectors per track (3380 had 222 sectors per 
track).
I cannot find any explanation for that. Size of data cell is 34 bytes

2. In the 3390 reference I read the record can occupy 20 to 1729 data cells 
(excluding standard R0).
Why 20? For 3390 device 20 cells is 680 bytes. Is it minimum for any record, 
including i.e. very small Count plus 4 bytes of Data?


3. HA (Home Address)
I used File Manager to print it out and indeed it is 5-byte long, but it seems 
to be NOT in format of CCHHR.
IMHO it is xCCHH, where x is one byte with x'00' (in my case), but it is first 
byte.

Regards
--
Radoslaw Skorupka
Lodz, Poland







W dniu 2018-01-22 o 15:51, R.S. pisze:
> I'm looking for some reference describing track format of CKD disk.
>
> What I know is
> Index Point - Home Address - R0 - other Rn
>
> Some questions:
> 1. IP is just a "start of track", contains no data - Y/N ?
> 2. What is a format of HA?
> 3. What is a format of R0?
> 4. What is a format of Count field? How long is it? Is it 10 bytes?
> 5. What is maximum length of K and D?
>
> Any documentation?
>





======================================================================


        --
 Treść tej wiadomości może zawierać informacje prawnie chronione Banku 
przeznaczone wyłącznie do użytku służbowego adresata. Odbiorcą może być jedynie 
jej adresat z wyłączeniem dostępu osób trzecich. Jeżeli nie jesteś adresatem 
niniejszej wiadomości lub pracownikiem upoważnionym do jej przekazania 
adresatowi, informujemy, że jej rozpowszechnianie, kopiowanie, rozprowadzanie 
lub inne działanie o podobnym charakterze jest prawnie zabronione i może być 
karalne. Jeżeli otrzymałeś tę wiadomość omyłkowo, prosimy niezwłocznie 
zawiadomić nadawcę wysyłając odpowiedź oraz trwale usunąć tę wiadomość 
włączając w to wszelkie jej kopie wydrukowane lub zapisane na dysku.

 This e-mail may contain legally privileged information of the Bank and is 
intended solely for business use of the addressee. This e-mail may only be 
received by the addressee and may not be disclosed to any third parties. If you 
are not the intended addressee of this e-mail or the employee authorized to 
forward it to the addressee, be advised that any dissemination, copying, 
distribution or any other similar activity is legally prohibited and may be 
punishable. If you received this e-mail by mistake please advise the sender 
immediately by using the reply facility in your e-mail software and delete 
permanently this e-mail including any copies of it either printed or saved to 
hard drive.

 mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa, 
www.mBank.pl, e-mail: kont...@mbank.plsąd Rejonowy dla m. st. Warszawy XII 
Wydział Gospodarczy Krajowego Rejestru Sądowego, nr rejestru przedsiębiorców 
KRS 0000025237, NIP: 526-021-50-88. Według stanu na dzień 01.01.2018 r. kapitał 
zakładowy mBanku S.A. (w całości wpłacony) wynosi 169.248.488 złotych.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

________________________________



ATTENTION: -----

The information contained in this message (including any files transmitted with 
this message) may contain proprietary, trade secret or other confidential 
and/or legally privileged information. Any pricing information contained in 
this message or in any files transmitted with this message is always 
confidential and cannot be shared with any third parties without prior written 
approval from Syncsort. This message is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any use, disclosure, copying or distribution of this message, in any form, is 
strictly prohibited. If you have received this message in error, please 
immediately notify the sender and/or Syncsort and destroy all copies of this 
message in your possession, custody or control.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to