> > trouble...just grab John
> > Hartmann's POPEN package off of the Pipelines
> > download page
> > (http://vm.marist.edu/~pipeline/). POPEN is an easy
> > to use interface
> > from C, PL/I, Cobol, etc. to Pipelines, so anything
> > coded in these
> > languages can easily exploit the full power of
> > Pipelines, including the
> >   "reader", "punch" and "printmc" stages. data can
> > come from either the
> > program to the pipe (for use by the "punch" stage,
> > say) or from the pipe
> > to the application (from the "reader" stage, say).
> >
> 
> Not sure that this does what I want. Of course others
> may have different needs. The reader stage for example
> purges the file and if I want to do something like
> PEEK thats not much help.

Use system() to do CP SPOOL RDR KEEP before you open the file.  That
should allow you to read the file and have it still be there when you're
done. 

Reply via email to