Table3. Using the reldir and position parameters. (continued)
reldir value Position 0
(Before)
Position 1
(After) Position 2 (At front) Position 3 (At end) Position 4
(Automatic)
Subdirective Inserted as a
subdirective
directly
proceeding
reldir.
Inserted as a
subdirective
directly
following reldir.
Not valid Not valid Not valid
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.
HTPA111E
Combination of insertion position and relative directive not valid.
Remove a Main Directive or Subdirective(QzhbRemoveDirective) API
Required Parameter Group:
1 cfg Input Binary(4)
2 dir Input Binary(4)
3 errcode I/O Char(*)
Threadsafe: Yes
Use the QzhbRemoveDirective API to remove a main directive or subdirective from 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.
dir
INPUT:BINARY(4)
The handle to the main directive or subdirective to be removed.
errcode
I/O:CHAR(*)
54 WebProgramming Guide V4R5