Using CLIST how to search & replac a string in PDS members



IBM's Command List programming language & Restructured Extended Executor

Using CLIST how to search & replac a string in PDS members

Postby Farhaan4mf » Wed Mar 12, 2014 7:07 pm

Hello !!
I need to use CLIST to find and replace a string (dataset names) with a new string inside the PDS members. I can not use REXX as my shop doesn't have it. So need to use CLIST to serve the purpose. Could anyone please help me with the CLIST code that will give the PDS with modified members (after replacing the old string with new one). I need to change around 800 jcl. If I get a CLIST code, it will minimize my effort substantially. Please help

Thanks in Advance !!
Farhaan4mf
 
Posts: 29
Joined: Mon May 13, 2013 4:53 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Using CLIST how to search & replac a string in PDS membe

Postby enrico-sorichetti » Wed Mar 12, 2014 7:12 pm

I need to use CLIST to find and replace a string (dataset names) with a new string inside the PDS members.
I can not use REXX as my shop doesn't have it

pretty silly remark ...
REXX has been integral part of TSO for about ... let' s say 30 years

look here for a tested MASS CHANGE ISPF application

http://ibmmainframes.com/about60794.html

but ... wouldn' t be simpler to ask Your peers or Your support
if something like FILEMGR/FILEAID is available

furthermore nobody will spend time on CLIST programming
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post