Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8620
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: 8620
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: 10375
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 Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us