i5/OS PASE ILE Procedure APIs
The ILE procedure APIs run an i5/OS(TM) PASE program and allow ILE programs to
communicate with an i5/OS PASE program that is already running in the same
job.
The i5/OS PASE ILE Procedure APIs are:
- Op2dlclose (Close a Dynamically Loaded i5/OS PASE Module) closes and unloads an i5/OS PASE module previously opened by the Qp2dlopen API (or the i5/OS PASE dlopen function).
- Qp2CallPase and Qp2CallPase2 (Call an i5/OS PASE Procedure) calls a procedure in an i5/OS PASE program that is already running in the job that calls the API.
- Qp2dlerror (Retrieve i5/OS PASE Dynamic Load Error Information) returns a pointer to a string that provides error information for the most recent dynamic load function (Qp2dlopen, Qp2dlsym, or Qp2dlclose API).
- Qp2dlopen (Dynamically Load an i5/OS PASE Module) dynamically loads an i5/OS PASE module by calling the i5/OS PASE dlopen() function.
- Qp2dlsym (Find an Exported i5/OS PASE Symbol) finds an exported i5/OS PASE symbol by calling the i5/OS PASE dlsym() function.
- Qp2EndPase (End an i5/OS PASE Program) ends any i5/OS PASE program currently running in the job.
- Qp2errnop (Retrieve i5/OS PASE errno Pointer) returns a pointer to the i5/OS PASE errno variable for the current thread.
- Qp2free (Free i5/OS PASE Heap Memory) frees an i5/OS PASE heap memory allocation by calling the i5/OS PASE free() function.
- Qp2jobCCSID (Retrieve Job CCSID for i5/OS PASE) returns the job default CCSID from the last time the i5/OS PASE CCSID was set.
- Qp2malloc (Allocate i5/OS PASE Heap Memory) allocates memory from the i5/OS PASE heap by calling the i5/OS PASE malloc() function.
- Qp2paseCCSID (Retrieve i5/OS PASE CCSID) returns the i5/OS PASE CCSID from the last time the i5/OS PASE CCSID was set.
- Qp2ptrsize() (Retrieve i5/OS PASE Pointer Size) returns the pointer size, in bytes, for the i5/OS Application Solutions Environment (i5/OS PASE) program currently running in the job.
- Qp2RunPase (Run an i5/OS PASE Program) runs an i5/OS PASE program in the job that calls the API.
- Qp2SignalPase (Post an i5/OS PASE Signal) posts an i5/OS PASE signal to an i5/OS PASE program that is already running in the job that calls the API.