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

IB20P475.m

Go to the documentation of this file.
  1. IB20P475 ;ALB/CXW - Patch Install Routine ; 10/10/12 5:45pm
  1. ;;2.0;INTEGRATED BILLING;**475**;21-MAR-94;Build 31
  1. ;;Per VHA Directive 2004-038, this routine should not be modified.
  1. Q
  1. ;
  1. POST ; Update the TCP/IP address for HL7 Logical Link 'IIV EC' which will
  1. ; connect to the new server located at FSC in Austin, Texas.
  1. ; production account-127.0.0.1, test account-127.0.0.18
  1. N FILE,IBIIV,IBIEN,IBPAD,IBTAD,IBOAD,IBNAD,IB870,IBERR
  1. D MES^XPDUTL("Update the TCP/IP address of HL7 Logical Link 'IIV EC'")
  1. ; DBIA #1496
  1. S FILE=870
  1. S IBIIV="IIV EC"
  1. S IBPAD="127.0.0.1",IBTAD="127.0.0.1"
  1. S IBIEN=$O(^HLCS(870,"B",IBIIV,0))
  1. I 'IBIEN D G POSTQ
  1. . D MES^XPDUTL("IEN of HL7 Logical Link 'IIV EC' not found")
  1. ;
  1. ; check the account and then update the IP address
  1. S IBOAD=$$GET1^DIQ(870,IBIEN_",",400.01)
  1. I IBOAD="" D MES^XPDUTL("Please note that the TCP/IP address is blank")
  1. S IBNAD=$S($$PROD^XUPROD:IBPAD,1:IBTAD)
  1. S IB870(870,IBIEN_",",400.01)=IBNAD
  1. D FILE^DIE("","IB870","IBERR")
  1. I $D(IBERR) D G POSTQ
  1. . D MES^XPDUTL("Update failed")
  1. D MES^XPDUTL("The TCP/IP address "_IBOAD_" was replaced with "_IBNAD)
  1. ;
  1. POSTQ D MES^XPDUTL(" Done.")
  1. Q
  1. ;