When an item is written to a Type1/19 file, the data is first written to a temp file of the form "DBxxxxxyy" where xxxxx is a 5 digit pid# and yy is a 2 digit sequencer. An error during this process, such as creating the temp file and writing to it, could cause the fatal. If the temp file and writing are successful, then the next phase is to remove any existing file with the ID of the target key, in this case "7545698440*13346*25966.940943". If this file cannot be removed (unlinked) for some reason, a fatal is flagged. If successfully removed, then the next step is to rename (copy) the temp file to the target id. Again, if an error occurs here, a fatal is flagged. If the copy is successful, the temp work file is removed with no care about its outcome.

After the temp file clean up, a check is made to determine if a WRITE or WRITEU was in process to either release or retain the write lock/latch, respectively. If a fatal was flagged earlier, a status is returned and the parent BASIC write dispatch function actions on that, generating the 40019.

Could be there are some kind of permissions issue, or temp file being left around, or even maybe a clash of pid numbers whereby a longer pid, say 6 digits, is being truncated to 5 and clashing with an existing temp file using a 5 digit pid (speculation on my part, but something I have seen)

Good luck.

At 10:13 AM 7/22/2004, you wrote:
The error resides in the SYS.MESSAGE file but all it
says is "Write failure".  Not very helpful.

Ron White

----- Original Message -----
From: "Moderator" <[EMAIL PROTECTED]>
To: "U2 Users Discussion List" <[EMAIL PROTECTED]>
Sent: Wednesday, July 21, 2004 11:10 PM
Subject: [U2] Bounce from non-member


> Reposted for a non-member: > > From: "Anmol Chandrakant Khopade" <[EMAIL PROTECTED]> > > Hi, > I am facing following problem regarding Phantoms in universe: > We have a phantom which keeps on polling a type 19 file, say "File1" for data and transfers it to another type 19 file, say "File B". "File B" in turn is being read by another phantom. > The first phantom gets killed sometimes and pretty randomly. The error code thrown is 40019, but I could not get any the information about this error. > Please find below a sample error message: > FATAL - Unable to write "7545698440*13346*25966.940943" on FileB > > If someone has experienced such problem and/or has a workaround , please let me know > > TIA, > > -Anmol > ------- > u2-users mailing list > [EMAIL PROTECTED] > To unsubscribe please visit http://listserver.u2ug.org/ > --- > [ E-mail scanned Virus Free by NAI - McAfee anti-virus system ] > > >


--- [ E-mail scanned Virus Free by NAI - McAfee anti-virus system ] ------- 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