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

SD53P209.m

Go to the documentation of this file.
  1. SD53P209 ;ALB/JLU;Patch 209 version control ; 1/12/00
  1. ;;5.3;Scheduling;**209,1015**;JAN 12, 2000;Build 21
  1. ;
  1. POST ;this is the entry point for the post init. It will add the necessary
  1. ;version info to files 404.45 and 404.46.
  1. ;
  1. ;I $D(^SCTM(404.45,"B",
  1. N SC1,SC1IEN,SC1ERR
  1. S SC1(1,404.46,"?+1,",.01)="1.2.1.0" ;client version
  1. S SC1(1,404.46,"?+1,",.02)=1 ;active?
  1. S SC1(1,404.46,"?+1,",.03)=DT ;today
  1. D UPDATE^DIE("","SC1(1)","SC1IEN","SC1ERR")
  1. I $D(SC1ERR)!(+$G(SC1IEN(1))<0) DO G ENQ
  1. .D BMES^XPDUTL("******")
  1. .D MES^XPDUTL("Unable to log 1.2.1.0 as a new client.")
  1. .D MES^XPDUTL("******")
  1. .Q
  1. D BMES^XPDUTL("Client log updated!")
  1. ;
  1. ;update server file
  1. N SC2,SC2IEN,SC2ERR
  1. S SC2(1,404.45,"?+1,",.01)="SD*5.3*209" ;server version
  1. S SC2(1,404.45,"?+1,",.02)=SC1IEN(1) ;ptr - client version
  1. S SC2(1,404.45,"?+1,",.03)=DT ;today
  1. S SC2(1,404.45,"?+1,",.04)=1 ;active?
  1. D UPDATE^DIE("","SC2(1)","SC2IEN","SC2ERR")
  1. I $D(SC2ERR)!(+$G(SC2IEN(1))<0) DO G ENQ
  1. .D BMES^XPDUTL("******")
  1. .D MES^XPDUTL("Unable to log SD*5.3*209 as a new PCMM server.")
  1. .D MES^XPDUTL("******")
  1. .Q
  1. D BMES^XPDUTL("Server log updated!")
  1. ;
  1. ENQ Q
  1. ;