cobol2.hlp (Table of Contents; Topic list)
PARAMCOUNTCHECK Details (↑ Choosing Run-time Behavior)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     You must use this directive if either:
 
     o  the program will be called with a variable number of parameters, or
 
     o  the program contains a Linkage Section, and will be used both as
        a main program run from the command line and as a subprogram
        called from another program.
 
     o  the program will call any program 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.
 
     Unless you specify the LINKCHECK directive, attempting to reference
     a Linkage Section item that does not exist may result in a system
     hang on DOS, or a protection violation on OS/2.
 
     See also LINKCHECK
              STICKY-LINKAGE
                                    -♦-