Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-29 Thread Wayne Bickerdike
The old system would disable the dial if no coin was deposited, however, the hook switch (rest) would still pulse the line. When the handset was lifted a resistance was put across the line allowing current to flow. At this point the line would supply dial tone and listen for dial pulses. The stro

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-29 Thread Paul Gilmartin
On Sat, 29 Feb 2020 13:34:04 -0500, Bob Bridges wrote: >That's a new one on me. How did tapping instead of dialing save you the >fourpence? I'd have thought that whatever allowed the call to go through a) >didn't know the difference between tapping and dialing, and b) wouldn't go >without bei

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-29 Thread Bob Bridges
That's a new one on me. How did tapping instead of dialing save you the fourpence? I'd have thought that whatever allowed the call to go through a) didn't know the difference between tapping and dialing, and b) wouldn't go without being paid. --- Bob Bridges, robhbrid...@gmail.com, cell 336 3

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Wayne Bickerdike
> To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: 2 Spaces after periods [was: RE: Rexx parse using period as > placeholder] > > Boomers code better anyway. > > > Doug Fuerst > 718.921.2620 (O) > 917.572.7364 (C) > d...@bkassociates.net > > -- Original Mes

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Seymour J Metz
List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Doug [d...@bkassociates.net] Sent: Friday, February 28, 2020 12:08 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder] Boomers code better anyway. Doug Fuerst 718.921.2620 (O) 917

Re: Rexx parse using period as placeholder

2020-02-28 Thread Seymour J Metz
: Friday, February 28, 2020 12:46 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder On Fri, 28 Feb 2020 19:48:54 +0800, David Crayford wrote: >How to do this maintaining the quotes? That's needed for allocating the >data set. > >Yet again, simple t

Re: Rexx parse using period as placeholder

2020-02-28 Thread Seymour J Metz
:03 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder I didn't pay much attention to this subthread, back when it first started up. But it looks as though it's lasting longer than I expected; maybe I should go back and reread and figure out what's

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Seymour J Metz
Spaces after periods [was: RE: Rexx parse using period as placeholder] On Feb 28, 2020, at 12:21 PM, Bob Bridges wrote: > > Guys, on the matter of French spacing (as with the Oxford comma) neither side > can legitimately argue that the debate is over. It's just not true that th

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Seymour J Metz
Gilmartin [000433f07816-dmarc-requ...@listserv.ua.edu] Sent: Friday, February 28, 2020 2:09 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder] On Fri, 28 Feb 2020 18:43:11 +, Pew, Curtis G wrote: >... >I learned th

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Seymour J Metz
erv.ua.edu] Sent: Friday, February 28, 2020 2:09 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder] On Fri, 28 Feb 2020 18:43:11 +, Pew, Curtis G wrote: >... >I learned the two-space rule when I started typing on my

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Paul Gilmartin
On Fri, 28 Feb 2020 14:53:36 -0500, Bob Bridges wrote: > >And I remember first discovering by experiment that all a rotary phone does is >put a counted number of clicks onto the line - and that I could "dial" a >number equally well by just tapping on the receiver to simulate the clicks. >... >

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Bob Bridges
I'm just barely old enough to remember that my childhood telephone number was like that, something like "Barrymore 7-1234" where "Barrymore" indicated the first two numbers of the exchange. Long gone, that convention. And I remember first discovering by experiment that all a rotary phone does i

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Tom Brennan
Maybe my problem is hereditary! My mom in La Mirada, California still has a working rotary dial phone hanging on the wall. I believe it doesn't even belong to her - they probably add a few dollars to the bill for rent. Printed in the center of the dial is the phone number, "LA-1 " which

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Paul Gilmartin
On Fri, 28 Feb 2020 13:12:53 -0600, Mike Schwab wrote: >Well, how about a rotary dial cell phone? >https://gizmodo.com/someone-built-a-distraction-free-cellphone-with-a-worki-1841636089 > There are limitations: https://www.youtube.com/watch?v=updE5LVe6tg -- gil -

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Mike Schwab
gt; To: IBM-MAIN > > Sent: Fri, Feb 28, 2020 9:49 am > > Subject: Re: 2 Spaces after periods [was: RE: Rexx parse using period as > > placeholder] > > > > Boomer :) > > > > On 2/28/2020 7:40 AM, Mitch Mccluhan wrote: > >>I VOTE FOR 2 SP

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Paul Gilmartin
On Fri, 28 Feb 2020 18:43:11 +, Pew, Curtis G wrote: >... >I learned the two-space rule when I started typing on my mom’s Selectric back >in the 70s, but I’ve gotten out of the habit now that word processors usually >reformat my input in any case. > Vim is an idiot. It prefers: Dr.

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Mike Schwab
---Original Message- > > From: Joel C. Ewing > > To: IBM-MAIN > > Sent: Fri, Feb 28, 2020 9:26 am > > Subject: Re: 2 Spaces after periods [was: RE: Rexx parse using period as > > placeholder] > > > > This is a sentence ending with one space. This is

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Bob Bridges
Is it, really? I'm usually a good speller, but I guess I've been doing that one wrong since I first read "The Hobbit". --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* It's far more impressive when others discover your good qualities without your help. */ -Original Message

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Pew, Curtis G
On Feb 28, 2020, at 12:21 PM, Bob Bridges wrote: > > Guys, on the matter of French spacing (as with the Oxford comma) neither side > can legitimately argue that the debate is over. It's just not true that the > consensus has established "the rule"; you'll find, rather, a significant body > of

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Bob Bridges
Guys, on the matter of French spacing (as with the Oxford comma) neither side can legitimately argue that the debate is over. It's just not true that the consensus has established "the rule"; you'll find, rather, a significant body of thought on both sides. I've had to settle back and agree to

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Bob Bridges
Baby-boomer, I presume he means. Born during the '50s, mostly. --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* Westheimer's Discovery: A couple of months in the laboratory can save a couple of hours in the library. -Frank H Westheimer, chemistry professor (1912- ) */ -Origi

