DG53110P ;ALB/MLI - 1997 MEANS TEST THRESHOLD UPDATE ROUTINE; 13 December 1996
;;5.3;Registration;**110**;Aug 13, 1993
;
; This routine will upload the 1997 means test thresholds onto your system.
;
EN ; enter values from directive 96-076
N DA,DIE,DIC,DINUM,X,Y
D BMES^XPDUTL(">>>Means Test Thesholds for 1997 being installed...")
I $D(^DG(43,1,"MT",2970000)) D Q
. D BMES^XPDUTL(" ...Thresholds already exist for 1997...nothing done.")
;
S DIC="^DG(43,1,""MT"",",DIC(0)="L"
S (DINUM,X)=2970000
D FILE^DICN
S DA=+Y
;
I +Y'=2970000 D Q
. D BMES^XPDUTL(" ...Problem encountered adding 1997 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^21610^CAT A VET INCOME
;;3^4325^CAT A FIRST DEPENDENT INCOME
;;4^1445^CAT A INCOME PER DEPENDENT
;;8^50000^THRESHOLD PROPERTY
;;17^6800^CHILD INCOME EXCLUSION
;;QUIT
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HDG53110P 1219 printed Dec 13, 2024@02:35:56 Page 2
DG53110P ;ALB/MLI - 1997 MEANS TEST THRESHOLD UPDATE ROUTINE; 13 December 1996
+1 ;;5.3;Registration;**110**;Aug 13, 1993
+2 ;
+3 ; This routine will upload the 1997 means test thresholds onto your system.
+4 ;
EN ; enter values from directive 96-076
+1 NEW DA,DIE,DIC,DINUM,X,Y
+2 DO BMES^XPDUTL(">>>Means Test Thesholds for 1997 being installed...")
+3 IF $DATA(^DG(43,1,"MT",2970000))
Begin DoDot:1
+4 DO BMES^XPDUTL(" ...Thresholds already exist for 1997...nothing done.")
End DoDot:1
QUIT
+5 ;
+6 SET DIC="^DG(43,1,""MT"","
SET DIC(0)="L"
+7 SET (DINUM,X)=2970000
+8 DO FILE^DICN
+9 SET DA=+Y
+10 ;
+11 IF +Y'=2970000
Begin DoDot:1
+12 DO BMES^XPDUTL(" ...Problem encountered adding 1997 thresholds. Please try")
+13 DO MES^XPDUTL(" again or contact your IRM Field Office for assistance.")
End DoDot:1
QUIT
+14 ;
+15 DO MES^XPDUTL("")
+16 SET DIE=DIC
SET DR=""
+17 ; build dr string
FOR I=1:1
SET X=$PIECE($TEXT(DATA+I),";;",2)
if X="QUIT"
QUIT
Begin DoDot:1
+18 SET DR=DR_+X_"////"_$PIECE(X,"^",2)_";"
+19 DO MES^XPDUTL(" "_$PIECE(X,"^",3)_" set to $"_$FNUMBER($PIECE(X,"^",2),","))
End DoDot:1
+20 DO ^DIE
+21 QUIT
+22 ;
+23 ;
DATA ; lines to stuff in values (field////value)
+1 ;;2^21610^CAT A VET INCOME
+2 ;;3^4325^CAT A FIRST DEPENDENT INCOME
+3 ;;4^1445^CAT A INCOME PER DEPENDENT
+4 ;;8^50000^THRESHOLD PROPERTY
+5 ;;17^6800^CHILD INCOME EXCLUSION
+6 ;;QUIT