View previous topic :: View next topic
|
Author |
Message |
nitin_agr
New User
Joined: 06 Sep 2005 Posts: 28 Location: Minneapolis US
|
|
|
|
Hi Friends;
I want to do following, please help me in this regards:
I have a PDS having some members in it (say 20).
All the members contains some text.
Now, I want to search for any string (say 'ABC') in all the members and want to replace it with other string (say 'XYZ').
This I want to do only through JCL not using any COBOL program.
Please let me know if anyone has its solution.
As per my knowledge, we can do it using some JCL Utility Program but I am not sure what is that and how to do. |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
I think that you must to use or a SORT or a CLIST/REXX to do this.
Using SORT or ICETOOL you can read and change all the string of your members but only at the same position(but I think that a really expert of sort can help you more)
If you want to use a Rexx code you can look at this link:
http://ibmmainframes.com/viewtopic.php?t=5460
I hope in this help. |
|
Back to top |
|
|
nitin_agr
New User
Joined: 06 Sep 2005 Posts: 28 Location: Minneapolis US
|
|
|
|
Thanks for the answer.
But I dont know REXX or CLIST.
I heard that there is some utility names PDSMAN. Can we use this for the same with IEBCOPY ??? If yes then how...?
Nitin |
|
Back to top |
|
|
somasundaran_k
Active User
Joined: 03 Jun 2003 Posts: 134
|
|
Back to top |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 419 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
Back to top |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 419 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
Back to top |
|
|
|