You really like all of this mangling of the shell syntax? What about "here" documents (quoted or otherwise) ? The addition of STDPARM only makes it suck slightly less than before :-)
For heaven's sake, why doesn't it just read the input from DD:STDIN and then send that to fd0 of the /bin/sh process? That should be required for a passing grade. Extra credit if you can get it to run /bin/sh as a *login* shell in the same address space, but not much. On Wed, Oct 2, 2019 at 1:22 PM John McKown <john.archie.mck...@gmail.com> wrote: > On Wed, Oct 2, 2019 at 1:15 PM Paul Gilmartin < > 0000000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > > > On Wed, 2 Oct 2019 11:58:35 -0500, John McKown wrote: > > >> > > >Don't use STDIN. Use STDPARM. Example that I use on z/OS 1.12! > > > > > Easy enough when you have only one shell command and no comments. > > > > You can do multiple shell commands by using the semi-colon "end of command" > character. But you're very correct about no comments. Well, sort of. there > is the "colon" command which is the equivalent of IEFBR14 in batch. > > SH cd /tmp2; > pwd; > : sort of a comment; > ls -l; > > Will work too. Output from above: > > /LIH1/tmp2 > total 2 > drwxr-x--- 3 AXRUSER TSHG 288 Oct 13 2016 AXRUSER > > > -- > I find television very educational. The minute somebody turns it on, I go > into the library and read a good book > -- Groucho Marx > > Maranatha! <>< > John McKown > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN