<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<BR>Hi Murray:<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp; You can use other DBMODEs in QUIZ see SET DBMODE option.<BR>
&nbsp;&nbsp;&nbsp; However, most QUIZ programmers use a date or a status to exclude unwanted<BR>
&nbsp;&nbsp;&nbsp;&nbsp;data from getting into the report.<BR>
&nbsp;&nbsp;&nbsp; access a_dataset link a_item to a_item of b_dataset<BR>
&nbsp;&nbsp;&nbsp; select&nbsp;b_dataset if order_status = 'Completed' and order_date &gt; date (days ( sysdate ) - 30 )<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp; <BR>
Regards,<BR>
Peter Bateman<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp; <BR>&gt; From: wmurray@surewest.net<BR>&gt; To: HP3000-L@RAVEN.UTC.EDU; powerh-l@lists.sowder.com<BR>&gt; Subject: PowerHouse 4GL question: database locking<BR>&gt; Date: Thu, 4 Oct 2007 21:14:55 -0700<BR>&gt; <BR>&gt; Greetings,<BR>&gt; <BR>&gt; I'm in the process of learning PowerHouse 4GL, and I'm trying to<BR>&gt; understand how it manages database locking.<BR>&gt; <BR>&gt; The environment is PowerHouse 8.39.C1 on MPE/iX 7.5, TurboIMAGE access<BR>&gt; modes 1 and 5.<BR>&gt; <BR>&gt; As I understand it, the default for QTP, whether in mode 1 or mode 5, is<BR>&gt; to lock the whole database for the duration of the run. The SET LOCK<BR>&gt; statement can be used to change the locking level, or even to eliminate<BR>&gt; locking completely (assuming the database is not being modified).<BR>&gt; Unless locking is suppressed, interactive QTP attempts a conditional<BR>&gt; lock every few seconds until it is satisfied or the user interrupts it;<BR>&gt; batch mode QTP does an unconditional lock. This is all documented in<BR>&gt; the QTP Reference.<BR>&gt; <BR>&gt; Please correct me if I don't have that completely right.<BR>&gt; <BR>&gt; The question is about QUIZ. As I understand it, the default access mode<BR>&gt; is 5, but QUIZ doesn't do database locking. Can this be right? Is<BR>&gt; there no way to make QUIZ lock the database while accessing it, as a<BR>&gt; protection against other users modifying the same data that QUIZ is<BR>&gt; accessing?<BR>&gt; <BR>&gt; Thanks for bearing with my beginner's questions.<BR>&gt; <BR>&gt; Walter <BR>&gt; <BR>&gt; Walter J. Murray<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; -- <BR>&gt; = = = = = = = = = = = = = = = = = = = = = = = = = = = =<BR>&gt; Mailing list: powerh-l@lists.sowder.com<BR>&gt; Subscribe: &amp;quot;subscribe&amp;quot; in message body to powerh-l-request@lists.sowder.com<BR>&gt; Unsubscribe: &amp;quot;unsubscribe &amp;lt;password&amp;gt;&amp;quot; in message body to powerh-l-request@lists.sowder.com<BR>&gt; http://lists.sowder.com/mailman/listinfo/powerh-l<BR>&gt; This list is closed, thus to post to the list you must be a subscriber.<BR>&gt; Add 'site:lists.sowder.com powerh-l' to your search terms to search the list archive at Google.<BR><BR><br /><hr />Be seen when you can't be heard! <a href='http://www.freemessengeremoticons.ca/' target='_new'>Discover how today!</a></body>
</html>