Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
Sambhaji wrote:
Why to waste effort to write REXX?
Why not just use IEFBR14 step
Because using REXX you can just have something like below to cover a vast number of datasets in a few, or less, control statements rather than one DD for every dataset.
I did post a REXX code for this some many moons ago, and is probably still out lurking in the dark corridors of the forum. And unlike DFdss (ADRDSSU) will handle both tape and migrated datasets.
In fact, it can handle ONLY tape, or migrated, or DASD datasets, or any conbination thereof.
Also, using IEFBR14 for migrated datasets - why recall them before deleting them, why waste the time and resource. Almost the same with tapes, why mount them just to uncatalog them ?