Coz launcher from cgi rexx

General discussion of the Co:Z Toolkit
Post Reply
usaajrm
Posts: 87
Joined: Tue Feb 06, 2007 3:46 pm

Coz launcher from cgi rexx

Post by usaajrm »

I'm reaching out. We use the launcher to execute unix utilities from a batch job. We have a new requirement. Where we will receive a message via an http post. We will fire a rexx to parse the message and generate a console message that will fire additional automation. I'm curious if the launcher can be invoked from the cgi rexx to execute the unix utility. It would eliminate a few down stream steps.
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: Coz launcher from cgi rexx

Post by dovetail »

Co:Z Launcher is just a z/OS utitlity program. It is intended to be executed in batch, but there is no reason why a REXX program can't allocate the DDs and then execute the program. Look at the supplied proc to see all of the required DDs.

I assume that the CGI Rexx script will run in its own Unix process AND its own OMVS address space, so there shouldn't be a problem with DDs colliding from multiple concurrent jobs.

You might also consider having the CGI REXX script trigger a batch job. This might be easier for operators to monitor and manage.
Post Reply