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

BHL11ENV.m

Go to the documentation of this file.
  1. BHL11ENV ;cmi/anchorage/maw - BHL Patch 11 Environment Check
  1. ;;3.01;BHL IHS Interfaces with GIS;**11,12,13**;AUG 01, 2004
  1. ;
  1. ;
  1. ;this routine will check for the existence of patch 11, a GIS core patch
  1. ;
  1. ;
  1. ELEVEN ;-- check for patch 11
  1. K XPDQUIT
  1. S BHLGI=$O(^DIC(9.4,"B","GENERIC INTERFACE SYSTEM",0))
  1. I '$G(BHLGI) D Q
  1. . S XPDQUIT=1
  1. . W !!,"You need the Generic Interface System version 3.01, aborting",!
  1. S BHLVI=$O(^DIC(9.4,BHLGI,22,"B",3.01,0))
  1. I '$G(BHLVI) D Q
  1. . S XPDQUIT=1
  1. . W !!,"You need the Generic Interface System version 3.01, aborting",!
  1. I '$O(^DIC(9.4,BHLGI,22,BHLVI,"PAH","B",2,0)) D
  1. . W !!,"You need all GIS patches through patch 2 to continue",!
  1. . S XPDQUIT=1
  1. I '$O(^DIC(9.4,BHLGI,22,BHLVI,"PAH","B",11,0)) D
  1. . W !!,"You need GIS patch 11 to continue",!
  1. . S XPDQUIT=1
  1. Q
  1. ;