source: FOIAVistA/trunk/r/VA_FILEMAN-ARJT-DI-DD-DM-DT-%DT-%RCR/DI156ENV.m@ 1397

Last change on this file since 1397 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 1.2 KB
Line 
1DI156ENV ;IRMFO-SF/FM STAFF-ENVIRONMENT CHECK ROUTINE ;12:08 PM 8 Jun 2007
2 ;;22.0;VA FileMan;**156**;Mar 30, 1999;Build 1
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4 ;
5 ; Check XPDENV 0 = Loading; 1 = Installing
6 I 'XPDENV D Q ; Loading Distribution - No Check
7 . Q
8 ;
9INSCHK ; Do Checks During Install Only
10 W $C(7)
11 D MES^XPDUTL("** Although Queuing is allowed - it is HIGHLY recommended that ALL Users and")
12 D MES^XPDUTL("VISTA Background jobs be STOPPED before installation of this patch. Failure")
13 D MES^XPDUTL("to do so may result in 'source routine edited' error(s). Edits will be")
14 D MES^XPDUTL("lost and record(s) may be left in an inconsistent state, for example,")
15 D MES^XPDUTL("not all Cross-Referencing completed; which in turn may cause FUTURE")
16 D MES^XPDUTL("VistA/FileMan Hard Errors or corrupted Data. **")
17 ;
18TMCHK ; Check to see if TaskMan is still running
19 S X=$$TM^%ZTLOAD
20 I X,'$D(^%ZTSCH("WAIT")) D
21 . W $C(7)
22 . D BMES^XPDUTL("* Warning TaskMan Has NOT Been Stopped or Placed in a WAIT State!")
23 ;
24LINH ; Check to see if Logons are Inhibited
25 D GETENV^%ZOSV ; $P(Y,"^",2) = Installing Volume
26 S X=+$G(^%ZIS(14.5,"LOGON",$P(Y,"^",2)))
27 I 'X D
28 . W $C(7)
29 . D BMES^XPDUTL("* Warning Logons are NOT Inhibited!")
30 Q
Note: See TracBrowser for help on using the repository browser.