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

Find and replace


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

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Thu Jul 30, 2009 3:46 pm
Reply with quote

"C ALL '.EE' '.EG'" to find and replace all the occurrence in a single member of PDS or PS

ex :

Code:
           DELETE EFSGT.EESGD295.ACCEPT       
           DELETE EFSGT.EESGD296.EXTR.ACCEPT       


Code:
           DELETE EFSGT.EGSGD295.ACCEPT     
           DELETE EFSGT.EGSGD296.EXTR.ACCEPT       


Is there any command which can apply againt all members in PDS
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Jul 30, 2009 4:09 pm
Reply with quote

Why not let someone else search for you .....................................

Take a look HERE
Back to top
View user's profile Send private message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Thu Jul 30, 2009 4:34 pm
Reply with quote

I want to know is it possible thru ISPF command

By using SRCHFOR we are finding all the occurrances

//ly any other command for the same
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Jul 30, 2009 4:44 pm
Reply with quote

nkothako wrote:
I want to know is it possible thru ISPF command
By using SRCHFOR we are finding all the occurrances
//ly any other command for the same

Yeah, I know what you wanted, I've given you almost all of the code, now it's time for you to do some work of your own and adapt that code to your own needs.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Jul 30, 2009 8:47 pm
Reply with quote

ibmmainframes.com/viewtopic.php?t=25947&highlight=

write an inner macro with the change commands You want to issue
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Jul 30, 2009 11:31 pm
Reply with quote

In addition to the other suggestions, PDSMAN can do what you want if your shop has it.
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 Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts replace word 'MONTH' with current mon... SYNCSORT 11
Search our Forums:

Back to Top