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

RA6IENV.m

Go to the documentation of this file.
  1. RA6IENV ;HIRMFO/GJC - Environment Check for patch six ;10/20/98 08:04
  1. VERSION ;;5.0;Radiology/Nuclear Medicine;**6**;Mar 16, 1998
  1. ;
  1. ; If the site is running OE 2.5 or not running OE/CPRS at all,
  1. ; we will pass from the environment check to the post-init.
  1. ; Once in the post-init, we issue a message that informs the
  1. ; user that the post-init only operates on sites running CPRS.
  1. I +$$VERSION^XPDUTL("OR")<3 Q
  1. ; Now check for required patches on the CPRS end of the operation.
  1. S XPDABORT=2 ; kill XPDABORT if OR*3.0*4 is installed!
  1. I +$$VERSION^XPDUTL("OR")=3 D
  1. . I $$PATCH^XPDUTL("OR*3.0*4") K XPDABORT ; OR*3.0*4 installed, proceed
  1. . E D ; OR*3.0*4 not installed, abort install, leave transport global
  1. .. K RAMSG
  1. .. S RAMSG(1)="**WARNING** patch OR*3.0*4 is required to install"
  1. .. S RAMSG(2)="RA*5.0*6." D MES^XPDUTL(.RAMSG) K RAMSG
  1. .. Q
  1. . Q
  1. Q