VA FileMan V. 22.0 Programmer Manual Banner


 

Main Chapter Getting Started Manual Advanced User Manual

Classic VA FileMan API


IX2^DIK: Reindex

Reindexing Quick Reference

Entry Point Reindexes Entries Reindexes Xrefs Executes Logic
EN^DIK 1 Some or all for 1 field KILL then SET
EN1^DIK 1 Some or all for 1 field SET
EN2^DIK 1 Some or all for 1 field KILL
ENALL^DIK All Some or all for 1 field SET
ENALL2^DIK All Some or all for 1 field KILL
IX^DIK 1 All KILL then SET
IX1^DIK 1 All SET
IX2^DIK 1 All KILL
IXALL^DIK All All SET
IXALL2^DIK All All KILL

IX2^DIK executes the KILL logic of all cross-references for only one entry at all file levels at and below the one specified in DIK.

Before calling this entry point, you should be familiar with the effects of executing the kill logic for all cross-references that could be fired (including bulletins, triggers, and MUMPS-type).

Input Variables
DIK

If you are executing the kill logic for an entry at the top level of a file, set DIK to the global root of the file.

If you are executing the kill logic for a subentry, set DIK to the full global root leading to the subentry, including all intervening subscripts and the terminating comma, up to - but not including the IEN of the subfile entry.

DA

If you are executing the kill logic for an entry at the top level of a file, set DA to the internal entry number of that file entry.

If you are executing the kill logic for an entry in a subfile, set up DA as an array, where DA is the entry number in the subfile, DA(1) is the entry number at the next higher file level, etc. DA(n) is the entry number at the file's top level.

 


Reviewed/Updated: March 10, 2007