Hi John, Glad that worked for you.
I thought I'd add that there is a product. It's called Superuser for z/OS, and is mostly an ISPF application, although you can choose to run the generated commands in batch. From the "Reports" menu, you would choose the "Free Search" option. On the "Search Files" entry panel, you enter a Start Directory (that directory and all of its subdirectories are searched), an owner (UID) and/or group (GID), and/or any optional attributes such as filename mask. The "Query Result" panel displays the found directories and filenames. You can choose "Global Change", and specify a new user (UID) and/or group (GID) (permissions can also be changed). The generated commands are presented, and you can choose to run them either in batch, or 'online'. Regards, Mike Baldwin Cartagena Software Limited www.cartagena.com http://www.cartagena.com/files/Superuser_Flyer.pdf ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN