encyclopegia.org

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 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.

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 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== Sequential access memory (SAM) Basic sequential access method (BSAM) Hierarchical sequential access method (HSAM) Basic indexed sequential access method (BISAM) Queued indexed sequential access method (QISAM) Hierarchical indexed sequential access method (HISAM) ==References==

References

  1. IBM System/360 Operating System Sequential Access Methods Program Logic Manual (PDF) . IBM. January 1967. Y28-6604-1. Wikipedia revision 1175715358, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1175715358
    Cite this reference

    MLA "IBM System/360 Operating System Sequential Access Methods Program Logic Manual (PDF) . IBM. January 1967. Y28-6604-1. Wikipedia revision 1175715358, retrieved 2026-11-19." IBM System/360 Operating System Sequential Access Methods Program Logic Manual (PDF). 2026-11-18. http://www.bitsavers.org/pdf/ibm/360/os/plm_1966-67/Y28-6604-1_Sequential_Access_Methods_PLM_Jan67.pdf. Accessed 24 November 2026.

    Chicago "IBM System/360 Operating System Sequential Access Methods Program Logic Manual (PDF) . IBM. January 1967. Y28-6604-1. Wikipedia revision 1175715358, retrieved 2026-11-19." IBM System/360 Operating System Sequential Access Methods Program Logic Manual (PDF). 2026-11-18. http://www.bitsavers.org/pdf/ibm/360/os/plm_1966-67/Y28-6604-1_Sequential_Access_Methods_PLM_Jan67.pdf.

    APA IBM System/360 Operating System Sequential Access Methods Program Logic Manual (PDF). (2026). IBM System/360 Operating System Sequential Access Methods Program Logic Manual (PDF) . IBM. January 1967. Y28-6604-1. Wikipedia revision 1175715358, retrieved 2026-11-19. Retrieved November 24, 2026, from http://www.bitsavers.org/pdf/ibm/360/os/plm_1966-67/Y28-6604-1_Sequential_Access_Methods_PLM_Jan67.pdf

Cite this article

MLA

"Queued Sequential Access Method." encyclopegia.org, 2023, https://encyclopegia.org/wiki/queued-sequential-access-method. Accessed 24 November 2026.

Chicago

"Queued Sequential Access Method." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/queued-sequential-access-method.

APA

encyclopegia.org. (2023). Queued Sequential Access Method. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/queued-sequential-access-method

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1175715358 · 0.5 · snapshot enwiki-001175715358

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.