Brad,
You need to specify the intrinsic in upper-case. The compiler is interpreting the intrinsic name you placed in quotes as a lower-case intrinsic function, which doe not exist in the SYSINTR.PUB.SYS file. Cobol will upshift all of the code in your source file except for data within quotation marks.
tom renz
>>> Brad Feazell <[log in to unmask]> 03/15 1:31 PM >>>
The small cobol program below compiles and runs on our test MPE/iX 5.5 pp6
machine but on our production machine with same MPE/iX 5.5 pp6, I get a
compiler error:
INTRINSIC clock NOT FOUND IN INTRINSIC FILE.
Does anyone know why this would happen?
$control post85
identification division.
program-id. test.
environment division.
configuration section.
data division.
working-storage section.
01 time-disp pic x(7).
01 time-comp pic s9(9) binary sync.
procedure division.
main.
call intrinsic "clock" giving time-comp
move time-comp to time-disp
display time-disp
stop run.
--
Brad Feazell