Direct access storage device
   HOME

TheInfoList



OR:

A direct-access storage device (DASD) (pronounced ) is a
secondary storage Computer data storage is a technology consisting of computer components and recording media that are used to retain digital data. It is a core function and fundamental component of computers. The central processing unit (CPU) of a compute ...
device in which "each physical record has a discrete location and a unique address". The term was coined by IBM to describe devices that allowed
random access Random access (more precisely and more generally called direct access) is the ability to access an arbitrary element of a sequence in equal time or any datum from a population of addressable elements roughly as easily and efficiently as any othe ...
to data, the main examples being
drum memory Drum memory was a magnetic data storage device invented by Gustav Tauschek in 1932 in Austria. Drums were widely used in the 1950s and into the 1960s as computer memory. For many early computers, drum memory formed the main working memory of ...
and
hard disk drive A hard disk drive (HDD), hard disk, hard drive, or fixed disk is an electro-mechanical data storage device that stores and retrieves digital data using magnetic storage with one or more rigid rapidly rotating platters coated with mag ...
s. Later,
optical disc drive In computing, an optical disc drive is a disc drive that uses laser light or electromagnetic waves within or near the visible light spectrum as part of the process of reading or writing data to or from optical discs. Some drives can only r ...
s and
flash memory Flash memory is an electronic non-volatile computer memory storage medium that can be electrically erased and reprogrammed. The two main types of flash memory, NOR flash and NAND flash, are named for the NOR and NAND logic gates. Both use ...
units are also classified as DASD. The term DASD contrasts with
sequential access Sequential access is a term describing a group of elements (such as data in a memory array or a disk file or on magnetic tape data storage) being accessed in a predetermined, ordered sequence. It is the opposite of random access, the ability to ...
storage device such as a
magnetic tape drive Magnetic tape is a medium for magnetic storage made of a thin, magnetizable coating on a long, narrow strip of plastic film. It was developed in Germany in 1928, based on the earlier magnetic wire recording from Denmark. Devices that use magnet ...
, and
unit record equipment Starting at the end of the nineteenth century, well before the advent of electronic computers, data processing was performed using electromechanical machines collectively referred to as unit record equipment, electric accounting machines (EAM) or ...
such as a
punched card A punched card (also punch card or punched-card) is a piece of stiff paper that holds digital data represented by the presence or absence of holes in predefined positions. Punched cards were once common in data processing applications or to di ...
device. A record on a DASD can be accessed without having to read through intervening records from the current location, whereas reading anything other than the "next" record on tape or deck of cards requires skipping over intervening records, and requires a proportionally long time to access a distant point in a medium.
Access method An access method is a function of a mainframe operating system that enables access to data on disk, tape or other external devices. Access methods were present in several mainframe operating systems since the late 1950s, under a variety of name ...
s for DASD include sequential, partitioned, indexed, and
direct Direct may refer to: Mathematics * Directed set, in order theory * Direct limit of (pre), sheaves * Direct sum of modules, a construction in abstract algebra which combines several vector spaces Computing * Direct access (disambiguation), ...
. The DASD storage class includes both fixed and removable media.


Architecture

IBM mainframes access I/O devices including DASD through '' channels'', a type of subordinate mini-processor. ''
Channel program In computing, channel I/O is a high-performance input/output (I/O) architecture that is implemented in various forms on a number of computer architectures, especially on mainframe computers. In the past, channels were generally implemented with cu ...
s'' write to, read from, and control the given device.


CTR (CHR)

The operating system uses a four byte relative track and record (TTR) for some access methods and for others an eight-byte extent-bin-cylinder-track-record block address, or MBBCCHHR, Channel programs address DASD using a six byte seek address (BBCCHH) and a five byte record identifier (CCHHR). *M represents the extent number within the allocation *BB representing the Bin (from 2321 data cells), *CC representing the Cylinder, *HH representing the Head (or track), and *R representing the Record (block) number. When the 2321 data cell was discontinued in January 1975, the addressing scheme and the device itself was referred to as CHR or CTR for cylinder-track-record, as the bin number was always 0. IBM refers to the data records programmers work with as ''logical records'', and the format on DASD as blocks or ''physical records''. One block might contain several logical (or user) records or, in some schemes, called ''spanned records'', partial logical records. Physical records can have any size up to the limit of a track, but some devices have a track overflow feature that allows breaking a large block into track-size segments within the same cylinder. The queued access methods, such as
QSAM In IBM mainframe operating systems, queued sequential access method (QSAM) is an access method to read and write datasets sequentially. QSAM is available on OS/360, OS/VS2, MVS, z/OS, and related operating systems. QSAM is used both for devic ...
, are responsible for ''blocking'' and ''deblocking'' logical records as they are written to or read from external media. The basic access methods, such as BSAM, require the user program to do it.


