ILE C/C++ Programmer's Guide


Handling Unresolved Import Requests During Program Creation

An unresolved import is an import whose type and name do not yet match the type and name of an export. Unresolved import requests do not necessarily prevent you from creating a program or a service program. You can proceed in two ways:

Both approaches are demonstrated in Creating a Program with Circular References.

Use the *UNRSLVREF option to convert, create, or build pieces of code when all the pieces of code are not yet available. After the development or conversion phase has finished and all import requests can be resolved, make sure you re-create the program or service program that has the unresolved imports.

If you use the *UNRSLVREF option, specify DETAIL(*EXTENDED) or DETAIL(*FULL), or keep the job log when the object is created, to identify the procedure or data item names that are not found.

Note:
If you have specified *UNRSLVREF and a program is created with unresolved import requests, you receive an error message (MCH3203) when you try to run the program.


[ Top of Page | Previous Page | Next Page | Table of Contents ]