If any errors occur in the course of linking a GRIP program, the system displays an error. The following table contains a list of link errors and explanations.
The abbreviation "pn" in the table equates to "program name".
Error Message |
Explanation |
FILE NOT FOUND |
The intermediate file for the main program was not found. |
pn IS NOT A MAIN PROGRAM |
The name specified was for a subprogram. |
pn IS UNDEFINED |
The intermediate file for the subprogram was not found. |
pn NOT A SUBPROGRAM |
The name specified was for a main program. |
TOO MANY EXTERNALS IN pn |
The maximum number of external references in a module exceeds the maximum (50). |
TOO MANY LABELS IN pn |
The number of labels in a module exceeds the maximum (1000). |
WRONG NO. OF ARG. IN pn CALLED FROM pn |
The number of arguments in a CALL statement does not match the number of arguments in the PROC statement of the subprogram called. |
WRONG DIM. IN ARG. NO XXXX IN pn CALLED FROM pn |
The dimension of the argument indicated (XXXX) in the argument list of a call statement does not match the dimension of an argument in the PROC statement of a subprogram called. |
WRONG TYPE IN ARG. NO XXXX IN pn CALLED FROM pn |
The type of argument indicated (XXXX) in the argument list of a CALL statement does not match the type of argument in the PROC statement of a subprogram called. |
DATA ERROR |
Illegal data found in the intermediate file. Recompile. |