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
 

 

Find and replace

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Find and replace
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 30, 2009 4:09 pm    Post subject:
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    Post subject: Find and replace
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 30, 2009 4:44 pm    Post subject: Re: Find and replace
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10234
Location: italy

PostPosted: Thu Jul 30, 2009 8:47 pm    Post subject: Reply to: Find and replace
Reply with quote

http://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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts Replace repeated JCL with looping REXX prino CLIST & REXX 3 Thu Oct 13, 2016 5:30 am
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm


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