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

GMV44PST.m

Go to the documentation of this file.
  1. GMV44PST ;HIOFO/FT - FIX PARAMETER SETTINGS ;Dec 11, 2020@12:51:33
  1. ;;5.0;GEN. MED. REC. - VITALS;**44**;Oct 31, 2002;Build 2
  1. ;;Per VA Directive 6402, this routine should not be modified.
  1. ;
  1. Q
  1. ; This routine uses the following IAs:
  1. ; #10141 - MES^XPDUTL Kernel (supported)
  1. ; #2263 - ^XPAR (Supported)
  1. ;
  1. EN ; main entry point
  1. D XPAR
  1. Q
  1. XPAR ; Update the GUI version parameters. This subroutine is called during the
  1. ; KIDS installation process.
  1. ;
  1. ; Variables:
  1. ; GMV: [Private] Scratch
  1. ; GMVGUI: [Private] Current version of GUI being installed
  1. ; GMVLST: [Private] Scratch List
  1. ;
  1. ; NEW private variables
  1. N GMV,GMVGUI,GMVMGUI,GMVDLL,GMVLST,GMVERR,GMVHLP
  1. ; Announce my intentions
  1. D BMES^XPDUTL("Updating system parameters.")
  1. ; Set current client version
  1. S GMVGUI="5.0.44.1"
  1. S GMVMGUI="5.0.38.3"
  1. S GMVDLL="5.0.44.1"
  1. S GMVHLP="your ITOPS support"
  1. ; Deactivate all previous versions of the Standalone and Manager from XPAR
  1. D GETLST^XPAR(.GMVLST,"SYS","GMV GUI VERSION")
  1. F GMV=0:0 S GMV=$O(GMVLST(GMV)) Q:'GMV D
  1. . D EN^XPAR("SYS","GMV GUI VERSION",$P(GMVLST(GMV),"^",1),0)
  1. . Q
  1. ; Deactivate all previous versions of the DLL from XPAR
  1. D GETLST^XPAR(.GMVLST,"SYS","GMV DLL VERSION")
  1. F GMV=0:0 S GMV=$O(GMVLST(GMV)) Q:'GMV D
  1. . D EN^XPAR("SYS","GMV DLL VERSION",$P(GMVLST(GMV),"^",1),0)
  1. . Q
  1. ; Add and/or activate current client versions
  1. D EN^XPAR("SYS","GMV GUI VERSION","VITALS.EXE:"_GMVGUI,1)
  1. D EN^XPAR("SYS","GMV DLL VERSION",GMVDLL,1)
  1. D EN^XPAR("SYS","GMV GUI VERSION","VITALSMANAGER.EXE:"_GMVMGUI,1)
  1. ;Update the help text
  1. D EN^XPAR("SYS","GMV HELP DESK TEXT",GMVHLP,1)
  1. D BMES^XPDUTL(" GMRV*5.0*44 Post Install complete")
  1. Q