W dniu 13.06.2023 o 23:42, Kirk Wolf pisze:
FYI, with Co:Z Batch instead of BPXBATCH, you just provide STDIN input to the 
shell like you would from a terminal.

//SU EXEC PGM=COZBATCH
//STDIN     DD *
su -s omvskern
# commands for the su shell ...
whoami
exit   # quit the su shell
whoami # back to my login shell
//

Which prints:

OMVSKERN
KIRK

Kirk Wolf
Dovetailed Technologies
https://coztoolkit.com

PS> Co:Z Toolkit is available under our free Community License, or our 
Enterprise License with commercial terms and support.
https://coztoolkit.com/support.html

I forgot about this tool.
I have to install it in my shop.
Thanks for the hint.

--
Radoslaw Skorupka
Lodz, Poland

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to