IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Get only the member names where a string is found!!!


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Tulika

New User


Joined: 21 Aug 2008
Posts: 2
Location: Indore

PostPosted: Sun Sep 21, 2008 4:17 pm
Reply with quote

I want to search a string in all the members of a PDS. but I want only the member names not the lines where that string is found..
I m trying with 3.14.
Plz help!!
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Sun Sep 21, 2008 4:21 pm
Reply with quote

Apply your own intelligence.

Do 3.14 in batch, divert the output and collect by a small rexx.

Another way if you want it online : sort the result, that will group the member names.

If there is another need, I cannot see which one without any extra information from you.

Cheers
Pierre
Back to top
View user's profile Send private message
Tulika

New User


Joined: 21 Aug 2008
Posts: 2
Location: Indore

PostPosted: Sun Sep 21, 2008 6:49 pm
Reply with quote

Thanx a lot for ur inputs!!
I know that I can do it using REXX...
But I am looking for an option which I can specify in 3.14 which will supress the lines and give only member names..
Is there any option?
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Sun Sep 21, 2008 6:56 pm
Reply with quote

I don't see one without extra work.
But I am a bit perplex : is this an exercice?

Do you process in batch or foreground?

What is the real goal?
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Sep 21, 2008 11:02 pm
Reply with quote

What's the big deal? Use superc; take the printed O/P into SPF edit; enter x all;f all g(s) in the cmd line.; then del all x and you've got what you want.
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Mon Sep 22, 2008 2:19 am
Reply with quote

The IDPFX keyword tells SUPERC to prefix text matches with an identifier or member name on the report file.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts file manager is doing string conversion IBM Tools 3
Search our Forums:

Back to Top