Access method
   HOME

TheInfoList



OR:

An access method is a function of a
mainframe A mainframe computer, informally called a mainframe or big iron, is a computer used primarily by large organizations for critical applications like bulk data processing for tasks such as censuses, industry and consumer statistics, enterprise ...
operating system An operating system (OS) is system software that manages computer hardware, software resources, and provides common daemon (computing), services for computer programs. Time-sharing operating systems scheduler (computing), schedule tasks for ef ...
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 names; the name ''access method'' was introduced in 1963 in the IBM
OS/360 OS/360, officially known as IBM System/360 Operating System, is a discontinued batch processing operating system developed by IBM for their then-new System/360 mainframe computer, announced in 1964; it was influenced by the earlier IBSYS/IBJOB ...
operating system.M. A. Auslander, D. C. Larkin, A. L. Scherr: "The Evolution of the MVS Operating System", pages 478-479
Access methods provide an application programming interface (API) for programmers to transfer data to or from device, and could be compared to
device driver In computing, a device driver is a computer program that operates or controls a particular type of device that is attached to a computer or automaton. A driver provides a software interface to hardware devices, enabling operating systems and o ...
s in non-mainframe operating systems, but typically provide a greater level of functionality.


Purpose of access methods

System/360 and successor systems perform input/output using a special program for an
I/O channel 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 ...
, a processor dedicated to control peripheral storage device access and data transfer to and from main memory. ''Channel programs'' are composed of ''channel command words'' (CCWs). Programming those is a complex task requiring detailed knowledge of the hardware characteristics. Channel programs are initiated by a START IO instruction issued by the operating system. This is usually front ended by the Execute Channel Program ( EXCP) macro for application programmer convenience. EXCP issues an SVC (
supervisor call instruction A supervisor, or lead, (also known as foreman, boss, overseer, facilitator, monitor, area coordinator, line-manager or sometimes gaffer) is the job title of a lower-level management position that is primarily based on authority over workers or ...
) that directs the operating system to issue the START IO on the application's behalf. Access methods provide: * Ease of programming - programmer would no longer deal with a specific device procedures, including error detection and recovery tactics in each and every program. A program designed to process a sequence of 80-character records would work no matter where the data are stored. * Ease of hardware replacement - programmer would no longer alter a program when data should be migrated to newer model of storage device, provided it supports the same access methods. * Ease shared data set access - an access method is a trusted program, that allows multiple programs to access the same file, while ensuring the basic data integrity and system security. * Read-ahead - Queued access methods may start as many I/O operations as there are buffers available, anticipating application program requirements. Unlike systems derived from
Unix Unix (; trademarked as UNIX) is a family of multitasking, multiuser computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, ...
, where all files and devices are considered to be an unformatted stream of
byte The byte is a unit of digital information that most commonly consists of eight bits. Historically, the byte was the number of bits used to encode a single character of text in a computer and for this reason it is the smallest addressable uni ...
s, mainframes offer a variety of data options and formats, such as varying types and sizes of
records A record, recording or records may refer to: An item or collection of data Computing * Record (computer science), a data structure ** Record, or row (database), a set of fields in a database related to one entity ** Boot sector or boot record, r ...
, and different ways of accessing data, such as via record keys. Access methods provide programs a way of dealing with this complexity. * Programs can read or write a record or block of data and wait until the input/output operation is complete (''queued'' access methods) or allow the operation to be started and the program to continue to run, waiting for the completion at a later time (''basic'' access methods). * Programs can specify the size and number of buffers for a file. The same buffer or pool can be used for multiple files, allowing blocks of data to be read from one file and written to another without requiring data movement in memory. * Programs can specify the type of error recovery to be used in case of input/output errors.


Storage access methods

Storage-oriented access methods in approximate chronological order: * BDAM -
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 ...
* BSAM -
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 ...
*
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 ...
- Queued sequential access method *
BPAM In IBM mainframe operating systems, basic partitioned access method (BPAM) is an access method for libraries, called partitioned datasets (PDSes) in IBM terminology. BPAM is used in OS/360, OS/VS2, MVS, z/OS, and others. A PDS consists of members ...
- Basic partitioned access method *
ISAM 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 ...
- Indexed sequential access method *
VSAM 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 ...
-
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 ...
, introduced with OS/VS * OAM - Object access method, introduced in MVS/SP (1989) *
Distributed Data Management Architecture Distributed Data Management Architecture (DDM) is IBM's open, published software architecture for creating, managing and accessing data on a remote computer. DDM was initially designed to support record-oriented files; it was extended to support ...
- access methods for distributed file access.


