It appears that the HELP to DMSCALLR is slightly outdated. It has this
usage note:

 

 2.   To determine if your program was called from within XEDIT, you
must     
      look at each command name until you find one that is not EXEC or
CMS.   
      If the command name is XEDIT, then the program was called from an
exec  
      or XEDIT macro. 

There is another CSL call, DMSINXED, that seems to me to be simpler than
the suggested loop. R does it do something entirely different?



Regards, 
Richard Schuh 


-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Kris Buelens
Sent: Wednesday, December 26, 2007 10:33 AM
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

2007/12/26, Wakser, David <[EMAIL PROTECTED]>:
> Thanks, John. That was it.
>
> David Wakser
>
> -----Original Message-----
> From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] 
> On Behalf Of Romanowski, John (OFT)
> Sent: Wednesday, December 26, 2007 1:10 PM
> To: [email protected]
> Subject: Re: Checking how invoked
>
> parse source
> help rexx parse
>



--
Kris Buelens,
IBM Belgium, VM customer support

Reply via email to