Re: Rexx parse using period as placeholder

2020-02-28 Thread Bob Bridges
I didn't pay much attention to this subthread, back when it first started up. But it looks as though it's lasting longer than I expected; maybe I should go back and reread and figure out what's holding up the solution. You're trying to work out a way to pass and correctly parse an argument that ma

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Tom Brennan
-Original Message- From: Tom Brennan To: IBM-MAIN Sent: Fri, Feb 28, 2020 9:49 am Subject: Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder] Boomer :) On 2/28/2020 7:40 AM, Mitch Mccluhan wrote:   I VOTE FOR 2 SPACES!!!  Is that loud enough?  It has ALWA

Re: Rexx parse using period as placeholder

2020-02-28 Thread Dale R. Smith
On Fri, 28 Feb 2020 19:48:54 +0800, David Crayford wrote: >How to do this maintaining the quotes? That's needed for allocating the >data set. > >Yet again, simple to do with a regex. > >On 2020-02-28 1:41 AM, Dale R. Smith wrote: >> On Thu, 27 Feb 2020 17:30:03 +, Seymour J Metz wrote: >> >>

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Doug
ter periods [was: RE: Rexx parse using period as placeholder] Boomer? -Original Message- From: Tom Brennan To: IBM-MAIN Sent: Fri, Feb 28, 2020 9:49 am Subject: Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder] Boomer :) On 2/28/2020 7:40 AM, Mitch Mccl

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Mitch Mccluhan
Boomer? -Original Message- From: Tom Brennan To: IBM-MAIN Sent: Fri, Feb 28, 2020 9:49 am Subject: Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder] Boomer :) On 2/28/2020 7:40 AM, Mitch Mccluhan wrote: >  I VOTE FOR 2 SPACES!!!  Is that loud eno

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Tom Brennan
: Rexx parse using period as placeholder] This is a sentence ending with one space. This is a sentence ending with two spaces.  My email client is supposedly using a proportional, variable width font, and the typical smaller width used for a space character tends to make sentences merge together

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Mitch Mccluhan
I VOTE FOR 2 SPACES!!!  Is that loud enough?  It has ALWAYS made reading, easier. Mitch -Original Message- From: Joel C. Ewing To: IBM-MAIN Sent: Fri, Feb 28, 2020 9:26 am Subject: Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder] This is a sentence

