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

how to search for a string in a pds using clist


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Maverick23

New User


Joined: 30 Apr 2009
Posts: 7
Location: Bangalore

PostPosted: Tue Sep 22, 2009 11:44 am
Reply with quote

Hi all,

please help me to search for a particular string in all the members of a pds using clist.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Sep 22, 2009 11:57 am
Reply with quote

A CLIST....

Someday you'll get sued by someone who has dislocated his jaw due to excessive laughter.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Sep 22, 2009 12:03 pm
Reply with quote

Why write anything when 3.14 works rather well

How much do they charge for membership of the wheel reinvention society ?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Sep 22, 2009 1:35 pm
Reply with quote

prino wrote:
Someday you'll get sued by someone who has dislocated his jaw due to excessive laughter.
LOL-- yeah agree, AD 2009 you don't write CLIST, you write REXX.

Maverick23 -- And why ISPF 3.14 (subject to change) is not your choice, as Expat has asked? This will do what you asked for, at least what your posted text imply.
Back to top
View user's profile Send private message
Maverick23

New User


Joined: 30 Apr 2009
Posts: 7
Location: Bangalore

PostPosted: Tue Sep 22, 2009 2:16 pm
Reply with quote

Thanks Expat and prino for ur humorous(?) replies.... but the thing is we are working on a fujitsu mainframe system which doesnt support this feature. As this system is very much similar to IBM system we have decided to add that feature using clist or rexx...
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Sep 22, 2009 2:24 pm
Reply with quote

Quote:
but the thing is we are working on a fujitsu mainframe system which doesnt support this feature.


what operating system are You running....
the knowledge around here is on IBM zOS environment...
the help is likely to be scarce
Back to top
View user's profile Send private message
jkri

New User


Joined: 24 Jul 2007
Posts: 17
Location: pune

PostPosted: Wed Sep 23, 2009 4:39 pm
Reply with quote

Are you asking for the REXX code?

One way is to get the member listing using LISTDS. Then read each member and search for the string.
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 -> CLIST & REXX

 


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 Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top