To accomplish this simulation, CMS supports certain essential macros
for the following access methods:• BDAM @ BPAM (direct) -- identifying a record by a key or by its
relative position within the data set.
(partitioned) --seeking anamed member within data set. • BSAM/QSAM (sequential) -- accessing a record in a sequence in
relation to preceding or following records.• VSAM (direct or sequential) --accessing a record sequentially
or directlyby key or address. !Qte: CMS support of OS VSAM files is based on DOS/iS Access Method Services and Virtal Storage Access Method (VSAM). Therefore, the as user is restricted to those
functionsa¥ailable under "DOS/VS Access Method Services." See the section "CMS Support for as and Des VSAM Functions" for details. eMS also updates those portions of the as control blocks that are
neededby the as simulation routines to support a program during
execution.Most of the simulated supervisory as control blocks are
contained in the following twoeMS control blocks: CMSCVT simulates the communication vector table. Location 16 contains
the address of theCVT centrol section. CMSCB is allocated from system free storage whenever a FILEDEF com.and or an OPEN (SVC 19) is issued for a data set. The CMS Control
Block consists of a file control block (FCB) for the data file,
and partialsimUlation of the job file control block (JFCB),
input/output block (lOB), and data extent block (DEB).
The data control block (nCB) and the data event control block (DECB)
are usedby the access method simulation routines of CMS. !Qte: The results may be unpredictable if two DCBs access the same data
set at thesa.e time. The GET and PUT macros are not supported for use with spanned
records. READ andWRITE are supported for spanned records, provided the
file.ode number is4, and the data set is physical sequential (BSAM) format. GET (QSAM) All the QSAM options of GET
handled thesame as move mode. number is 4, and the last block (X'61FFFF61') must be present
record.
GET(QISAM) QISAM is net supported in eMS. PUT (QSA8) are supported. Substitute mode is
If theDCBRECFM is FB, the file.ode
is a short block, anEOF indicator
in the last block after the last
All theQSAM options of PUT are supported. Substitute mode is
handled thesame as .ove mode. If the DCBRECFM is FB, the file.ode number is 4, and the last block is a short bleck, an EOF indicator is
written in the last block after the last record.CMS Introduction 2-43
for the following access methods:
relative position within the data set.
(partitioned) --seeking a
relation to preceding or following records.
or directly
functions
needed
execution.
contained in the following two
the address of the
Block consists of a file control block (FCB) for the data file,
and partial
input/output block (lOB), and data extent block (DEB).
The data control block (nCB) and the data event control block (DECB)
are used
set at the
records. READ and
file.ode number is
handled the
record.
GET
If the
is a short block, an
in the last block after the last
All the
handled the
written in the last block after the last record.