You may try: //STEP1 EXEC PGM=IKJEFT01 //SYSEXEC DD DISP=SHR,DSN=SYS1.SBPXEXEC //SYSTSPRT DD SYSOUT=* //SYSTSIN DD * PROF MSGID WTPMSG OSHELL su
Best Regards Ituriel do Nascimento Neto z/OS System Programmer Em quinta-feira, 11 de agosto de 2022 10:07:58 BRT, Rob Schramm <[email protected]> escreveu: Coz toolkit is very easy to use for switching to superuser. Rob On Thu, Aug 11, 2022, 08:51 Boyer, William < [email protected]> wrote: > My userid on z/OS is not a superuser but I have RACF READ access to > BPX.SUPERUSER. Occasionally as a Systems Programmer, I need to have > perform something in USS that requires UID=0. In TSO I can switch to EUID=0 > by going to 3.17 (Utilities/Udlist) and type a su which seems to stay set > for the entire length of the TSO session. Is there a way do a su in batch > and then copy files or adjust permits/owner etc. > > For example interactively, I can set my euid=0 with su in 3.17, then go to > =6 and type in OPUT to copy files into USS to directories that my normal > uid does not have permission but the OPUT works because I am still euid=0. > I am looking for a way to do this in batch. > > Thanks > > William Boyer > System Engineer Sr Advisor > > T 410-842-1706 > [email protected] > One W. Pennsylvania Ave > Towson, MD 21204 > www.gdit.com<http://www.gdit.com/> > > > > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
