From the backup guy
<snip>
I found the case causing this error.  I found out that if the printer file 
is opened but no records are written and is then closed, it causes the 
error.  I found out that whether the program automatically opens or closes 
the printer file (or user opened/close) makes no difference.  If records 
are written to the printer file before closing, everything is fine.
I found out that in the B28906RB program that records are never written to 
the printer file due to not being an enrollment period and the year not 
being 2007.  So, I'm going to move that open down some and look into the 
payroll one.  I'm not sure if I will get comfortable with that one but I 
will see.
</snip>
and
<snip>
One more case that causes the error.  If you try to close a printer file 
already closed with CVTLINDTA *YES, that causes the error too.  I think 
that may have been the case for the payroll job.
</snip>
He's looking into wrapping all CLOSE op codes with If %open(...)'s.  CLOSE 
or CLOSE(E) ain't cutting the mustard.
Rob Berendt
 
As an Amazon Associate we earn from qualifying purchases.