Yes, cells.  Doing too many things at once.

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 Seymour J Metz
Sent: Tuesday, January 23, 2018 2:04 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: CKD details

Shirley you mean cells. A  single sector might contain multiple records, 
depending on the device and on the record layouts.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@listserv.ua.edu> on behalf of 
Christopher Y. Blaicher <cblaic...@syncsort.com>
Sent: Tuesday, January 23, 2018 9:48 AM
To: IBM-MAIN@listserv.ua.edu
Subject: Re: CKD details

With all I put in the last post, I forgot to answer WHY 20 sectors at a minimum 
for a record.  It is because at a minimum a record consists of a COUNT and a 
DATA section. Each one takes a minimum of 10 sectors, so with even a 1 byte 
record you need 20 sectors.  If you had a 1 byte key and 1 byte of data you 
would need 30 sectors, 10 for each part.

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
http://secure-web.cisco.com/1tr2nwUQE8UCOKlBckWSDEsS73jyrD5tkchlWz_x3UWkmi-GyWYzT6sI0opa2PLaHqtKYh9N6K4_BY-gs_dJezTZSGfI5OkwUyVWDHbefFcA9s0abuSW2YqPjdYa-OjDhWsHtZzGyIIBvxnb8cNCVpSPZZI5Dce_7S1AHPHa101MtzWbq82XPg5VRCQgPO9DnhsWLYUmEmbS72IO44Qz4A973zsDYkpf9v5zQ68DMzC2vAhv5vNcrnLjiDLuUDQ9xbFkg8IHYjfSEYDVPWv4YcMjslBpLecWTHFStPj7WtlXuVMvrbWBjcCKLS-Q59KUxYCk-6sWC8Ifit6ot_f9nvk_4EDwObxspsUKwY4gsVDr2LvVdqfxyvI2zK-Cs1l2P9UJidanG_iN7i_RV8cUCkXLdGpcKpt14PEtlH0jqKv4h9pM6zvHPN4ZeI3U64sie/http%3A%2F%2Fwww.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 Christopher Y. Blaicher
Sent: Tuesday, January 23, 2018 8:30 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: CKD details

See the following for how to calculate a sector 
https://secure-web.cisco.com/1-4xCrYaoIvd6moQu1tnY3-JDxDEVfGqTdaT9eR_T8lcfOTMZd1ZqkLdRfOBpKu_w6CucO8NILbbiePWe1dwLBleCsi9wLAQ6r0YUnbLI-JDtVjMISYH_vHRxn3AbPeQuPV4-_6vb8nUsRBzxzFxrPXfNmtDGBG9rXm02WNuOcCzLhtDjdsNHbatuqXWm3O0_hOxfKDYKqmIxtOWVxr_6Up8_WVVsLsxhJT0Q7-WyYLOYFH7h7HenBd777eQrLx82uebOVKhE_KJN5_TGL8qUh-XwSm4cJQRUGPlk29wHN4yTQwkgm_2qYFJU-ZsAqx9XbwqIb-LqJRHQk-lvnxqJGh72b0sXI8qIThw5V7AJqlUxyLwZ244dQdhkMwhkomvc3L8yx4-wCHK8p4eq_EzD2PmoGptCgENg0bgNN_7qKyoz-fWPge4EsIcRu54E42WZ/https%3A%2F%2Fwww.ibm.com%2Fsupport%2Fknowledgecenter%2Fen%2FSSB27H_6.2.0%2Ffa2mr_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
http://secure-web.cisco.com/1tr2nwUQE8UCOKlBckWSDEsS73jyrD5tkchlWz_x3UWkmi-GyWYzT6sI0opa2PLaHqtKYh9N6K4_BY-gs_dJezTZSGfI5OkwUyVWDHbefFcA9s0abuSW2YqPjdYa-OjDhWsHtZzGyIIBvxnb8cNCVpSPZZI5Dce_7S1AHPHa101MtzWbq82XPg5VRCQgPO9DnhsWLYUmEmbS72IO44Qz4A973zsDYkpf9v5zQ68DMzC2vAhv5vNcrnLjiDLuUDQ9xbFkg8IHYjfSEYDVPWv4YcMjslBpLecWTHFStPj7WtlXuVMvrbWBjcCKLS-Q59KUxYCk-6sWC8Ifit6ot_f9nvk_4EDwObxspsUKwY4gsVDr2LvVdqfxyvI2zK-Cs1l2P9UJidanG_iN7i_RV8cUCkXLdGpcKpt14PEtlH0jqKv4h9pM6zvHPN4ZeI3U64sie/http%3A%2F%2Fwww.syncsort.com

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



________________________________



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

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

----------------------------------------------------------------------
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