Queued sequential access method

Queued sequential access method

In IBM mainframe operating systems, a queued sequential access method (QSAM) is one of the access methods for files, or more properly data sets. QSAM files are unkeyed, with the records placed one after another, according to entry order. A program can process these files only sequentially, retrieving (with the READ statement or GET macro instruction) records in the same order as they are in the file. Each record is placed after the preceding record.

QSAM files can be on tape, direct access storage devices (DASDs), unit-record devices, and terminals. QSAM processing is best for tables and intermediate storage.

To process QSAM files in a program, a programmer could use COBOL language statements that:

* Identify and describe the QSAM files in the ENVIRONMENT DIVISION and the DATA DIVISION.
* Process the records in these files in the PROCEDURE DIVISION.

After a record is created, its length or its position in the file cannot be changed, and it cannot be deleted. QSAM files can, however, be updated on DASD (using REWRITE).

The record definitions that are coded in COBOL program and the length of the variables read into and written from determines the amount of data transferred.

You can also access byte stream files in the HFS using QSAM. These files are byte-oriented sequential files with no record structure, modelled after those used in Unix-like and Windows systems. Such files cannot be updated using REWRITE.


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Basic sequential access method — In IBM mainframe operating systems, basic sequential access method (BSAM) is an access method to read and write data sets sequentially. BSAM is available on OS/360, OS/VS2, MVS, z/OS, and related high end operating systems.BSAM is used both for… …   Wikipedia

  • queued indexed sequential access method — indeksuojamosios nuosekliosios tęstinės kreipties metodas statusas T sritis automatika atitikmenys: angl. queued indexed sequential access method vok. indiziertes sequentielles Warteschlangen Zugriffsverfahren, n rus. индексно последовательный… …   Automatikos terminų žodynas

  • Access method — 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. [http://researchweb.watson.ibm.com/journal/rd/255/ausl… …   Wikipedia

  • Sequential access — In computer science, sequential access means that a group of elements (e.g. data in a memory array or a disk file or on a tape) is accessed in a predetermined, ordered sequence. Sequential access is sometimes the only way of accessing the data,… …   Wikipedia

  • Direct access storage device — In mainframe computers and some minicomputers, a direct access storage device, or DASD (  /ˈdæ …   Wikipedia

  • QSAM — Queued Sequential Access Method (Computing » General) …   Abbreviations dictionary

  • QSAM — • Queued Sequential Access Method • Quasi Steady Acceleration Measurement NASA …   Acronyms

  • QSAM —    Queued Sequential Access Method (IBM) …   IT glossary of terms, acronyms and abbreviations

  • QSAM — comp. abbr. Queued Sequential Access Method abbr. Queued Sequential Access Method (SAM) comp. abbr. Queued Sequential Access Method …   United dictionary of abbreviations and acronyms

  • List of file systems — The following lists identify, characterize and link to more thorough information on computer file systems.Many older operating systems support only their one native file system, which does not bear any name apart from the name of the operating… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”