My Community
September 04, 2010, 06:31:39 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: Loading one document, index fields on first page, how to stop scanning  (Read 78 times)
PasiPK
Newbie
*
Posts: 15


View Profile
« on: July 29, 2010, 01:14:22 AM »

Hello,
I am loading just one long line data document.
It has ASA/CC characters in first column, so there are multiple pages.
All pages have exactly same titles, from which index fields are picked.
So the needed index values are found already on first page,
and all the following pages have the same values.

I have
TRIGGER1=*,1,X'F1',(TYPE=GROUP)  /* 1 */
FIELD1=1,9,10,(TRIGGER=1,BASE=0)
etc.
INDEX1='KEY1',FIELD1,(TYPE=GROUP,BREAK=YES)
etc.
all INDEXn have TYPE=GROUP,BREAK=YES.

My understanding is, that all pages are scanned.
Which in this application is wasted work, because values do not change.
Probably not a big deal, but would there be some better way to do this?

Pasi
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!