Re: Rexx parse using period as placeholder

2020-02-28 Thread Seymour J Metz
bject: Re: Rexx parse using period as placeholder How to do this maintaining the quotes? That's needed for allocating the data set. Yet again, simple to do with a regex. On 2020-02-28 1:41 AM, Dale R. Smith wrote: > On Thu, 27 Feb 2020 17:30:03 +, Seymour J Metz wrote: > >&

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Joel C. Ewing
This is a sentence ending with one space. This is a sentence ending with two spaces.  My email client is supposedly using a proportional, variable width font, and the typical smaller width used for a space character tends to make sentences merge together visually when only a single space is use

Re: Rexx parse using period as placeholder

2020-02-28 Thread Seymour J Metz
00ash...@gmail.com] Sent: Friday, February 28, 2020 7:50 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder >How to do this maintaining the quotes? That's needed for allocating the data >set. I would work internally with the absolute DSN - if it is a file wi

Re: Rexx parse using period as placeholder

2020-02-28 Thread Billy Ashton
How to do this maintaining the quotes? That's needed for allocating the data set. I would work internally with the absolute DSN - if it is a file without the user's HLQ, I would add it, if it is a filename specified with the quotes, I would strip it off in the program. This allows me to contro

Re: Rexx parse using period as placeholder

2020-02-28 Thread David Crayford
How to do this maintaining the quotes? That's needed for allocating the data set. Yet again, simple to do with a regex. On 2020-02-28 1:41 AM, Dale R. Smith wrote: On Thu, 27 Feb 2020 17:30:03 +, Seymour J Metz wrote: The quotes were OK, the space between translate and the left paren wa

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-28 Thread Joe Monk
The rule now is 1 space after a period. Two spaces after a period was the rule on a typewriter, because the fonts weren't proportional, they were monospace. This led to uneven spacing of words on paper, so two spaces was the rule. Nowadays, on a computer, the fonts are proportional. For instance

Re: Rexx parse using period as placeholder

2020-02-28 Thread David Crayford
ford Sent: Thursday, February 27, 2020 11:31 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder I never said "old programmers". That would be self defeating as I "am" an old programmer. My point was that experienced z/OS guys don't want to

SV: Rexx parse using period as placeholder

2020-02-27 Thread Lars Höglund
-Ursprungligt meddelande- Från: IBM Mainframe Discussion List För Bob Bridges Skickat: den 27 februari 2020 17:37 Till: IBM-MAIN@LISTSERV.UA.EDU Ämne: Re: Rexx parse using period as placeholder I'm confused by this whole thread. I'm surprised at the behavior of the program, I'

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-27 Thread Mike Schwab
Vs e e cummings. https://cummingsatsilverlake.files.wordpress.com/2015/06/cummingscartoon.jpg On Thu, Feb 27, 2020 at 9:55 PM David Spiegel wrote: > > *JRR Tolkien > > > > On 2020-02-27 22:43, Bob Bridges wrote: > > I think most people spell that without any spaces at all, ie "i.e.". Also > >

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-27 Thread Wayne Bickerdike
As a Yorkshireman, two spaces is a waste of paper :) Then there's the tale of the Scotsman and the pins in an early stock control system. On Fri, Feb 28, 2020 at 4:01 PM zMan wrote: > It's considered "old" because it's how people were taught to type on > typewriters, so the theory is "If you do

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-27 Thread zMan
It's considered "old" because it's how people were taught to type on typewriters, so the theory is "If you do this, you learned back when people learned on typewriters, which makes you old". In any case, it's not considered standard any more: style guides eschew it. On Thu, Feb 27, 2020 at 10:44 P

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-27 Thread David Spiegel
*JRR Tolkien On 2020-02-27 22:43, Bob Bridges wrote: I think most people spell that without any spaces at all, ie "i.e.". Also "e.g.". Me, I eschew periods in abbreviations that are common enough; "ie", "eg", "Mr", "Dr", "JRR Tolkein" and so on. I add them to my dictionary so spell-check

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-27 Thread Bob Bridges
I think most people spell that without any spaces at all, ie "i.e.". Also "e.g.". Me, I eschew periods in abbreviations that are common enough; "ie", "eg", "Mr", "Dr", "JRR Tolkein" and so on. I add them to my dictionary so spell-check doesn't get annoyed. (Spell-check always believes me, sm

