<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=019100510-11082006>Hi Dave,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=019100510-11082006><FONT face=Arial color=#0000ff size=2>I am 
not quite sure that I understand the problem. A simple construct like 
:</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><!-- Converted from text/plain format --></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>procedure designer getrecords 
nodata<BR>&nbsp; begin<BR>&nbsp;&nbsp;&nbsp; inform = "Fetching records - please 
wait...." now<BR>&nbsp;&nbsp;&nbsp; run command 'quiz auto=quizprog &gt; 
wastebin' on error terminate</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>&nbsp;&nbsp;&nbsp; inform = "<SPAN 
class=019100510-11082006>Transferring file&nbsp;</SPAN>- please wait...." 
now</FONT></DIV>
<DIV><SPAN class=019100510-11082006></SPAN><FONT face=Arial color=#0000ff 
size=2>;<SPAN class=019100510-11082006> Your FTP-code here</SPAN><BR>&nbsp; 
end</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=019100510-11082006><FONT face=Arial color=#0000ff size=2>should 
do the trick. The screen will wait for the quiz process to complete, and then 
proceed to your ftp-code.</FONT></SPAN></DIV>
<DIV><SPAN class=019100510-11082006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=019100510-11082006><FONT face=Arial color=#0000ff size=2>If the 
quiz report prompts for parameters, that can be 
solved&nbsp;too:</FONT></SPAN></DIV>
<DIV><SPAN class=019100510-11082006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=019100510-11082006><FONT face=Arial color=#0000ff 
size=2>procedure designer&nbsp;getrecords nodata<BR>&nbsp; 
begin<BR>&nbsp;&nbsp;&nbsp; run command "purge jobfile,temp" 
nowarn<BR>&nbsp;&nbsp;&nbsp; run command "build 
jobfile;rec=-72,,f,ascii;disc=4;temp"<BR>&nbsp;&nbsp;&nbsp; let jobline = 
compname<BR>&nbsp;&nbsp;&nbsp; put jobfile reset<BR>&nbsp;&nbsp;&nbsp; let 
jobline = invoicedate<BR>&nbsp;&nbsp;&nbsp; put jobfile 
reset<BR>&nbsp;&nbsp;&nbsp; let jobline = customercode<BR>&nbsp;&nbsp;&nbsp; put 
jobfile reset<BR>&nbsp;&nbsp;&nbsp; close jobfile<BR>&nbsp;&nbsp;&nbsp; run 
command 'quiz auto=quizprog.prog &lt; jobfile &gt; wastebin'&nbsp;&nbsp; on 
error terminate<BR>
<DIV><FONT face=Arial color=#0000ff size=2>&nbsp;&nbsp;&nbsp; inform = "<SPAN 
class=019100510-11082006>Transferring file&nbsp;</SPAN>- please wait...." 
now</FONT></DIV>
<DIV><SPAN class=019100510-11082006></SPAN><FONT face=Arial color=#0000ff 
size=2>;<SPAN class=019100510-11082006> Your FTP-code 
here</SPAN><BR></FONT>&nbsp; end<BR></FONT></SPAN></DIV></DIV>
<DIV><SPAN class=019100510-11082006><FONT face=Arial color=#0000ff 
size=2>HTH</FONT></SPAN></DIV>
<DIV><BR></DIV>
<P><FONT size=2>Mange hilsner / With kind regards<BR><BR>Ole 
Hansen<BR><BR>===========================================================<BR>E-mail: 
oh@scanconsult.dk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cell Phone: 
+45 4040 
1150<BR>===========================================================<BR>ScanConsult 
IT-Partners ApS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Voice&nbsp;&nbsp; : +45 7734 7474<BR>Jegstrupvej 
96A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Fax&nbsp;&nbsp;&nbsp;&nbsp; : +45 8738 1416<BR>DK-8361 
Hasselager&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Support : 
support@scanconsult.dk<BR>Denmark&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Sales&nbsp;&nbsp; :&nbsp;&nbsp; 
sales@scanconsult.dk<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<A 
href="http://www.scanconsult.dk/">http://www.scanconsult.dk</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>= 
ParaSuite :&nbsp; A Suite of Air Cargo Handling solutions&nbsp;&nbsp;&nbsp; 
=<BR>= Partners&nbsp; : Hewlett-Packard, Cognos, Microsoft and more 
=<BR>&nbsp;</FONT> </P>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> 
powerh-l-bounces+oh=scanconsult.dk@lists.sowder.com 
[mailto:powerh-l-bounces+oh=scanconsult.dk@lists.sowder.com] <B>On Behalf Of 
</B>Heasman, David<BR><B>Sent:</B> 11. august 2006 11:46<BR><B>To:</B> 
powerh-l@lists.sowder.com<BR><B>Subject:</B> Knowing when QUIZ has 
completed<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=876442009-11082006><FONT face=Arial><FONT size=2>&nbsp;<SPAN 
class=876442009-11082006><FONT 
color=#0000ff>Hi,</FONT></SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=876442009-11082006><FONT face=Arial><FONT size=2><SPAN 
class=876442009-11082006>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>I'm running PH 
6.09 on HP3000. </FONT></SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=876442009-11082006><FONT face=Arial><FONT size=2><SPAN 
class=876442009-11082006>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>I have to write 
a screen that executes a Quiz routine retrieving about 20000 records and writing 
them to a file</FONT></SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=876442009-11082006><FONT face=Arial><FONT size=2><SPAN 
class=876442009-11082006>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>and when it's 
finished, FTP the output to a server.</FONT></SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=876442009-11082006><FONT face=Arial><FONT size=2><SPAN 
class=876442009-11082006>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>The question - 
how do I tell, in the screen, that the Quiz routine has 
finished?<BR>&nbsp;&nbsp;&nbsp; It would be easy to just stream a job to do 
this, but it's not allowed - users don't 
have</FONT></SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=876442009-11082006><FONT face=Arial><FONT color=#0000ff 
size=2><SPAN class=876442009-11082006>&nbsp;&nbsp;&nbsp;&nbsp;the privilege and 
it would confuse the operator. </SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=876442009-11082006><FONT face=Arial><FONT color=#0000ff 
size=2><SPAN class=876442009-11082006>&nbsp;&nbsp;&nbsp; The best I can think 
of, off the top of my head, is to have a loop that checks where EOF on the file 
is,</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=876442009-11082006><FONT face=Arial><FONT color=#0000ff 
size=2><SPAN class=876442009-11082006>&nbsp;&nbsp;&nbsp; twice, and when the two 
values are equal the Quiz has finished, but surely there's another, easier, 
way?</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=876442009-11082006><FONT face=Arial><FONT color=#0000ff 
size=2><SPAN class=876442009-11082006></SPAN></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=876442009-11082006><FONT face=Arial><FONT color=#0000ff 
size=2><SPAN class=876442009-11082006>regards </SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=876442009-11082006><FONT face=Arial><FONT color=#0000ff 
size=2><SPAN class=876442009-11082006></SPAN></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=876442009-11082006><FONT face=Arial><FONT color=#0000ff 
size=2><SPAN class=876442009-11082006>Dave in 
London</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=876442009-11082006><FONT face=Arial><FONT color=#0000ff 
size=2><SPAN class=876442009-11082006></SPAN></FONT></FONT></SPAN>&nbsp;</DIV><PRE>__________________________________________________________________


This message might contain confidential information. If it has been sent to you in error please do not forward it or copy it or act upon its contents, but report it to postmaster@schroders.com

Schroders has the right lawfully to record, monitor and inspect messages between its employees and any third party. Your messages shall be subject to such lawful supervision as Schroders deems to be necessary in order to protect its information, its interests and its reputation.

Schroders prohibits and takes steps to prevent its information systems from being used to view, store or forward offensive or discriminatory material. If this message contains such material please report it to abuse@schroders.com

Schroders does not normally accept or offer business instructions via email unless prior agreements are in place. Any action that you might take upon this message might be at your own risk.



Schroder Investment Management Limited
31 Gresham Street
London EC2V 7QA

Authorised and regulated by the Financial Services Authority. Schroder Investment Management Limited is entered on the FSA register under the following register number: 119348

Registered Office
31 Gresham Street
London EC2V 7QA

Registered number 1893220
VAT registration number 243 8687 30</PRE></BODY></HTML>