-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sara Burns
Sent: Friday, July 02, 2004 6:11 AM
To: U2 List ([EMAIL PROTECTED])
Subject: [U2] UV Read failure

>Could it be that AIX is not releasing the files fast enough and we are
>running out of MFILES or something like that?  This might have been running
>very fast at 3 am.  We do at times when the machine is lightly loaded, see
>errors where the Capture file has not been created.

Sara,

we had a similar problem with a program running within one of our nighty
cron-jobs. The programmer was a little lazy and opened (and closed) a file
several times within this program. It was a big dynamic, distributed file
with some secondary keys. Next morning (with some more load on the mashine)
we could rerun the program without any problems.

I programmed a work-around by putting a SLEEP statement in the ELSE clause
of the OPEN statement and trying the same OPEN a second time:

      OPEN '',BUCHDAT TO BUCH ELSE
         PRINT 'Error opening: "' : BUCHDAT : '"'
         PRINT 'STATUS() = "' : STATUS() : '"'
         PRINT 'Next try in 5 seconds!'
         SLEEP 5
         OPEN '', BUCHDAT TO BUCH ELSE
            PRINT 'Second try unsucessfull! Gave up.'
            PRINT 'STATUS() = "' : STATUS() : '"'
            STOP
         END
         PRINT 'Second try sucessfull!!!!!!!'
      END

Probably not the best solution ("quick and dirty") but it works. From time
to time we get the message, that the second try was sucessfull and programm
never crashed again.

HTH
Thomas

P.S. Pardon my poor English, I'm writing from Germany.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their support.
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to