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

DIENV.m

Go to the documentation of this file.
  1. DIENV ;IRMFO-SF/FM STAFF-ENVIRONMENT CHECK ROUTINE ;10/29/98 07:15
  1. ;;22.0;VA FileMan;;Mar 30, 1999
  1. ;Per VHA Directive 10-93-142, this routine should not be modified.
  1. ;
  1. Q
  1. ; Check XPDENV 0 = Loading; 1 = Installing
  1. I 'XPDENV Q ; Loading Distribution - No Check
  1. ;
  1. INSCHK ; Do Checks During Install Only
  1. S XPDNOQUE=1 ;prevents QUEUEING of a FM patch install
  1. ;
  1. TMCHK ; Check to see if TaskMan is still running
  1. S X=$$TM^%ZTLOAD
  1. I X D
  1. . D MES^XPDUTL("* Install Stopped Because TaskMan Has NOT Been Stopped!")
  1. . D MES^XPDUTL(" Transport Global Was NOT Unloaded!")
  1. . S XPDQUIT=2
  1. ;
  1. LINH ; Check to see if Logons are Inhibited
  1. D GETENV^%ZOSV ; $P(Y,"^",2) = Installing Volume
  1. S X=+$G(^%ZIS(14.5,"LOGON",$P(Y,"^",2)))
  1. I X D Q ; Bail Out of Install
  1. . D MES^XPDUTL("* Install Stopped Because Logon Were NOT Inhibited.")
  1. . D MES^XPDUTL(" Transport Global Was NOT Unloaded!")
  1. . S XPDQUIT=2
  1. Q