In IBM mainframe operating systems, Queued Sequential Access Method (QSAM)[1] 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 that are naturally sequential, such as punched card readers and punches and line printers, and for data on devices that could also be addressed directly, such as magnetic disks. QSAM offers device independence: to the extent possible, the same API calls are used for different devices.

QSAM is—as its name says—queued, in this specific context meaning buffered with deblocking of reads and blocking of writes. It allows programs to read and write logical records within physical blocks of data, as opposed to the less advanced basic sequential access method (BSAM) which allows programs to access physical blocks of data, but provides no support for accessing logical records within blocks.

QSAM manages truncated final blocks and truncated embedded blocks completely transparently to the user.

The QSAM application program interface can be compared with the interface offered by open, read, write and close calls (using file handles) in other operating systems such as Unix and Windows.

See also

edit

References

edit
  1. ^ IBM System/360 Operating System Sequential Access Methods Program Logic Manual (PDF). IBM. January 1967. Y28-6604-1.

📚 Artikel Terkait di Wikipedia

Direct-access storage device

track-size segments within the same cylinder. The queued-access methods, such as QSAM, are responsible for blocking and deblocking logical records as they are

Basic sequential access method

to the more powerful but less flexible Queued Sequential Access Method (QSAM) which allows programs to access logical records within physical blocks of

Sequential access memory

access Basic sequential access method (BSAM) Queued sequential access method (QSAM) Secondary storage Hard disk drive Solid-state drive Magnetic storage Magnetic

Data set (IBM mainframe)

it is to be updated. Programmers utilize various access methods (such as QSAM or VSAM) in programs for reading and writing data sets. Access method depends

Unit Control Block

t e OS/360 and successors I/O access methods Low-level EXCP EXCPVR STARTIO Storage XDAP BDAM BSAM QSAM BPAM ISAM VSAM OAM Network BTAM QTAM TCAM VTAM

Virtual Telecommunications Access Method

t e OS/360 and successors I/O access methods Low-level EXCP EXCPVR STARTIO Storage XDAP BDAM BSAM QSAM BPAM ISAM VSAM OAM Network BTAM QTAM TCAM VTAM

ISAM

t e OS/360 and successors I/O access methods Low-level EXCP EXCPVR STARTIO Storage XDAP BDAM BSAM QSAM BPAM ISAM VSAM OAM Network BTAM QTAM TCAM VTAM

Basic direct access method

t e OS/360 and successors I/O access methods Low-level EXCP EXCPVR STARTIO Storage XDAP BDAM BSAM QSAM BPAM ISAM VSAM OAM Network BTAM QTAM TCAM VTAM