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

DG53198P.m

Go to the documentation of this file.
DG53198P ;ALB/JDS REINDEX FILE 408.22
 ;;5.3;Registration;**198**;Aug 13, 1993
 N A S A=$$NEWCP^XPDUTL("DGAMT","POST^DG53198P",0)
 Q
POST ;Return from checkpoint
 N DA,DGDA,DIK,XXX,XPDIDTOT S DGDA=+$$PARCP^XPDUTL("DGAMT") I 'DGDA K ^DGMT(408.22,"AMT")
 D MES^XPDUTL("Reindexing INCOME RELATION cross reference")
 S XPDIDTOT=+$P($G(^DGMT(408.22,0)),U,3)
 S DIK="^DGMT(408.22,",DIK(1)=".01^AMT1"
 F  S DGDA=$O(^DGMT(408.22,DGDA)) Q:'DGDA  S XXX=$P($G(^(DGDA,0)),U) I $L(XXX) S DA=DGDA D EN1^DIK I '(DA#50) D UPDATE^XPDID(DA) S XXX=$$UPCP^XPDUTL("DGAMT",DA)
 Q