Hope this helps
Old Code
Pdisk File
printer on
Do Report stuff
printer off
Pdisk prn
After about 190 reports (yes we do a lot of reporting) we ran out of file handles
New Code
Pdisk File
printer on
Do Report stuff
printer off
UNLOCK ALL
FLUSH
GARBAGE COLLECT
More then 1 thousand reports and no problem
![]()
Don't know if UNLOCK ALL and FLUSH GARBAGE COLLECT HELP, but PDISK PRN seems to be the culprit.
In the new code i do not see a PDISK PRN at all . I would suspect this is the reson yuo are not having any ptoblems. In the new version - how do you separate your reports?
The pdisk to file at the beginning of pgm. Each report has it's on Filename.