Oops, that assignment statement should be blah = 'myFunc' (Note use of quotes around literal values)
--- 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:38, Donald Russell <d...@drussell.dnsalias.com> wrote: > "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." >> >> >