Returns the number of parameters passed in the USING phrase of a CALL statement to the subprogram that contains the call to C$NARG.
Arguments specified explicitly as OMITTED in the USING list of the CALL statement are included in the count. The GIVING argument is not included in the count.
Note: When calling this routine, ensure you are using the 1024 calling convention.
Syntax:
CALL "C$NARG" USING parameter-count
Parameters:
- parameter-count
- PIC 9(3) BINARY, COMP-4 or COMP-1
On Exit:
- parameter-count
- The number of parameters passed.