Page 1 of 1

Rexx To repeat a series of commands

Posted: Thu Mar 07, 2013 12:04 pm
by bharu1711
Hi,

I'm trying to map a mainframe id to a user and set the password and revoke date using the below rexx.
/*REXX*/
CMD="ALU",
"userid NAME(SPAREID)";
"ALU userid PASS(SET123) RESUME";
"ALU userid REVOKE(05/30/13)";

ADDRESS TSO CMD;
EXIT

Is there a possibility to map ids for many users in this same rexx?

Posted: Thu Mar 07, 2013 8:41 pm
by NicC
yes

Posted: Mon Apr 15, 2013 2:36 pm
by bharu1711
Hi Nick,

Could you please let me know how can this can be achieved?

Thanks in advance!

Posted: Mon Apr 15, 2013 9:01 pm
by NicC
Read the Rexx language manual and pay particuqr attention to all the DO keyword options.