I'm sorry I'm late to this discussion, but I read the whole thread and was
surprised that nobody suggested this.
In DSLIST in ISPF level 5.8 I can use the line command SFE to invoke
SUPERC extended search-for.
Here are the screens:
First enter the SFE line command next to the PDS:
.Menu
In [EMAIL PROTECTED], on
11/30/2008
at 07:07 PM, John McKown [EMAIL PROTECTED] said:
From my testing, the port of GNU grep will work on a PDS, but the standard
IBM supplied grep will not.
Standards are wonderful thing; everyone should have one of his very own.
(GM)
Do you know if IBM grep
In [EMAIL PROTECTED], on
11/18/2008
at 03:42 PM, Jim McAlpine [EMAIL PROTECTED] said:
Is there any way to achieve the above ie to search for 'abc*xyx' where *
can be any length in all members of a pds.
Any of awk, grep, PDS, StarTools.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
On Sun, 30 Nov 2008, Shmuel Metz (Seymour J.) wrote:
In [EMAIL PROTECTED], on
11/18/2008
at 03:42 PM, Jim McAlpine [EMAIL PROTECTED] said:
Is there any way to achieve the above ie to search for 'abc*xyx' where *
can be any length in all members of a pds.
Any of awk, grep, PDS,
On Tue, Nov 18, 2008 at 5:53 PM, Dave Salt [EMAIL PROTECTED] wrote:
On Tue, 18 Nov 2008 15:42:07 +, Jim McAlpine
wrote:
Is there any way to achieve the above ie to search for 'abc*xyx' where *
can be any length in all members of a pds.
If you have SimpList installed there are
On Tue, Nov 18, 2008 at 6:56 PM, Diehl, Gary [EMAIL PROTECTED]wrote:
Jim,
I'm trying to understand what you want. I took some existing code I
wrote ages ago in REXX and modified it to do this function:
Search all members of a PDS for a string of text where the member name
matches both a
On Tue, Nov 18, 2008 at 4:53 PM, Don Leahy [EMAIL PROTECTED] wrote:
Have you tried SRCHFOR?
//SEARCH EXEC PGM=ISRSUPC,
//PARM=(SRCHCMP,
//'ANYC')
//NEWDD DD DSN=DG53.LIBROPRD.EXPRTPDS,
// DISP=SHR
//OUTDD DD SYSOUT=(*)
//SYSIN DD *
SRCHFOR 'ABC',P
On Tue, Nov 18, 2008 at 3:42 PM, Jim McAlpine [EMAIL PROTECTED]wrote:
Is there any way to achieve the above ie to search for 'abc*xyx' where *
can be any length in all members of a pds.
Jim McAlpine
I do have an edit macro that allows me to search for a string including
wildcards. Is there
Jim McAlpine wrote:
Is there any way to achieve the above ie to search for 'abc*xyx' where *
can be any length in all members of a pds.
Yes!
Try SRCHFOR on =3.4 and use this:
argument for prefix PREFIX
argument for suffix SUFFIX C
My example:
== SO PREFIX
On Wed, Nov 19, 2008 at 9:22 AM, Elardus Engelbrecht
[EMAIL PROTECTED] wrote:
Try SRCHFOR on =3.4 and use this:
argument for prefix PREFIX
argument for suffix SUFFIX C
My example:
== SO PREFIX
== EK SUFFIX C
Example Search result:
YXABC
1 SOEK
2 SO1EK
3 SOAEK
Jim McAlpine wrote:
Elardus, I'm missing something here. What is YXABC and YXXABC above.
Dang! bashing my head to table ;-D
That is two example member names...
I intended to have them renamed YXABC to MEMBER1 and YXXABC to
MEMBER2 for example before I post my previous answer.
Jammer! /
On Wed, 19 Nov 2008 09:07:57 +, Jim McAlpine [EMAIL PROTECTED] wrote:
On Tue, Nov 18, 2008 at 3:42 PM, Jim McAlpine [EMAIL PROTECTED]wrote:
Is there any way to achieve the above ie to search for 'abc*xyx' where *
can be any length in all members of a pds.
Jim McAlpine
I do have an edit
On Wed, Nov 19, 2008 at 11:10 AM, Walt Farrell [EMAIL PROTECTED] wrote:
It's fairly simple to write a REXX exec that will use LMMLIST to get the
list of PDS members, at which point the exec can loop through the list and
invoke ISPF Edit on each member, passing a macro name as the imacro. The
SimpList also has a facility to launch an edit macro across a PDS.
I am a customer, not a vendor, so I am allowed to say that. :-)
On Wed, Nov 19, 2008 at 7:19 AM, John P Kalinich [EMAIL PROTECTED] wrote:
Jim McAlpine of the IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU
wrote on
Jim McAlpine of the IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU
wrote on 11/19/2008 03:07:57 AM:
On Tue, Nov 18, 2008 at 3:42 PM, Jim McAlpine
[EMAIL PROTECTED]wrote:
Is there any way to achieve the above ie to search for 'abc*xyx' where
*
can be any length in all members of a pds.
Walt Farrell wrote:
It's fairly simple to write a REXX exec that will use LMMLIST to get the list
of
PDS members, at which point the exec can loop through the list and invoke
ISPF Edit on each member, passing a macro name as the imacro. The macro
can either display the hit if it finds one, or
On Wed, 19 Nov 2008 03:22:40 -0600, Elardus Engelbrecht wrote:
Jim McAlpine wrote:
Is there any way to achieve the above ie to search for 'abc*xyx' where *
can be any length in all members of a pds.
Yes!
Try SRCHFOR on =3.4 and use this:
argument for prefix PREFIX
argument for suffix SUFFIX
Tom Marchant wrote:
and it will not find
SO HKJHKJ EK
True. In that case, do this:
Use =3.15 (Extended Search Function)
Fill in 'Search DS Name'.
Leave Search strings blank in ASIS and CAPS fields.
Specify in 'Statements Dsn' where your search argument is.
SRCHFOR 'SO'
SRCHFORC 'EK',+
On Wed, 19 Nov 2008 09:07:57 +, Jim McAlpine [EMAIL PROTECTED] wrote:
On Tue, Nov 18, 2008 at 3:42 PM, Jim McAlpine [EMAIL PROTECTED]wrote:
Is there any way to achieve the above ie to search for 'abc*xyx' where *
can be any length in all members of a pds.
Jim McAlpine
I do have an edit
[mailto:[EMAIL PROTECTED] On Behalf Of Jim
McAlpine
Sent: Tuesday, November 18, 2008 10:42 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: searching all members of a pds using wildcards
Is there any way to achieve the above ie to search for 'abc*xyx' where * can be
any length in all members of a pds.
Jim
Is there any way to achieve the above ie to search for 'abc*xyx' where * can
be any length in all members of a pds.
Jim McAlpine
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED]
On Tue, 18 Nov 2008 15:42:07 +, Jim McAlpine [EMAIL PROTECTED] wrote:
Is there any way to achieve the above ie to search for 'abc*xyx' where * can
be any length in all members of a pds.
Jim McAlpine
I know of a way, but only __IF__ you have installed the GNU grep program
from the IBM site:
In a message dated 11/18/2008 9:42:16 A.M. Central Standard Time,
[EMAIL PROTECTED] writes:
Is there any way to achieve the above ie to search for 'abc*xyx' where * can
be any length in all members of a pds.
Maybe a macro to 1)x all 2)find all 'pre' prefix 3)find all 'suf' suffix
nx
On Tue, 18 Nov 2008 09:52:46 -0600, John McKown wrote:
Is there any way to achieve the above ie to search for 'abc*xyx' where * can
be any length in all members of a pds.
I know of a way, but only __IF__ you have installed the GNU grep program
from the IBM site:
On Tue, Nov 18, 2008 at 3:52 PM, John McKown [EMAIL PROTECTED] wrote:
On Tue, 18 Nov 2008 15:42:07 +, Jim McAlpine [EMAIL PROTECTED]
wrote:
Is there any way to achieve the above ie to search for 'abc*xyx' where *
can
be any length in all members of a pds.
Jim McAlpine
I know of a
On Tue, 18 Nov 2008 16:36:25 +, Jim McAlpine [EMAIL PROTECTED] wrote:
On Tue, Nov 18, 2008 at 3:52 PM, John McKown [EMAIL PROTECTED] wrote:
snip
I know of a way, but only __IF__ you have installed the GNU grep program
from the IBM site:
Searching all members of a PDS can be done using any of several vendor
products (startools, fileaid, ...) and then there are free tools - check
out the PDS command on the CBT Tape.
You could also write a very simple rexx exec to do what you're looking
for. The simple logic would be:
get a
Have you tried SRCHFOR?
//SEARCH EXEC PGM=ISRSUPC,
//PARM=(SRCHCMP,
//'ANYC')
//NEWDD DD DSN=DG53.LIBROPRD.EXPRTPDS,
// DISP=SHR
//OUTDD DD SYSOUT=(*)
//SYSIN DD *
SRCHFOR 'ABC',P
SRCHFORC 'XYX',S
/*
This will return records where it finds a Prefix = ABC and
On Tue, 18 Nov 2008 15:42:07 +, Jim McAlpine
wrote:
Is there any way to achieve the above ie to search for 'abc*xyx' where *
can be any length in all members of a pds.
If you have SimpList installed there are several ways to do what you want. The
first is to use the SEEK command to
Jim,
I'm trying to understand what you want. I took some existing code I
wrote ages ago in REXX and modified it to do this function:
Search all members of a PDS for a string of text where the member name
matches both a PRE and SUF
I hope this is what you were looking for, I'm not sure I
Looks like it didn't come through quite right. The first few lines of
REXX got concatenated somehow after I hit SEND. They should be:
/* SEARCH A PDS WITH MEMBER NAME WITH PDSPRE PREFIX, PDSSUF SUFFIX, FOR
FINDSTR*/
TRACE O
ARG PDSDSN PRE( PDSPRE ) SUF( PDSSUF ) FIND( FINDSTR ) .
PDSDSN =
Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Jim McAlpine
Sent: Tuesday, November 18, 2008 10:42 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: searching all members of a pds using wildcards
Is there any way to achieve the above ie to search for 'abc*xyx' where *
can be any length in all members
On Tue, 18 Nov 2008 12:53:49 -0500, Dave Salt [EMAIL PROTECTED] wrote:
On Tue, 18 Nov 2008 15:42:07 +, Jim McAlpine
wrote:
Is there any way to achieve the above ie to search for 'abc*xyx' where *
can be any length in all members of a pds.
If you have SimpList installed there are several
Date: Tue, 18 Nov 2008 14:59:56 -0600
From: [EMAIL PROTECTED]
Subject: Re: searching all members of a pds using wildcards
To: IBM-MAIN@BAMA.UA.EDU
On Tue, 18 Nov 2008 12:53:49 -0500, Dave Salt wrote:
On Tue, 18 Nov 2008 15:42:07 +, Jim McAlpine
wrote:
Is there any way to achieve
2008/11/18 Mark Zelden [EMAIL PROTECTED]:
Since you are the Simplist vendor I assume you must know that the
people you are responding to have Simplist. If you know they don't,
then prefacing all your responses with if you have simplist is nothing
more than advertising.I'd really hate it
35 matches
Mail list logo