Correct INDEX.FLUSH parameters (AREV Specific)
At 22 APR 2005 02:20:15PM C E Snell wrote:
I have seen code to call INDEX.FLUSH typically as follows:
FILE.NAME=CUSTOM.EXPORT.SPECS'
VOL=XLATE("SYSTABLES", FILE.NAME, 1, "X")
APP=XLATE("SYSTABLES", FILE.NAME, 3, "X")
MED=XLATE("SYSVOLUMES", VOL, 1, "X")
FILE.INFO=FILE.NAME:'*':APP:'*':MED
CALL INDEX.FLUSH(FILE.INFO, "")
However, for a couple of volumes in our AREV system SYSVOLUMES field 1 is something like "12:13:09 07 APR 93", whereas field 2 is something like "H:\AREV\SECURITY".
I have two volumes like this, for most other volumes field 1 is the volume name and field 2 is the volume path, such as "DEVELOP" and "H:\AREV\DEVELOP".
My question is, is the problem with SYSVOLUMES, or in the above code should I substitute field 2 in the 3rd XLATE, or should I just call index.flush with the filename only as the parameter?
At 22 APR 2005 02:32PM [email protected] wrote:
It is easier just to just the filename - the full name including the volume path has been deprecated.
The Sprezzatura Group Web Site
World Leaders in all things RevSoft
At 22 APR 2005 09:23PM Barry Stevens wrote:
CALL INDEX.FLUSH(FILE.NAME, "") is suffice