Table of Contents

Search

  1. Preface
  2. PowerExchange Navigator Introduction
  3. Data Maps
  4. Data Maps for Specific Data Sources
  5. Copybooks
  6. Registration Groups and Capture Registrations
  7. Extraction Groups and Extraction Maps
  8. Personal Metadata
  9. Database Row Test
  10. PowerExchange Navigator Examples
  11. Appendix A: PowerExchange Functions for User-Defined Fields
  12. Appendix B: User Access Method Programs
  13. Appendix C: Application Groups and Applications
  14. Appendix D: Data Map Properties
  15. Appendix E: Record, Field, and Table Properties
  16. Appendix F: DTL__CAPXTIMESTAMP Time Stamps
  17. Appendix G: Trace for Creating a Memory Map When Importing a COBOL Copybook

Navigator User Guide

Navigator User Guide

Load Errors for User-Defined Programs Called by the CallProg Function

Load Errors for User-Defined Programs Called by the CallProg Function

When you call a user-defined program with the CallProg function, the function address for the entry point of the program is loaded on the first call. The load might fail for one of the following reasons:
  • The CallProg function did not find the program in the standard order of search for programs on the operating system.
  • The following table lists the program types for which the CallProg function searches:
    Program Type
    Operating System
    DLL
    Windows
    Load module
    z/OS
    Service program
    i5/OS
    Shared object
    Linux and UNIX
  • On some operating systems, the names of programs are case-sensitive and the name was specified incorrectly.
  • The CallProg function found the module handle but did not find the routine in the module.
    The following table describes possible causes of the error:
    Problem
    Linkage Type
    Operating System
    The symbol for the routine was not exported.
    C
    OS400
    i5/OS
    The routine was not defined with a #pragma fetchable.
    C
    PLI
    z/OS
    The routine was not exported.
    C
    Windows

0 COMMENTS

We’d like to hear from you!