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

GECSPOS1.m

Go to the documentation of this file.
  1. GECSPOS1 ;WISC/RFJ-version 2 GCS installation PIMS patch 5.3*47 ;30 Jun 92
  1. ;;2.0;GCS;;MAR 14, 1995
  1. Q
  1. ;
  1. ;
  1. PATCH ; install PIMS patch
  1. W !!,"==================== *** INSTALLING PIMS 5.3 PATCH 47 *** =================="
  1. W !,"Installing PIMS Patch DG*5.3*47, routine DGGECSB ..."
  1. NEW %,%N,X,DIF,XCNP,DIE,XCN,XCM
  1. K ^TMP($J,"GECSPOS1")
  1. S X="GECSDG" X ^%ZOSF("TEST") I '$T W !,"Cannot install PIMS patch DG*5.3*47",!,"routine GECSDG not found!",! Q
  1. S X="DGGECSB" X ^%ZOSF("TEST") I '$T D INST Q
  1. S DIF="^TMP($J,""DGGECSB"",",XCNP=0,X="DGGECSB" X ^%ZOSF("LOAD") I $P($G(^TMP($J,"GECSPOS1",2,0)),";",3)'="5.3" D INST
  1. Q
  1. INST ;Install update DGGECSB routine
  1. K ^TMP($J,"GECSPOS1")
  1. S DIF="^TMP($J,""GECSPOS1"",",XCNP=0,X="GECSDG" X ^%ZOSF("LOAD")
  1. S DIE="^TMP($J,""GECSPOS1"",",XCN=2,X="DGGECSB" X ^%ZOSF("SAVE")
  1. K ^TMP($J,"GECSPOS1")
  1. W " OK, DONE."
  1. Q