Contents: | Main | Chapter | See Also: | Getting Started Manual | Advanced User Manual |
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 |
EN2^DIK executes the KILL logic for one or more cross-references on a specific field for one entry in a file.
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).
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 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. |
DIK(1) |
Use the field number (to get all cross-references) or the field number and specific indexes of the cross-references you want. See theENALL^DIK entry point description for examples. |
Reviewed/Updated: March 10, 2007