Re: Rexx parse using period as placeholder

2020-02-27 Thread David Crayford
David patched the gawk regex for EBCDIC. That's pretty much all that was required to get gawk running on z/OS as it's very portable. From what I've seen of David's work he's a very good engineer. On 2020-02-28 10:51 AM, Paul Gilmartin wrote: On Fri, 28 Feb 2020 10:39:46 +0800, David Crayford w

Re: Rexx parse using period as placeholder

2020-02-27 Thread Paul Gilmartin
On Fri, 28 Feb 2020 10:39:46 +0800, David Crayford wrote: > >David Pitts ported gawk to z/OS years ago. If you've got a C compiler >you can easily build it yourself. > I brushed up against one of David Pitts's ports (gcc, IIRC) several years ago. My impression is that David is oriented to Classic

Re: Rexx parse using period as placeholder

2020-02-27 Thread David Crayford
On 2020-02-28 4:13 AM, Farley, Peter x23353 wrote: Given IBM's long and steadfast reluctance to break compatibility with whatever they implement in software the first time around it may never happen that it changes either. And maybe Rocket will someday get a z/OS version of gawk out the door.

Re: Rexx parse using period as placeholder

2020-02-27 Thread David Crayford
On 2020-02-28 4:13 AM, Farley, Peter x23353 wrote: Given IBM's long and steadfast reluctance to break compatibility with whatever they implement in software the first time around it may never happen that it changes either. And maybe Rocket will someday get a z/OS version of gawk out the door.

Re: Rexx parse using period as placeholder

2020-02-27 Thread Seymour J Metz
, February 27, 2020 3:48 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder On Feb 27, 2020, at 11:48 AM, Seymour J Metz wrote: > > Perl is ugly, but the only thing that I might call read only is the regex > syntax, and Lua seems tom suffer from the same dis

Re: Rexx parse using period as placeholder

2020-02-27 Thread David Crayford
ight be tempted to switch. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Crayford [dcrayf...@gmail.com] Sent: Thursday, February 27, 2020 11:48 AM To: IBM-MA

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-27 Thread Mike Schwab
Single space after a period if not end of sentence. I. E. abbreviations. On Thu, Feb 27, 2020 at 2:59 PM Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > > On Thu, 27 Feb 2020 15:48:44 -0500, Steve Smith wrote: > > >Thanks for another reminder I'm "really old" :-). The ru

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-27 Thread Paul Gilmartin
On Thu, 27 Feb 2020 15:48:44 -0500, Steve Smith wrote: >Thanks for another reminder I'm "really old" :-). The rule, btw, is two >spaces at the end of a sentence. And I think it makes at least as much >sense for proportional fonts as mono. You can (and I do) have Word check >to make sure they're

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-27 Thread Steve Smith
Thanks for another reminder I'm "really old" :-). The rule, btw, is two spaces at the end of a sentence. And I think it makes at least as much sense for proportional fonts as mono. You can (and I do) have Word check to make sure they're always there... sas ... > > > P.S. I've heard that you

Re: Rexx parse using period as placeholder

