Re: Rexx routine to dump all variables when debugging?

2022-02-18 Thread David Crayford
On 18/2/22 7:11 pm, Rony wrote: As René mentioned already, ooRexx has full introspection. As ooRexx is compatible with REXX (one can use ooRexx to run REXX programs that do not use any of the new features of ooRexx) it is interesting how the Object REXX developers at IBM handled that. In

Re: Rexx routine to dump all variables when debugging?

2022-02-18 Thread René Jansen
Hi Paul, ➜ test git:(master) ✗ cat stemcase.rexx /* rexx */ A. = "Preset" A.42 = "Answer" B. = A. /* Behaves differently in ooRexx. */ DROP A.45 SAY SYMBOL( 'A.45' ) /* Behaves differently in ooRexx. */ ➜ test git:(master) ✗ regina stemcase.rexx LIT ➜ test git:(master) ✗ rexx

Re: Rexx routine to dump all variables when debugging?

2022-02-18 Thread Paul Gilmartin
On Fri, 18 Feb 2022 12:11:57 +0100, Rony wrote: >As René mentioned already, ooRexx has full introspection. As ooRexx is >compatible with REXX (one can use ooRexx to run REXX programs that do not use >any of the new features of ooRexx) it is interesting how the Object REXX >developers at IBM

Re: Rexx routine to dump all variables when debugging?

2022-02-18 Thread Seymour J Metz
, February 17, 2022 10:35 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? Does REXX (any implementation other than the JVM) have introspection capabilities? I suspect not as the only type is a string. On 17/2/22 1:07 am, Farley, Peter x23353 wrote

Re: Rexx routine to dump all variables when debugging?

2022-02-18 Thread Seymour J Metz
] on behalf of René Jansen [rene.vincent.jan...@gmail.com] Sent: Friday, February 18, 2022 2:42 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? In Classic Rexx the main types are string and number. All Rexx has datatype(). It tells you if a string

Re: Rexx routine to dump all variables when debugging?

