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
 

 

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 Fail to change physical VSAM filename... jacobdng CICS 6 Fri Jan 20, 2017 12:36 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Checking wether a string starts from ... sundaram.naveen CLIST & REXX 9 Thu Oct 06, 2016 11:56 am
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am
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