2020-02-27 Thread Pew, Curtis G
On Feb 27, 2020, at 11:48 AM, Seymour J Metz wrote: > > Perl is ugly, but the only thing that I might call read only is the regex > syntax, and Lua seems tom suffer from the same disease. The obvious advantage > of Perl is the massive collection of packages in CPAN; if I had an equivalrnt > fo

Re: Rexx parse using period as placeholder

2020-02-27 Thread Farley, Peter x23353
k out the door. That would be a real blessing. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Paul Gilmartin Sent: Thursday, February 27, 2020 2:40 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder On Thu, 27 Feb 2020 18:25:03

Re: Rexx parse using period as placeholder

2020-02-27 Thread Paul Gilmartin
On Thu, 27 Feb 2020 18:25:03 +, Farley, Peter x23353 wrote: >... examples from my employer's z/OS V2.2 system (sanitized): > >//AWKSPLIT EXEC PGM=BPXBATCH,MEMLIMIT2256M >//STDENV DD * >SCRIPT=TSOUSER.TEST.EXEC(AWKSPLIT) >INPUT=TSOUSER.TEST.CSV

Re: Rexx parse using period as placeholder

2020-02-27 Thread Bob Bridges
*/ -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Farley, Peter x23353 Sent: Thursday, February 27, 2020 12:31 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder Sorry David, but I must disagree wit

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-27 Thread Seymour J Metz
: IBM Mainframe Discussion List On Behalf Of Tom Brennan Sent: Thursday, February 27, 2020 1:40 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder P.S. I've heard that you can tell if someone is really old if they type two spaces after a period. -- This messa

Re: 2 Spaces after periods [was: RE: Rexx parse using period as placeholder]

2020-02-27 Thread Farley, Peter x23353
On Behalf Of Tom Brennan Sent: Thursday, February 27, 2020 1:40 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder P.S. I've heard that you can tell if someone is really old if they type two spaces after a period. -- This message and any attachment

Re: Rexx parse using period as placeholder

2020-02-27 Thread Farley, Peter x23353
-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder Nice examples! But you might be missing //STDENV DD * _BPX_SHAREAS=MUST If you are using the DDs allocated in the job. Regards, Leo -Original Message- From: IBM Mainframe Discussion List On Behalf Of Farley

Re: Rexx parse using period as placeholder

2020-02-27 Thread Leonardo Vaz
@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder Two recent examples from my employer's z/OS V2.2 system (sanitized): //AWKSPLIT EXEC PGM=BPXBATCH,MEMLIMIT=256M //STDENV DD * SCRIPT=TSOUSER.TEST.EXEC(AWKSPLIT) INPUT=TSOUSER.TES

Re: Rexx parse using period as placeholder

2020-02-27 Thread Tom Brennan
> “Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.” Funny! And this is quite a thread I'm skimming over. I'm not totally sure if it's about old programmers who won't/can't change, or regular expressions. But I'll add my

Re: Rexx parse using period as placeholder

2020-02-27 Thread Farley, Peter x23353
---Original Message- From: IBM Mainframe Discussion List On Behalf Of Paul Gilmartin Sent: Thursday, February 27, 2020 1:11 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder On Thu, 27 Feb 2020 17:31:24 +, Farley, Pe > >For the record I am personally ver

Re: Rexx parse using period as placeholder

2020-02-27 Thread Seymour J Metz
Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin [000433f07816-dmarc-requ...@listserv.ua.edu] Sent: Thursday, February 27, 2020 1:10 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder On Thu, 27 Feb 2020 17:31:24 +, Farley,

Re: Rexx parse using period as placeholder

2020-02-27 Thread Paul Gilmartin
On Thu, 27 Feb 2020 17:31:24 +, Farley, Pe > >For the record I am personally very comfortable with regexen and use them all >the time in awk scripts for work (yes, in both z/OS Unix and z/OS JCL) ... > ??? In which z/OS release did JCL gain support for regexen? I've long wished for even the

Re: Rexx parse using period as placeholder

