Runtime Functions For Use by IBM PASE for i Programs
IBM® PASE for i runtime includes interfaces supported on AIX® and interfaces
unique to IBM PASE for i.
The following runtime functions are unique to IBM PASE for i:
_CVTERRNO (Convert ILE errno to IBM PASE for i errno) converts an ILE errno value to a corresponding IBM PASE for i errno value.
_CVTSPP (Convert Space Pointer for IBM PASE for i) converts a tagged space pointer value to an equivalent IBM PASE for i memory address.
_CVTTS64 (Convert Teraspace Address for IBM PASE for i) converts a 64-bit teraspace address to an equivalent IBM PASE for i memory address.
_GETTS64 (Get Teraspace Address for IBM PASE for i) returns the 64-bit teraspace address equivalent of an IBM PASE for i memory address.
_GETTS64_SPP (Get Teraspace Address (from Space Pointer) for IBM PASE for i) returns the 64-bit teraspace address stored in a 16-byte space pointer.
_GETTS64M (Get Multiple Teraspace Pointers for IBM PASE for i) retrieves teraspace address equivalents for a set of IBM PASE for i memory addresses.
_ILECALLX and _ILECALL (Call an ILE Procedure for IBM PASE for i) allows an IBM PASE for i program to call an ILE procedure.
_ILEKILL() (Send ILE Signal for IBM PASE for i) invokes the ILE kill function to send an ILE signal to a process or process group.
_ILELOADX and _ILELOAD (Load an ILE Bound Program for IBM PASE for i) loads (activates) an ILE-bound program.
_ILESYMX and _ILESYM (Find an Exported ILE Symbol for IBM PASE for i) finds an exported symbol in the activation of an ILE-bound program and returns a 16-byte tagged pointer to the data or procedure for the symbol.
_MEMCPY_WT and _MEMCPY_WT2 (Copy Memory With Tags for IBM PASE for i) allows an IBM PASE for i program to copy memory with tagged pointers.
_OPEN_CCSID (Open With CCSID for IBM PASE for i) opens a file with CCSID tagging.
_PGMCALL (Call an IBM® i Program for IBM PASE for i) calls an IBM i program (object type *PGM) from an IBM PASE for i program.
_RETURN (Return without Exiting IBM PASE for i) returns to the ILE called that called IBM PASE for i in this job, without exiting the IBM PASE for i program.
_RSLOBJ and _RSLOBJ2 (Resolve to an IBM i Object for IBM PASE for i) resolves to an IBM i object.
_SETCCSID (Set IBM PASE for i CCSID) retrieves and sets the IBM PASE for i Coded Character Set Identifier (CCSID) value.
_SETSPP (Set Space Pointer for IBM PASE for i) sets a tagged space pointer to the teraspace equivalent of an IBM PASE for i memory address.
_SETSPP_TS64 (Set Space Pointer for IBM PASE for i) sets a space pointer from teraspace address for IBM PASE for i .
_SETSPPM (Set Multiple Space Pointers for IBM PASE for i) Sets multiple space pointers for IBM PASE for i .
_STRLEN_SPP (Determine Character String Length for IBM PASE for i) determines the length of a null-terminated character string.
_STRNCPY_SPP (Copy Character String for IBM PASE for i) copies a null-terminated character string.
build_ILEarglist (Build an ILE Argument List for IBM PASE for i) builds an ILE argument list using argument values copied from an IBM PASE for i function with the same signature.
fork400 and f_fork400 (Create a New Process with IBM PASE for i Options) creates a new (child) process that is an almost exact copy of the calling (parent) process.
QMHRCVM and QMHRCVM1 (Receive Nonprogram Message for IBM PASE for i) allows an IBM PASE for i program to receive a message from a nonprogram message queue.
QMHRCVPM, QMHRCVPM1, and QMHRCVPM2 (Receive Program Message for IBM PASE for i) allows an IBM PASE for i program to receive a message from a program call message queue or from the job external message queue.
QMHSNDM and QMHSNDM1 (Send Nonprogram Message for IBM PASE for i) allows an IBM PASE for i program to send a message to a nonprogram message queue so it can communicate with another job or user.
QMHSNDPM, QMHSNDPM1, and QMHSNDPM2 (Send Program Message for IBM PASE for i) allows an IBM PASE for i program to send a message to a program call message queue or to the job external message queue.
Qp2jobCCSID (Retrieve Job CCSID for IBM PASE for i) returns the job default CCSID from the last time the IBM PASE for i CCSID was set.
Qp2paseCCSID (Retrieve IBM PASE for i CCSID) returns the IBM PASE for i CCSID from the last time the IBM PASE for i CCSID was set.
Qp2setenv_ile (Set ILE Environment Variables for IBM PASE for i) allows an IBM PASE for i program to set ILE environment variables.
size_ILEarglist (Compute ILE Argument List Size for IBM PASE for i) computes the number of bytes of memory required to build an ILE argument list.
SQLOverrideCCSID400 (Override SQL CLI CCSID for IBM PASE for i) allows an IBM PASE for i program to specify a CCSID for character arguments and results on SQL runtime functions.
systemCL (Run a CL Command for IBM PASE for i) allows an IBM PASE for i program to run a CL command.