On Fri, 29 Jan 2021 15:42:03 +0000, Seymour J Metz wrote:
>> Tails are literals
>No; tails are symbols, and are substituted.
>
+1
>>value(isstepinit.userid.) = 0.
>There are several issues with that. Safer is
> old = value(isstepinit'.'userid'.', 0)
Oh my gosh! Usually not. Consider:
trace R
signal on novalue
Foo = 'Bar'
userid = 'FOO'
isstepinit = 'Fred'
old = value(isstepinit'.'userid'.', 0)
say old
FRED.Bar.
But that may be what you want.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN