issubdir
OUTPUT:BINARY(4)
The value is set to 1 (true) when dir is a subdirective. The value is set to 0
(false) when dir is a main directive.
errcode
I/O:CHAR(*)
The structure in which to return error information.
Error messages
CPF3CF1 E
Error code parameter not valid.
CPF3C1D E
Input variable length in parameter &1 not valid.
HTPA001 E
Input parameter &1 not valid.
HTPA106 E
Input configuration handle not valid.
HTPA107 E
Input directive handle in parameter &1 not valid.
Add a Main Directive or Subdirective (QzhbAddDirective) API
Required Parameter Group:
1 cfg Input Binary(4)
2 value Input Char(*)
3 value_len Input Binary(4)
4 position Input Binary(4)
5 reldir Input Binary(4)
6 newdir Output Binary(4)
7 errcode I/O Char(*)
Threadsafe: Yes
Use the QzhbAddDirective API to add a new main directive or subdirective to a
configuration file located in memory.
Authorities and locks
None.
Required parameter group
cfg
INPUT:BINARY(4)
The handle returned by a call to API QzhbOpenConfig.
value
INPUT:CHAR(*)
The character string of the new directive. This string is not validated in any
way to ensure that it is a valid directive.
52 WebProgramming Guide V4R5