Note: You must specify a writelock of 1, and successfully obtain the object
lock, in order to later specify a write argument of 1 on the
QzhbCloseConfig API. If you do not have this lock, the
QzhbCloseConfig API will not write the contents of the configuration
file.
cfg
OUTPUT:BINARY(4)
The handle returned to the loaded configuration file.
errcode
I/O:CHAR(*)
The structure in which to return error information.
Error messages
CPF3CF1 E
Error code parameter not valid.
HTPA001 E
Input parameter &1 not valid.
HTPA104 E
Server configuration &1 not found or is unreadable.
HTPA105 E
Unable to update server configuration &1.
CPF9802 E
Not authorized to object &2 &3.
Free a Configuration File from Memory (QzhbCloseConfig) API
Required Parameter Group:
1 cfg Input Binary(4)
2 write Input Binary(4)
3 errcode I/O Char(*)
Threadsafe: Yes
Use the QzhbCloseConfig API to free a configuration file in memory. Optionally, the
data in memory can first be written to the configuration file where it was read
from by the QzhbOpenConfig API.
Authorities and locks
None.
Required parameter group
cfg
INPUT:BINARY(4)
The configuration file handle, returned by a call to API QzhbOpenConfig.
write
INPUT:BINARY(4)
46 Web Programming Guide V4R5