Changeset 297
- Timestamp:
- Dec 5, 2008, 10:47:21 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CDIC.m
r296 r297 106 106 S C0CFI=0 S C0CFJ=C0CF 107 107 K @C0CFRTN ; CLEAR THE RETURN ARRAY 108 F Q:$P(C0CFJ,".",1)'=C0CF D ; FOR THE C0CF FILE AND ALL SUBFILES INCLUSIVE 108 F Q:C0CFJ'[C0CF D ; FOR THE C0CF FILE AND ALL SUBFILES INCLUSIVE 109 . ;W "1: "_C0CFJ," ",C0CFI,! 109 110 . F S C0CFI=$O(^DD(C0CFJ,C0CFI)) Q:+C0CFI=0 D ; EVERY FIELD 110 . . ;W C0CFJ," ",C0CFI,!111 . . ;W "2: "_C0CFJ," ",C0CFI,! 111 112 . . S C0CFN=$P(^DD(C0CFJ,C0CFI,0),"^",1) ;PULL FIELD NAME FROM ^DD 113 . . ;W "N: ",C0CFN,! 112 114 . . I $D(@C0CFRTN@(C0CFN)) D ; IS THIS A DUPLICATE? 113 . . . ;W "DUPLICATE FOUND! ",C0CFJ," ",C0CFI," ",C0CFN,!,@C0CFRTN@(C0CFN),!115 . . . W "DUPLICATE FOUND! ",C0CFJ," ",C0CFI," ",C0CFN,!,@C0CFRTN@(C0CFN),! 114 116 . . . S @C0CFRTN@("M",@C0CFRTN@(C0CFN),C0CFN)=C0CFJ_"^"_C0CFI 115 117 . . E S @C0CFRTN@(C0CFN)=C0CFJ_"^"_C0CFI
Note:
See TracChangeset
for help on using the changeset viewer.