[613] | 1 | ZVEMSF6 ;DJB,VSHL**DIK,DIPZ,DIR,DIS [12/4/95 7:07pm]
|
---|
| 2 | ;;12;VPE;;COPYRIGHT David Bolduc @1993
|
---|
| 3 | ;
|
---|
| 4 | DIK ;;;
|
---|
| 5 | ;;; D I K Entry Deletion and File Reindexing
|
---|
| 6 | ;;;
|
---|
| 7 | ;;; 1. ENTRY POINT: ^DIK
|
---|
| 8 | ;;; Delete an entry. Doesn't update pointers to deleted entries.
|
---|
| 9 | ;;; It does execute all cross references and triggers.
|
---|
| 10 | ;;;
|
---|
| 11 | ;;; 2. INPUT VARIABLES
|
---|
| 12 | ;;; DIK......Global root.
|
---|
| 13 | ;;; DA.......Entry number you wish to delete.
|
---|
| 14 | ;;; DA(1)....Needed when deleting at a lower level.
|
---|
| 15 | ;;;
|
---|
| 16 | ;;; Examples: S DIK="^EMP(",DA=7 D ^DIK
|
---|
| 17 | ;;; S DA(1)=1,DA=2,DIK="^EMP("_DA(1)_",""SX""," D ^DIK
|
---|
| 18 | ;;; S DIK="^EMP(" F DA=2,9,11 D ^DIK
|
---|
| 19 | ;;;
|
---|
| 20 | ;;; 1. ENTRY POINT: ENALL^DIK
|
---|
| 21 | ;;; Reindexes all entries in a file or subfile.
|
---|
| 22 | ;;; Executes only the SET logic.
|
---|
| 23 | ;;;
|
---|
| 24 | ;;; 2. INPUT VARIABLES
|
---|
| 25 | ;;; DIK......Global root.
|
---|
| 26 | ;;; DIK(1)...Field number or Field number and specific cross reference
|
---|
| 27 | ;;; separated by up-arrow.
|
---|
| 28 | ;;; S DIK(1)=.01 -or- S DIK(1)=".01^B^C"
|
---|
| 29 | ;;; DA(1)....Needed when reindexing at a lower level.
|
---|
| 30 | ;;;
|
---|
| 31 | ;;; 1. ENTRY POINT: EN^DIK
|
---|
| 32 | ;;; Reindexes a single field in a file or subfile, for one entry.
|
---|
| 33 | ;;; Executes KILL and SET logic.
|
---|
| 34 | ;;; Needs DIK,DA,DA(1),DIK(1).
|
---|
| 35 | ;;;
|
---|
| 36 | ;;; 1. ENTRY POINT: EN1^DIK
|
---|
| 37 | ;;; Reindexes a single field in a file or subfile, for one entry.
|
---|
| 38 | ;;; Executes only the SET logic.
|
---|
| 39 | ;;; Needs DIK,DA,DA(1),DIK(1).
|
---|
| 40 | ;;;
|
---|
| 41 | ;;; 1. ENTRY POINT: IXALL^DIK
|
---|
| 42 | ;;; Reindexes all cross references for all entries.
|
---|
| 43 | ;;; Executes only the SET logic.
|
---|
| 44 | ;;; Needs DIK.
|
---|
| 45 | ;;;
|
---|
| 46 | ;;; 1. ENTRY POINT: IX^DIK
|
---|
| 47 | ;;; Reindexes all cross references for only one entry.
|
---|
| 48 | ;;; Executes KILL and SET logic.
|
---|
| 49 | ;;; Needs DIK,DA,DA(1).
|
---|
| 50 | ;;;
|
---|
| 51 | ;;; 1. ENTRY POINT: IX1^DIK
|
---|
| 52 | ;;; Reindexes all cross references for only one entry.
|
---|
| 53 | ;;; Executes only the SET logic.
|
---|
| 54 | ;;; Needs DIK,DA,DA(1).
|
---|
| 55 | ;;;***
|
---|
| 56 | DIPZ ;;;
|
---|
| 57 | ;;; D I P Z Print Template Compilation
|
---|
| 58 | ;;;
|
---|
| 59 | ;;; 1. ENTRY POINT: ^DIPZ
|
---|
| 60 | ;;; A DIPZ-compiled routine may be called by any program that passes to
|
---|
| 61 | ;;; it DT,DUZ,IOSL,U, and D0 (entry number). Variable DXS must be killed
|
---|
| 62 | ;;; before and after the call.
|
---|
| 63 | ;;;
|
---|
| 64 | ;;; 1. ENTRY POINT: EN^DIPZ
|
---|
| 65 | ;;; Recompile an input template without user intervention.
|
---|
| 66 | ;;;
|
---|
| 67 | ;;; 2. INPUT VARIABLES
|
---|
| 68 | ;;; X.......Routine name.
|
---|
| 69 | ;;; Y.......The internal entry number of template.
|
---|
| 70 | ;;; DMAX....Maximum size of compiled routines.
|
---|
| 71 | ;;;***
|
---|
| 72 | DIR ;;;
|
---|
| 73 | ;;; D I R Reader
|
---|
| 74 | ;;;
|
---|
| 75 | ;;; Refer to the VA Fileman Programmer's Manual.
|
---|
| 76 | ;;;***
|
---|
| 77 | DIS ;;;
|
---|
| 78 | ;;; D I S Search File Entries
|
---|
| 79 | ;;;
|
---|
| 80 | ;;; 1. ENTRY POINT: EN^DIS
|
---|
| 81 | ;;; Calls the Search File Entries option of VA Fileman. Needs DT and DUZ.
|
---|
| 82 | ;;;
|
---|
| 83 | ;;; 2. INPUT VARIABLES
|
---|
| 84 | ;;; DIC.....Global root or file number.
|
---|
| 85 | ;;;***
|
---|