Writing World-Wide Web CGI Scripts in REXX

This talk is aimed at people who have experience with REXX and are interested in using it to write WWW CGI scripts. As part of this, I will describe several functions that are available in a library of REXX functions that simplify writing WWW CGI scripts. This library is freely available at //www.slac.stanford.edu/slac/www/tool/cgi-rexx/
Environment Variables
In uni-REXX the setting of an environment variable is returned by the GETENV(string) function, where string is the name of the environment variable whose setting is to be returned. The examples in this article make use of GETENV.
Other implementations of REXX, such as the OS/2 implementation, often use the REXX VALUE(name[,newvalue][,selector]) function (where the brackets ([]) indicate optional arguments). This can return the value of the variable named by name. The selector names an implementation-defined external collection of variables. If newvalue is supplied, then the named variable is assigned this new value.

Followers