Not on my system.   I know it works for SIGNAL and it is documented as such.  
It is not documented for CALL.

Here is a trace of a little rexx program I am using to work through this:

xsym
     3 *-* signal on novalue
       +++ Interactive trace.  TRACE OFF to end debug, ENTER to continue. +++
 
     5 *-* $tocall  = "GETDATE"
       >L>   "GETDATE"
 
     6 *-* Call Value $tocall  , "12345"
       >V>   "GETDATE"
       >L>   "12345"
       >>>   "GETDATE"
 
     7 *-* say result
       >V>   "GETDATE"
GETDATE
 
     8 *-* return
Ready; T=0.01/0.01 12:39:46

Here is XSYM EXEC:
/*  */
trace ?ir
signal on novalue
 
$tocall  = "GETDATE"
Call Value $tocall  , "12345"
say result
return
 
GETDATE:Procedure
  parse arg $data
  say date("S") $data
  return  date("S")
____________________
Jim Hughes
603-271-5586
"It is fun to do the impossible."
-----Original Message-----
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf 
Of Donald Russell
Sent: Monday, May 10, 2010 12:39 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Rexx Question

"Value" is a built-in rexx function.

Call Value blah

will call the procedure/routine whose name is in the variable blah.

i.e.

blah = myFunc

call value blah parm1 parm2

exit

myFunc: procedure
parse arg p1 p2
say 'Hello world!'
return


---
Hey! Hey! You! You! Get off of my cloud!
http://news.cnet.com/8301-13578_3-20002423-38.html



On Mon, May 10, 2010 at 09:27, Hughes, Jim <jim.hug...@doit.nh.gov> wrote:
> Also there isn't a procedure named Value either.
>
>
>
> ____________________
>
> Jim Hughes
>
> 603-271-5586
>
> "It is fun to do the impossible."
>
> ________________________________
>
> From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
> Behalf Of Hughes, Jim
> Sent: Monday, May 10, 2010 12:25 PM
> To: IBMVM@LISTSERV.UARK.EDU
> Subject: Rexx Question
>
>
>
> I am using TXT2PDF to create PDFs from text files on our z/VM system.
> TXT2PDF is written in Rexx and is also Pipe aware.
>
>
>
> The are some Call statements in this program and they have me confused.
> Example:
>
>
>
> Call Value zb123, lz99pe
>
>
>
>
>
> I cannot find a procedure named zb123.   If I write the same sort of Call
> statement, I don't get an error. And the procedure is not called.
>
>
>
> Would someone shed some light on how the "call Value" statement works?
>
>
>
> Thanks.
>
>
>
> ____________________
>
> Jim Hughes
>
> 603-271-5586
>
> "It is fun to do the impossible."
>
>

Reply via email to