Reputation: 1670
I need to create a user account in IBM mainframes(Z-os,os390, i-series) through a program. Is there any libraries which are built-in in Mainframe OS to be used by the programming languages such as cobol. Any help would be greatly appreciated.
Upvotes: 0
Views: 390
Reputation: 41
I'm not sure that COBOL is the correct language for what I think you are trying to accomplish. To create user accounts programmatically, you would need to create an account in TSO, create and assign a default PDS (or have a startup routine that does that), assign security and rights via RACF or TopSecret, and there maybe a number of other tables and files that would require updating with the new user info.
Further, most shops when creating a new TSO id also create the login credentials in CICS, DB2, QMF, etc. But, I digress. Anyway, with the various steps needed, your best bet would be something like REXX to try to automate as much as possible. You would likely have to research each of steps to see if in fact they are scriptable using REXX.
Upvotes: 3