Rexx To repeat a series of commands

Ask/Clarify the questions on TSO, CLIST & REXX

Moderators: Veera, Moderator Group

Post Reply
bharu1711
Member
Posts: 2
Joined: Thu Mar 07, 2013 11:59 am

Rexx To repeat a series of commands

Post by bharu1711 » Thu Mar 07, 2013 12:04 pm

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?

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Thu Mar 07, 2013 8:41 pm

yes
Regards
Nic

bharu1711
Member
Posts: 2
Joined: Thu Mar 07, 2013 11:59 am

Post by bharu1711 » Mon Apr 15, 2013 2:36 pm

Hi Nick,

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

Thanks in advance!

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Mon Apr 15, 2013 9:01 pm

Read the Rexx language manual and pay particuqr attention to all the DO keyword options.
Regards
Nic

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others