First Step
How user got here is irrelevant!
http://[{web-server}]/cgi-bin/db2www[.exe]
/{macro-file}/{input}[?name=val&…]
Web server starts db2www cgi-bin program
db2www program:
- uses macro-file to create HTML form
- sends HTML form back to the user
User fills out HTML form containing the information which will drive the SQL query