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 Rexx command to open an another text ... Bharath Vikraman PC Guides & IT News 7 Sat May 12, 2018 4:34 pm
No new posts IBM Pcomm macro startmacro command do... JGregoire IBM Tools 0 Wed May 09, 2018 12:16 pm
No new posts How to use STDPARM with df command maxsubrat JCL & VSAM 5 Fri May 04, 2018 7:57 pm
No new posts Find & Replace string in CA-SORT mrgnndhmk CA Products 1 Fri Mar 30, 2018 12:58 am
No new posts Need help with 002-030 ABEND in TSO R... Terry Tallian TSO/ISPF 1 Sat Mar 17, 2018 1:13 am

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