2022-02-18 Thread Rony
As René mentioned already, ooRexx has full introspection. As ooRexx is compatible with REXX (one can use ooRexx to run REXX programs that do not use any of the new features of ooRexx) it is interesting how the Object REXX developers at IBM handled that. In 2007 I did some musings with

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread René Jansen
In Classic Rexx the main types are string and number. All Rexx has datatype(). It tells you if a string is Alphanumeric, Binary, Lower case, uppoer case, mixed case, a number, a symbol (a vakid Rexx symbol, a whole number, or a hex number. NetRexx has the JVM’s introspection (reflection).

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread David Crayford
Does REXX (any implementation other than the JVM) have introspection capabilities? I suspect not as the only type is a string. On 17/2/22 1:07 am, Farley, Peter x23353 wrote: Sent to both IBM-MAIN and TSO-REXX Is there any available routine / function package that a z/OS TSO Rexx program can

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Dale R. Smith
On Wed, 16 Feb 2022 17:07:39 +, Farley, Peter x23353 wrote: >Is there any available routine / function package that a z/OS TSO Rexx program >can use like the oorexx function SysDumpVariables for debugging purposes? > >I have looked through the CBT File001 descriptions and looked at both

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Seymour J Metz
: Rexx routine to dump all variables when debugging? On Thu, 17 Feb 2022 17:42:50 +, Seymour J Metz wrote: >Perhaps, but oorexx uses that nomenclature, and OREXX is where >SysDumpVariables came in. > However the OP is concerned with TSO Rexx. >BTW, I tested and SYMBOL() returns VAR fo

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Paul Gilmartin
On Thu, 17 Feb 2022 17:42:50 +, Seymour J Metz wrote: >Perhaps, but oorexx uses that nomenclature, and OREXX is where >SysDumpVariables came in. > However the OP is concerned with TSO Rexx. >BTW, I tested and SYMBOL() returns VAR for dropped compound variables; > That is an incompatibility

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Seymour J Metz
@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? On Thu, 17 Feb 2022 17:15:22 +, Seymour J Metz wrote: >Whatever nomenclature you want to use, the defined behavior is that the >compound variable has the same status is if it was dropped until you assign a

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Clark Morris
, 2022 9:38 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? On Thu, 17 Feb 2022, at 02:44, Farley, Peter x23353 wrote: It used to be that our actual email addresses showed in the listserv headers, but I guess they are trying to protect our identities

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Paul Gilmartin
On Thu, 17 Feb 2022 17:15:22 +, Seymour J Metz wrote: >Whatever nomenclature you want to use, the defined behavior is that the >compound variable has the same status is if it was dropped until you assign a >value to it. > "Default" is so misleading that IBM developers have misunderstood

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Seymour J Metz
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Jeremy Nicoll [jn.ls.mfrm...@letterboxes.org] Sent: Thursday, February 17, 2022 9:38 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? On Thu, 17 Feb 2022, at 02:44, Farley

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Seymour J Metz
erv.ua.edu] Sent: Thursday, February 17, 2022 12:08 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? On Thu, 17 Feb 2022 16:11:30 +, Seymour J Metz wrote: >IKJEFT01 is not vanilla batch, it is batch TSO, and ISPF works just dandy. You >do n

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Paul Gilmartin
On Fri, 18 Feb 2022 01:09:18 +0800, David Crayford wrote: >Not that I know of. REXX is a relic and doesn't have any introspection >features. > PARSE SOURCE? SOURCELINE()? CONDITION()? But generally I agree. -- gil -- For

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Seymour J Metz
Crayford [dcrayf...@gmail.com] Sent: Thursday, February 17, 2022 12:09 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? Not that I know of. REXX is a relic and doesn't have any introspection features. On 17/2/22 1:07 am, Farley, Peter x23353 wrote: > S

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Seymour J Metz
List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin [000433f07816-dmarc-requ...@listserv.ua.edu] Sent: Thursday, February 17, 2022 10:14 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? On Thu, 17 Feb 2022 14:34:55 +, Seymour J Metz

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread David Crayford
Not that I know of. REXX is a relic and doesn't have any introspection features. On 17/2/22 1:07 am, Farley, Peter x23353 wrote: Sent to both IBM-MAIN and TSO-REXX Is there any available routine / function package that a z/OS TSO Rexx program can use like the oorexx function SysDumpVariables

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Paul Gilmartin
On Thu, 17 Feb 2022 16:11:30 +, Seymour J Metz wrote: >IKJEFT01 is not vanilla batch, it is batch TSO, and ISPF works just dandy. You >do need the right DD statements and PARM. > FSVO "right DD statements". But I've used it that way to use LMCOPY with ISPF member ENQs. My second choice,

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Seymour J Metz
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Joseph Reichman [reichman...@gmail.com] Sent: Thursday, February 17, 2022 10:28 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? Before I started running my

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Farley, Peter x23353
sion List On Behalf Of Seymour J Metz Sent: Thursday, February 17, 2022 11:12 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? IKJEFT01 is not vanilla batch, it is batch TSO, and ISPF works just dandy. You do need the right DD

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Seymour J Metz
of Farley, Peter x23353 [031df298a9da-dmarc-requ...@listserv.ua.edu] Sent: Wednesday, February 16, 2022 9:44 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? That sounds interesting, but if it is tied to ISPF I would much prefer something

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Ward Able, Grant
Mainframe Discussion List On Behalf Of W Mainframe Sent: 17 February 2022 01:39 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? ATTENTION: External Email – Be Suspicious of Attachments, Links and Requests for Login Information. Hey,Provide me your email

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Joseph Reichman
rexxtry.rex on WindowsNT > say result > 0 > > > From: IBM Mainframe Discussion List on behalf of > Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> > Sent: Wednesday, February 16, 20

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Farley, Peter x23353
Thanks Willy, I will give that a try. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Willy Jensen Sent: Thursday, February 17, 2022 7:55 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? See the REXXVARS program

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Paul Gilmartin
On Thu, 17 Feb 2022 14:34:55 +, Seymour J Metz wrote: >X.41 is not defined. All tails are dropped initially and when you assign a >default value. > What's a "default value"? Are you inventing misleading terminology? > X.41 is defined by: X. = "Preset"

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Jeremy Nicoll
On Thu, 17 Feb 2022, at 02:44, Farley, Peter x23353 wrote: > It used to be that our actual email addresses showed in the listserv > headers, but I guess they are trying to protect our identities. I can see some people's real email addresses in some posts here. They're sometimes in ordinary

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Seymour J Metz
[000433f07816-dmarc-requ...@listserv.ua.edu] Sent: Wednesday, February 16, 2022 10:34 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? On Thu, 17 Feb 2022 02:44:51 +, Farley, Peter x23353 wrote: >That sounds interesting, but if it is tied to I

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Seymour J Metz
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin [000433f07816-dmarc-requ...@listserv.ua.edu] Sent: Wednesday, February 16, 2022 10:51 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Seymour J Metz
[000433f07816-dmarc-requ...@listserv.ua.edu] Sent: Wednesday, February 16, 2022 10:51 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? On Wed, 16 Feb 2022 21:36:48 +, Seymour J Metz wrote: X. = "Preset" DROP X.42 Null = '' X.Null = &quo

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Lionel B. Dyck
l Message- From: IBM Mainframe Discussion List On Behalf Of Willy Jensen Sent: Thursday, February 17, 2022 06:55 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? See the REXXVARS program at https://harders-j

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Willy Jensen
Depending on what you mean by 'dump' then the RLIST and REXPORT commands of the REXXGBLV program also at https://harders-jensen.com might be useful. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email

