Delete a Server Instance (QzhbDeleteInstance)
API................63
Authorities and locks .........63
Required parameter group .......63
Errormessages...........64
Group file APIs .............64
Create a new Group File (QzhbCreateGroupList)
API................64
Authorities and locks .........64
Required parameter group .......65
Errormessages...........65
Read a Group File into Memory
(QzhbOpenGroupList) API ........65
Authorities and locks .........65
Required parameter group .......66
Errormessages...........66
Free Group File from Memory
(QzhbCloseGroupList) API ........67
Authorities and locks .........67
Required parameter group .......67
Errormessages...........67
Retrieve the next Group in the Group List
(QzhbGetNextGroup) API ........68
Authorities and locks .........68
Required parameter group .......68
Errormessages...........68
Locate a named group in a Group List
(QzhbFindGroupInList) API ........69
Authorities and locks .........69
Required parameter group .......69
Errormessages...........69
Retrieve the Name of a Group
(QzhbGetGroupName) API ........70
Authorities and locks .........70
Required parameter group .......70
Errormessages...........70
Add a new Group to the end of a Group List
(QzhbAddGroupToList)API ........71
Authorities and locks .........71
Required parameter group .......71
Errormessages...........72
Remove a Group from a Group List
(QzhbRemoveGroupFromList) API .....72
Authorities and locks .........72
Required parameter group .......72
Errormessages...........72
Retrieve the next User in the Group
(QzhbGetNextUser) API .........73
Authorities and locks .........73
Required parameter group .......73
Errormessages...........73
Locate a User in a Group
(QzhbFindUserInGroup) API .......74
Authorities and locks .........74
Required parameter group .......74
Errormessages...........75
Retrieve the Name of a User
(QzhbGetUserString) API .........75
Authorities and locks .........75
Required parameter group .......75
Errormessages...........76
Add a new user to the end of a Group
(QzhbAddUserToGroup)API .......76
Authorities and locks .........76
Required parameter group .......77
Errormessages...........77
Remove a User or Element from a Group
(QzhbRemoveUserFromGroup) API .....77
Authorities and locks .........78
Required parameter group .......78
Errormessages...........78

This chapter includes detailed information on application programming interfaces

(APIs) used with the IBM HTTP Server for AS/400.

AS/400 supports these APIs in C++, Java, Rexx, ILE C, ILE COBOL, and ILE RPG

programming languages. Although all APIs are supported in all of these languages,

most C CGI applications will only need to use QtmhCvtDB, QzhbCgiParse, or

QzhbCgiUtils. This is because ANSI C can work with stdin, stdout, and

environment variables directly.ILE C CGI applications use ANSI C function calls

to work with stdin, stdout, environment variables, and string functions for parsing

stdin and environment variable data.

APIs for CGI applications

To use these APIs in a CGI application, you must bind the CGI programto

*SRVPGM QZHBCGI in library QHTTPSVR. ILE C programs must include header

file QSYSINC/H(QZHBCGI). AS/400 CGI application programs must be written

and compiled in Integrated Language Environment

®

(ILE)/C, ILE/RPG, and

ILE/COBOL.

24 WebProgramming Guide V4R5