:
Kirk Wolf k...@dovetail.com
To:
IBM-MAIN@bama.ua.edu,
Date:
05/30/2012 09:58 PM
Subject:
Re: Can DFSORT do pattern matching?
Sent by:
IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu
On Wed, May 30, 2012 at 8:04 AM, Shmuel Metz (Seymour J.)
shmuel+ibm-m...@patriot.net wrote
In
cahm_n2nfskfvqo2nb+se74rznbpvkzq+rtzk23tthcbcn2e...@mail.gmail.com,
on 05/30/2012
at 03:57 PM, Kirk Wolf k...@dovetail.com said:
Also, one could always use the POSIX-compatible
POSIX defines RE and BRE, which are very different. Do those routines
implement Perl-style regular expressions?
Sorry if I wasn't clear earlier: the IBM C library has POSIX compatible RE
functions.
For Perl compatible REs, you would probably want to port the
pcre.orglibrary (written in C). I'm not sure if it would be
practical to run Perl
from within an exit.
Kirk Wolf
Dovetailed Technologies
and The
MEGA Life and Health Insurance Company.SM
-Original Message-
From: IBM Mainframe Discussion List
[mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Shmuel Metz (Seymour J.)
Sent: Thursday, May 31, 2012 8:01 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Can DFSORT do pattern matching
Thanks to all. Frank Yaeger suggestion worked as always.
He will be missed
Ken Leidner kleid...@earthlink.net
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to
Ken Leidner at IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu wrote
on 05/31/2012 07:15:13 AM:
Thanks to all. Frank Yaeger suggestion worked as always.
He will be missed
Ken,
I'm glad my DFSORT solution worked for you.
I'm sure Kolusu and Dave will do a good job of representing the
In
cak6gkd3evkgu6kxu-m3f5+lpt6qlvyut2uhrokxid9l-fog...@mail.gmail.com,
on 05/30/2012
at 07:37 AM, (N agesh S) nageshbl...@gmail.com said:
What would be cool is a regex pattern engine that DFSORT can invoke.
So, once the tiny detail of invoking the Java class
Why use a Java class. Surely
On Wed, May 30, 2012 at 8:04 AM, Shmuel Metz (Seymour J.)
shmuel+ibm-m...@patriot.net wrote:
In
cak6gkd3evkgu6kxu-m3f5+lpt6qlvyut2uhrokxid9l-fog...@mail.gmail.com,
on 05/30/2012
at 07:37 AM, (N agesh S) nageshbl...@gmail.com said:
What would be cool is a regex pattern engine that DFSORT
Kurt Wolf writes:
| Has anyone written DFSORT exits in C?
I have written a great many of them in PL/I, a dozen or so in C, and
even a pair of them in COBOL.
There are no significant problems; if language support does not
already make an interfacing routine available--for IBM-supplied SLPLs
it
I don't know if DFSORT can do this. I'm not too familar with the advanced
stuff. But that pattern matching is exactly where regular expressions would
be a perfect fit. I would say more, but I fear the small, but very vocal,
anti-UNIX members.
--
John McKown
Systems Engineer IV
IT
snip
As input I have a dataset with a list of dataset
names from a catalog (really several catalogs),
in columns 1 thru 44. What I want to do is
include or exclude dataset names in the file
based on patterns like you might enter on ISPF 3.4
xxx.yyy.*.zzz.**
I don't know if DFSORT can do this. I'm not too familar with the advanced
stuff. But that pattern matching is exactly where regular expressions would
be a perfect fit.
Aw, you beat me to it John, just like I predicted.
I would say more, but I fear the small, but very vocal, anti-UNIX members.
��z{S���}�ĝ��xjǺ�*'���O*^��m��Z�w!j�
IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu wrote on 05/29/2012
11:24:27 AM:
From: Ken Leidner kleid...@earthlink.net
To: IBM-MAIN@bama.ua.edu,
Date: 05/29/2012 11:24 AM
Subject: Can DFSORT do pattern matching?
Sent by: IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu
I have a
Following up on the suggestion regarding regular expressions; one approach
would be to:
1) use IGGCSI00 for each include pattern
2) use grep -v with -e for each exclude pattern, using concatentated
output from (1).
Our free Co:Z Toolkit includes a z/OS Unix catsearch command that wraps
��z{S���}�ĝ��xjǺ�*'���O*^��m��Z�w!j�
��z{S���}�ĝ��xjǺ�*'���O*^��m��Z�w!j�
Hmmm ... seems to be some problem posting from Lotus Notes here today.
So I'm trying again from the archives.
Note: I'm not unretired today - I don't retire until Thursday. :-)
Assuming ** will only appear as the last node, and * will never
appear as the first node, I think the DFSORT JOINKEYS
What would be cool is a regex pattern engine that DFSORT can invoke. So,
once the tiny detail of invoking the Java class using a (new, perhaps) Enn
exit is resolved, DFSORT will have regex support. :grin:
Nagesh
On Wed, May 30, 2012 at 3:27 AM, Frank Yaeger yae...@us.ibm.com wrote:
Hmmm ...
On Wed, 30 May 2012 07:37:11 +0530, #3240;#3262;#3223;#3271;#3254;#3277;
#3256;#3265;#3244;#3277;#3248;#3257;#3277;#3246;#3235;#3277;#3247;
wrote:
What would be cool is a regex pattern engine that DFSORT can invoke.
Absolutely.
once the tiny detail of invoking the Java class using a (new,
20 matches
Mail list logo