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

ACKQENV.m

Go to the documentation of this file.
  1. ACKQENV ;HCIOFO/BH-QUASAR Version 3.0. Environment Check Routine ; 11/01/99
  1. ;;3.0;QUASAR;;Feb 11, 2000
  1. ;Per VHA Directive 10-93-142, this routine SHOULD NOT be modified.
  1. ;
  1. N ACKTEST S ACKTEST=$$GET1^DIQ(509850.8,1,.1,"I")
  1. I ACKTEST="S"!(ACKTEST="D") D Q
  1. . S ACKTXT(1)="Installation has been run previously."
  1. . S ACKTXT(2)="Therefore will not re-run Environment Check."
  1. . S ACKTXT(4)=" " D MES^XPDUTL(.ACKTXT) K ACKTXT
  1. ;
  1. ;
  1. T N ACK1,ACKCNT,ACKMSG,ACKNME
  1. S ACK1=0,ACKCNT=0
  1. F S ACK1=$O(^ACK(509850.3,ACK1)) Q:'+ACK1 D
  1. . I '$D(^USR(8930.3,"B",ACK1)) D
  1. . . S XPDABORT=2
  1. . . S ACKCNT=ACKCNT+1
  1. . . S ACKNME=$$GET1^DIQ(200,ACK1,.01)
  1. . . I ACKNME="" S ACKNME="A&SP Staff memeber with IEN "_ACK1_" no longer has entry on file #200."
  1. . . D MES^XPDUTL(" "_ACKCNT_".) "_ACKNME)
  1. I $G(XPDABORT)=2 D
  1. . D BMES^XPDUTL("ERROR - It is a requirment of Quasar Version 3.0 that all existing A&SP")
  1. . D MES^XPDUTL("staff members be entered on the USR CLASS MEMBERSHIP (#8930.3) file.")
  1. . I ACKCNT=1 S ACKMSG="The 1 A&SP staff member listed above has not been entered on this file."
  1. . I ACKCNT'=1 S ACKMSG="The "_ACKCNT_" A&SP staff members listed above have not been entered on this file."
  1. . D MES^XPDUTL(ACKMSG)
  1. . D BMES^XPDUTL("This install will now abort. Only attempt to re-install when corrective action")
  1. . D MES^XPDUTL("has been taken.")
  1. Q