CKD

CKD is an acronym for
Count Key Data Count key data (CKD) is a direct-access storage device (DASD) data recording format introduced in 1964, by IBM with its IBM System/360 and still being emulated on IBM mainframes. It is a self-defining format with each data record represented by ...
, the physical layout of a block on a DASD device, and should not be confused with BBCCH and CCHHR, which are the addresses used by the channel program. CTR in this context may refer to either type of address, depending on the channel command.


FBA

In 1979 IBM introduced fixed block architecture (FBA) for mainframes. At the programming level, these devices do not use the traditional CHR addressing, but reference fixed-length blocks by number, much like sectors in mini-computers. More correctly, the application programmer remains unaware of the underlying storage arrangement, which stores the data in fixed physical block lengths of 512, 1024, 2048, or 4096, depending on the device type. As part of the FBA interface IBM introduced new channel commands for asynchronous operation that are very similar to those introduced for ECKD. For some applications, FBA not only offers simplicity, but an increase in throughput. FBA is supported by
VM/370 VM (often: VM/CMS) is a family of IBM virtual machine operating systems used on IBM mainframes System/370, System/390, zSeries, System z and compatible systems, including the Hercules emulator for personal computers. The following ver ...
and
DOS/VSE VSEn (''Virtual Storage Extended'') is an operating system for IBM mainframe computers, the latest one in the DOS/360 lineage, which originated in 1965. DOS/VSE was introduced in 1979 as a successor to DOS/VS; in turn, DOS/VSE was succeeded by ...
, but not MVS or successor operating systems in the OS/360 line.


FCP attached SCSI

Processors with FICON channels can access SCSI drives using Fibre Channel Protocol (FCP). While z/VM and z/VSE fully support FCP, z/OS provides only limited support through IOSFBA.


Access

Some programming interface macros and routines are collectively referred to as ''access methods'' with names ending in Access Method.


DOS/360 and successors

DOS/360 through
z/VSE VSEn (''Virtual Storage Extended'') is an operating system for IBM mainframe computers, the latest one in the DOS/360 lineage, which originated in 1965. DOS/VSE was introduced in 1979 as a successor to DOS/VS; in turn, DOS/VSE was succeeded by ...
support datasets on DASD with the following access methods: * Logical IOCS (LIOCS) ** sequential access method (SAM) ** direct access method (DAM) ** indexed sequential access method (ISAM) **
virtual storage access method Virtual Storage Access Method (VSAM) is an IBM DASD file storage access method, first used in the OS/VS1, OS/VS2 Release 1 (SVS) and Release 2 (MVS) operating systems, later used throughout the Multiple Virtual Storage (MVS) architecture and no ...
(VSAM) * Physical IOCS (PIOCS) ** Execute channel program (EXCP)


OS/360 and successors

