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


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to