No I am referring to finding out if the EXEC that is running was called by another EXEC. The parsing of SOURCE will only tell you about the running EXEC, not its caller.
Regards, Richard Schuh ________________________________ From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Stracka, James (GTI) Sent: Thursday, January 25, 2007 6:29 AM To: [email protected] Subject: Re: EXECCOMM Environment Are you referring to: parse upper source . . program . . synonym . /* source = environment invocation program type mode synonym address */ -----Original Message----- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Schuh, Richard Sent: Wednesday, January 24, 2007 5:51 PM To: [email protected] Subject: EXECCOMM Environment I must be losing it. I do not remember how to tell if an EXEC was called from another REXX or EXEC2 EXEC other than using a pipe to reach back and see if it touches anything. Is there a built-in function or a CSL call for doing this, or is using a pipe the best solution? Regards, Richard Schuh ________________________________ If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here <http://www.ml.com/email_terms/> for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ ________________________________
