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
 
command reqd for string replacement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
jaiananth

New User


Joined: 26 Apr 2006
Posts: 6

PostPosted: Thu May 04, 2006 4:54 pm    Post subject: command reqd for string replacement
Reply with quote

hi all,
i want to change some n occurences of string1 in a PDS member to string2.One option is to use F ALL 'string1' and manually change it to string2. Is there a single replace command?
Back to top
View user's profile Send private message

sri.mainframes

New User


Joined: 16 Feb 2006
Posts: 29
Location: MUMBAI

PostPosted: Thu May 04, 2006 5:13 pm    Post subject:
Reply with quote

Hi Anath,

here is the command

C ALL 'string1' TO 'string2'

If it works fine else try the same by removing TO in the above command

Thanks
SRI.PRINCE
Back to top
View user's profile Send private message
kousalya26

New User


Joined: 06 Jul 2005
Posts: 21
Location: chennai

PostPosted: Thu May 04, 2006 5:16 pm    Post subject: Re: command reqd for string replacement
Reply with quote

Hi Jaianath,

You can use the RCHANGE command for this.
Code:
C ALL "string1" "string2"


Thanks & Regards,
kousalya
Back to top
View user's profile Send private message
eric_zhang

New User


Joined: 17 Apr 2006
Posts: 2
Location: Shanghai,China

PostPosted: Mon May 22, 2006 1:22 pm    Post subject: Re: command reqd for string replacement
Reply with quote

bu using file aid option 3.6(utilities=>search/update), you can do more powerful changing functions
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Find a string in PS file opened in br... mukkas CLIST & REXX 2 Sat Feb 24, 2018 2:15 pm
No new posts OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm

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