/*Example of a rexx procedure called by the EXEC line in an SRE-http
advanced-options file. It say echo stuff to the pmprintf window */

/* SRE-http passes the following arguments */
parse arg args,source,request,sel,privset,verbose,servername,host_nickname,datadir,homedir,tempdir

say " The following arguments were recieved: "
say "Args from the EXEC line in the advanced options file: " args
say "Source: " source
say "Request: " request
say " (modified) selector: " sel
say "SRE-http privileges: " privset
say "Verbose: " verbose
say "Servername: " servername
say "Host Nickname: " host_nickname
say "DataDirectory: " datadir
say "HomeDirectory: " homedir
say "TemporaryDirectory: " tempdir

return 0

/* note this should ALWAYS return 0.  The only exception is when it
issues a goserve completion code (such as 'FILE xxx ' or 'VAR xxx')
If a completion code is issued, it should return status_code bytes_sent,
i.e.;  return 200||' '||1512
*/
