I have a COBOL program that creates a son process using the
CreateProcess Intrinsic. The CreateProcess intrinsic allows me to
specify the XL string that is to be used with the newly created
process. What I would like to do is pass the XL string that the
parent process was called with:
RUN MONITOR.PROGRAM.PROD;XL="XLV250.XL.PROD"
What I want to be able to do is get the XLV250.XL.PROD string inside
the MONITOR program and pass it to the son process in the
CreateProcess intrinsic.
I know I can do the following:
RUN MONITOR.PROGRAM.PROD;XL="XLV250.XL.PROD";INFO="XL=XLV250.XL.PROD"
and then use the GETINFO intrinsic and parse out the string, however
this just seems stupid that I would have to do this. I've looke in
the Intrinsic manual but couldn't find a 'GETXL' or similar beast.
Anybody have any ideas?
Thanks
-mike
Mike Lorengo
Systems Analyst
Howard Johnson & Company
Seattle, WA 98101