You'll find the args if you walk the SVC 202 chain.  You'll have to do
a fair bit of digging to find out exactly how, but the data areas are
published.

There must be utilities out there to do it.  Look for Ray Mansell's caller.

Good luck.

   j.

On 24 September 2010 12:40, Colin Allinson <[email protected]> wrote:
> Bruce Hayden wrote:
>
>> The DMSCALLR CSL routine may also help with this.  It can extract the
>> chain of callers, so you can see if you were invoked from the command
>> line, via a module, or via an exec.  Use HELP ROUTINES DMSCALLR to
>> read about it..
>
> OK - I can use PIPE REXXVARS with NOMSG233 but, but in case I am running
> standard PIPES for some reason, I can check the invocation levels with
> DMSCALLR.
>
> I have got all that working but, now, I would like to get a little more
> tricky if I can (although this might be a step too far!). Ideally I would
> like to access the Args (and even, possibly, the sourceline) at higher
> invocation at higher invocations. I have checked the Authors PIPE manual
> and the DMSCSL call functions list and I cannot immediately see anything
> that would give me what I want.
>
> Does anyone have any ideas or is this just one step too far?
>
>
> Colin Allinson
> VM Systems Support
>

Reply via email to