In the CMS NUCLEUS at offset 2A0 you can find the name of the last command (typed at the console) issued, and at 2B0 is the name of the last EXEC procedure... If that helps any.
-----Original Message----- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] Behalf Of Wakser, David Sent: Wednesday, December 26, 2007 12:36 PM To: [email protected] Subject: Re: Checking how invoked Kris: Yes, I just finished testing PARSE SOURCE - there is no difference between invocation from the command line to invocation from another EXEC. I'll try DMSCALLR. David Wakser -----Original Message----- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Kris Buelens Sent: Wednesday, December 26, 2007 1:33 PM To: [email protected] Subject: Re: Checking how invoked With PASRE SOURCE, you can only see a difference between called - as REXX subroutine or REXX function: CALL myexec or xyz=myexec() - some other means: like CMS commandline or another exec using 'EXEC myexec' There is the DMSCALLR CSL routine that can provide much more information about who called me, but I don't know it by heart: so HELP ROUTINES DMSCALLR