OS/360 through
z/OS z/OS is a 64-bit operating system for IBM z/Architecture mainframes, introduced by IBM in October 2000. It derives from and is the successor to OS/390, which in turn was preceded by a string of MVS versions.Starting with the earliest: * ...
support datasets on DASD with the following access methods: *
Basic sequential access method In IBM mainframe operating systems, Basic sequential access method (BSAM) is an access method to read and write datasets sequentially. BSAM is available on OS/360, OS/VS2, MVS, z/OS, and related operating systems. BSAM is used for devices that ...
(BSAM) *
Basic indexed sequential access method ISAM (an acronym for indexed sequential access method) is a method for creating, maintaining, and manipulating computer files of data so that records can be retrieved sequentially or randomly by one or more keys. Indexes of key fields are mainta ...
(BISAM) * Queued sequential access method (QSAM) *
Queued indexed sequential access method ISAM (an acronym for indexed sequential access method) is a method for creating, maintaining, and manipulating computer files of data so that records can be retrieved sequentially or randomly by one or more keys. Indexes of key fields are mainta ...
(QISAM) * Basic partitioned access method (BPAM) *
Basic direct access method Basic Direct Access Method, or BDAM is an access method for IBM's OS/360 and successors computer operating systems on System/360 and later mainframes. BDAM "consists of routines used in retrieving data from, and storing data onto, direct access ...
(BDAM) *
Virtual storage access method Virtual Storage Access Method (VSAM) is an IBM DASD file storage access method, first used in the OS/VS1, OS/VS2 Release 1 (SVS) and Release 2 (MVS) operating systems, later used throughout the Multiple Virtual Storage (MVS) architecture and no ...
(VSAM) * Execute Channel Program (EXCP) *
Execute Channel Program in Real Storage In IBM mainframe operating systems, Execute Channel Program in Real Storage (EXCPVR) is a macro generating a system call, implemented as a Supervisor Call instruction, for low-level device access, where the programmer is responsible for providing ...
(EXCPVR) In MVS, starting with OS/VS2 Release 2 and continuing through
z/OS z/OS is a 64-bit operating system for IBM z/Architecture mainframes, introduced by IBM in October 2000. It derives from and is the successor to OS/390, which in turn was preceded by a string of MVS versions.Starting with the earliest: * ...
, all of the access methods including EXCP nowiki/>VR use the privileged STARTIO macro.


Terminology

IBM in its 1964 first version of the "IBM System/360 System Summary" used the term ''File'' to collectively described devices now called DASD. Files provided "random access storage'" At the same time IBM's product reference manual described such devices as "direct access storage devices" without any acronym. An early public use of the acronym DASD is in IBM's March 1966 manual, "Data File Handbook." The earliest non-IBM use of the acronym DASD found by the "Google ngram viewer" to refer to storage devices dates from 1968. From then on use of the term grew exponentially until 1990 after which its usage declined substantially. Both drums and data cells have disappeared as products, so DASD remains as a synonym of disk, flash and optical devices. Modern DASD used in mainframes only very rarely consist of single disk-drives. Most commonly "DASD" means large
disk array A disk array is a disk storage system which contains multiple disk drives. It is differentiated from a disk enclosure, in that an array has cache memory and advanced functionality, like RAID, deduplication, encryption and virtualization. Compo ...
s utilizing
RAID Raid, RAID or Raids may refer to: Attack * Raid (military), a sudden attack behind the enemy's lines without the intention of holding ground * Corporate raid, a type of hostile takeover in business * Panty raid, a prankish raid by male college ...
schemes. Current devices emulate CKD on FBA hardware.


See also

*
Hard disk drive A hard disk drive (HDD), hard disk, hard drive, or fixed disk is an electro-mechanical data storage device that stores and retrieves digital data using magnetic storage with one or more rigid rapidly rotating platters coated with mag ...
*
DFSMS Data Facility Storage Management Subsystem (DFSMS) is a central component of IBM's flagship operating system z/OS. It includes access methods, utilities and program management functions. ''Data Facility Storage Management Subsystem'' is also a c ...
a standard software managing DASD usage * ESCON a protocol for mainframe peripheral communication, used by most DASD devices * FICON new protocol to replace ESCON *
IBM Enterprise Storage Server The IBM Enterprise Storage Server (ESS) or the ''Shark'' is an enterprise storage array from IBM. History Originally, in 1998 IBM released the IBM 2105 Versatile Storage Server (VSS). It did not meet commercial success and the successor came in ...
an example of large DASD *
Global Mirror Global Mirror is an IBM technology that provides data replication over extended distances between two sites for business continuity and disaster recovery. If adequate bandwidth exists, Global Mirror provides a recovery point objective (RPO) of as ...
DASD remote synchronization product * Metro Mirror DASD remote synchronization product *
History of IBM magnetic disk drives IBM manufactured magnetic disk storage devices from 1956 to 2003, when it sold its hard disk drive business to Hitachi. Both the hard disk drive (HDD) and floppy disk drive (FDD) were invented by IBM and as such IBM's employees were responsible fo ...
*
History of IBM CKD Controllers Beginning with its 1964 System/360 announcement, IBM's mainframes initially accessed CKD (Count key data) subsystems via a channel connected to separate Storage Control Units (SCUs) with attached Direct-access storage device, Direct Access Storag ...


Notes


References

{{DEFAULTSORT:Direct Access Storage Device IBM storage devices IBM mainframe operating systems