|
|||||||||||
An access method is a function of a mainframe operating system that enables access to data on disk, tape or other external devices. They were introduced in 1963 in IBM OS/360 operating system.[1] Access methods provide an API for programmers to transfer data to or from device, and could be compared to device drivers in non-mainframe operating systems.
|
Contents
|
Without access methods, a programmer must write a special program for an I/O channel, a processor dedicated to control peripheral storage device access and data transfer to and from main memory. This processor requires programs written with special instructions, called Channel Command Words (CCWs). Programming those is a complex and arduous task. Channel programs are initiated by a STARTIO macro issued by the operating system. This is usually front ended by the Execute Channel Program (EXCP) macro for application programmer convenience. This macro issues an SVC (supervisor call instruction) that directs the operating system to issue the STARTIO on the application's behalf.[2]
Access methods provide:
Storage-oriented access methods in approximate chronological order:
Both types of access deal with records of a data set. Queued methods are improvement over basic ones, as they support internal blocking of data and also often read-ahead scheme.[1] This meant multiple records could be combined into one block for increased performance.
Sequential access assumes that records can be processed only sequentially, as opposed to direct (or random) access. Some devices, such as magnetic tape, naturally enforce sequential access, but it can be used as well on direct access storage devices (DASD), such as disk drives. In the latter case, a data set written with sequential access can be later processed in a direct manner.
Network-oriented access methods in approximate chronological order:
In the z/OS operating system, two elements provide access methods:
| This computer storage–related article is a stub. You can help Wikipedia by expanding it. |
| This mainframe computer-related article is a stub. You can help Wikipedia by expanding it. |
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)