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

DG306.m

Go to the documentation of this file.
  1. DG306 ;ALB/LBD - Post-Install Routine for DG*5.3*306 ; 10-AUGUST-2000
  1. ;;5.3;Registration;**306,1015**;Aug 13, 1993;Build 21
  1. ;
  1. ;
  1. Q
  1. POST ; Entry point for post-installation process.
  1. ;
  1. D POST1
  1. D POST2
  1. ;
  1. Q
  1. ;
  1. POST1 ; KILL the "LAYGO" node that is on the #.01 field of the
  1. ; ENROLLMENT GROUP THRESHOLD file (#27.16). This node prevents any
  1. ; records from being added to the file. Reference DBIA 3180.
  1. ;
  1. K ^DD(27.16,.01,"LAYGO")
  1. Q
  1. ;
  1. POST2 ;
  1. D MES^XPDUTL("Updating Enrollment Group Threshold file (#27.16)")
  1. N EGTIEN,DGENFDA,ERR
  1. ; if EGT entry already exists, delete it before setting new one
  1. S EGTIEN=$$FINDCUR^DGENEGT()
  1. I EGTIEN I $$DELETE^DGENEGT(EGTIEN)
  1. S DGENFDA(27.16,"+1,",.01)=3001001
  1. S DGENFDA(27.16,"+1,",.02)=7
  1. S DGENFDA(27.16,"+1,",.03)=3
  1. S DGENFDA(27.16,"+1,",.04)=1
  1. S DGENFDA(27.16,"+1,",.06)=$$DT^XLFDT
  1. S DGENFDA(27.16,"+1,",25)="EGT set to 7c by patch DG*5.3*306"
  1. D UPDATE^DIE("","DGENFDA","","ERR")
  1. I $D(ERR) D MES^XPDUTL(" Could not set EGT entry in file #27.16")
  1. Q