Hi Maria,
What are you using for RACF profile management? zSecure Admin? This has a user interface where you can view RACF user IDs (RA.U), select those users by a mask (U123*) or other criteria, and type a D in front of one (or more) of the users to delete them. Well, zSecure Admin generates the required RACF commands and shows them to you, so you can decide to enter RUN to run the commands, or SUBMIT to run them with JCL.
If you have hundreds of IDs that you want to remove, you can also copy/paste these in ISPF edit like so:
On the command line enter CARLA, this brings you to an ISPF edit session. Clear all lines by typing D9999 in the first line number.
Enter one line with the text REMOVE USER= and repeat this line (as many times as you have users to delete).
Paste the user IDs immediately after the = sign (no space in between). The CARLa program looks like:
REMOVE USER=U123456
REMOVE USER=U234567
REMOVE USER=ABCDEFG
In the command line type RUN and press Enter. This generates all the PERMIT DELETE, DELDSD, DELUSER commands you need in a data set. You can type RUN to execute the commands (or SUBMIT to generate a batch job).
If you have a recent CKFREEZE data set, zSecure Admin is even able to delete the catalog aliases and remaining data sets for these users. There are some more tweaks to this process, but those only make sense for zSecure installations.
Also, if you have the zSecure Network Server installed, zSecure Admin can pull profile information from multiple RACF databases, and generate appropriate commands for each database. After inspection, you can execute the commands (back) on the originating database.
However, do you happen to use an Identity Management program for you platforms, that was used to give you the Excel list of users? Wouldn't it be easier if the IAM called zSecure as a sort of agent on z/OS? I know of several zSecure customer that do this with file transfer and JCL. In fact, I implemented a similar solution just months ago using Rexx and file transfer.
------------------------------
Rob van Hoboken
------------------------------