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 IB
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
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 JOA
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 a
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
>>
>
>
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',+
Th
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:
>
> PREFIX
> SUFFIX C
>
>My example:
> ==> S
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
> wrote on 11/19/2008 03:07:57 AM:
>
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
Jim McAlpine of the IBM Mainframe Discussion List
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.
> >
>
> I do h
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.
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
>>
>
>
Jim McAlpine wrote:
>> Elardus, I'm missing something here. What is YXABC and YXXABC above.
Dang! ;-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! / Sorry!
Now, I have a
On Wed, Nov 19, 2008 at 9:22 AM, Elardus Engelbrecht <
[EMAIL PROTECTED]> wrote:
>
> Try SRCHFOR on =3.4 and use this:
>
> PREFIX
> SUFFIX C
>
> My example:
> ==> SO PREFIX
> ==> EK SUFFIX C
>
> Example Search result:
>
> YXABC
>
> 1 SOEK
> 2 SO1EK
> 3 SOAEK
> 4 SOBBEK
>
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:
PREFIX
SUFFIX C
My example:
==> SO PREFIX
==> EK SUFFIX C
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
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
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
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 inst
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 h
;ll get it!
http://www.mackinney.com/products/SIM/simplist.htm
> 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 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 install
frame 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
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 ")" .
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 under
>> 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 com
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
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 lis
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:
>
>> I know of a way, but only __IF__ you have installed the GNU "grep" program
>> from the IBM site:
>>
>> http://www-03.ibm.com/servers/eserver/zs
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
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:
>
>http://www-03.ibm.com
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 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 I
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] w
35 matches
Mail list logo