Re: Pascom file conflicts

Joseph S. Laughlin (jsl@bruker.com)
Tue, 17 Jan 1995 14:46:18 -0500

--part_AB4188BA0016EF6E00000006
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline

Hi Alan,

> Dear Bruker Users,
>
> I have a system in which I concurrently run two Pascom programs
> in the two halves of an Aspect 3000. The two programs both access a
> text file for read and write operations from time to time. There
> is therefore the possibility of both programs needing to access this
> file simultaneously. Does anyone know of any way by which each
> program might check to see if the common file has already been opened
> by the other one? Such a conflict has already arisen, and the
> consequence is that a write operation failed to occur, but there does
> not appear to have been an error message, and the program did not crash.
>
> Thanks in advance!
>
> Alan

You need to use the formats of RESET and REWRITE that allow you to test for
errors. See page 46 in the section titled "Error Recovery during Reset or
Rewrite" of the 880808 PASCOM manual for more information.

--part_AB4188BA0016EF6E00000006
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline

============================================================
Joe Laughlin human: (508) 667-9580
Assistant Manager, machine: jsl.bruker.com
Software Development fax (508) 663-9177
Bruker Instruments, Inc.
============================================================
--part_AB4188BA0016EF6E00000006--