Put for Designer File

Joe Boyle atla38@dsl.pipex.com
Sat, 2 Apr 2005 10:23:11 +0100


Could it be that the records are held in the read write cache until RMS/VMS
decides that it would be most efficient to write them to disc ?

Regards, Joe.


-----Original Message-----
From: powerh-l-admin@lists.sowder.com
[mailto:powerh-l-admin@lists.sowder.com] On Behalf Of Roger Kesterson
Sent: 01 April 2005 22:17
To: powerh-l@lists.sowder.com
Subject: RE: Put for Designer File

The RESET idea has been suggested by a few listers.  Actually, I am using
RESET.  The code is like:

LET...
LET...
LET...
PUT...RESET

There is no way, that fields on the record are not changed from the original
state.  And all the records do eventually show up in the file, just not
immediately.  It appears that a number of records are accumulated in the
output buffer before they get written.

Bob suggested doing a CLOSE after the PUT.

Vidyasagar suggested using NEED ALL on the FILE statement.

-----Original Message-----
From: powerh-l-admin@lists.sowder.com
[mailto:powerh-l-admin@lists.sowder.com]On Behalf Of Whittall, Conrad
Sent: Friday, April 01, 2005 2:09 PM
To: powerh-l@lists.sowder.com
Subject: RE: Put for Designer File



Hi Roger,

You need to ensure that the record buffer has been altered from its
default state before the PUT will actually write a record. If the record
buffer still contains the default initial values then the record is not
marked as changed. Doing a LET on some item in the designer record to
change that item's default value is all that is needed.

And if you need the record buffer re-initialized afterward then remember
to use the RESET option on your PUT statement. 

Best regards,
Conrad

Conrad Whittall
Senior Solutions Architect, Global Customer Services, Cognos
Incorporated
3755 Riverside Drive, Ottawa, Ontario, K1G 4K9, Canada

-----Original Message-----
From: powerh-l-admin@lists.sowder.com
[mailto:powerh-l-admin@lists.sowder.com] On Behalf Of Roger Kesterson
Sent: Friday 1 April 2005 15:41
To: powerh-l@lists.sowder.com
Subject: Put for Designer File

PH 7.10.G2, OpenVMS 7.1, RMS

I am using PUT verbs to a DESIGNER file in Quick.  It appears that the
records do not get written directly to the file at the time of the PUT.
Does anyone know if there is an output buffer that only gets flushed
periodically?  Is there a way to force a flush after every PUT?

Thanks!

-- 
  
       This message may contain privileged and/or confidential information.
If you have received this e-mail in error or are not the intended recipient,
you may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you. 
 

-- 
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.sowder.com
Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@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.

-- 
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.sowder.com
Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@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.