I have to write a Program to Kill the TSO Session from our Intranet. I wrote a Macro in rexx to do this in the MVS itself... no problems... now i had to use REXX as a CGI in the USS (Unix) Environement. Now my question is how i can submit stacked Job? this is the way i done this:
Found out how to submit a Job =) When ya use REXX as a CGI you can submit jobs through this command
say submit('outline.');
outline. is the stack Variable who contains the JCL (like the queue instruction). But i found a little problem. I submit the job from our Webserver S51(Development) and want to route it throught this JCL statements
//*ROUTE XEQ BDTR1N
//*MAIN CLASS=S11
to the S11(Productive) Machine to cancel the session of a user on that machine. But the interpreter ignores the //*ROUTE instruction... anyone done this before? and have a helping hand for me?