On Sun, 3 Apr 2022 19:01:09 +0000, Farley, Peter x23353 wrote: >Good try, but I got the same STDERR results as the first one - the pipe >operator is still being ignored by the PGM invocation. > Use "SH", not "PGM".
>Might also need a "chmod 700 /tmp/temp,sh" after the copy to /tmp is done for >that first SH syntax. I'll try both and see what I can do. > >I had also earlier tried > >// PARM='SH . //"''TSOUSER.UNIXCMDS.SH''"' > >but that method cannot seem to find the MVS file. >-----Original Message----- >From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of >Paul Gilmartin >Sent: Sunday, April 3, 2022 2:41 PM' >> ... >Oops! PGM doesn't understand Shell syntax. Maybe: > // PARM='SH /bin/cp //"''TSOUSER.UNIXCMDS.SH''" /dev/fd/1 | /bin/sh' -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN