On Wed, May 10, 2017 at 3:38 PM, Ron Thomas <ron5...@gmail.com> wrote:
> Hi . We have around 700 datasets where we need to rename the names , is > there a utility by which we can run the same in batch ? I believe i can > use IDCAMS , but is there a better way to it with less effort ? > That's a bit vague. Do you have some sort of "pattern" or algorithm you're using to convert the old DSN to a new DSN? I don't know of any standard IBM utility which would do a "wildcard" rename. I often use a language such as REXX or AWK to generate IDCAMS control cards, then run a batch job with them. I do the "wild card" either by doing an IDCAMS LISTCAT (such as LISTC LVL('SYS1.LIH1') and then process that output in my REXX program). > > Regards > Ron T > > -- Advertising is a valuable economic factor because it is the cheapest way of selling goods, particularly if the goods are worthless. -- Sinclair Lewis Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN