Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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.

[email protected]

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

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/23c98b8df05b9a3085256feb0064bb60.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1