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

Want to modify contents of any member of a PDS with JCL only


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nitin_agr

New User


Joined: 06 Sep 2005
Posts: 28
Location: Minneapolis US

PostPosted: Tue Sep 06, 2005 8:19 pm
Reply with quote

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
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Tue Sep 06, 2005 10:05 pm
Reply with quote

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
View user's profile Send private message
nitin_agr

New User


Joined: 06 Sep 2005
Posts: 28
Location: Minneapolis US

PostPosted: Tue Sep 06, 2005 10:17 pm
Reply with quote

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
View user's profile Send private message
somasundaran_k

Active User


Joined: 03 Jun 2003
Posts: 134

PostPosted: Tue Sep 06, 2005 11:36 pm
Reply with quote

Try IPOUPDATE.
gsf-soft.com/Documents/IPOUPDTE.shtml

hth
-Som
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 419
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Wed Sep 07, 2005 2:07 am
Reply with quote

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGG3U100/12.0?DT=19911220194219

Dave
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 419
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Wed Sep 07, 2005 2:10 am
Reply with quote

by the way

a programmer's best friend can be found here

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/library


Dave
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
No new posts Library member auto insert option TSO/ISPF 3
No new posts DataSet member creation failed with B... Java & MQSeries 15
Search our Forums:

Back to Top