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

KMPRENV.m

Go to the documentation of this file.
  1. KMPRENV ;SF/RAK - RUM Environment Check ;16 Oct 98
  1. ;;1.0;CAPACITY MANAGEMENT - RUM;;Dec 09, 1998
  1. ;
  1. EN ;-- entry point.
  1. ; quit if not KIDS install.
  1. Q:$G(XPDENV)'=1
  1. ; set default answer to 'no' for disabling options/protocols etc.
  1. S:+$G(XPDENV) XPDDIQ("XPZ1","B")="NO"
  1. N IEN
  1. S IEN=$O(^XPD(9.7,"B","XU*8.0*107",0))
  1. ; if kernel patch XU*8.0*107 does not exist then do not install.
  1. I 'IEN S XPDQUIT=2
  1. ; if kernel patch XU*8.0*107 has not been installed.
  1. I $P($G(^XPD(9.7,+IEN,0)),U,9)'=3 S XPDQUIT=2
  1. I $G(XPDQUIT)=2 D
  1. .D MES^XPDUTL("Kernel patch XU*8.0*107 must be installed before proceeding!")
  1. Q