2020-02-27 Thread Seymour J Metz
le-sm...@columbus.rr.com] Sent: Thursday, February 27, 2020 12:41 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder On Thu, 27 Feb 2020 17:30:03 +, Seymour J Metz wrote: >The quotes were OK, the space between translate and the left paren was not. >Fixing that

Re: Rexx parse using period as placeholder

2020-02-27 Thread Seymour J Metz
: Rexx parse using period as placeholder Why Lua? Because it can run in TSO/ISPF/CICS which the others cannot. Rocket has a decent port of Python which runs well in USS and has a massive runtime library. It nukes Perl! Perl sucks! t'it a read only language! Rust hasn't been ported to z/OS

Re: Rexx parse using period as placeholder

2020-02-27 Thread Dale R. Smith
On Thu, 27 Feb 2020 17:30:03 +, Seymour J Metz wrote: >The quotes were OK, the space between translate and the left paren was not. >Fixing that > >parm="INDSN('HLQ.DSNAME(MEMBER)')" >Parse Value Translate(parm,"","'")' ' With fill1 '(' val ') ' fill2;say > 'fill1='fill1 'val='val 'f

Re: Rexx parse using period as placeholder

2020-02-27 Thread Seymour J Metz
N@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder I'm confused by this whole thread. I'm surprised at the behavior of the program, I'm baffled why Shmuel would ask why Thomas is surprised, and I don't understand what Thomas means by saying "it is the

Re: Rexx parse using period as placeholder

2020-02-27 Thread Farley, Peter x23353
sion List On Behalf Of David Crayford Sent: Thursday, February 27, 2020 11:31 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder I never said "old programmers". That would be self defeating as I "am" an old programmer. My point was that expe

Re: Rexx parse using period as placeholder

2020-02-27 Thread Seymour J Metz
__ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Dale R. Smith [dale-sm...@columbus.rr.com] Sent: Thursday, February 27, 2020 11:29 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder On Thu, 27 Feb 2020 19:07:37 +0800, David Cr

Re: Rexx parse using period as placeholder

2020-02-27 Thread Dale R. Smith
On Thu, 27 Feb 2020 10:29:08 -0600, Dale R. Smith wrote: >On Thu, 27 Feb 2020 19:07:37 +0800, David Crayford wrote: > >>OK. Let me change the requirements again ;) How about also handling >>single quotes for a fully qualified data set. >> >>Simple to do with a regex. Not so simple using REXX. >

Re: Rexx parse using period as placeholder

2020-02-27 Thread David Crayford
Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Crayford [dcrayf...@gmail.com] Sent: Thursday, February 27, 2020 11:31 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder I never said "old programmers". That would be self defeating as I &q

Re: Rexx parse using period as placeholder

2020-02-27 Thread Seymour J Metz
y 27, 2020 11:31 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder I never said "old programmers". That would be self defeating as I "am" an old programmer. My point was that experienced z/OS guys don't want to learn new stuff. And I st

Re: Rexx parse using period as placeholder

2020-02-27 Thread Seymour J Metz
, February 27, 2020 11:18 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder R'Shmuel, You may have to explain what "AK" means. I'm not sure that everyone is familiar with this. Regards, David On 2020-02-27 10:46, Seymour J Metz wrote: >&

Re: Rexx parse using period as placeholder

2020-02-27 Thread Seymour J Metz
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of John McKown [john.archie.mck...@gmail.com] Sent: Thursday, February 27, 2020 11:09 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder On Thu, Feb 27, 2020 at 9:47 AM Tony

Re: Rexx parse using period as placeholder

2020-02-27 Thread Seymour J Metz
IN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder On Feb 27, 2020, at 10:13 AM, Seymour J Metz wrote: > > Don't confuse logic with habit; there is nothing illogical about regexen. > Yes, the syntax is clumsy and not nearly as readable as patterns in, e.g., >

Re: Rexx parse using period as placeholder

