Thanks, Alan -
That was it.

On Fri, Jul 9, 2010 at 9:29 AM, Alan Altmark <alan_altm...@us.ibm.com>wrote:

> On Friday, 07/09/2010 at 09:25 EDT, Mark Pace <mpac...@gmail.com> wrote:
> > I'm trying to rewrite an old exec into a pipe.  While testing I had the
> pipe
> > write the output to the console and it's working as expected.  I
> replaced
> > | console     with
> > | > TEMP DATA A1
> > and it does not create the file.  change it to console and it works
> again.
> > Am I missing something obvious?
> >
> > Do i = 1 to files.0
> >  'PIPE ',
> >     '<' files.i '|',
> >     'casei zone 1-* locate /'LookFor'/ |',
> >     'specs /'files.i'/ 1 |',
> >     'unique |',
> >     '> TEST DATA A1'
> > end
>
> I think you want >> instead of >.    With >, the file is erased if there
> are no input records.
>
> Alan Altmark
> z/VM Development
> IBM Endicott
>



-- 
Mark Pace
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317

Reply via email to