On Jun 13, 2023, at 2:07 PM, Radoslaw Skorupka 
<[email protected]<mailto:[email protected]>>
 wrote:

Any clue how to use su and the commands?
I would like to avoid putting all the commands to the shell script, as that 
require puting the script into filesystem. Less portable.
Or maybe there is a method to run the script embedded in the jobstream?

I haven’t tried this, but I think using BPXBATCH,PARM=‘PGM su’ and then your 
other commands in STDIN would work.


--
Curtis Pew
ITS Campus Solutions
[email protected]<mailto:[email protected]>




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

Reply via email to