Thank you PS-Cubed.

I finally have it.

____________________
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 Phil Smith III
Sent: Monday, May 10, 2010 1:25 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Rexx Question

On Mon, May 10, 2010 at 1:16 PM, Hughes, Jim <jim.hug...@doit.nh.gov>
wrote:
>Still not out the woods.

>What does this statement hope to achieve?

>       IF lnqsI < lnqsQ THEN DO
>         CALL Value laqsN || lnqsQ,,
>              Value( laqsN || lnqsI, Value( laqsN || lnqsQ ) )
>       END

>I am just not seeing the intent of what is written.

The third operand on VALUE is the "selector". Think of it as the
variable pool, where (depending on the OS) that may mean environment
variables or GLOBALVs or something else.

Let's assume:
 laqsN = N
 lnqsQ = Q
 lnqsI = I

So this is setting the variable NQ to NI in the pool named NQ.

...phsiii

Reply via email to