I believe that the problem extends beyond called Cobol routines. I recently
found a bug in a Cobol program which was calling the KSAM "intrinsic"
"CKREADBYKEY". The program called this "intrinsic" many times, but one of
the calls was missing two parameters. The compiler did not catch this and
the program bombed when this call was executed.
That having been said, according to the HP intrinsic manual, you can define
your own intrinsics - presumably, if you did that for the routine in your
question, the compiler could then tell you if you had not supplied the
correct number of parameters.