Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: DG53591C

DG53591C.m

Go to the documentation of this file.
DG53591C ;ALB/GN - DG*5.3*591 CLEANUP FOR PURGED DEPENDENT INCOME RESTORE; 3/17/04 12:26pm ; 8/2/04 3:50pm
 ;;5.3;Registration;**591,1015**;Aug 13, 1993;Build 21
 Q
TEST ; 
 S TESTING=1
EN N DAT,DAT1,DAT2,DAT3,DA,DATA,GL,IEN
 S TESTING=+$G(TESTING)
 Q:'$D(^XTMP("DG53591A","DET R12"))
 M ^XTMP("DG53591A-SAVE","DET R12")=^XTMP("DG53591A","DET R12")
 S GL=$NA(^XTMP("DG53591A-SAVE","DET R12"))
 F  S GL=$Q(@GL) Q:GL=""  Q:$QS(GL,2)'="DET R12"  D
 . K DA,DATA,EIN
 . S DAT=$P(@GL,":",3)
 . S DAT1=$P(DAT,"="),DAT2=$P(DAT,"=",2)
 . S DAT3=$P(DAT2," <")
 . S DA(1)=$P(DAT1,","),IEN=$P(DAT1,",",2)
 . Q:('DA(1))!('IEN)
 . S DATA(.01)=$P(DAT3,"^")
 . S DATA(.02)=$P(DAT3,"^",2)
 . S DATA(.03)=$P(DAT3,"^",3)
 . S DATA(.04)=$P(DAT3,"^",4)
 . I 'TESTING,$$ADD^DGENDBS(408.1275,.DA,.DATA,,IEN)
 Q