> I put 'su' command before others, but it doesn't work. Try piping the commands to su, like this:
//STEP EXEC PGM=BPXBATCH //STDOUT DD SYSOUT=* //STDERR DD SYSOUT=* //STDPARM DD * SH ; echo "The mkdir a command runs as the job's userid"; mkdir a; echo "The mkdir b command runs as superuser, if the userid is authorized"; echo "mkdir b" | su; /* Kurt Quackenbush IBM | z/OS SMP/E and z/OSMF Software Management | [email protected] Chuck Norris never uses CHECK when he applies PTFs. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
