In Arev, I have many commuter modules that do the following type of processing on a post-save process:
$INSERT INCLUDE, AREV.COMMON
…
OPEN 'FILES' TO FILES THEN
OPEN 'VOLUMES' TO VOLUMES THENREAD FREC FROM FILES, DATAFILE THENREADV VREC FROM VOLUMES, FREC, 1 THENFILE.NAME=DATAFILE:'*':FREC:'*':VRECINDEX.FLUSH( FILE.NAME, 'WO_ID_XREF')ENDENDENDEND
Is this capability available in OI3.5? If so, what filenames should be used, and what function name?
Ron,
You would use the Update_Index subroutine:
Its syntax is:
Update_Index(table_name, column_name, rebuildflag)
John Revelation
$INDEX.FLUSH should still be there, unchanged.
apk@sprezzatura.com
Whoa dude! Too much work. In both AREV and OI just
call index.flush(LiteralFileName, OptionalColumnName)it'll do the rest
Andrew P McAuley
A Hotel Room In Holland Without His Normal Sig
Ron,
OPEN 'FILES' TO FILES THEN OPEN 'VOLUMES' TO VOLUMES THEN
As in Arev 3.x, the names are SYSTABLES and SYSVOLUMES. Same setup otherwise.
Cameron Purdy
info@revelation.com