2020-02-27 Thread Bob Bridges
Ah, I withdraw my confusion; IBM needed to emphasize the word "first" more than they did, perhaps, but Gil's explanation finally got through to me. It's something I may be able to keep in mind in the future. Or maybe not. But: myVar = 'word1 word2 9.12 word3.ext' Parse Var myVar . . . myV

Re: Rexx parse using period as placeholder

2020-02-27 Thread David Crayford
rame Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Crayford [dcrayf...@gmail.com] Sent: Thursday, February 27, 2020 10:35 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder Disclaimer here: I work for Rocket Software who offer lot of ported tools for

Re: Rexx parse using period as placeholder

2020-02-27 Thread Bob Bridges
I'm confused by this whole thread. I'm surprised at the behavior of the program, I'm baffled why Shmuel would ask why Thomas is surprised, and I don't understand what Thomas means by saying "it is the definition of a blank delimited word" that escaped him. The obvious behavior of the parse statem

Re: Rexx parse using period as placeholder

2020-02-27 Thread David Crayford
3. Don't confuse lack of familiarity with prejudice against;   why not give some examples and see whether anybody is interested? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Cr

Re: Rexx parse using period as placeholder

2020-02-27 Thread Dale R. Smith
On Thu, 27 Feb 2020 19:07:37 +0800, David Crayford wrote: >OK. Let me change the requirements again ;) How about also handling >single quotes for a fully qualified data set. > >Simple to do with a regex. Not so simple using REXX. > >Syntax: > > INDSN(DSNAME(MEMBER)) > INDSN(DSNAME) >

Re: Rexx parse using period as placeholder

2020-02-27 Thread Seymour J Metz
du/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Crayford [dcrayf...@gmail.com] Sent: Thursday, February 27, 2020 10:35 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder Disclaimer here: I work

Re: Rexx parse using period as placeholder

2020-02-27 Thread Pew, Curtis G
On Feb 27, 2020, at 10:13 AM, Seymour J Metz wrote: > > Don't confuse logic with habit; there is nothing illogical about regexen. > Yes, the syntax is clumsy and not nearly as readable as patterns in, e.g., > SNOBOL, but there's nothing magic about them, I could teach a bright > elementary sch

Re: Rexx parse using period as placeholder

2020-02-27 Thread Tony Thigpen
Don't confuse lack of familiarity with prejudice against;   why not give some examples and see whether anybody is interested? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on beha

Re: Rexx parse using period as placeholder

2020-02-27 Thread David Spiegel
PjRckVmI9BvwED8XUQU%3D&reserved=0 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Crayford [dcrayf...@gmail.com] Sent: Thursday, February 27, 2020 9:59 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder You are being pedantic, but

Re: Rexx parse using period as placeholder

2020-02-27 Thread Seymour J Metz
du/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Tony Thigpen [t...@vse2pdf.com] Sent: Thursday, February 27, 2020 10:46 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder Now, that is a bunch of BS. Old timers do want to

Re: Rexx parse using period as placeholder

2020-02-27 Thread John McKown
On Thu, Feb 27, 2020 at 9:47 AM Tony Thigpen wrote: > Now, that is a bunch of BS. > > Old timers do want to learn new things, but... > > Our minds have been trained over many years to use logic paths that are > built on 'logic'. Some of the newer tools being used conflict with those > ingrained t

Re: Rexx parse using period as placeholder

2020-02-27 Thread David Crayford
LISTSERV.UA.EDU] on behalf of David Crayford [dcrayf...@gmail.com] Sent: Thursday, February 27, 2020 9:30 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder I consider simple to be a single line regular expression which can handle the parsing grammar in one hit

Re: Rexx parse using period as placeholder

2020-02-27 Thread John McKown
On Thu, Feb 27, 2020 at 9:31 AM Seymour J Metz wrote: > UHG? > Sorry - the corporation that owns the company that I work for -- UnitedHealth Group. The largest multinational health insurer. They have the to do whatever it takes to force the mainframe to disappear -- to which they are dedica