Re: Rexx routine to dump all variables when debugging?

2022-02-17 Thread Willy Jensen
See the REXXVARS program at https://harders-jensen.com -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: Rexx routine to dump all variables when debugging?

2022-02-16 Thread Paul Gilmartin
On Wed, 16 Feb 2022 21:36:48 +, Seymour J Metz wrote: X. = "Preset" DROP X.42 Null = '' X.Null = "Empty!" call SysDumpVariables Name=X., Value='Empty!' Name=FOO, Value='123,456.78' ... So it doesn't tell you that X.41 is defined but X.42 is undefined. Bummer. How does it report

Re: Rexx routine to dump all variables when debugging?

2022-02-16 Thread Paul Gilmartin
On Thu, 17 Feb 2022 02:44:51 +, Farley, Peter x23353 wrote: >That sounds interesting, but if it is tied to ISPF I would much prefer >something that works in vanilla batch. My immediate need is batch Rexx >executed from plain unadorned IKFEFT01, so TSO Rexx facilities are available >but

Re: Rexx routine to dump all variables when debugging?

2022-02-16 Thread David Spiegel
essage- From: IBM Mainframe Discussion List On Behalf Of Lionel B. Dyck Sent: Wednesday, February 16, 2022 12:16 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? The only thing that comes to mind is the STEMEDIT from CBT File 895.  It doesn't

Re: Rexx routine to dump all variables when debugging?

2022-02-16 Thread Farley, Peter x23353
: Wednesday, February 16, 2022 8:39 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? Hey,Provide me your email and I will send a routine to list  rexx variables. In my routine you will be able to search variables current rexx pool showing the result

Re: Rexx routine to dump all variables when debugging?

2022-02-16 Thread W Mainframe
12:16 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? The only thing that comes to mind is the STEMEDIT from CBT File 895.  It doesn't 'dump' the list but does allow viewing using ISPF.  Perhaps you could take that and adjust to do the 'dump'.. Li

Re: Rexx routine to dump all variables when debugging?

2022-02-16 Thread Farley, Peter x23353
Thanks Lionel, I will check that out. -Original Message- From: IBM Mainframe Discussion List On Behalf Of Lionel B. Dyck Sent: Wednesday, February 16, 2022 12:16 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all variables when debugging? The only thing that comes

Re: Rexx routine to dump all variables when debugging?

2022-02-16 Thread Seymour J Metz
.rex on WindowsNT say result 0 From: IBM Mainframe Discussion List on behalf of Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> Sent: Wednesday, February 16, 2022 3:33 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx routine to dump all varia

Re: Rexx routine to dump all variables when debugging?

2022-02-16 Thread Paul Gilmartin
On Wed, 16 Feb 2022 17:50:32 +, Seymour J Metz wrote: >It reports the compound variable but not the stem. > How does it report the DROPped member? How does it report the member with the null string tail? From: Paul Gilmartin Sent: Wednesday, February 16, 2022 12:30 PM For complete

Re: Rexx routine to dump all variables when debugging?

2022-02-16 Thread Seymour J Metz
: Rexx routine to dump all variables when debugging? On Feb 16, 2022, at 10:16:09, Lionel B. Dyck wrote: > > The only thing that comes to mind is the STEMEDIT from CBT File 895. It > doesn't 'dump' the list but does allow viewing using ISPF. > > Perhaps you could take that and a

Re: Rexx routine to dump all variables when debugging?

2022-02-16 Thread Paul Gilmartin
On Feb 16, 2022, at 10:16:09, Lionel B. Dyck wrote: > > The only thing that comes to mind is the STEMEDIT from CBT File 895. It > doesn't 'dump' the list but does allow viewing using ISPF. > > Perhaps you could take that and adjust to do the 'dump'.. > Need to add simple variables. For

Re: Rexx routine to dump all variables when debugging?

2022-02-16 Thread Lionel B. Dyck
:08 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Rexx routine to dump all variables when debugging? Sent to both IBM-MAIN and TSO-REXX Is there any available routine / function package that a z/OS TSO Rexx program can use like the oorexx function SysDumpVariables for debugging purposes? I have looked thro

Rexx routine to dump all variables when debugging?

2022-02-16 Thread Farley, Peter x23353
Sent to both IBM-MAIN and TSO-REXX Is there any available routine / function package that a z/OS TSO Rexx program can use like the oorexx function SysDumpVariables for debugging purposes? I have looked through the CBT File001 descriptions and looked at both Mark Zelden and Lionel Dyck's pages