COBOL Manual for TNS/E Programs (H06.03+)

Program Compilation
HP COBOL Manual for TNS/E Programs520347-003
11-14
CALL and ENTER Statement Processing: Detailed
Explanation
b. If no file-mnemonic appears:
The compiler looks for the program in these files in this order:
1. Primary search list
2. Tertiary search list
3. ZCOBDLL
4. ZCREDLL
5. ECOBEXT
c. If the compiler cannot find the program in any of the places discussed earlier, it
reports an error and delivers no object code for the calling program.
Table 11-2 summarizes the preceding information.
Note. If routine-name specifies an HP C or HP C++ function whose name
includes lowercase letters, the call fails, because the compiler automatically converts
all names to uppercase.
Table 11-2. Resolution of External References (page 1 of 2)
Form
*
External reference found in ...
Target File
Created?
Current
Source
File
Primary
Search
List
Tertiary
Search
List
ECOBEXT,
ZCOBDLL, or
ZCREDLL
CALL “P” IN MNEM Search list not used—CALL is qualified
CALL “P” Yes Irrelevant Irrelevant Irrelevant Yes
No Yes Irrelevant Irrelevant Yes
No No Irrelevant Irrelevant Yes, with
un-
resolved
externals;
warning
issued
ENTER language
“R” IN MNEM
Search list not used—ENTER is qualified
ENTER [language ]
“R”
Impossible Yes Irrelevant Irrelevant Yes
Impossible No Irrelevant Irrelevant No, error
reported
ENTER [TAL] “R” IN
MNEM
Search list not used—ENTER is qualified
* Bracketed keywords are optional.