To many file Handles Solution ???? (AREV Specific)
At 08 APR 1999 09:10:21PM Karsten Dahms wrote:
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.
At 09 APR 1999 12:25PM Ed Mantz wrote:
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?
At 09 APR 1999 02:22PM Karsten Dahms wrote:
The pdisk to file at the beginning of pgm. Each report has it's on Filename.