Chapter 2. Application Programming Interfaces
APIs for CGI applications .........24
Get Environment Variable (QtmhGetEnv) API . . 25
Required parameter group .......25
Errormessages...........26
Put Environment Variable (QtmhPutEnv) API . . 26
Required parameter group .......26
Errormessages...........27
Read from Stdin (QtmhRdStin) API .....27
Required parameter group .......28
Error Messages ...........28
Write to Stdout (QtmhWrStout) API .....29
Required parameter group .......29
Errormessages...........29
Convert to DB (QtmhCvtDB) API ......30
Required parameter group .......31
Errormessages...........32
Parse QUERY_STRING Environment Variable or
Post stdin data (QzhbCgiParse) API .....32
Required parameter group .......33
CGII0200 Format ..........35
Field descriptions ..........35
Errormessages...........36
Produce Full HTTP Response (QzhbCgiUtils) API 36
Errormessages...........38
ConfigurationAPIs............38
Convert URL to Path (QzhbCvtURLtoPath) API 38
Authorities and locks .........38
Required parameter group .......39
Errormessages...........40
Retrieve Directive (QzhbRetrieveDirective) API 40
Authorities and locks .........40
Required parameter group .......40
Errormessages...........42
Retreive a list of all Configuration Names
(QzhbGetConfigNames) API........42
Authorities and locks .........42
Required parameter group .......42
Errormessages...........43
Create a Configuration (QzhbCreateConfig) API 43
Authorities and locks .........43
Required parameter group .......43
Errormessages...........44
Delete a Configuration (QzhbDeleteConfig) API 44
Authorities and locks .........44
Required parameter group .......44
Errormessages...........44
Read a Configuration File into Memory
(QzhbOpenConfig) API .........45
Authorities and locks .........45
Required parameter group .......45
Errormessages...........46
Free a Configuration File from Memory
(QzhbCloseConfig) API .........46
Authorities and locks .........46
Required parameter group .......46
Errormessages...........47
Search for a Main Directive (QzhbFindDirective)
API................47
Authorities and locks .........47
Required parameter group .......47
Errormessages...........48
Search for a Subdirective under Main Directive
(QzhbFindSubdirective) API ........49
Authorities and locks .........49
Required parameter group .......49
Errormessages...........50
Return Details of a Main Directive or
Subdirective (QzhbGetDirectiveDetail) API . . . 51
Authorities and locks .........51
Required parameter group .......51
Errormessages...........52
Add a Main Directive or Subdirective
(QzhbAddDirective) API .........52
Authorities and locks .........52
Required parameter group .......52
Errormessages...........54
Remove a Main Directive or Subdirective
(QzhbRemoveDirective) API ........54
Authorities and locks .........54
Required parameter group .......54
Errormessages...........55
Replace a Main Directive or Subdirective
(QzhbReplaceDirective) API ........55
Authorities and locks .........55
Required parameter group .......55
Errormessages...........56
ServerinstanceAPIs...........56
Retrieve a list of all Server Instances
(QzhbGetInstanceNames) API .......56
Authorities and locks .........56
Required parameter group .......56
INSN0100 Format ..........57
Field descriptions ..........57
Errormessages...........57
Look up Server Instance Data
(QzhbGetInstanceData) API ........58
Authorities and locks .........58
Required parameter group .......58
INSD0100 Format ..........59
Field descriptions ..........59
Errormessages...........60
Change Server Instance Data
(QzhbChangeInstanceData) API ......60
Authorities and locks .........61
Required parameter group .......61
Errormessages...........61
Create a Server Instance (QzhbCreateInstance)
API................62
Authorities and locks .........62
Required parameter group .......62
Errormessages...........63
© Copyright IBM Corp. 1997, 2000 23