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

BEX5ENV.m

Go to the documentation of this file.
  1. BEX5ENV ;IHS/CMI/DAY - BEX Patch 5 Environment Check ; 12 Mar 2012 4:20 PM
  1. ;;1.0;BEX TELEPHONE REFILL SYSTEM;**1,2,4,5**;MAR 12, 2012;Build 1
  1. ;
  1. ;
  1. ;this routine will check for the existence of patch 4, a BEX core patch
  1. ;
  1. ;
  1. PCHK ;-- check for previous patch
  1. K XPDQUIT
  1. S BEXGI=$O(^DIC(9.4,"B","BEX AUDIOCARE TELEPHONE REFILL",0))
  1. I '$G(BEXGI) D Q
  1. . S XPDQUIT=1
  1. . W !!,"You need the Audiocare Telephone Refill System, Version 1.0, aborting",!
  1. S BEXVI=$O(^DIC(9.4,BEXGI,22,"B","1.0",0))
  1. I '$G(BEXVI) D Q
  1. . S XPDQUIT=1
  1. . W !!,"You need the Audiocare Telephone Refill System, Version 1.0, aborting",!
  1. I '$O(^DIC(9.4,BEXGI,22,BEXVI,"PAH","B",4,0)) D
  1. . W !!,"You need BEX patch 4 to continue",!
  1. . S XPDQUIT=1
  1. Q
  1. ;