Hi Mats,

Just to point out that we are not creating temporary files programmatically. I guess 
that probably OS is writing the records in the fashion that it creates some temporary 
file and then only it writes the transaction record (required record)

We think that as of now it is creating DBnnn type of record but in some other scenario 
it might create the record name with some other name, hence we cannot put simple check 
for ignoring these type of records.

Regards, 
Ashish.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mats Carlid
Sent: Thursday, July 01, 2004 12:19 PM
To: [EMAIL PROTECTED]
Subject: Re: [U2] UV Help needed


Not sure that I've understood the setup
but,

can You  either

change to writing the transition files and
the BBnnn files  to different directories

or

change the c-deamons  file selection mechanism
to ignore files named like DBnnn ?

or

have the  c-deamons accept that files are gone
provided they are named like DBnnn.


Anyway  uv and c-programs should be able to read
and write in the same files but preferably not at the same time...

HTH
--  mats


ashish ratna wrote:

>Hi All,
>
>We are facing a problem of temporary file being generated in our application.
>
>Scenario is-
>One of our program is writing records in type 19 file. We have another C
>daemon process which reads these records from the file.
>
>Both of these processes are running continuously as phantom/daemon processes.
>But sometimes C daemon process encounters the temporary files with name like
>DBnnn (where nnn  is some number).
>Since these are temporary files C process cannot open and process the data of
>this file. By the time C program tries to open this file, the file DBnnn is
>deleted and is not found in the directory.
>
>Has any body encountered similar situation?
>Is it due to the design that Universe and C programs are accessing the same
>file to read and write the data?
>
>Any pointers to resolve this problem are welcome.
>
>Regards,
>Ashish.
>-------
>u2-users mailing list
>[EMAIL PROTECTED]
>To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to