> Try value(isstepinit.userid.) = 0 Thanks @Tom. I will keep that in mind. I already got this program working using somewhat different logic that avoided dependency on the nonexistent "Rexx feature."
Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Tom Conley Sent: Friday, January 29, 2021 7:13 AM To: [email protected] Subject: Re: Rexx stem variable question On 1/28/2021 11:58 PM, Charles Mills wrote: > I either have a misunderstanding of how stem variables work - or perhaps it > is just some stupid program bug. > > I know this basic drill on stem variables: I can say foo. = "bar" and then > the value of foo.anything is effectively "bar". > > Does that also work at the next level of stem variables? > > Consider the following: > > Userid = "FTPD" > IsStepInit.Userid. = "0" > > Is IsStepInit.Userid.anything defined? I say > > StepName = "STEP1" > If \ IsStepInit.Userid.Stepname Then ... > > And I get a "Logical value not 0 or 1" error on the If. > Charles, Tails are literals and not substituted unless you're using the VALUE function. Try value(isstepinit.userid.) = 0. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
