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, enterpris ...
operating system An operating system (OS) is system software that manages computer hardware and software resources, and provides common daemon (computing), services for computer programs. Time-sharing operating systems scheduler (computing), schedule tasks for ...
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 a ...
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 the context of an operating system, 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, enabli ...
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) 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, multi-user 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, a ...
, 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 un ...
s, mainframes offer a variety of data options and formats, such as varying types and sizes of records, 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 * 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 a ...
* QSAM -
Queued sequential access method 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 devices ...
* BPAM -
Basic partitioned access method 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 memb ...
*
ISAM Indexed Sequential Access Method (ISAM) 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 maintained to achieve ...
-
Indexed sequential access method Indexed Sequential Access Method (ISAM) 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 maintained to achieve ...
*
VSAM Virtual Storage Access Method (VSAM) is an IBM direct-access storage device (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 S ...
-
Virtual storage access method Virtual Storage Access Method (VSAM) is an IBM direct-access storage device (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 S ...
, introduced with
OS/VS The IBM System/370 (S/370) is a range of IBM mainframe computers announced as the successors to the System/360 family on June 30, 1970. The series mostly maintains backward compatibility with the S/360, allowing an easy migration path for cus ...
* OAM -
Object access method Object access method (OAM) is an access method under z/OS which is designed for the storage of large numbers of large files, such as images. It has a number of distinguishing features, e.g. compared to VSAM: *OAM datasets do not have an internal ...
, 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 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 table (database), database tables, where every column (database), column of a table represents a particular Variable (computer sci ...
. ''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 magnetic ...
, 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, th ...
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 (BTAM) is a low-level programming interface specified by IBM for use on the IBM System/360 for start-stop and binary synchronous telecommunications terminals. Later, IBM specified higher-level interfaces QTA ...
-
Basic telecommunications access method Basic Telecommunications Access Method (BTAM) is a low-level programming interface specified by IBM for use on the IBM System/360 for start-stop and binary synchronous telecommunications terminals. Later, IBM specified higher-level interfaces QTA ...
*
QTAM Queued Telecommunications Access Method (QTAM) is an IBM System/360 communications access method incorporating built-in Message queue, queuing. QTAM was an alternative to the lower level Basic Telecommunications Access Method (BTAM). History QTA ...
- 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 sim ...
*
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 contro ...
-
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 contro ...
, introduced with
OS/VS The IBM System/370 (S/370) is a range of IBM mainframe computers announced as the successors to the System/360 family on June 30, 1970. The series mostly maintains backward compatibility with the S/360, allowing an easy migration path for cus ...
*
TCP/IP The Internet protocol suite, commonly known as TCP/IP, is a framework for organizing the communication protocols used in the Internet and similar computer networks according to functional criteria. The foundational protocols in the suite are ...
for
MVS Multiple Virtual Storage, more commonly called MVS, is the most commonly used operating system on the System/370, System/390 and IBM Z IBM mainframe computers. IBM developed MVS, along with OS/VS1 and SVS, as a successor to OS/360. It is unr ...
- Transmission Control Protocol/Internet Protocol


IMS

The
IBM Information Management System The IBM Information Management System (IMS) is a joint hierarchical database model, hierarchical database and information management system that supports transaction processing. Development began in 1966 to keep track of the bill of materials for ...
(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 A hierarchy (from Greek: , from , 'president of sacred rites') is an arrangement of items (objects, names, values, categories, etc.) that are represented as being "above", "below", or "at the same level as" one another. Hierarchy is an important ...
( HDAM), * Hierarchical Indexed Direct Access Method ( HIDAM), *
Hierarchical Indexed Sequential Access Method Indexed Sequential Access Method (ISAM) 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 maintained to achieve ...
( HISAM), *
Hierarchical Sequential Access Method The IBM Information Management System (IMS) is a joint hierarchical database and information management system that supports transaction processing. Development began in 1966 to keep track of the bill of materials for the Saturn V rocket of the Ap ...
( HSAM), * Overflow sequential access method (OSAM), *
Partitioned Hierarchical Direct Access Method Partition may refer to: Arts and entertainment Film and television * ''Partition'' (1987 film), directed by Ken McMullen * ''Partition'' (2007 film), directed by Vic Sarin * '' Partition: 1947'', or ''Viceroy's House'', a 2017 film Music * Par ...
( PHDAM), * Partitioned Hierarchical Indexed Direct Access Method ( PHIDAM), * Partitioned Secondary Index ( PSIMDEX), *
Simple Hierarchical 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 John ...
( 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 John ...
( 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