CEEPQLD (also known as __CEEPQLD) — Return information about load module
The CEEPQLD compiler-writer interface (CWI) returns information about the executable module that
was loaded by the CEEPLOD2 load service. The following information is returned:
- name length
- name
- load point address
- entry point address
- executable module size in bytes
Syntax
<__le_cwi.h>
void __CEEPQLD (void **token, int32_t *name_len, char *name, void **load_point_address, void **entry_point_address, int32_t *module_size, _FEED_BACK *fc )
- token (input)
- A 32-bit field of information that was returned on the load request.
- name_length (output)
- Specifies the name of a fullword containing the length of the name of file (program) to be queried. The length can be up to 1023 bytes long.
- name (output)
- Specifies the name of a field of length name_length containing the name of the file (program) to be queried. The file name can be up to 1023 characters long, and does not require a terminating null character.
- load_point_address (output)
- The address of the load point returned as a result of the load.
- entry_point_address (output)
- The address of the entry point returned as a result of the load.
- module_size (output)
- The module size in bytes of the executable module.
- fc (output/optional)
-
Specifies an optional 16-byte condition token, passed by reference, where the CWI will place a feedback code.
This parameter is not truly optional in some programming languages, like C, where a NULL pointer must be used to indicate that the parameter has not been specified.
If this parameter is omitted and the CWI needs to return a feedback code other than CEE000, the CWI will "raise" this feedback code as an error condition.
The following feedback codes may be returned by this CWI:
Condition CEE000 Severity 0 Msg_No 0000 Message The service completed successfully. CEE3DR Severity 0 Msg_No 3515 Message No modules were loaded. Usage Note: This service returns information about the executable module that was loaded by the CEEPLOD2 load service.