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 TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


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