You may get some/lots performance increase by doing a $LOOKUP operation
on the table of data rather than using the table of data to chin with
(how to do a table lookup is well documented in the SUPERTOOL help).
Regards,
Ray Shahan
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
Behalf Of Nilesh Patel
Sent: Tuesday, March 07, 2006 11:45 AM
To: [log in to unmask]
Subject: [HP3000-L] Help with suprtool
Hi,
Is there a way to improve the following suprtool code:
BASE base1,3
SET STATISTICS ON
SET DEFER ON
TABLE one,key1,FILE,subf1
CHAIN set1,key1=one
EXTRACT field1
OUT set1out,LINK
DELETE
XEQ
TABLE two,field1,FILE,set1out
CHAIN set2,field1=two
DELETE
OUTPUT $NULL
XEQ
TABLE three,key1,FILE,subf1
CHAIN set3,key1=three
DELETE
OUTPUT $NULL
XEQ
The SUBF1 file is a subfile created by a QTP with the parent details.
Thanks in advance.
Nilesh Patel.
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|