thanks Alan, my reticence to follow your advice is because I see it only for one command only.
Here is what we need. We want to verify access for a number of users. ranging from just a few to all users with access to the LPAR. that include service IDs too.. Access will be verified in a number of privileged commands. So far we got 10 different commands but it could grow... depending what upper management wants to control. So, if we 30 users, and 10 commands, that would be 300 times executing the command. Most of the code is REXX. I thought we could use PIPES to do the work. I haven't really follow up with REXX either... but I can foresee the same issue. how to get the rc when applying the command. But let me try your suggestion. Thankx
