Object Code Accelerator Manual

Error and Warning Messages
Object Code Accelerator Manual528144-003
8-2
Warning Messages
declared a USE variable that was not DROPped before the procedure call. For
example:
PROC fred;
BEGIN
USE i;
i:= jane;
DROP i;
CALL do_mine;
END;
Check your program to verify that inheriting a register has actually occurred.
Recovery. In TAL programs that pass parameters in registers you can either:
Modify the source code to eliminate the implicit parameter passing through the
register, then reaccelerate your program
Reaccelerate your program supplying the appropriate INHERITSRn options on the
command line. For example:
oca [/run-options/] input-file, IGNORE_IRn proc-name
You can also introduce an ”inherit a register” warning if you enter an incorrect
INHERITSRn or INHERITSCC option; a warning appears about the caller procedure
and other procedures it calls.
If you determine that an “inherit a register message” occurs when there is no “inherit a
register condition”, you can:
Enter the IGNORE_IRn option at the command line so that OCA ignores the
condition. For example:
oca [/run-options/] input-file, IGNORE_IRn proc-name
For programs that contain an uninitialized USE variable that is not DROPped
before a procedure call, you can restructure the program to DROP, or defer the
USE variable before the call. For example:
PROC fred,
BEGIN
USE i,
i ;= jane,
DROP i,
CALL do_mine,
END,