CEEPQLD — return information about loaded module
The CEEPQLD 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
void CEEPQLD (token, name_len, name, load_point_address, entry_point_address, module_size,
[fc] )
INT4 *token;
INT4 *name_length;
CHAR *name;
POINTER *load_point_address;
POINTER *entry_point_address;
INT4 *module_size;
FEED_BACK *fc;
- CEEPQLD
- Call this CWI interface as follows:
L R15,CEECAACELV-CEECAA(,R12) CAA address is in R12 L R15,3596(,R15) BALR R14,R15
- 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 the optional feedback token where the CWI feedback code
will be placed. If this argument is omitted and the CWI will return
a feedback code other than CEE000, the CWI will "raise" this
feedback code as an error condition. The following message identifiers
and associated severities may be returned by the service in the feedback
code fc.
Condition CEE000 Severity 0 Msg_No 0000 Message The service completed successfully. CEE3DR Severity 0 Msg_No 3515 Message No modules were loaded.