On Fri, 5 Apr 2013 15:11:54 +0000, Leonardo Vaz wrote: > >I am trying to run an authorized program from a rexx. More specifically, I am >trying to run HZSPRNT from a rexx sitting on a cgi-bin from an IBM HTTP server. > >As expected, any tries to directly call the program results in an abend S047. >I realize that the program needs to be run in a different JSCB, or a different >address space. > >The easier way I could find to make this work is to have the rexx submit a JCL >to run the program. But I still don't see this as a good way to do it. > >Other ideas I got from the internet was: > >1) using IKJEFT01 having the program in the AUTHPGM list > >2) Using system rexx (AXR) > >3) using unix spawn() or fork()/exec() > >I like the last idea, since I am running the rexx in a BPXAS already, but I >found no way of running a MVS program from a spawn() or fork(). > BPX1EXM. But note many restrictions.
-- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
