World Library  
Flag as Inappropriate
Email this Article

Count key data

Article Id: WHEBN0008895690
Reproduction Date:

Title: Count key data  
Author: World Heritage Encyclopedia
Language: English
Subject: Help desk, Basic direct access method, Disk formatting, Direct-access storage device, IBM storage devices
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Count key data

Count key data (CKD) is a direct access storage device (DASD) data architecture. Each physical disk record consists of a count field, an optional key field, and a ("user") data field with error correction/detection information appended to each field and gaps separating each field.[1][2] Because of the gaps and other information, the recorded space is larger than that required for just the count data, key data, or user data.

Contents

  • Overview 1
  • Extended count key data 2
  • See also 3
  • References 4
  • Further reading 5

Overview

The principle behind the architecture is that since data record lengths can vary, they all have an associated count field which indicates the size of the key (if used) and the size of the data.[3] The count field has the identification of the physical location in cylinder-head-record format, the length of the key, and the length of the data. The key may be omitted or consist of a string of characters. Most often, the key is omitted, the record located sequentially or by direct cylinder-head-record addressing. If it is present, the key is typically a copy of the first n bytes of the data record (for "unblocked" records, or a copy of the highest key in the block, for "blocked" records), but can be any data which will be used to find the record, usually using the Search Key Equal or Search Key High or Equal CCW. The key (and hence the record) is locatable via hardware commands.[4] Since the introduction of IBM's System/360 in 1964, nearly all IBM large and intermediate system DASDs have used the count key data architecture.[5]

The advantages of count key data architecture are:

  • The record size can be exactly matched to the application block size
  • CPU and memory requirements can be reduced by exploiting search-key commands.
  • IBM CKD devices operate synchronously with the system channel and can process information in the gaps between the various fields, thereby achieving higher performance by avoiding the redundant transfer of information to the host.[5]

Reduced CPU and memory prices and higher device and interface speeds have somewhat nullified the advantages of CKD, and it is retained only because IBM's flagship operating system z/OS does not support sector-oriented interfaces.

Extended count key data

Extended count key data (ECKD) refers to the CCW commands used with cached controllers for IBM DASD. The new commands were introduced on the cached versions of the IBM 3880 DASD controller and were extended on the IBM 3990 DASD controller (and their compatibles from Amdahl, EMC and others). The ECKD channel commands provide improved performance for the legacy IBM OEMI (Bus & Tag) parallel interface, ESCON (or Enterprise Systems Connection) interface or the newer FICON (Fiber Connectivity) protocol.

ECKD allows the programmer to provide the control unit with information on intent and to perform operations in a simpler channel program (Define Extent and Locate Record) that would require multiple channel commands (and looping) with CKD (Seek, Set File Mask, Search ID Equal, Transfer-in-Channel back to the Search ID equal, etcetera), thereby greatly reducing I/O channel overhead. Define Extent/Locate Record is represented by a Format 1 CCW string, whereas Search ID Equal, etcetera, is represented by a Format 0 CCW string. Additionally, Format 1 CCWs are defined for 31 bit memory addresses, whereas Format 0 CCWs are limited to 24 bit memory addresses.

See also

References

  1. ^ "Track Format". IBM System/360 Component Description (PDF). Systems Reference Library. International Business Machines Corporation. May 1993. pp. 3–7. Retrieved 6 August 2014. 
  2. ^ "Count-Key-Data Record Format". IBM 3390 Direct Access Storage Introduction (GC26-4573-03). International Business Machines Corporation. 22 October 1965. 
  3. ^ "Count key data". IBM Knowledge Center. International Business Machines Corporation. Retrieved 6 August 2014. 
  4. ^ Houtekamer, Gilbert E.; Artis, H. Pat (1993). MVS I/O Subsystems: Configuration Management and Performance Analysis. New York: McGraw-Hill.  
  5. ^ a b "Synchronous DASD Operations". Introduction to Nonsynchronous Direct Access Storage Subsystems (GC46-4519-0). International Business Machines Corporation. January 1990. 

Further reading

  • IBM Data Processing Division (1974). Introduction to IBM Direct-Access Storage Devices and Organization Methods (PDF) (GC20-1649) (revised ed.). White Plains: International Business Machines.  
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.