IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Find and replace a field in the entire PDS


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
srinathangya

New User


Joined: 19 Dec 2005
Posts: 77

PostPosted: Fri Dec 21, 2007 8:37 am
Reply with quote

Hi Buddies,

My Requirement is this

I have field say ABC in some PDS A.B.C
I want to replace all the occurance of this field in that PDS by the field XYZ. Is this possible by one TSO command? What is the command?

Am I clear? icon_rolleyes.gif

Thank you in advance

Reg,
Srinath.
Back to top
View user's profile Send private message
srinathangya

New User


Joined: 19 Dec 2005
Posts: 77

PostPosted: Fri Dec 21, 2007 8:44 am
Reply with quote

Guys... I guess I confused earlier... XYZ and ABC are both constant values. All the occurances of the value ABC in the enitre PDS should all be replaced by the value XYZ. Is this possible by just one single TSO command? If so, what is that? This is what I tried to ask. I think its little bit clear now icon_smile.gif
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Dec 21, 2007 9:52 am
Reply with quote

I think you can try with "
Code:
Ezyedit Scan/Replace Utility
"
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Fri Dec 21, 2007 10:13 am
Reply with quote

srinath,

You can also change all the occurences of the string in a PDS using Fileaid.
Back to top
View user's profile Send private message
srinathangya

New User


Joined: 19 Dec 2005
Posts: 77

PostPosted: Fri Dec 21, 2007 10:22 am
Reply with quote

Hi,

Thanks to you both. But can you please gimme the coding? :-). Plsssss
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Dec 21, 2007 10:26 am
Reply with quote

I told an option that's in Easyedit, if u hv the utility then try.

What coding you expect? If you want to do coding then I think you can try coding in REXX.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Dec 21, 2007 10:26 am
Reply with quote

Sri,
Quote:
But can you please gimme the coding? :-).

You can generate your own code thru fileaid OR can do online.
Back to top
View user's profile Send private message
srinathangya

New User


Joined: 19 Dec 2005
Posts: 77

PostPosted: Fri Dec 21, 2007 10:42 am
Reply with quote

oh! Ok Ok... Sorry, that was my mis understanding.
Alrite! In our company they neither have Easyedit or File Aid. What they all have is File Manager. In File Manager, they have an option called Find/ Replace utility thru which I am trying but its not working. Anyway.. thanx friends. THanx for Ur patience. You answered even to my very silly questions.

Reg,
Srinath. icon_smile.gif
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Dec 21, 2007 10:47 am
Reply with quote

Sri,

Quote:
What they all have is File Manager

To my knowledge, FILE MANAGER is advanced version of FA.

Quote:
You answered even to my very silly questions.

Not a prob.
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Fri Dec 21, 2007 11:35 am
Reply with quote

Hi Srinath,

Coreect option is not Find/Replace utitlity in File Manager but Find/Change utility. This was already answered in this forum. Please refer the following link.

www.ibmmainframes.com/viewtopic.php?t=12065&highlight=

KSK
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts replace word 'MONTH' with current mon... SYNCSORT 11
Search our Forums:

Back to Top