On Mon, 21 Jan 2019 22:00:51 -0600, Tim Hare wrote:

>I haven't seen the Apache web server mentioned for some reason.  I haven't 
>used Apache but on the previous Domino-based web server you could write a Rexx 
>CGI (Common Gateway Interface, not Computer Generated Images) program  that 
>could be invoked via URL and retrieve whatever you want.   When I fooled with 
>it I chose to return XML but you can return whatever the client program needs 
>I am sure.  I don't know if Apache still support CGI  but it definitely 
>supports _some_ way to invoke an application program via the web.   The Apache 
>server is "free" with z/OS, too, I believe. 
> 
When I tried this many years ago:

o The Rexx CGI must reside in a UNIX directory.

o That UNIX directory must be in the PATH environmant variable for Apache.
  It does not suffice merely to invoke that CGI via a fully-qualified path.
  (This is a bug in the Rexx interpreter.)

o The QUERY_STRING is available via the special Rexx compound symbol,
  __environment.

See: Using REXX and z/OS UNIX System Services  Version 2 Release 3  SA23-2283-30

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to