You must use this directive if any of the following apply:
The program is called with a variable number of parameters.
The program contains a Linkage Section, and is to be used both as a main program run from the command line and as a subprogram called from another program.
The program is compiled with STICKY-LINKAGE"2" specified.
Otherwise the program can be compiled with NOPARAMCOUNTCHECK for efficiency. A program to be called from a language other than COBOL must be compiled with NOPARAMCOUNTCHECK.
Comments:
You must use this directive if any of the following apply:
Otherwise the program can be compiled with NOPARAMCOUNTCHECK for efficiency. A program to be called from a language other than COBOL must be compiled with NOPARAMCOUNTCHECK.