Convert REXX exec that contains RACF to TSS Commands

Document ID : KB000014506
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

Converting RACF commands to TSS commands in a REXX exec.

Question:

Need the following RACF commands converted to TSS commands which is in a REXX exec.

Answer:

The commands converted are:

1. RDEFINE "cloudClass" ("templateProfile") UACC(NONE)" “TSS ADD(owningacid) "cloudClass"("templateProfile")”
2. "SETROPTS RACLIST("cloudClass") REFRESH" There is no equivalent for SETROPTS because no refresh for the resource class is not needed. It is done automatically.
3. "RDELETE "cloudClass" ("cloudSAFPrefix".ZOSMF.TEMPLATE.APPROVERS." domainGroupName"."templateName")" “TSS REMOVE(owningacid) "cloudClass"("cloudSAFPrefix".ZOSMF.TEMPLATE.APPROVERS." domainGroupName"."templateName")"
4. "RDELETE "cloudClass" ("domainApproversProfile" "domainProfile", "wlmAdminsProfile" "networkAdminsProfile")" “TSS REMOVE(owningacid) "cloudClass"("domainApproversProfile" "domainProfile", "wlmAdminsProfile" "networkAdminsProfile")"
5. "ADDUSER "userid" PASSWORD("password")""CICS(OPCLASS("opclass") TIMEOUT("timeout"))" Have to take poetic license. There is no 1 for 1 for this command. It has to be done over multiple commands. “TSS CREATE("userid") NAME(“userid”) TYPE(USER) DEPT(xxxxxxxx) PASSWORD("password")"
“TSS ADD(“userid”) FACILITY(xxxxxxx) OPCLASS("opclass") LTIME("timeout")"
6. "DELUSER " userid “TSS DEL(“userid”)”
7. "LISTUSER "userid" OMVS CICS TSO" “TSS LIST(“userid”) DATA(ALL,PROFILE)”
8. "ALTUSER" userid" PASSWORD("password")" “TSS REPLACE(“userid”) PASSWORD(”password”)”
9. "ADDGROUP "groupName" SUPGROUP("superGroupName")""OWNER("superGroupName")" “TSS CREATE(“groupName”) TYPE(PROFILE) NAME(“groupName”) DEPT(xxxxxxx)”