× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Steve,
Maybe the contents of the errmsg will give a clue.

My guess would be having too many files open as mentioned here:
http://archive.midrange.com/rpg400-l/200201/msg00536.html

Bryan Dietz
(Tell Joe Young I said hi.)


Steve Seroogy said the following on 8/17/2007 6:07 PM:
I'm having problems with a program that was written using opendir and
closedir. This program is run every 4 minutes, We are opening one
directory at a time when it can't open it is creates a dump. The
problem is when it dump it continues to dump every 4 minutes and never
process the information the program was intending to process. It seems
to start dumping at dump3 and then every time it runs it dumps at all
dump commands. Below is the code can some one give me advice.
// Open upload directory -- must go through path one directory at a
CurrentDir = '/transfer/WMS/Upload/MAPICS/'; Dir = opendir('/transfer'); // in the case of errors, the program will retrieve the error numbe
// and description and create a dump. If Dir = *null; error_p = strerror(errno); errmsg = %str(error_p); dump 'dump1'; Endif;


Steve Seroogy

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.