On Tue, 13 Jun 2023 19:26:14 +0000, Sri h Kolusu wrote: >>> I put 'su' command before others, but it doesn't work. >Radoslaw, > >Try using BPXBATCH > An alternative is bpxwunix(). o Advantage: it supports line comments in STDIN. o Drawback: requires a REXX wrapper. But that can be instream.
>//STEP0100 EX C PGM=BPXBATCH,REGION=8M >//STDOUT DD SYSOUT=*, >// LRECL=133,RECFM=FB,DSORG=PS,BLKSIZE=0 I'd use RECFM=VB and longer LRECL. 133? Is there a common 133 column printer or 327x model? >//STDERR DD SYSOUT=* >//STDPARM DD * >SH su; > echo $PATH; > your other commands; -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN