Extended  PLIST:   For  an  extended  parameter  plist,  no  restriction  is  put  on  the  
structure of the argument list passed to the called routine or command. Register0   points  to  the  following  consecutive  words:  
(a) DC A (CMDBEG)
(b) DC A (ARGBEG)
(c) DC A(ARGEND)
(d) DCA(O)   where  the  first  three  addresses  are  defined  as  in  the  following  example:  
CMDBEGEQU   *  
DC C'testprog'
ARGBEGEQU   *  
DC C' (file 2)'
ARGENDEQU   *  
CMDBEGEQU   *  
ARGBEGEQU   *  
ARGENDEQU   *  
-indicates the beginning of the command name.
-indicates the beginning of the argument list.
-indicates the end of the argument list.
a. The first word is the beginning address of the command.
b. The second gives the beginning address of the argument list.
c. The third gives the address of the byte immediately following the end of
the argument list.
d. The fourth word may be used to pass any additional information required
by individual called programs. If not used to pass additional information,
this word should be zero so that programs which can receive optional
information via this word may detect that none is provided in this call.
Notes:
1. It is specifically allowed that these four words be moved to some location conĀ
venient for the command resolution routines, or convenient for some other
program executed between the caller'sSVC   202   and  entry  to  the  program  for  
which the parameter list is intended. For this reason, the called program may
not assume additional words follow word 4, or that the storage address of these
4 words bears any relationship to other data addresses.
2. For function calls in the System Product Interpreter, two additional words are
available.See   the  VM  /  SP   System  Product  Interpreter  Reference,  SC24-5239,  
for more information on function calls and the two additional words.SVC   203   SVC   203   is  called  by  CMS   macros  to  perform  various  internal  system  functions.  It  
is used to defineSVC   calls  for  which  no  parameter  list  is  provided.  For  example,  
DMSFREE parameters are passed in registers0   and  1.  
A typical calling sequence for anSVC   203   call  is  as  follows:  SVC   203   DC  H'code'  
The halfword decimal code following theSVC   203   indicates  the  specific  routine  
being called.DMSITS   examines  this  halfword  code,  taking  the  absolute  value  of  
Functional Information 337
structure of the argument list passed to the called routine or command. Register
(a) DC A (CMDBEG)
(b) DC A (ARGBEG)
(c) DC A(ARGEND)
(d) DC
CMDBEG
DC C'testprog'
ARGBEG
DC C' (file 2)'
ARGEND
CMDBEG
ARGBEG
ARGEND
-indicates the beginning of the command name.
-indicates the beginning of the argument list.
-indicates the end of the argument list.
a. The first word is the beginning address of the command.
b. The second gives the beginning address of the argument list.
c. The third gives the address of the byte immediately following the end of
the argument list.
d. The fourth word may be used to pass any additional information required
by individual called programs. If not used to pass additional information,
this word should be zero so that programs which can receive optional
information via this word may detect that none is provided in this call.
Notes:
1. It is specifically allowed that these four words be moved to some location conĀ
venient for the command resolution routines, or convenient for some other
program executed between the caller's
which the parameter list is intended. For this reason, the called program may
not assume additional words follow word 4, or that the storage address of these
4 words bears any relationship to other data addresses.
2. For function calls in the System Product Interpreter, two additional words are
available.
for more information on function calls and the two additional words.
is used to define
DMSFREE parameters are passed in registers
A typical calling sequence for an
The halfword decimal code following the
being called.
Functional Information 337
 
             
            
































































































































































































































































































































































































































































































































































































































