HP3000-L Archives

September 2000, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Pollard <[log in to unmask]>
Reply To:
John Pollard <[log in to unmask]>
Date:
Thu, 14 Sep 2000 11:48:11 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (11 lines)
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.

ATOM RSS1 RSS2