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

DIPR167.m

Go to the documentation of this file.
  1. DIPR167 ;O-OIFO/GMB-Envirocheck and Post Init ;1NOV2012
  1. ;;22.0;VA FileMan;**167**;Mar 30, 1999;Build 20
  1. ;Per VHA Directive 2004-038, this routine should not be modified.
  1. ENV ; Environmental Check
  1. D BMES^XPDUTL("Perform Environment Check...")
  1. D CHKSTOP
  1. D BMES^XPDUTL("Finished Environment Check.")
  1. Q
  1. CHKSTOP ;
  1. ; Check XPDENV 0 = Loading; 1 = Installing
  1. Q:'XPDENV ; Loading Distribution - No Check
  1. ;
  1. ;
  1. INSCHK ; Do Checks During Install Only
  1. W $C(7)
  1. D MES^XPDUTL(" Queuing is NOT allowed. It is HIGHLY recommended that")
  1. D MES^XPDUTL(" ALL Users be OFF the system and")
  1. D MES^XPDUTL(" VistA Background jobs be STOPPED before installation of this patch.")
  1. D MES^XPDUTL(" TaskMan should be STOPPED or placed in a WAIT state.")
  1. D MES^XPDUTL(" Failure to do so may result in 'source routine edited' error(s).")
  1. D MES^XPDUTL(" Edits may be lost and record(s) may be left in an inconsistent state.")
  1. D MES^XPDUTL(" For example, not all Cross-Referencing completed; which in turn may cause")
  1. D MES^XPDUTL(" FUTURE VistA/FileMan Hard Errors or corrupted Data.")
  1. ;
  1. TMCHK ; Check to see if TaskMan is still running
  1. S X=$$TM^%ZTLOAD
  1. I X,'$D(^%ZTSCH("WAIT")) D
  1. . W $C(7)
  1. . D BMES^XPDUTL("* Warning TaskMan Has NOT Been Stopped or Placed in a WAIT State!")
  1. ;
  1. LINH ; Check to see if Logons are Inhibited
  1. D GETENV^%ZOSV ; $P(Y,"^",2) = Installing Volume
  1. Q:$G(^%ZIS(14.5,"LOGON",$P(Y,"^",2)))
  1. W $C(7)
  1. D BMES^XPDUTL("* Warning Logons are NOT Inhibited!")
  1. Q
  1. POST ; Post-Init
  1. W $C(7)
  1. D BMES^XPDUTL(" DON'T FORGET! GO TO THE PROGRAMMER PROMPT AND ENTER:")
  1. D MES^XPDUTL(" > D ^DINIT")
  1. D MES^XPDUTL(" Accept all defaults when answering the questions.")
  1. D MES^XPDUTL(" It should take less than 10 seconds.")
  1. Q