Re: Rexx parse using period as placeholder

2020-02-27 Thread Seymour J Metz
ayford [dcrayf...@gmail.com] Sent: Thursday, February 27, 2020 9:59 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder You are being pedantic, but that's ok. I have found (from my co-workers especially) that most mainframe people of a certain vintage are not w

Re: Rexx parse using period as placeholder

2020-02-27 Thread Tony Thigpen
Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Crayford [dcrayf...@gmail.com] Sent: Thursday, February 27, 2020 9:30 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder I consider simple to be a single line regular expression which ca

Re: Rexx parse using period as placeholder

2020-02-27 Thread David Crayford
Disclaimer here: I work for Rocket Software who offer lot of ported tools for free.  My opinions are my own! REXX is great but it doesn't scale for writing large software solutions. It doesn't have modules, variable scoping and all those things we expect from modern languages. it's pervasive so

Re: Rexx parse using period as placeholder

2020-02-27 Thread Seymour J Metz
Subject: Re: Rexx parse using period as placeholder On Thu, Feb 27, 2020 at 8:59 AM David Crayford wrote: > You are being pedantic, but that's ok. > > I have found (from my co-workers especially) that most mainframe people > of a certain vintage are not willing to learn new st

Re: Rexx parse using period as placeholder

2020-02-27 Thread John McKown
On Thu, Feb 27, 2020 at 8:59 AM David Crayford wrote: > You are being pedantic, but that's ok. > > I have found (from my co-workers especially) that most mainframe people > of a certain vintage are not willing to learn new stuff. > So regular expressions are off the menu when they can write logic

Re: Rexx parse using period as placeholder

2020-02-27 Thread David Crayford
.@gmail.com] Sent: Thursday, February 27, 2020 9:30 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder I consider simple to be a single line regular expression which can handle the parsing grammar in one hit. Now, that may not to simple to most mainframe old timers bu

Re: Rexx parse using period as placeholder

2020-02-27 Thread Seymour J Metz
___ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Crayford [dcrayf...@gmail.com] Sent: Thursday, February 27, 2020 9:30 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder I consider simple to be a single line regular expr

Re: Rexx parse using period as placeholder

2020-02-27 Thread David Crayford
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Crayford [dcrayf...@gmail.com] Sent: Thursday, February 27, 2020 6:07 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder OK. Let me change the requirements again ;) How about also handl

Re: Rexx parse using period as placeholder

2020-02-27 Thread scott Ford
Sent: Thursday, February 27, 2020 6:07 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Rexx parse using period as placeholder > > OK. Let me change the requirements again ;) How about also handling > single quotes for a fully qualified data set. > > Simple to do with a regex.

Re: Rexx parse using period as placeholder

2020-02-27 Thread Seymour J Metz
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Crayford [dcrayf...@gmail.com] Sent: Thursday, February 27, 2020 6:07 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx parse using period as placeholder OK. Let me change the requirements again ;) How

Re: Rexx parse using period as placeholder

2020-02-27 Thread David Crayford
t trace rexxtry. */ .... REXXTRY.CMD on OS/2 say dsn mem DSNAME MEMBER -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf o

Re: Rexx parse using period as placeholder

2020-02-26 Thread scott Ford
Sri, Sir this is great.. Scott On Wed, Feb 26, 2020 at 11:53 AM Sri h Kolusu wrote: > >The input could have a blank delimited string containing an embedded > period before the one I wanted to parse out. > > Even though this is a rexx topic, DFSORT has rich parsing facility that can > parse the

Re: Rexx parse using period as placeholder

2020-02-26 Thread Sri h Kolusu
>The input could have a blank delimited string containing an embedded period before the one I wanted to parse out. Even though this is a rexx topic, DFSORT has rich parsing facility that can parse the strings with ease. //STEP0100 EXEC PGM=SORT //SYSOUT DD SYSOUT=* //SORTIN DD * WORD1 WORD2 9

  1   2   >