A third way is for the wrapper to be a REXX-aware procedure.
Would you please elaborate more on that possibility
Thanks
ZA
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to
AM
Subject:Re: Announcing PCRE 8.33 for native z/OS
Sent by:IBM Mainframe Discussion List IBM-MAIN@listserv.ua.edu
John McKown wrote:
I finally got how to parse the string and allow it to start and end with
either a ' or a . The start and end character must be the same.
($x
Martin Packer wrote:
I'm showing my ignorance here - but maybe it's a better class of ignorance :-)
...
Hehe. Good one! ;-D
Why \2 and not \1? I recognise this as a backreference but don't know what
happened to the first one.
Which of the two \2 are you refering?
Just curious of course if
/developerworks/mydeveloperworks/blogs/MartinPacker
From: Elardus Engelbrecht elardus.engelbre...@sita.co.za
To: IBM-MAIN@listserv.ua.edu,
Date: 07/08/2013 11:24 AM
Subject:Re: Announcing PCRE 8.33 for native z/OS
Sent by:IBM Mainframe Discussion List IBM-MAIN@listserv.ua.edu
/mydeveloperworks/blogs/MartinPacker
From: Elardus Engelbrecht elardus.engelbre...@sita.co.za
To: IBM-MAIN@listserv.ua.edu,
Date: 07/08/2013 12:43 PM
Subject:Re: Announcing PCRE 8.33 for native z/OS
Sent by:IBM Mainframe Discussion List IBM-MAIN@listserv.ua.edu
Martin
I am not sure of being in a position to commit to doing this. For me, doing
so would make it a matter of honor to work on it regardless. A weird
aspect of my personality, I guess.
In any case, I don't know of any way to actually integrate PCRE into REXX.
It would be neat to be able to do
CALL *(REXXPCRE) 'PCRE VARTOPARSE MATCH.'
I would go with that one any time, but you will need a persistent LE
environment (i.e. use PIPI) if you do not want to compile the PCRE expression
every time you call it, etc. etc. I researched the thing for a while before I
gave up because my
/ Facebook IDs: MartinPacker
Blog:
https://www.ibm.com/developerworks/mydeveloperworks/blogs/MartinPacker
From: Ze'ev Atlas zatl...@yahoo.com
To: IBM-MAIN@listserv.ua.edu,
Date: 07/08/2013 05:22 PM
Subject:Re: Announcing PCRE 8.33 for native z/OS
Sent by:IBM Mainframe
In
of7d634a67.876492a9-on80257ba2.0039bb20-80257ba2.003eb...@uk.ibm.com,
on 07/08/2013
at 12:25 PM, Martin Packer martin_pac...@uk.ibm.com said:
Why \2 and not \1? I recognise this as a backreference but don't
know what happened to the first one.
Per syntax for unnamed capture n is $n and
In
caajsdjgzb_vpkhqngvr3_j7vu9yvof3bjqhojhk25sfjypd...@mail.gmail.com,
on 07/08/2013
at 11:00 AM, John McKown john.archie.mck...@gmail.com said:
But that is not possible. So I'm wondering what syntax should be
used? I can think of two possibilities.
There's a third easy possibility, but Ze'ev
In 5040929914304175.wa.zatlas1yahoo@listserv.ua.edu, on
07/05/2013
at 05:17 PM, Ze'ev Atlas zatl...@yahoo.com said:
I have to disagree. Most applications do use LE in the native z/OS
context.
Not those written in REXX. Further, PCRE is not an application; it is
a package used by
Not those written in REXX. Further, PCRE is not an application; it is
a package used by applications. There are options for compiling C code
without the requirement for LE.
Most business appplications that I've encountered are written in COBOL and
PL/I. Rexx comes distance third in shops that
I have been thinking about volunteering to see if I could extend your work
into the REXX world. I am unsure of two things: do I have the talent and do
I have the commitment. The latter is the big problem. I get tired so easily
now that I end up doing little beyond what is needed. Work environment
do I have the talent and do I have the commitment.
I am sure you do have the first
Please contact me of the group if you decide that you have the second.
ZA
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send
I find ignorance of the phrase 'nonce word' almost, but not quite, as
amusing as others apparently found my use of it.
It is not a highfalutin phrase, and someone who announces his
ignorance of it also announces his unfamiliarity with the cryptography
literature. Ignorance and, still more,
My experience was that writing function packages was hard unless you can
hook in early with a REXX environment definition. That requires system
administration for installation
which may be a game changer. The easier option is a subcommand
environment which you can establish with an address LINK
It's quite a bit of work. And if you want to call LE code you need
assembler bridging stubs to pass control from REXX to your LE program.
If there's no money in it you may want to rethink your project.
Thank you for the thorough comments.
Yes, I've realized it early on by reading through the
What you really have to consider is is there any interest in regular
expressions on the mainframe anyway. I have my doubts outside of the
z/OS UNIX community. Regular expressions are extremely powerful but most
mainframers probably can't be bothered to learn them. It's a case of old
dogs and
do this.
But I might be wrong of course.
Kees.
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of David Crayford
Sent: Friday, July 05, 2013 15:24
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Announcing PCRE 8.33 for native z/OS
What you
/blogs/MartinPacker
From: Vernooij, CP - SPLXM kees.verno...@klm.com
To: IBM-MAIN@listserv.ua.edu,
Date: 07/05/2013 02:42 PM
Subject:Re: Announcing PCRE 8.33 for native z/OS
Sent by:IBM Mainframe Discussion List IBM-MAIN@listserv.ua.edu
I think you are right.
I am one
On 5/07/2013 9:53 PM, John Gilmore wrote:
The intellectual difficulty of learning to use regular expressions is
being greatly exaggerated here. The principles involved could be
written out, for the convenience of notionally reactionary
mainframers, in some few eighty-column card images.
I
On Fri, 5 Jul 2013 15:42:44 +0200, Vernooij, CP - SPLXM kees.verno...@klm.com
wrote:
I am one of those old dogs, who tries to avoid things with slashes whenever
possible.
Bad bad bad dog! Are you avoiding z/OS, that thing with a nice slash? ;-D
...and I don't see Rexx with regular
My mind was warped very early in college by a love affair with APL.
Once you can use it, almost anything else seems normal. Most regular
expressions are not that difficult, just a matter of learning a new
syntax. But I will say that using assertions can be a bit difficult,
at least to me. Regular
David Crayford wrote:
| I find your grammer more difficult to understand than any regex ;)
and I find this entirely understandable and wholly predictable.
Presumptive dialectal spelling jocularities aside, I am at least as
unsympathetic to his views as he is to mine; and attempting to
What you really have to consider is is there any interest in regular
expressions on the mainframe anyway. I have my doubts ...
Yes, my project is about cultural change more then actual porting of the
specific library.
than weird gobbledygook RE voodoo
I like your description
REXX is
Touché.
On 05/07/2013, at 10:33 PM, John Gilmore jwgli...@gmail.com wrote:
David Crayford wrote:
| I find your grammer more difficult to understand than any regex ;)
and I find this entirely understandable and wholly predictable.
Presumptive dialectal spelling jocularities aside, I am
John McKown wrote:
One that always makes me sweat is matching the contents inside ' marks, where
a single ' is encoded as two ' marks next to each other within the outer '
marks. The same matching contents within parentheses where subparameters
within parentheses are permitted. E.g. 'This
In
CAE1XxDFDsvJ=883ktad9sboepptfdfujgds0udbxm91pdgz...@mail.gmail.com,
on 07/05/2013
at 09:53 AM, John Gilmore jwgli...@gmail.com said:
The intellectual difficulty of learning to use regular expressions is
being greatly exaggerated here. The principles involved could be
written out, for the
In 51d6b5d8.7010...@gmail.com, on 07/05/2013
at 08:02 PM, David Crayford dcrayf...@gmail.com said:
My experience was that writing function packages was hard
Why? The interface is clean and well documented. Put IRXFUSER in a
steplib.
For PCRE I'm not sure that you need a function package as
I use SRCHFOR a lot. However, to do complex searches it's terribly
complicated (options panel). A simple regex can do so much more.
The PCRE libray contains a PCREGREP grep utility. I tested it and in the next
revision, hopefully next week, it will be fully out there. This means
searching
Remember Shai Hess's project.
--- zatl...@yahoo.com wrote:
From: Ze'ev Atlas zatl...@yahoo.com
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Announcing PCRE 8.33 for native z/OS
Date: Fri, 5 Jul 2013 10:07:39 -0500
I use SRCHFOR a lot. However, to do complex searches
* PL/I abends on S0C4 and I do not have the expertise to check why
(volunteers needed.)
Are the diagnostic data available online?
I will put it there over the weekend... the download page of zaconsultants.net
ZA
--
For
On 05/07/2013, at 10:37 PM, Shmuel Metz (Seymour J.) shmuel+...@patriot.net
wrote:
In 51d6b5d8.7010...@gmail.com, on 07/05/2013
at 08:02 PM, David Crayford dcrayf...@gmail.com said:
My experience was that writing function packages was hard
Why? The interface is clean and well
One that always makes me sweat is matching the contents inside ' marks, where
a single ' is encoded as two ' marks next to each other within the outer '
marks. The same matching contents within parentheses where subparameters
within parentheses are permitted. E.g. 'This isn''t quite right!' or
In 2e91309a-e988-4950-9abe-d55e9125d...@gmail.com, on 07/05/2013
at 11:14 PM, David Crayford dcrayf...@gmail.com said:
With a persistent LE environment?
No.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
Atid/2http://patriot.net/~shmuel
We don't care. We don't have to care,
In 6124817942898068.wa.zatlas1yahoo@listserv.ua.edu, on
07/05/2013
at 10:19 AM, Ze'ev Atlas zatl...@yahoo.com said:
I actually like the notion of escape sequences:
I hate them. I much prefer how, e.g., Icon, Wylbur, handle the
problem.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
On 05/07/2013, at 11:32 PM, Shmuel Metz (Seymour J.) shmuel+...@patriot.net
wrote:
In 2e91309a-e988-4950-9abe-d55e9125d...@gmail.com, on 07/05/2013
at 11:14 PM, David Crayford dcrayf...@gmail.com said:
With a persistent LE environment?
No.
About as useful as a chocolate teapot then.
To match a quoted string as in my example, using Perl.
($x)=$line=~m/((?:'[^']*')+)/;
What makes this work is the + at the end of the ) of the (?: ). That
makes the regexp look back at the start. If there is a second ' mark,
it continues to scan. What I don't have the the recursive use of ( )
@LISTSERV.UA.EDU
Subject: Re: Announcing PCRE 8.33 for native z/OS
Ze'ev,
I would if I could. I used our shop-standard SCLM system to store and compile
the test program, and most of that translate process is driven by a complex
series of Rexx exec's, not JCL.
I do have some compile-and-link-outside
I finally got how to parse the string and allow it to start and end
with either a ' or a . The start and end character must be the same.
($x)=$line=~m/((:(['])[^\2]*\2)+)/;
([']) matches the starting or ' and captures it. The [^\2]* matches
all following characters except to the starting
In 7643d8d7-4c7b-4174-8848-b7098161f...@gmail.com, on 07/05/2013
at 11:41 PM, David Crayford dcrayf...@gmail.com said:
About as useful as a chocolate teapot then.
Yes, a PCRE port that requires a persistent LE environment is about as
useful as a chocolate teapot.
--
Shmuel (Seymour
@LISTSERV.UA.EDU] On
Behalf Of Farley, Peter x23353
Sent: Thursday, July 04, 2013 5:40 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Announcing PCRE 8.33 for native z/OS
Ze'ev,
I would if I could. I used our shop-standard SCLM system to store and compile
the test program, and most of that translate
Aw krap, now I have to look that up too. :-(
On 7/5/2013 9:41 AM, David Crayford wrote:
Touché.
On 05/07/2013, at 10:33 PM, John Gilmore jwgli...@gmail.com wrote:
David Crayford wrote:
| I find your grammer more difficult to understand than any regex ;)
and I find this entirely
About as useful as a chocolate teapot then.
Yes, a PCRE port that requires a persistent LE environment is about as
useful as a chocolate teapot.
I have to disagree. Most applications do use LE in the native z/OS context.
This is similar to other operating systems where scripting languages
@LISTSERV.UA.EDU
Subject: Re: Announcing PCRE 8.33 for native z/OS
Ah! So I didn't imagine it after all! :-)
Does your shop really use the IBM supplied compile procs? Interesting...
From: Farley, Peter x23353 peter.far...@broadridge.com
To: IBM-MAIN@LISTSERV.UA.EDU
Sent
-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Frank Swarbrick
Sent: Friday, July 05, 2013 5:49 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Announcing PCRE 8.33 for native z/OS
Ah! So I didn't imagine it after all! :-)
Does your shop really use
'grammer' is, I think, best viewed as a nonce word. David Crayford
knows very well that the canonical spelling is 'grammar'.
John Gilmore, Ashland, MA 01721 - USA
--
For IBM-MAIN subscribe / signoff / archive access
On Fri, Jul 5, 2013 at 7:27 PM, John Gilmore jwgli...@gmail.com wrote:
'grammer' is, I think, best viewed as a nonce word. David Crayford
knows very well that the canonical spelling is 'grammar'.
Man have you no sense of humor at all. ??
John Gilmore, Ashland, MA 01721
Sam,
My post, which you took seriously, was jocular. Our problem is not
that either of us lacks a sense of humor; it is that they are
incommensurably different.
In the upshot you find my posts offensive and I find yours tedious
because wholly predictable. I have now added your email address to
On 6/07/2013 10:27 AM, John Gilmore wrote:
'grammer' is, I think, best viewed as a nonce word. David Crayford
knows very well that the canonical spelling is 'grammar'.
That's funny! I was raised in London where we pronounce it gramma. BTW,
nonce has a different connotation where I come from.
If things haven't been locked down too much, you might try ISPF command
DDLIST, then subcommand LI to display linklist.
Other tools such as PDSMAN also provide similar functions to display system
components such as linklist.
- Don Imbriale
On Thu, Jul 4, 2013 at 12:09 AM, Farley, Peter x23353
Frank and Peter
Would you be so kind to share the JCL needed to compile it in any flavor please.
I do not mind whether somebody use PCRE or opting to use the Posix compliant
IBM supplied modules, both are fine for any simple (or even semi-complex) regex
(if you know what to expect from Posix
features that interpret Perl code
dynamically.
Peter
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of Shmuel Metz (Seymour J.)
Sent: Wednesday, July 03, 2013 10:37 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Announcing PCRE 8.33
the program with just plain JCL and share my results.
Peter
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of Ze'ev Atlas
Sent: Thursday, July 04, 2013 4:09 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Announcing PCRE 8.33 for native z/OS
.
From: Farley, Peter x23353 peter.far...@broadridge.com
To: IBM-MAIN@LISTSERV.UA.EDU
Sent: Wednesday, July 3, 2013 10:09 PM
Subject: Re: Announcing PCRE 8.33 for native z/OS
Sorry, application programmers here are not allowed ANY operator functions
(including /D
In 2097080765646466.wa.zatlas1yahoo@listserv.ua.edu, on
07/03/2013
at 08:36 PM, Ze'ev Atlas zatl...@yahoo.com said:
compatible with Perl
Which Perl?
7. I contemplated interfacing with Rexx, but I cannot come with
specific well defined API that would agree with that language.
The obvious
Which Perl?
I am using v5.14.2
7. I contemplated interfacing with Rexx, but I cannot come with
specific well defined API that would agree with that language.
The obvious way is to return, e.g., capture buffers, %+ and %- in REXX
variables.
I will look into that when I get to it. Thank you.
Hi All
Of all places, I would expect a little more enthusiasm of the members of this
list.
Let me please explain the rationale behind publishing the PCRE library on z/OS.
Regular expressions are available in most modern languages such as Perl, Java
and PHP, to mention only few (BTW, PHP is
I am grateful for your work on this. Unfortunately, if other shops are
like mine, the programmers can't use your PCRE library in production
because it is not a vendor supported product. I did download the
previous version. And _I_ can use it in my own code for __my own__
purposes. But, then, I'm a
If this were an Open Source project I might be able to persuade my
employer to allow me to work on it. Or at least to use it.
So, is it?
If not I have to wish you well and decline to play. :-(
Cheers, Martin
Martin Packer,
zChampion, Principal Systems Investigator,
Worldwide Banking Center of
Well, he does distribute the source. The original source is licensed
with a BSD license:
http://pcre.org/licence.txt
From looking at the source from Mr. Atlas, the BSD license is still
embedded in it. And I have not seen any changes to it mentioned.
On Wed, Jul 3, 2013 at 8:19 AM, Martin Packer
Sent: Wednesday, July 3, 2013 6:35 AM
Subject: Re: Announcing PCRE 8.33 for native z/OS
Hi All
Of all places, I would expect a little more enthusiasm of the members of this
list.
Let me please explain the rationale behind publishing the PCRE library on z/OS.
Regular expressions are available
The regexp in IBM's C is POSIX complaint. PCRE can be much more
powerful. The IBM sed UNIX command only allows POSIX regexps.
Frustrates the bleep out of me. So I don't use sed much any more. I
use Perl itself.
On Wed, Jul 3, 2013 at 1:17 PM, Frank Swarbrick
frank.swarbr...@yahoo.com wrote:
Not
.
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of Frank Swarbrick
Sent: Wednesday, July 03, 2013 2:17 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Announcing PCRE 8.33 for native z/OS
Not to discourage you, as I'm sure porting PCRE
...value lmsgbuf' if
you want.
4) I won't ask. :-)
Frank
From: Farley, Peter x23353 peter.far...@broadridge.com
To: IBM-MAIN@LISTSERV.UA.EDU
Sent: Wednesday, July 3, 2013 1:20 PM
Subject: Re: Announcing PCRE 8.33 for native z/OS
Frank,
First let me say
It is an open source port of an open source project. Can't be more open source
than that
BSD license
source is distributed
za
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to
To: IBM-MAIN@LISTSERV.UA.EDU
Sent: Wednesday, July 3, 2013 4:20 PM
Subject: Re: Announcing PCRE 8.33 for native z/OS
Yes, it did execute just fine in batch from JCL with DYNAM, and our default
COBOL code page is 1140 as well, and it still worked fine. However, I did not
need to add SCEELKED
Frank
You are absolutely correct that it could be done in COBOL and PL/I. The
problem is that the culture does not lend itself to that.
In any case, PCRE is mature and working library with most all (even esoteric)
options. So there is a value int it after all:)
Since I noticed that not all
Peter,
I will have to seeif I need to adopt some of your changes...
Frank and Peter, cool!!
ZA
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO
Thank you all for responding and I've learnt a lot from you.
Some notes:
1. As far as I can tell, my development is done on 1047, so the library is
compiled for that code-page. I do not have any access to any other code-page,
so I will need somebody to actually load and compile it according to
In 5892125769715316.wa.zatlas1yahoo@listserv.ua.edu, on
07/03/2013
at 07:35 AM, Ze'ev Atlas zatl...@yahoo.com said:
Of all places, I would expect a little more enthusiasm of the members
of this list.
The lack of replies may indicate that nobody had problems with it
rather than a lack of
I knocked up a REXX regex package using ECMAScript grammer, which is
almost identical to PCRE with a few subtle differences. I wish the C++
TR1 regex library supported perl syntax like boost::regex.
I can't ship the source as it contains code which may be considered IP
at a later date but I
@LISTSERV.UA.EDU
Subject: Re: Announcing PCRE 8.33 for native z/OS
Hmm, perhaps underscores did come with COBOL 4.2. I don't recall.
Can you do /D PROG,LNKLST in SDSF? That will get you the active linklist.
The only CEE libraries we have there are CEE.SCEERUN and CEE.SCEERUN2. I
though
In 7859492443392344.wa.zatlas1yahoo@listserv.ua.edu, on
07/03/2013
at 05:58 PM, Ze'ev Atlas zatl...@yahoo.com said:
In any case, PCRE is mature and working library with most all (even
esoteric) options.
Branch reset? Conditional patterns? Named backreferences? Recursive
patterns?
--
74 matches
Mail list logo