Lionel,

you can achieve that with VLUE as well. I think the problem with your
example is that the getting variable was not interpreted. I use this
syntax:
xArray  = My_Array
Index   = 4
LineNum = 8
/* OutVar.LineNum <== a previously set stem variable */
Interpret xArray'jCx = OutVar.LineNum'


ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Continuous Monitoring
for z/OS, x/Linux & IBM I **| z/VM comming son  *




On Sat, May 30, 2020 at 1:44 PM Lionel B Dyck <[email protected]> wrote:

> So this works - can anyone help with the 2nd?
>
>
>
> /* rexx */
>
> v.1 = 'abc';v.2 = 'def'
>
> interpret 'var = v'.1
>
> interpret 'var2 = v'.2
>
> say var var2
>
>
>
> But this doesn't:
>
>
>
> /* rexx */
>
> test = 'testx'
>
> interpret 'test'.1 '= var'
>
> say testx.1
>
>
>
>
>
> Lionel B. Dyck <sdg><
> Website:  <https://www.lbdsoftware.com> https://www.lbdsoftware.com
>
> "Worry more about your character than your reputation.  Character is what
> you are, reputation merely what others think you are." - John Wooden
>
>
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to