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

MASSETUQ.m

Go to the documentation of this file.
  1. MASSETUQ ;IHS/ADC/PDW/ENM subroutines for MAS Installation [ 03/25/1999 11:38 AM ]
  1. ;;5.0;MAS INSTALLATION
  1. ;; This routine carries components cut out of MASSETUP to comply
  1. ;; with routine size standards.
  1. DGPM5P1 ;EP
  1. ;
  1. S MAS1="MAS_INSTAL",MASI=7,MAS2="D ^DGPM5 part 1",MAS3="DGPM5P1"
  1. S ^XTMP(MAS1,MASI,MAS2,MAS3)=0
  1. K DIR S DIR(0)="E",DIR("A")="<CR> to Continue ""^"" to Exit" D ^DIR I Y'=1 G EXIT ;====>>
  1. W @IOF,?10,MAS2
  1. W !,"Ready to run ^DGPM5 part 1 .."
  1. K DIR S DIR(0)="E",DIR("A")="<CR> to Continue ""^"" to Exit" D ^DIR I Y'=1 G EXIT ;====>>
  1. D ^DGPM5
  1. K DIR S DIR(0)="Y",DIR("A")="Did DGMP5 part 1 complete properly ",DIR("B")="YES" D ^DIR
  1. I Y'=1 W !,"Exiting ..." G EXIT
  1. S ^XTMP(MAS1,MASI)=1
  1. ;
  1. DGPM5P2 ;EP
  1. ;
  1. S MAS1="MAS_INSTAL",MASI=8,MAS2="D ^DGPM5 part 2",MAS3="DGPM5P2"
  1. S ^XTMP(MAS1,MASI,MAS2,MAS3)=0
  1. W @IOF,?10,MAS2
  1. W !,"Ready to run ^DGPM5 part 2 .."
  1. K DIR S DIR(0)="E",DIR("A")="<CR> to Continue ""^"" to Exit" D ^DIR I Y'=1 G EXIT ;====>>
  1. D ^DGPM5
  1. K DIR S DIR(0)="Y",DIR("A")="Did DGMP5 part 2 complete properly ",DIR("B")="YES" D ^DIR
  1. I Y'=1 W !,"Exiting ..." G EXIT
  1. S ^XTMP(MAS1,MASI)=1
  1. K DIR S DIR(0)="E",DIR("A")="<CR> to Continue ""^"" to Exit" D ^DIR I Y'=1 G EXIT ;====>>
  1. ;
  1. DELINI ;EP delete routines
  1. S MAS1="MAS_INSTAL",MASI=9,MAS2="Delete Inits",MAS3="DELINI"
  1. S ^XTMP(MAS1,MASI,MAS2,MAS3)=0
  1. W @IOF,?10,MAS2
  1. W !,"Ready to Delete Inits .."
  1. K DIR S DIR(0)="E",DIR("A")="<CR> to Continue ""^"" to Exit" D ^DIR I Y'=1 G EXIT ;====>>
  1. K DIR
  1. K ^XTMP("ZIBRSEL",$J)
  1. S Z=$$RSEL^ZIBRSEL("DGINI-DGINIZZ") D DEL
  1. S Z=$$RSEL^ZIBRSEL("DGONI-DGONIZZ") D DEL
  1. S Z=$$RSEL^ZIBRSEL("DG5INI-DG5INIZZ") D DEL
  1. S Z=$$RSEL^ZIBRSEL("DGYP-DGYPZZZ") D DEL
  1. S Z=$$RSEL^ZIBRSEL("SDINI-SDINIZZZ") D DEL
  1. S Z=$$RSEL^ZIBRSEL("SDONI-SDONIZZZ") D DEL
  1. S Z=$$RSEL^ZIBRSEL("ORINI-ORINIZZZ") D DEL
  1. S Z=$$RSEL^ZIBRSEL("DPTIN-DPTINZZZ") D DEL
  1. K ^XTMP("ZIBRSEL",$J)
  1. K DIR S DIR(0)="Y",DIR("A")="Did the deletion of the inits complete properly ",DIR("B")="YES" D ^DIR
  1. S ^XTMP(MAS1,MASI)=1
  1. ;
  1. G FINISH^MASSETUP ;===>>>
  1. ;
  1. DEL ;;EP
  1. D DEL^MASSETUP
  1. Q
  1. EXIT ;EP
  1. G EXIT^MASSETUP