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

XTINOK.m

Go to the documentation of this file.
  1. XTINOK ;SFISC/RWF - CHECK TO SEE IF OK TO LOAD ;02/13/95 16:16
  1. ;;7.3;TOOLKIT;;Apr 25, 1995
  1. A I $S($D(DUZ)[0:1,$D(DUZ(0))[0:1,'DUZ:1,1:0) W !!,*7,">> DUZ and DUZ(0) must be defined as an active user to initialize." G BAD
  1. I DUZ(0)'="@" W *7,!!,">> You must have programmer access (DUZ(0)=@) to run this init." G BAD
  1. W !,"I'm checking to see if it is OK to install Toolkit v",$P($T(+2),";",3),!," in this account.",!
  1. S %=$$VERSION^XPDUTL("XU") G:%<7.1 OLD
  1. OK ;
  1. W !!,"Everything looks OK, Lets continue.",!
  1. X "S DTIME=84000" K XUINTIME S XUINTIME(1)=$H
  1. N DA,DIC,DIE,DR
  1. S DIC="^DIC(9.4,",DIC(0)="X",X="DHCP Software Tools" D ^DIC
  1. I Y>0 S DA=+Y,DIE=DIC,DR=".01///^S X=""TOOLKIT""" D ^DIE
  1. Q
  1. OLD W !!,*7,"It looks like you currently have version ",%," of KERNEL installed."
  1. W !,*7,"You must first install KERNEL V7.1 before this version can be installed.",!
  1. BAD K DIFQ Q