iSeries ILE-COBOL CGI
development
toolset
Easy400
|
iSeries home
Public-Source
Introduction
Tutorial
Examples
FAQ
Index
Download
Table of contents
1 -
INTRODUCTION
 
1.1
-
Basic assumptions
 
1.2
-
CGI: a different scenario
 
1.3
-
About HTML
 
1.4
-
About HTML authoring tools
 
1.5
-
About JavaScript
 
1.6
-
Preparing libraries for CGI
 
1.7
-
Compiling CGI programs
 
1.8
-
Protecting CGI programs
 
1.9
-
Persistent CGI
2 -
SERVICE PROGRAM PROCEDURES
 
2.1
-
Receiving the input from the client browser
The input string
GET and POST methods
QZHBGETINPUT, read the input string
Procedures to parse the input string
QZHBGETVAR
QZHBGETVARUPPER
QZHBGETVARCNT
 
2.2
-
Working with an external HTML
 
 
2.2.1
-
Creating an external HTML
 
 
2.2.2
-
Loading the external HTML
QGETHTML
QGETHTMLIFS
QGETHTMLIFSMULT
 
 
2.2.3
-
Substituting output variables
QUPDHTMLVAR
 
 
2.2.4
-
Writing sections
QWRTSECTION
Sending the output buffer
 
2.3
-
Special output procedures
QCLRHTMLBUFFER
QWRTHTMLTOSTMF
QAPPHTMLTOSTMF
QWRTSECTIONTOSTMF
QCHKIFS
 
2.4
-
Execute a command
QDOCMD
 
2.5
-
Message handling
QCFGMSGS
QCLRMSGS
QADDMSG
QGETMSGCNT
QWRTMSGS
 
2.6
-
Maintain & retrieve page counts
QCOUNTP
 
2.7
-
Environment variables
QGETENV
QPUTENV
 
2.8
-
Data handling functions
QCHAR2HEX
QHEX2CHAR
QUPPIFY
QLOWFY
QCHKNBR
 
2.9
-
Random numbers and strings
QRANDOM
QRANDOMSTRING
 
2.10
-
Working with cookies
QCRTCOOKIE
QRTVCOOKIE
 
2.11
-
Date functions
QCURRDATE
QADDSUBDUR
3 -
CGI DEBUGGING
4 -
PERFORMANCE TIPS
Contact