Due  to  the  design  of  the  CMS  loader,  an  XCTL  from  the  explicitly  loaded  phase,  
followed by a LINK by succeeding phases, may cause unpredictable results.
Listed below are descriptions of all the as macro functions that are simulated by
CMS as seen by the programmer. Implementation and program results that differ
from those given in as Data Management Macro Instructions and as SupervisorServices   and  Macro  Instructions  are  stated.  HIARCHY  options  and  those  used  only  
by as multitasking systems are ignored by CMS. Validity checking is not perĀ
formed within the simulation routines. The entry point name in LINK, XCTL, andLOAD   (SVC  6,  7,  8)  must  be  a  member  name  or  alias  in  a  TXTLIB  directory  
unless theCOMPSWT   is  set  to  on.  If  the  COMPSWT   is  on,  SVC  6,  7,  and  8  must  
specify a module name. This switch is turned on and off by using theCOMPSWT   macro.  See  the  VM  /  SP   CMS   Command  and  Macro  Reference  for  descriptions  of  
all CMS user macros.
Macro-SVC No. Differences in ImplementationXDAP-SVCO   The  TYPE   option  must  be  R  or  W;  the  V,  I,  and  K  options  are  
not supported. The BLKREF-ADDR must point to an item
number acquired by aNOTE   macro.  Other   options  associated  
with V, I, or K are not supported.
WAIT -SVC 1 All options of WAIT are supported. The WAIT routine waits
for the completion bit to be set in the specified ECBs.POST   -SVC2  All  optiot;ls   of  POST   are  supported.  POST   sets  a  completion  
code and a completion bit in the specified ECB.
EXIT /RETURN-SVC3
GETMAIN-SVC4Post   ECB,  execute  end  of  task  routines,  release  phase  storage,  
unchain and free latest request block, and restore registers
depending upon whether this is an exit or return from a linked
or an attached routine. Do not use EXIT/RETURN to exit
from an explicitlyLOADed   phase.  If  EXIT/RETURN  is  used  
for this purpose, CMS issues abend codeAOA.   All  options  of  GETMAIN  are  supported  except  SP,   BNDRY=,  
and HIARCHY, which are ignored by CMS, and LC andLU,   which  result  in  abnormal  termination  if  used.  GETMAIN  gets  
blocks of free storage.
FREEMAIN -SVC5
LINK-SVC6
All options of FREEMAIN are supported exceptSP,   which  is  
ignored by eMS, and L, which result in abnormal termination if
used. FREEMAIN frees blocks of storage acquired by
GETMAIN.
The DCB and HIARCHY options are ignored by CMS. All
other options of LINK are supported. LINK loads the specified
program into storage (if necessary) and passes control to the
specified entry point.
as Macro Simulation UndereMS   373  
followed by a LINK by succeeding phases, may cause unpredictable results.
Listed below are descriptions of all the as macro functions that are simulated by
CMS as seen by the programmer. Implementation and program results that differ
from those given in as Data Management Macro Instructions and as Supervisor
by as multitasking systems are ignored by CMS. Validity checking is not perĀ
formed within the simulation routines. The entry point name in LINK, XCTL, and
unless the
specify a module name. This switch is turned on and off by using the
all CMS user macros.
Macro-SVC No. Differences in Implementation
not supported. The BLKREF-ADDR must point to an item
number acquired by a
with V, I, or K are not supported.
WAIT -SVC 1 All options of WAIT are supported. The WAIT routine waits
for the completion bit to be set in the specified ECBs.
code and a completion bit in the specified ECB.
EXIT /RETURN-SVC3
GETMAIN-SVC4
unchain and free latest request block, and restore registers
depending upon whether this is an exit or return from a linked
or an attached routine. Do not use EXIT/RETURN to exit
from an explicitly
for this purpose, CMS issues abend code
and HIARCHY, which are ignored by CMS, and LC and
blocks of free storage.
FREEMAIN -SVC5
LINK-SVC6
All options of FREEMAIN are supported except
ignored by eMS, and L, which result in abnormal termination if
used. FREEMAIN frees blocks of storage acquired by
GETMAIN.
The DCB and HIARCHY options are ignored by CMS. All
other options of LINK are supported. LINK loads the specified
program into storage (if necessary) and passes control to the
specified entry point.
as Macro Simulation Under
 
             
            
































































































































































































































































































































































































































































































































































































































