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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Want to modify contents of any member of a PDS with JCL only
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    Post subject:
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    Post subject: Re: Want to modify contents of any member of a PDS with JCL
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    Post subject:
Reply with quote

Try IPOUPDATE.
http://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: 241
Location: Cincinnati OH USA

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

http://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: 241
Location: Cincinnati OH USA

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

by the way

a programmer's best friend can be found here

http://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    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 Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts File Stauts 92 with member of PDS sandip_mainframe COBOL Programming 4 Fri Jun 10, 2016 12:06 pm


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