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

DGPFPOST.m

Go to the documentation of this file.
DGPFPOST  ;SGU/GJW - DG*5.3*1005 post-install;1/30/20
 ;;5.3;Registration;**1005**;Jan 30, 2020;Build 57
 ;Calls to ADD^XPAR and CHG^XPAR supported by ICR #2263
 ;
EN ;
 N DGSITE,DGLINE,DGI,DGNUM,DGRTR,DGERR
 S DGSITE=$P($$SITE^VASITE(),U,3)
 D EN^DDIOL("Updating DG PRF REGIONAL ROUTER")
 F DGI=1:1 D  Q:DGLINE=""
 .S DGLINE=$P($T(ROUTERS+DGI),";;",2)
 .S DGNUM=$P(DGLINE,U),DGRTR=$P(DGLINE,U,2)
 .I DGNUM=DGSITE D  Q
 ..D ADD^XPAR("SYS","DG PRF REGIONAL ROUTER",1,DGRTR,.DGERR)
 ..I +DGERR>0 D CHG^XPAR("SYS","DG PRF REGIONAL ROUTER",1,DGRTR,.DGERR)
 ;
 D BUG^DGY994PO  ;bug cleanup from original DG*5.3*994 post install
 ;
 ;Next add, OEHRMTIERIISupport@domain.ext as an external recipient to 
 ;the mail group DGPF APPLICATION ERRORS.
 N DGFDA,DGIEN,DGERR
 D EN^DDIOL("Adding OEHRM TIER II SUPPORT as a remote member of DGPF APPLICATION ERRORS")
 S DGFDA(3.8,"?1,",.01)="DGPF APPLICATION ERRORS"
 S DGFDA(3.812,"?+2,?1,",.01)="OEHRMTIERIISupport@domain.ext"
 D UPDATE^DIE(,"DGFDA","DGIEN","DGERR")
 Q
 ;
CERNER ;
 D EN^DDIOL("Configuring VACRNR")
 I $$FIND1^DIC(4,,"MX","CERNER")=0 G CRNROUT
 ;Add VACRNR link (minus the IP and port) if it's not already there.
 K DGFDA,DGERR,DGIEN
 S DGFDA(870,"?+1,",.01)="VACRNR"
 S DGFDA(870,"?+1,",.02)="CERNER"
 ;S DGFDA(870,"?1,",.08)=<domain name>
 S DGFDA(870,"?+1,",4.5)=1             ;autostart
 S DGFDA(870,"?+1,",2)="TCP"           ;LLP type
 S DGFDA(870,"?+1,",3)="NC"            ;device type
 S DGFDA(870,"?+1,",21)=10             ;queue size
 S DGFDA(870,"?+1,",200.021)="R"       ;exceed re-transmit action
 S DGFDA(870,"?+1,",200.05)=20         ;ACK timeout
 S DGFDA(870,"?+1,",200.08)=2.3        ;protocol version ID
 ;S DGFDA(870,"?+1,",400.02)=<port>
 S DGFDA(870,"?+1,",400.03)="C"        ;TCP/IP service type
 S DGFDA(870,"?+1,",400.04)="N"        ;non-persistent
 S DGFDA(870,"?+1,",400.07)="Y"        ;say HELO
 D UPDATE^DIE("E","DGFDA","DGIEN","DGERR")
 ;
CRNROUT ;skip to here if CERNER isn't in the INSTITUTION file
ROUTERS ;
 ;;358^DGVDFRR11
 ;;402^DGVDFRR42
 ;;405^DGVDFRR42
 ;;436^DGVDFRR12
 ;;438^DGVDFRR2
 ;;442^DGVDFRR12
 ;;459^DGVDFRR11
 ;;460^DGVDFRR41
 ;;463^DGVDFRR11
 ;;501^DGVDFRR12
 ;;502^DGVDFRR2
 ;;503^DGVDFRR41
 ;;504^DGVDFRR11
 ;;506^DGVDFRR3
 ;;508^DGVDFRR3
 ;;509^DGVDFRR3
 ;;512^DGVDFRR41
 ;;515^DGVDFRR3
 ;;516^DGVDFRR3
 ;;517^DGVDFRR3
 ;;518^DGVDFRR42
 ;;519^DGVDFRR11
 ;;520^DGVDFRR2
 ;;521^DGVDFRR3
 ;;523^DGVDFRR42
 ;;526^DGVDFRR42
 ;;528^DGVDFRR41
 ;;528^DGVDFRR42
 ;;529^DGVDFRR41
 ;;531^DGVDFRR11
 ;;534^DGVDFRR3
 ;;537^DGVDFRR2
 ;;538^DGVDFRR3
 ;;539^DGVDFRR3
 ;;540^DGVDFRR41
 ;;541^DGVDFRR3
 ;;542^DGVDFRR41
 ;;544^DGVDFRR3
 ;;546^DGVDFRR3
 ;;548^DGVDFRR3
 ;;549^DGVDFR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