Basic versus queued

Both types of access deal with
records A record, recording or records may refer to: An item or collection of data Computing * Record (computer science), a data structure ** Record, or row (database), a set of fields in a database related to one entity ** Boot sector or boot record, r ...
of a
data set A data set (or dataset) is a collection of data. In the case of tabular data, a data set corresponds to one or more database tables, where every column of a table represents a particular variable, and each row corresponds to a given record of the ...
. ''Basic'' access methods read or write one physical record – block – at a time. ''Queued'' methods support internal blocking of data and also often read-ahead scheme. Queued access methods generally provide better performance, while basic methods provide more flexibility.


Sequential versus direct

''Sequential'' access assumes that records can be processed only sequentially, as opposed to ''direct'' (or random) access. Some devices, such as
magnetic tape 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 ...
, naturally enforce sequential access, but it can be used as well on
direct access storage device A direct-access storage device (DASD) (pronounced ) is a secondary storage 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 to data, t ...
s (DASD), such as disk drives. In the latter case, a data set written with sequential access can be later processed in a direct manner.


Networking access methods

Network-oriented access methods in approximate chronological order: * BTAM - Basic telecommunications access method *
QTAM Queued Telecommunications Access Method (QTAM) is an IBM System/360 communications access method incorporating built-in queuing. QTAM was an alternative to the lower level Basic Telecommunications Access Method (BTAM). History QTAM was announc ...
- Queued teleprocessing access method * TCAM -
Telecommunications access method Telecommunications Access Method (TCAM) is an access method, in IBM's OS/360 and successors computer operating systems on IBM System/360 and later, that provides access to terminals units within a teleprocessing network. Features TCAM provides si ...
*
VTAM Virtual Telecommunications Access Method (VTAM) is the IBM subsystem that implements Systems Network Architecture (SNA) for mainframe environments. VTAM provides an application programming interface (API) for communication applications, and co ...
-
Virtual telecommunications access method Virtual Telecommunications Access Method (VTAM) is the IBM subsystem that implements Systems Network Architecture (SNA) for mainframe environments. VTAM provides an application programming interface (API) for communication applications, and c ...
, introduced with OS/VS *
TCP/IP The Internet protocol suite, commonly known as TCP/IP, is a framework for organizing the set of communication protocols used in the Internet and similar computer networks according to functional criteria. The foundational protocols in the su ...
for MVS - Transmission Control Protocol/Internet Protocol


IMS

The
IBM Information Management System The IBM Information Management System (IMS) is a joint hierarchical database and information management system that supports transaction processing. History IBM designed the IMS with Rockwell and Caterpillar starting in 1966 for the Apollo ...
(IMS) uses the term "access method" to refer to its methods for manipulating "segments in a database record". These are: * Generalized Sequential Access Method ( GSAM), * Hierarchical Direct Access Method ( HDAM), * Hierarchical Indexed Direct Access Method ( HIDAM), * Hierarchical Indexed Sequential Access Method ( HISAM), *
Hierarchical Sequential Access Method The IBM Information Management System (IMS) is a joint hierarchical database and information management system that supports transaction processing. History IBM designed the IMS with Rockwell and Caterpillar starting in 1966 for the Apollo pr ...
( HSAM), * Overflow sequential access method (OSAM), * Partitioned Hierarchical Direct Access Method ( PHDAM), *
Partitioned Hierarchical Indexed Direct Access Method Partition may refer to: Computing Hardware * Disk partitioning, the division of a hard disk drive * Memory partition, a subdivision of a computer's memory, usually for use by a single job Software * Partition (database), the division of a ...
( PHIDAM), * Partitioned Secondary Index ( PSIMDEX), * Simple Hierarchical Sequential Access Method ( SHSAM), and *
Simple Hierarchical Indexed Sequential Access Method Simple or SIMPLE may refer to: *Simplicity, the state or quality of being simple Arts and entertainment * ''Simple'' (album), by Andy Yorke, 2008, and its title track * "Simple" (Florida Georgia Line song), 2018 * "Simple", a song by Johnn ...
( SHISAM). This is a different use of the term from the other access methods mentioned in this article.


Modern implementations

In the
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: * ...
operating system, two elements provide access methods: * Data Facility Product * Communications Server


References

{{Mainframe I/O access methods Computer file systems Computer-related introductions in 1963 IBM mainframe operating systems