Restriction: This topic applies to Windows environments only.
[label] CALL progname
,(parm01,parm02,...)
[,VL]
[,ID=id-number]
Parameters
- progname
- Name of the CSECT to be called.
- parm01,parm02
- Names of the parameters that will be used to create a parameter address list for loading into register 1.
- VL
- Cause the high-order bit of the address of the last parameter to be set on; include this if the CSECT can be passed a variable
number of parameters.
- ID=id-number
- Generate a NOP branch instruction with the id-number in the low order 12 bits. The purpose of this is to enable you to identify
each call uniquely during debugging. Id-number can be a value between 0 and 4095.
Comments
Passes control to another program.
Examples
CALL MYPROG
CALL MYPROG,(PARM1,PARM2,PARM3),VL