Concurrent Writes to a text file

From: James D Carroll (jamesdcarroll_at_hotmaill.com)
Date: 02/15/04


Date: Sun, 15 Feb 2004 00:36:28 -0500

We run batches of items, thousands at a time. In order to do this I split
the source file (containing the items to be worked) into several (10
typically) files then point several (10 again) instances of the same VB .exe
at their own input file. That is VBApp1 reads and works Input1, VBApp2 reads
and works Input2, etc.

Though each app had its own Input file, I'd like them all write to the same
Output file. The problem that I run into is that all the original Input
items are not in the common Output file. It works fine when
Input1->VBApp1->Output1, etc, but when I point all the .exe's at the same
Output file (which is on a network drive) I seem to miss about 10% of the
original Input.

Any ideas on this?

Thanks!!!

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.587 / Virus Database: 371 - Release Date: 2/13/2004


Relevant Pages

  • Re: Help is needed to compile C program using Visual Studie 2005
    ... the pdb file that was used when this precompiled header was created, ... an output file whose name has the following format: ... The length of input file paths and name must be less than 256; ... while(i < DefinedVariableArrayIndex) { ...
    (microsoft.public.vc.language)
  • Re: Need advice on File I/O
    ... open the input file and open an output file, ... you would still have the input file unchanged. ... On all currently supported operating systems, ...
    (comp.soft-sys.matlab)
  • Re: Help with pattern matching
    ... then print the line to an output file. ... > replica of the input file. ... In Perl, CamelBack is generall reserved for package names. ... where their meaning must be expressed in comments. ...
    (perl.beginners)
  • Re: Help with pattern matching
    ... then print the line to an output file. ... > replica of the input file. ... If you had had warnings enabled as well as strict you might have found ... > # Assign the second field to an evaluation scalar ...
    (perl.beginners)
  • Re: Difficult text file to parse.
    ... > records are which there are only two, look at the output file below to ... I want to show the delimiters even if ... > My sample Input file: ... [sample input and output files with long fields snipped] ...
    (comp.lang.perl.misc)