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

ZIBGD.m

Go to the documentation of this file.
  1. ZIBGD ; IHS/ADC/GTH - DIRECTORY OF SELECTED GLOBALS ; [ 12/29/2004 11:25 AM ]
  1. ;;3.0;IHS/VA UTILITIES;**9,10**;FEB 07, 1997
  1. ;XB*3*9 IHS/SET/GTH XB*3*9 10/29/2002 Cache' mods.
  1. ;
  1. ; This routine displays a selected range or sub-set
  1. ; of the global directory.
  1. ;
  1. ; Save, or copy, to the MGR uci as %ZIBGD, or %AZGD.
  1. ;
  1. ; Thanks to Don Enos, OHPRD, for the original routine.
  1. ;
  1. ; I $G(^%ZOSF("OS"))'["MSM" W $C(7),!,"Sorry....",!,"Operating System '",$P(^%ZOSF("OS"),"^",1),"' is not supported." Q ;IHS/SET/GTH XB*3*9 10/29/2002
  1. I $G(^%ZOSF("OS"))'["MSM",'($$VERSION^%ZOSV(1)["Cache") W $C(7),!,"Sorry....",!,"Operating System '",$P(^%ZOSF("OS"),"^",1),"' is not supported." Q ;IHS/SET/GTH XB*3*9 10/29/2002
  1. ;
  1. ;Begin New Code;IHS/SET/GTH XB*3*9 10/29/2002
  1. I $$VERSION^%ZOSV(1)["Cache" D CA Q
  1. ;End New Code;IHS/SET/GTH XB*3*9 10/29/2002
  1. MSM ; Micronetics
  1. D ^%GSEL
  1. G:%GSEL=0 MSMQ
  1. S %GSN=1
  1. D ^%GSEL2
  1. G MSM ;IHS/SET/GTH XB*3*9 10/29/2002
  1. MSMQ ;
  1. KILL %GN,%GSEL,%GSN,%GTEMP,%I,%J1
  1. Q
  1. ;
  1. ;Begin New Code;IHS/SET/GTH XB*3*9 10/29/2002
  1. CA ;
  1. ;D ^%GSET ;TASSC/MFD obsolete
  1. S %G=$$Select^%GSETNS ;TASSC/MFD new call
  1. G:%G=0 CAQ
  1. NEW ZIBI,ZIBNAM
  1. S ZIBNAM=""
  1. F ZIBI=0:1 S ZIBNAM=$O(^%utility($J,ZIBNAM)) Q:ZIBNAM="" W:'(ZIBI#8) ! W ZIBNAM_$J("",9-$L(ZIBNAM)) ;TASSC/MFD changed UTILITY to %utility for Cache
  1. W !,?5,ZIBI," Globals",!
  1. KILL ZIBI,ZIBNAM
  1. G CA
  1. ;
  1. CAQ ;
  1. K %G,%JO,NSPNAM
  1. Q
  1. ;End New Code;IHS/SET/GTH XB*3*9 10/29/2002