SPAM-LOW: FW: [HP3000-L] Quick file access behaviour
Anne Quirke
anne.quirke at uturn.ie
Tue Dec 2 13:11:54 CST 2008
Thanks John.
Changing the screen is not an option as we don't have the source code for
the production version nor can we get it..(long story). I may just have to
find another solution.
Thanks
Anne
-----Original Message-----
From: powerh-l-bounces+anne.quirke=uturn.ie at lists.sowder.com
[mailto:powerh-l-bounces+anne.quirke=uturn.ie at lists.sowder.com] On Behalf Of
Pickering, John (NORBORD)
Sent: 02 December 2008 15:37
To: powerh-l at lists.sowder.com
Subject: SPAM-LOW: FW: [HP3000-L] Quick file access behaviour
Forwarded following Olav's lead ...
-----Original Message-----
From: Pickering, John (NORBORD)
Sent: Tuesday, December 02, 2008 10:35 AM
To: 'anne'; HP3000-L at RAVEN.UTC.EDU
Subject: RE: [HP3000-L] Quick file access behaviour
Anne
Sorry to hear you say you can't change the screen -- that may be the
only solution.
If you can change the screen then try changing the file statement in the
screen:
>File YourMsgFile Designer Open Semiexclusive Append
Because Quick wants to hold files open indefinitely, I try to include an
explicit "Close YourMsgFile" after writing to the file, either in the
designer code or in a postupdate procedure.
The same file open is accomplished by the following in Qtp:
>Set File YourMsgFile Open Semiexclusive Append
The file equate for the message file includes the NOLOCK option, as in:
:FILE MSGFILE;NOLOCK
This has been working for me since version 5 -- hope this helps you.
Regards,
JWP
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:HP3000-L at RAVEN.UTC.EDU] On
Behalf Of anne
Sent: Tuesday, December 02, 2008 8:21 AM
To: HP3000-L at RAVEN.UTC.EDU
Subject: [HP3000-L] Quick file access behaviour
All,
I am looking for wisdom and inspiration after attempting to figure out
whats
going on with a quick screen that does not like a file reference.
1. I cannot change the quick screen
2. The quick screen has the statement FILE A designer
3. File A is a flat ascii file
4. I want file A to be a msg file so I build (B) an exact copy of A but
add ;msg
5. I then file equate FILE A=B,old;shr
6. The screen ERRORS
Data access error. (A)
OPERATION INCONSISTENT WITH ACCESS TYPE (FSERR 40)
7. I have tried as many combinations of the file equation as I can think
of
FILE A=B,old;shr
FILE A=B,old;shr;acc=append
FILE A=B,old;shr;msg;acc=append
etc
8. This issue only arises when B is a msg file. If I create B as a std
file then
the file equation works.
I have non production version of the screen and if I change the file
statement
to FILE A OPEN APPEND SHARE the screen works. With the file equation
FILE
A=B,old;shr
So I was wondering if anybody has some inspiration for me.
Many thanks
Anne
--
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l at lists.sowder.com
Subscribe: 'subscribe' in message body to powerh-l-request at lists.sowder.com
Unsubscribe: 'unsubscribe <password>' in message body to
powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the list
archive at Google.
More information about the powerh-l
mailing list