[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== To many file Handles Solution ???? (AREV Specific) ====
=== At 08 APR 1999 09:10:21PM Karsten Dahms wrote: ===
{{tag>"AREV Specific"}}
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.
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=0EDF9A08A3311F118525674E000670F0|View this thread on the forum...]]