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

IBYHPRE.m

Go to the documentation of this file.
  1. IBYHPRE ;ALB/TMP - PATCH IB*2*43 ENVIRONMENT CHECK ; 21-AUG-95
  1. ;;Version 2.0 ; INTEGRATED BILLING ;**43**; 21-MAR-94
  1. ;
  1. D DUZ
  1. D P6:$D(DIFQ),P8:$D(DIFQ),P13:$D(DIFQ),P23:$D(DIFQ),P40:$D(DIFQ),P45:$D(DIFQ)
  1. ; (Assume patch 28 is there if patch 40 is)
  1. Q
  1. ;
  1. ;
  1. DUZ ; Check to see if a valid user is defined and that DUZ(0)="@"
  1. N X S X=$O(^VA(200,+$G(DUZ),0)) W !
  1. I X']""!($G(DUZ(0))'="@") D
  1. .W !!?3,"The variable DUZ must be set to a valid entry in the NEW PERSON file"
  1. .W !?3,"and the variable DUZ(0) must equal ""@"" before you continue!"
  1. .K DIFQ
  1. Q
  1. ;
  1. P6 ; Make sure IB 2.0 patch 6 is installed.
  1. N X
  1. S X=$T(+2^IBCOIVM)
  1. I X'["**6" D
  1. .W !!?3,"Patch IB*2*6 does not appear to be installed! Please"
  1. .W !?3,"install this patch and then re-run this initialization."
  1. .K DIFQ
  1. Q
  1. P8 ; Make sure IB 2.0 patch 8 is installed.
  1. N X
  1. S X=$T(+2^IBCU5)
  1. I X'["**8" D
  1. .W !!?3,"Patch IB*2*8 does not appear to be installed! Please"
  1. .W !?3,"install this patch and then re-run this initialization."
  1. .K DIFQ
  1. Q
  1. P13 ; Make sure IB 2.0 patch 13 is installed.
  1. N X
  1. S X=$T(+2^IBTRKR3)
  1. I X'["**13" D
  1. .W !!?3,"Patch IB*2*13 does not appear to be installed! Please"
  1. .W !?3,"install this patch and then re-run this initialization."
  1. .K DIFQ
  1. Q
  1. P23 ; Make sure IB 2.0 patch 23 is installed.
  1. N X
  1. S X=$T(+2^IBTRKR)
  1. I X'["**23" D
  1. .W !!?3,"Patch IB*2*23 does not appear to be installed! Please"
  1. .W !?3,"install this patch and then re-run this initialization."
  1. .K DIFQ
  1. Q
  1. P40 ; Make sure IB 2.0 patch 40 is installed.
  1. N X
  1. S X=$T(+2^IBAFIL)
  1. I X'["**40" D
  1. .W !!?3,"Patch IB*2*40 does not appear to be installed! Please"
  1. .W !?3,"install this patch and then re-run this initialization."
  1. .K DIFQ
  1. Q
  1. P45 ; Make sure IB 2.0 patch 45 is installed.
  1. N X
  1. S X=$T(+2^IBTRKR)
  1. I X'["45**" D
  1. .W !!?3,"Patch IB*2*45 does not appear to be installed! Please"
  1. .W !?3,"install this patch and then re-run this initialization."
  1. .K DIFQ
  1. Q