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
 

 

Find and replace a field in the entire PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Find and replace a field in the entire PDS
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    Post subject:
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    Post subject:
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: 1288
Location: Chennai, India

PostPosted: Fri Dec 21, 2007 10:13 am    Post subject: Reply to: Find and replace a field in the entire PDS
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    Post subject:
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    Post subject:
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: 1439
Location: Bangalore,India

PostPosted: Fri Dec 21, 2007 10:26 am    Post subject:
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    Post subject:
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: 1439
Location: Bangalore,India

PostPosted: Fri Dec 21, 2007 10:47 am    Post subject:
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: 356
Location: New York

PostPosted: Fri Dec 21, 2007 11:35 am    Post subject:
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.

http://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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm


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