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

Reply via email to