This script demonstrates the use of the cgi_symbols program to facilitate writing HTTP server scripts in DCL rather than a programming language. The WWWEXEC procedure that runs your script defines the foreign command CGI_SYMBOLS to establish the CGI DCL environment. Once your command procedure executes CGI_SYMBOLS, your connection is in a special 'CGI' mode where the server expects you to write a CGI response. Your first line must be either a content-type header or a location header followed by 2 newline sequences. The wwexec.com procedure will take care of closing down the connection with the server so you should NOT write . The environment variables available via the cgi_info() call in cgilib are defined as DCL symbols with a prefix of 'WWW_'. If you invoke CGI_SYMBOLS with command line arguments, the first argument overrides the symbol prefix used. A second argument, if supplied will cause CGI_SYMBOLS to assume the request is a POST action submitted by a form and create a set of DCL symbols containing the form data. Standard CGI symbols (show symbol www_*): WWW_GATEWAY_INTERFACE = "CGI/1.0" WWW_HTTP_ACCEPT = "text/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5" WWW_HTTP_ACCEPT_CHARSET = "ISO-8859-1,utf-8;q=0.7,*;q=0.7" WWW_HTTP_ACCEPT_ENCODING = "gzip" WWW_HTTP_ACCEPT_LANGUAGE = "en-us,en;q=0.5" WWW_HTTP_CACHE_CONTROL = "no-cache" WWW_HTTP_CONNECTION = "close" WWW_HTTP_HOST = "soong.club.cc.cmu.edu" WWW_HTTP_PRAGMA = "no-cache" WWW_HTTP_USER_AGENT = "CCBot/1.0 (+http://www.commoncrawl.org/bot.html)" WWW_HTTP_X_CC_ID = "ccc01-02" WWW_PATH_INFO = "" WWW_REMOTE_ADDR = "38.107.191.87" WWW_REMOTE_HOST = "38.107.191.87" WWW_REMOTE_PORT = "33633" WWW_REMOTE_USER = "" WWW_REQUEST_METHOD = "GET" WWW_SCRIPT_NAME = "/htbin/DCL_ENV_RM" WWW_SCRIPT_PATH = "/htbin/" WWW_SERVER_NAME = "soong.club.cc.cmu.edu" WWW_SERVER_PORT = "80" WWW_SERVER_PROTOCOL = "HTTP/1.1" WWW_SERVER_SOFTWARE = "OSU/1.7a" Current form symbols (form*): FORM_FIELDS = ""