Nice! Thanks for that I hadn't thought of it.

On Wed, Aug 21, 2013 at 8:34 AM, Neil Haley <[email protected]> wrote:

> Howdy,
>
> I use this which works quite well,
>
> //SHELL   EXEC PGM=BPXBATCH,REGION=8M
> //STDIN   DD DUMMY
> //STDOUT  DD DUMMY
> //STDERR  DD PATH='/u/sdda###/Logs/shell.error',
> //           PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
> //           PATHMODE=SIRWXU
> //*******************************************
> //* Enter shell commands below, only need   *
> //* SH on the first line, separate commands *
> //* with an ';'                             *
> //*******************************************
> //STDPARM DD  *
> SH first command ;
>    second command ;
>    third command ;
>    last command
>
> Regards,
>
> Neil Haley
> [email protected]
> Storage & Software Mainframe Support
> http://www.ibm.com/systems/z/ | http://www.about.me/NeilHaley
>
>
>
>
> From:   John McKown <[email protected]>
> To:     [email protected],
> Date:   08/21/2013 08:20
> Subject:        Re: USS Continuation (Was Coptying Unix Files)
> Sent by:        IBM Mainframe Discussion List <[email protected]>
>
>
>
> I _hate_ BPXBATCH. I can't use DD * for its input. Sucks branch water. What
> I wish I could do would be:
>
> //RUNUNIX EXEC PGM=BPXBATCH,PARM='SH /bin/sh -L'
> //STDOUT DD SYSOUT=*
> //STDERR DD SYSOUT=*
> //STDIN DD *
> cmd1
> cmd2
> cmd3 parm1 |\
> cmd4 #reading stdout of cmd3 above
> /*
> //
>
> No can do. But I can do this with OSHELL. If I just need a single long
> command, then using //STDPARM DD * does work. But I rarely need something
> that simple. Which is why I use Co:Z Batch
>
>
> On Tue, Aug 20, 2013 at 10:24 PM, Shmuel Metz (Seymour J.) <
> [email protected]> wrote:
>
> > In
> > <caajsdjibrlzzptbo+1evl8uidygxt4mgnunbo954o2rpuxj...@mail.gmail.com>,
> > on 08/20/2013
> >    at 09:10 AM, John McKown <[email protected]> said:
> >
> > >And I often use OSHELL examples here simply because many shops
> > >are restricted from installing unapproved software.
> >
> > BPXBATCH.
> >
> > --
> >      Shmuel (Seymour J.) Metz, SysProg and JOAT
> >      Atid/2        <http://patriot.net/~shmuel>
> > We don't care. We don't have to care, we're Congress.
> > (S877: The Shut up and Eat Your spam act of 2003)
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO IBM-MAIN
> >
>
>
>
> --
> As of next week, passwords will be entered in Morse code.
>
> Maranatha! <><
> John McKown
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>



-- 
As of next week, passwords will be entered in Morse code.

Maranatha! <><
John McKown

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

Reply via email to