Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of
Paul Gilmartin [000433f07816-dmarc-requ...@listserv.ua.edu]
Sent: Tuesday, February 2, 2021 2:29 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
On Tue, 2 Feb 2021 18:54:42 +, Seymour J Metz wrote:
>
...@mcn.org]
Sent: Tuesday, February 2, 2021 2:40 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
> naively I would expect value('AAA.bbb') and value('AAA.BBB'),
> but that is neither how it is documented nor how it works.
Is a word missing in there?
Charles
-Or
@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
Full Rexx stem enumeration would *have* to include both numeric and non-numeric
tails and would have to account for all kinds of gaps:
A.1 = "Foo"
A.17 = "Bar"
A.Notary = "Sojack"
Numeric-only, gap-less enumeration is ea
Subject: Re: Rexx stem variable question
On Tue, 2 Feb 2021 23:30:52 +, Seymour J Metz wrote:
>Read it again. What I would naively expect is *NOT* how it works. The fact
>that value() does the same processing on it's first argument as what would be
>done if the value were su
On Tue, 2 Feb 2021 23:30:52 +, Seymour J Metz wrote:
>Read it again. What I would naively expect is *NOT* how it works. The fact
>that value() does the same processing on it's first argument as what would be
>done if the value were substituted in the source code is wildly unexpected
Gilmartin [000433f07816-dmarc-requ...@listserv.ua.edu]
Sent: Tuesday, February 2, 2021 3:46 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
On Tue, 2 Feb 2021 19:16:52 +, Seymour J Metz wrote:
>The behavior of value() is confusing in that it violates the
On Tue, 2 Feb 2021, at 16:55, Paul Gilmartin wrote:
> Does OOREXX require preallocation of compounds with a "new" method?
No. If you write "classic rexx" without using any of the OO stuff, (or using
only a subset of it) you can choose just to have eg:
tax.3 = 20
without anything prior
A.0
Say A.i
End i
Charles
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of Paul Gilmartin
Sent: Tuesday, February 2, 2021 12:46 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
On Tue, 2 Feb 2021 19:16:
On Tue, 2 Feb 2021 19:16:52 +, Seymour J Metz wrote:
>The behavior of value() is confusing in that it violates the law of least
>astonishment; naively I would expect value('AAA.bbb') and value('AAA.BBB'), ...
>
Those arguments name the same compound symbol,
therefore the results are
z
Sent: Tuesday, February 2, 2021 11:17 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
The behavior of value() is confusing in that it violates the law of least
astonishment; naively I would expect value('AAA.bbb') and value('AAA.BBB'),
but that is neither how it is document
On Tue, 2 Feb 2021 18:54:42 +, Seymour J Metz wrote:
>The ANSI standard for REXX describes the use of the stem.0 convention, e.g.,
>in conjunction with ADDRESS ... WITH.
>
The Standard permits the stem.0 convention, therefore implicitly
requiring its support.
Regrettably, too many
of
Paul Gilmartin [000433f07816-dmarc-requ...@listserv.ua.edu]
Sent: Tuesday, February 2, 2021 11:55 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
On Tue, 2 Feb 2021 14:57:28 +, Seymour J Metz wrote:
>The confusing part is is not the way compound variables w
of
Charles Mills [charl...@mcn.org]
Sent: Tuesday, February 2, 2021 1:05 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
Of course, technically that is not a Rexx language issue. I am looking at
Cowlishaw "The Rexx Language" and "EXECIO" does not appear in
[000433f07816-dmarc-requ...@listserv.ua.edu]
Sent: Tuesday, February 2, 2021 1:23 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
On Tue, 2 Feb 2021 10:05:35 -0800, Charles Mills wrote:
>Of course, technically that is not a Rexx language issue. I am look
On Tue, 2 Feb 2021 10:05:35 -0800, Charles Mills wrote:
>Of course, technically that is not a Rexx language issue. I am looking at
>Cowlishaw "The Rexx Language" and "EXECIO" does not appear in the index.
>
It's conventional, but peculiar to the IBM world: CMS, z/OS, (OS/2?), ...?
uni-REXX,
to it and return its results that
way. Or append tails consisting of Roman numerals.
Charles
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of Paul Gilmartin
Sent: Tuesday, February 2, 2021 9:52 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re
On Tue, 2 Feb 2021 09:12:07 -0800, Charles Mills wrote:
>...
>/* rexx test */
>x = 'VX' /* Value of X */
>y = 'VY' /* value of Y */
>A.x.y = 'Foo' /* Presumably A.VX.VY is set to "Foo" */
>Combo = 'VX.VY'
>Say A.Combo /* Says "Foo": does not matter how you get to A.VX.VY! */
>
And
y 1, 2021 4:09 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
Thanks all. I am getting it now. I had the wrong mental model of how Rexx
stems work (and I suspect some others may also.)
I pictured it kind of like C or COBOL multi-dimensional arrays. I pictured
Rexx A.B.C.D be
On Tue, 2 Feb 2021 14:57:28 +, Seymour J Metz wrote:
>The confusing part is is not the way compound variables work, but the way
>value() works.
>
The doc must be read carefully, but then is it confusing?
Both TSO/E Rexx and Regina say some paraphrase of"
"The argument of VALUE() is a string
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of
Charles Mills [charl...@mcn.org]
Sent: Monday, February 1, 2021 7:09 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
Thanks all. I am getting it now. I had the wrong mental model of how
"A.B
plus a period."
Charles
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Seymour J Metz
Sent: Saturday, January 30, 2021 7:06 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
https://ia801609.us.archive.
du/~smetz3
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Tom
Conley [pinnc...@rochester.rr.com]
Sent: Friday, January 29, 2021 10:33 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
On 1/29/2021 12:05 PM, Charles Mills wrote:
&g
On 1/29/2021 12:05 PM, Charles Mills wrote:
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
Charles,
First, let me apologize for
@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
On Fri, 29 Jan 2021 15:42:03 +, 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 = v
ilto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of Tom Conley
Sent: Friday, January 29, 2021 7:13 AM
To: IBM-MAIN@LISTSERV.UA.EDU
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
On Fri, 29 Jan 2021 15:42:03 +, 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:
_
From: IBM Mainframe Discussion List on behalf of Tom
Conley
Sent: Friday, January 29, 2021 10:13 AM
To: IBM-MAIN@LISTSERV.UA.EDU
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
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
On Fri, 29 Jan 2021 06:14:38 -0600, Steve Horein wrote:
>>
>> > IsStepInit.Userid. = "0"
>>
>> "FTPD." is the tail. The stem end at the first period.
>
>Is that always true?
0433f07816-dmarc-requ...@listserv.ua.edu]
Sent: Friday, January 29, 2021 5:12 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
On Fri, 29 Jan 2021 08:20:22 +0300, turgut kalfaoğlu wrote:
>
>a.b. = 0
>does not work..
>
Oh, it works. It simp
29, 2021 7:14 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
>
> > Userid = "FTPD"
> > IsStepInit.Userid. = "0"
>
> "FTPD." is the tail. The stem end at the first period.
>
Is that always true?
https://www.ib
>
> > Userid = "FTPD"
> > IsStepInit.Userid. = "0"
>
> "FTPD." is the tail. The stem end at the first period.
>
Is that always true?
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.icha300/ich2a3_RRSF_stem_variables_created_by_IRRXUTIL.htm
Is IBM using stem and
On 29/01/2021 6:12 pm, Paul Gilmartin wrote:
On Fri, 29 Jan 2021 06:12:21 +, Seymour J Metz wrote:
If you could get IBM to port OOREXX to TSO ...
Why suggest a TSO dependency, rather than "... get IBM to port OOREXX to z/OS
..."
Think of IRXJCL and OMVS.
OOREXX is never going to happen
On Fri, 29 Jan 2021 08:20:22 +0300, turgut kalfaoğlu wrote:
>
>a.b. = 0
>does not work..
>
Oh, it works. It simply hasn't the semantic Charles wished for.
--
On Fri, 29 Jan 2021 06:12:21 +, Seymour J Metz wrote:
>
>If you could get IBM to port OOREXX to TSO ...
>
> Does that also work at the next level of stem variables?
There is no "level of stem variables".
> Userid = "FTPD"
> IsStepInit.Userid. = "0"
"FTPD." is the tail. The stem end at the first period.
If you could get IBM to port OOREXX to TSO then you would be able to have stem
variables whose
Well phooey!
Thanks,
Charles
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of turgut kalfaoglu
Sent: Thursday, January 28, 2021 9:20 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx stem variable question
Charles -- it only works
Charles -- it only works for the first level.. The global
initialization that is..
a. = 0
works, but
a.b. = 0
does not work..
-turgut
On 1/29/21 7:58 AM, Charles Mills wrote:
I either have a misunderstanding of how stem variables work - or perhaps it
is just some stupid program bug.
I
37 matches
Mail list logo