I always appended to a disc file (with cctl) and then later fcopyed the
whole mess to the printer to get around this problem.
Steven Bloom wrote:
> Greetings,
>
> I am trying to use "<" and ">" redirection to send information from a
> job to a print file. I tried doing this:
>
> !file lp;dev=lp,1
> !
> !echo This should be the first line > *lp
> !echo This should be the second line >> *lp
> !echo This should be the third line >> *lp
>
> I would think that all of these would be written to a single spoolfile,
> which would be closed at :EOJ.
>
> Instead, each line opens a new Spoolfile.
>
> I know that I could write all the data to a flat file and then print the
> flat file. However, I'd rather not do that because if the job ABENDs,
> no report will appear in the spooler.
>
> Any ideas?
>
> Steve