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

SD53P231.m

Go to the documentation of this file.
  1. SD53P231 ;ALB/RBS - Patch SD*5.3*231 Install Utility Routine ; 5/15/01 11:11am
  1. ;;5.3;Scheduling;**231,1015**;AUG 13, 1993;Build 21
  1. ;
  1. ;
  1. ENV ;Main entry point for Environment check point.
  1. ;
  1. S XPDABORT=""
  1. D PROGCHK(.XPDABORT) ;checks programmer variables
  1. D PARMCHK(.XPDABORT) ;checks param file ien exists
  1. I XPDABORT="" K XPDABORT
  1. Q
  1. ;
  1. PRE ;Main entry point for Pre-init items.
  1. ;
  1. Q
  1. ;
  1. POST ;Main entry point for Post-init items.
  1. ;
  1. D POST1 ;Update Client/Server files
  1. Q
  1. ;
  1. PROGCHK(XPDABORT) ;checks for necessary programmer variables
  1. ;
  1. I '$G(DUZ)!($G(DUZ(0))'="@")!('$G(DT))!($G(U)'="^") D
  1. .D BMES^XPDUTL("*****")
  1. .D MES^XPDUTL("Your programming variables are not set up properly.")
  1. .D MES^XPDUTL("Installation aborted.")
  1. .D MES^XPDUTL("*****")
  1. .S XPDABORT=2
  1. Q
  1. ;
  1. PARMCHK(XPDABORT) ;checks for proper param file ien
  1. ;
  1. I '$D(^SCTM(404.44,1)) D
  1. .D BMES^XPDUTL("*****")
  1. .D MES^XPDUTL("Parameter file (#404.44) does not have proper IEN (1).")
  1. .D MES^XPDUTL("Installation aborted.")
  1. .D MES^XPDUTL("*****")
  1. .S XPDABORT=2
  1. Q
  1. ;
  1. POST1 ;Update client/server files.
  1. ;
  1. I $$UPCLNLST^SCMCUT("SD*5.3*231^NullClient^1^0^0") D Q
  1. .D MES^XPDUTL("Client/Server files updated.")
  1. ;
  1. D MES^XPDUTL("Client/Server files NOT updated.")
  1. Q