Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how to search for a string in a pds using clist

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: how to search for a string in a pds using clist
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: 1018
Location: Oostende, Belgium

PostPosted: Tue Sep 22, 2009 11:57 am    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Sep 22, 2009 12:03 pm    Post subject:
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

Senior Member


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

PostPosted: Tue Sep 22, 2009 1:35 pm    Post subject:
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    Post subject: Clarification
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Tue Sep 22, 2009 2:24 pm    Post subject: Reply to: how to search for a string in a pds using clist
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
This topic is locked: you cannot edit posts or make replies. Checking wether a string starts from ... sundaram.naveen CLIST & REXX 9 Thu Oct 06, 2016 11:56 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us