Macro SVC Name Number
XDApI 00 WAIT 01 POST 02 EXIT /RETURN 03 GETMAIN 04 FREEMAIN 05 GETPOOL - FREEPOOL -
LINK 06 XCTL 07 LOAD 08 DELETE 09 GETMAIN/ 10 FREEMAIN
TIME I 11
ABEND 13 SPIEl 14 RESTORE1 17
BLDL/FIND1 18 OPEN 19 CLOSE 20 STOWI 21 OPEN] 22
macros, CMS can read VSE sequential files that reside on DOS disks. The OS macros handle the VSE data as if it were OS data. Thus, a VSE sequential file can
be used as input to an OS program running under CMS.
However, an OS sequential or partitioned data set that resides on an OS disk can
be written or updated only by an OS program running in a real OS machine.
CMS can execute programs that read and write VSAM files from OS programs
written in the VS BASIC, COBOL, PL/I, VS/ APL, and VS FORTRAN pro­
gramming languages. CMS also supports VSAM for use with DOS/VS SORT /MERGE. This CMS support is based on the VSE/VSAM program product
and, therefore, the OS user is limited to those VSAM functions that are available
under VSE/VSAM.
Function
Read or write direct access volumes
Wait for an I/O completion Post the I/O completion
Return from a called phase
Conditionally acquire user storage
Release user-acquired storage
Simulate as SVC 10 Simulate as SVC 10 Link control to another phase
Delete, then link control to another load phase
Read a phase into storage
Delete a loaded phase
Manipulate user free storage
Get the time of day
Terminate processing
Allow processing program to handle program interrupts.
Effective NOP Manipulate simulated partitioned data files
Activate a data file
Deactivate a data file
Manipulate partitioned directories
Activate a data file
Figure 42 (Part 1 of 2). Simulated OS Supervisor Calls
as Macro Simulation Under eMS 371
Macro SVC Name Number Function TCLOSE 23 Temporarily deactivate a data file DEVTYPEl 24 Get device-type physical characteristics " TRKBAL 25 NOP FEOV 31 Set forced EOV error code WTO/WTORI 35 Communicate with the terminal
EXTRACTl 40 Effective NOP IDENTIFYl 41 Add entry to loader table
ATTACHI 42 Effective LINK
CHApl 44 Effective NOP TTIMERI 46 Access or cancel timer
STIMERI 47 Set timer
DEQl 48 Effective NOP SNApl 51 Dump specified areas of storage
ENQl 56 Effective NOP FREEDBUF 57 Release a free storage buffer
STAE 60 Allow processing program to decipher abend conditions
DETACHl 62 Effective Nap CHKPTl 63 Effective Nap
RDJFCBl 64 Obtain information from FILEDEF command
SYNADI 68 Handle data set error conditions
BSpl 69 Back up a record on a tape or disk GET/PUT - Access system-blocked data
READ/WRITE -Access system-record data NOTE/POINT - Manage data set positioning
CHECK -Verify READ/WRITE completion TGET/TPUT 93 Read or write a terminal line
TCLEARQ 94 Clear terminal input queue
STAX 96 Update a queue of CMTAXs PGRLSEl 112 Release storage contents
Figure 42 (Part 2 of 2). Simulated OS Supervisor CaUs Simulation Notes
lSimulated in the routine DMSSVT. Other simulation routines reside in the
nucleus.
Because CMS has its own file system and is a single-user system operating in a vir­
tual machine with virtual storage, there are certain restrictions for the simulated as
function in CMS. For example, HIARCHY options and options that are used only
by as multitasking systems are ignored by CMS.
372 VM/SP System Programmer's Guide
Previous Page Next Page