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

ZTMGRS11.m

Go to the documentation of this file.
ZTMGRS11 ;SF/RWF SET UP THE MGR ACCOUNT FOR THE SYSTEM ;09/10/2002  17:13 [ 03/17/2005  11:45 AM ]
 ;;8.0;KERNEL;**1011**;Jul 10, 1995
 Q
RELOAD ;Reload any patched routines
 N %D,%S,I,OSMAX,U,X,X1,X2,Y,Z1,Z2,ZTOS,ZTMODE,SCR
 I ^%ZOSF("OS")["MSM" S ZTOS=1
 I ^%ZOSF("OS")["OpenM" S ZTOS=2
 I '$G(ZTOS) D  Q
 .W !,"Operating system not found or not supported.",!
 W !!,"Kernel version 8.0 patch #1011",!,"Renaming routines"
 S SCR="I $P($T(+2^@X),"";"",5)=ZPCHL"
 D @ZTOS
 W !,"ALL DONE"
 Q
 ;
1 ;;MSM-PC/PLUS, MSM for NT or UNIX
 S %S(1)="ZISTCP^**36,34,59,69,118,225,1011**"
 D MOVE
 Q
2 ;;OpenM-NT, Cache/NT, Cache/VMS
 S %S(1)="ZISTCP^**36,34,59,69,118,225,1011**"
 S %S(2)="ZISHONT^**34,65,84,104,1011**"
 S %S(3)="ZISFONT^**34,191,271,1010,1011**"
 D MOVE
 Q
MOVE ;
 S I=0
 F  S I=$O(%S(I)) Q:'I  D
 .S X=$P(%S(I),"^",1)
 .S ZPCHL=$P(%S(I),"^",2)
 .S Y=$T(^@X)
 .S Y=$P(Y," ",1)
 .W !,"Routine: ",X
 .Q:'(X]"")
 .Q:'(Y]"")
 .Q:'($T(^@X)]"")
 .X SCR Q:'$T
 .W ?20,"  Loaded, "
 .X "ZL @X ZS @Y"
 .W ?20,"Saved as ",Y
 Q