If not found, the co.mand naae is considered to be an abbreviation
and the appropriate tables are examined. If found, the abbreviation
is replaced by its full equivalent and the search for anEXEC file
is repeated.
2. If there is noEXEC file, DMSINT executes SVC 202, passing the
scannedparameter list, with the cOmmand name in the first eight
bytes.DMSITS will perform the search described for SVC 202 in an
effort to execute the command.
3. IfDMSITS returns to DMSINT with a return code of -3, indicating
that the search was unsuccessful, thenDMSINT uses the CP DIAGNOSE facility to attempt to execute the command as a CP command.
4. If all of these searches fail, thenDMSINT displays the error
messageUNKNOWN CP/CMS COMMAND. See Figure 4 for a description of this search a command na:e. USER AND TRANSIENT PROGRAM AREAS Two areas can hold programs that are loaded from disk. These are called
the user program area and the transient program area.(See Figure 3 for
a description ofCMS storage usage.) A summary of CP, CMS. IPCS, and RSCS modules and their attributes, including whether they reside in the
user program area or the transient area is contained in the2 The user program area starts at location X'20000' and extends upward
to the loader tables. Generally, all user programs and certainsystem commands (such as EDIT, and COPYFILE) are executed in the user program
area.Since only one program cari be executing in the user program area
at anyone time, it is impossible (without unpredictable results) for
one program being executed.in the user program area to invoke, by means
ofSVC 202, a module that is also intended to te executed in the user
program area.
The transient program area istvo pages long, extending from location X'EOOO' to location X'PPPP'. It provides an area for system commands that may also be invoked from the user program area by means of an SVC 202 call. When a transient module is called by an SVC, it is normally executed with the PSi system mask disabled for I/O and external
interrupts.
The transient program area is also used to handle certainOS macro
simulationSVC calls. OS SVC calls are handled by the JS simulation
routines located either in theCMSSEG discontiguous shared segment or in
the userprogram area, as close to the loader tables as possible. If DMSITS cannot find the address of a supported OS SVC handling routine,
then it loads the fileDMSSVT MODULE into the transient area, and lets
that routine handle theSVC. A program being executed in the transient program area may not invoke
another program intended for execution in the transient program area,
includingOS macro simulation SVC calls that are handled by DMSSVT. For example, a program being executed in the transient program area may not
invoke theRENAME command. In addition, it may not invoke the OS macro iTO, which generates an SVC 35, which is handled by DMSSVT. DMSITS starts the programs to be executed in the user program area
enabled for all interrupts but starts the programs to be executed in the
transient program area disabled for all interrupts. The individual
program may have to use theSSM (Set System Mask) instruction to change
the current status of its system mask.CMS Introduction 2-29
and the appropriate tables are examined. If found, the abbreviation
is replaced by its full equivalent and the search for an
is repeated.
2. If there is no
scanned
bytes.
effort to execute the command.
3. If
that the search was unsuccessful, then
4. If all of these searches fail, then
message
the user program area and the transient program area.
a description of
user program area or the transient area is contained in the
to the loader tables. Generally, all user programs and certain
area.
at anyone time, it is impossible (without unpredictable results) for
one program being executed.in the user program area to invoke, by means
of
program area.
The transient program area is
interrupts.
The transient program area is also used to handle certain
simulation
routines located either in the
the user
then it loads the file
that routine handle the
another program intended for execution in the transient program area,
including
invoke the
enabled for all interrupts but starts the programs to be executed in the
transient program area disabled for all interrupts. The individual
program may have to use the
the current status of its system mask.