write to file with quick
Pickering, John (NORBORD)
John.Pickering@norbord.com
Fri, 17 Sep 2004 11:42:51 -0400
I'm certainly no Vax expert so I'll ask what may be a stupid question.
Is there an open option available to Quick that would force it to open the
file in the same manner as Quiz? That is, open it with exclusive write
access as in the case of this app, nothing else wants to read the file while
it is being created. Then perhaps Quick could approach the times that
Wilbert Vissers reported.
Could it be as simple as "file whatever designer open append exclusive" ?
Regards,
JWP
-----Original Message-----
From: Deskin, Bob [mailto:Bob.Deskin@Cognos.COM]
Sent: Friday, September 17, 2004 10:39 AM
To: powerh-l@lists.sowder.com
Subject: RE: write to file with quick
This is consistent with my understanding of what happens. For direct
files, we post the end-of-file marker on each write. That's because if
we don't and the file is shared, the record just written may not be
available to other users. This would be the case if the records are
blocked. Normally, the block isn't posted until full or the file is
closed. This causes additional output to the file. In QUIZ, the file is
opened for output only and there is no need to do this posting, or any
locks around the output.
Bob Deskin
Senior Product Manager, Application Development Tools, Cognos Inc.
bob.deskin@cognos.com (613) 738-1338 ext 7268 FAX: (613) 727-1178
3755 Riverside Drive P.O. Box 9707 Stn. T, Ottawa ON K1G 4K9 CANADA