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

DIPR163.m

Go to the documentation of this file.
  1. DIPR163 ;O-OIFO/GMB-Envirocheck and Post Init ;2/23/2010
  1. ;;22.0;VA FileMan;**163**;Mar 30, 1999;Build 28
  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. POST ; Set DD changes to the PRINT TEMPLATE (#.4) file.
  1. S ^DD(.4,1815,1,0)="^.1^1^1"
  1. S ^DD(.4,1815,1,1,0)="^^^MUMPS"
  1. S ^DD(.4,1815,1,1,1)="Q"
  1. S ^DD(.4,1815,1,1,2)="D DELETROU^DIEZ($TR(X,U))"
  1. S ^DD(.4,"IX",1815)=""
  1. ; Set DD changes to the INPUT TEMPLATE (#.402) file.
  1. S ^DD(.402,1815,1,0)="^.1^1^1"
  1. S ^DD(.402,1815,1,1,0)="^^^MUMPS"
  1. S ^DD(.402,1815,1,1,1)="Q"
  1. S ^DD(.402,1815,1,1,2)="D DELETROU^DIEZ($TR(X,U))"
  1. S ^DD(.402,"IX",1815)=""
  1. S ^DD(.402,0,"ID","WRITED")="I $G(DZ)?1""???"".E N % S %=0 F S %=$O(^DIE(Y,""%D"",%)) Q:%'>0 I $D(^(%,0))#2 D EN^DDIOL(^(0),"""",""!?5"")"
  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("** Although Queuing is allowed - it is HIGHLY recommended that ALL Users and")
  1. D MES^XPDUTL("VISTA Background jobs be STOPPED before installation of this patch. Failure")
  1. D MES^XPDUTL("to do so may result in 'source routine edited' error(s). Edits will be")
  1. D MES^XPDUTL("lost and record(s) may be left in an inconsistent state, for example,")
  1. D MES^XPDUTL("not all Cross-Referencing completed; which in turn may cause FUTURE")
  1. D MES^XPDUTL("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