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

XU8P580.m

Go to the documentation of this file.
  1. XU8P580 ;O-OIFO/GMB-Delete OBJECT multiple from HELP FRAME file ;06/05/2012
  1. ;;8.0;KERNEL;**580**;Jul 10, 1995;Build 47
  1. ;
  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("** 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
  1. ;
  1. PRE ;Pre-Init
  1. D BMES^XPDUTL("Beginning Pre-Installation...")
  1. D BMES^XPDUTL(" I am deleting the cross-reference ""SAN"" for field #501.2 file #200.")
  1. K ^VA(200,"SAN")
  1. D BMES^XPDUTL("Finished Pre-Installation.")
  1. Q
  1. ;
  1. POST ; Post-Init
  1. D BMES^XPDUTL("Beginning Post-Installation...")
  1. D BMES^XPDUTL(" I am deleting the OBJECT (#9.201) multiple from the HELP FRAME (#9.2) file.")
  1. D BMES^XPDUTL(" I am re-indexing ""ASAN"" cross-reference for field #501.2 file #200. ")
  1. N DIU
  1. S DIU=9.201,DIU(0)="DS" D EN^DIU2
  1. D REINDEX
  1. D BMES^XPDUTL("Finished Post-Installation.")
  1. Q
  1. ;
  1. REINDEX ;Re-index xfer "ASAN"
  1. N DIK,DA
  1. S DIK="^VA(200,"
  1. S DIK(1)="501.2^ASAN"
  1. D ENALL^DIK
  1. Q
  1. ;
  1. ;END