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

DG53150P.m

Go to the documentation of this file.
DG53150P ;ALB/SEK - 1998 MEANS TEST THRESHOLD UPDATE ROUTINE; 02 December 1997
 ;;5.3;Registration;**150**;Aug 13, 1993
 ;
 ; This routine will upload the 1998 means test thresholds onto your system.
 ;
EN ; enter values distributed by Roscoe Butler.  VHA Directive soon to be released.
 N DA,DIE,DIC,DINUM,X,Y
 D BMES^XPDUTL(">>>Means Test Thesholds for 1998 being installed...")
 I $D(^DG(43,1,"MT",2980000)) D  Q
 . D BMES^XPDUTL("   ...Thresholds already exist for 1998...nothing done.")
 ;
 S DIC="^DG(43,1,""MT"",",DIC(0)="L"
 S (DINUM,X)=2980000
 D FILE^DICN
 S DA=+Y
 ;
 I +Y'=2980000 D  Q
 . D BMES^XPDUTL("   ...Problem encountered adding 1998 thresholds.  Please try")
 . D MES^XPDUTL("      again or contact your IRM Field Office for assistance.")
 ;
 D MES^XPDUTL("")
 S DIE=DIC,DR=""
 F I=1:1 S X=$P($T(DATA+I),";;",2) Q:X="QUIT"  D                ; build dr string
 . S DR=DR_+X_"////"_$P(X,"^",2)_";"
 . D MES^XPDUTL("   "_$P(X,"^",3)_" set to $"_$FN($P(X,"^",2),","))
 D ^DIE
 Q
 ;
 ;
DATA ; lines to stuff in values (field////value)
 ;;2^22064^CAT A VET INCOME
 ;;3^4416^CAT A FIRST DEPENDENT INCOME
 ;;4^1476^CAT A INCOME PER DEPENDENT
 ;;8^50000^THRESHOLD PROPERTY
 ;;17^6950^CHILD INCOME EXCLUSION
 ;;QUIT