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

PRCP166P.m

Go to the documentation of this file.
  1. PRCP166P ;WISC/AS-post init patch 166 ;1/30/12 12:27
  1. ;;5.1;IFCAP;**166**;Oct 20, 2000;Build 4
  1. ;Per VHA Directive 2004-038, this routine should not be modified.
  1. ;;
  1. Q
  1. ;;
  1. INIT ;
  1. ; Populate values of IP and password of the report production
  1. ; server By invoke EN^XPAR using methods detailed in IA #2263
  1. ;
  1. N PRCP1,PRCP2,PRCP3
  1. S PRCP3=0
  1. SETV ;Set new values (2nd instance) for new server access
  1. ;
  1. IP S PRCP1="Vhahinwbdbair.v12.domain.ext" ; valid IP address for new server
  1. D EN^XPAR("SYS","PRC CLRS ADDRESS",1,PRCP1,.PRCP2)
  1. I PRCP2=0 D BMES^XPDUTL("PRC CLRS ADDRESS successfully populated")
  1. I PRCP2'=0 S PRCP3=1 D BMES^XPDUTL("Error while trying to populate the PRC CLRS ADDRESS:") D MES^XPDUTL($P(PRCP2,"^",2))
  1. ;
  1. PW S PRCP1="AdminCLRS$4" ; Encrypted password value
  1. S PRCP1=$$ENCRYP^XUSRB1(PRCP1)
  1. D EN^XPAR("SYS","PRCPLO PASSWORD",1,PRCP1,.PRCP2)
  1. I PRCP2=0 D BMES^XPDUTL("PRCPLO PASSWORD successfully populated")
  1. I PRCP2'=0 S PRCP3=1 D BMES^XPDUTL("Error while trying to populate the PRCPLO PASSWORD:") D MES^XPDUTL($P(PRCP2,"^",2))
  1. ;
  1. EXIT ;
  1. I PRCP3=0 D BMES^XPDUTL("POST-INSTALL COMPLETED SUCCESSFULLY!")
  1. I PRCP3=1 D BMES^XPDUTL("POST-INSTALL COMPLETED WITH ERRORS!!!")
  1. Q