4. Issues the STACK macro to define the terminal as the primary source
of input.Most of the simulated supervisory as control blocks are contained in the
following twoCMS control blocks: CMSCVT simulates the communication vector table (CVT). Location 16
contains the address of theCVT control section. CMSCB allocated fro. system free whenever a FILEDEF command or
anOPEN (SVC 19) is issued for a data set. The CMS control block
consists of theCMS file Control block (FCB) for the data file management under CMS, and simulation of the job file control
block (JFCB), input/output block(lOB), and data extent block
(DEB). Thename of the data set is contained in the FCB, and is
obtainedfrom the FILEDEF argument list, or from a predetermined
file name supplied by the processing problem program.CMS also utilizes portions of the supplied data control block (DCB) and
the data event control block (DECB). TheTSO control blocks utilized
are thecommand program parameters list (CPPL), user profile table (UPT), protected step control block (PSCB), and environment control
table(ECT). CMS provides a nu.ber of routines to simulate certain operating system functions used by programs such as the Assembler and the FORTRAN and
PL/I compilers.Some of the SVC simulation routines are located in the
disk resident transient moduleDMSSVT. Whenever one of the SVC routines
inDMSSVT or is invoked, that routine is loaded into the transient area.
The following paragraphs describe how these simulation routines work. Writes and reads the source code spill file, SISUT1, during
language compilation for PL/IOptimizer and ANS COBOL Compilers. WAIT-SVC 1: Causes the active task to wait until one of more event control-blocks (BCBs) have been posted. For each specified BCB that has
been posted one is subtractedfrom the number of events specified in the WAIT macro. If the number of events is zero by the time the last ECB is control is returned to the user. If the number of events is not
zero after the last ECB is checked and the number of events is not
greater than thenumber of ECBs, the active task is put into a wait
state until enough ECBs are posted to set the number of events at zero.When the event count reaches zero the wait bits are turn off in any ECEs that have not been posted and control is returned to the user. If the number of events specified is greater than the number of ECBs the system abnormally terminates with an error message. All options of WAIT are
supported. Causes the specified event control block (ECB) to be set to
indicate the occurrence of an event. This event satisfies the
requirements of aWAIT macro instruction. All options of POST are
supported. The bits in the ECB are set as follows:!!,!! o 0 1 1
2-7Value of specified completion code
2-124IBM VM/370 System Logic and program Determination--Volume 2
of input.
following two
contains the address of the
an
consists of the
block (JFCB), input/output block
(DEB). The
obtained
file name supplied by the processing problem program.
the data event control block (DECB). The
are the
table
PL/I compilers.
disk resident transient module
in
The following paragraphs describe how these simulation routines work.
language compilation for PL/I
been posted one is subtracted
zero after the last ECB is checked and the number of events is not
greater than the
state until enough ECBs are posted to set the number of events at zero.
supported.
indicate the occurrence of an event. This event satisfies the
requirements of a
supported. The bits in the ECB are set as follows:
2-7
2-124