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

XBVK.m

Go to the documentation of this file.
  1. XBVK ; IHS/ADC/GTH - LOCAL VARIABLE KILLER FRONT END ; [ 10/29/2002 7:42 AM ]
  1. ;;3.0;IHS/VA UTILITIES;**5,9**;FEB 07, 1997
  1. ; XB*3*5 IHS/ADC/GTH 10-31-97 Prevent INDIR on NT systems.
  1. ; XB*3*9 IHS/SET/GTH XB*3*9 10/29/2002 NT and Cache' mods.
  1. ;
  1. ; This is the front end for killing local variables in the
  1. ; namespaced parameter. Implementation specific routines
  1. ; are called from this routine. Those routines are in the
  1. ; ZIBVK* namespace.
  1. ;
  1. ; This routine is intended to be called by applications
  1. ; that are thru executing, in order to KILL any remaining
  1. ; namespaced local variables. E.g., D EN^XBVK("AG") will
  1. ; KILL any local variables that exist in the AG namespace.
  1. ;
  1. ; Notice that if called in background, and the OS is not
  1. ; supported, the routine will quit, unpleasantly. If your
  1. ; implementation is other than what is supported, below,
  1. ; and your vendor has implemented all Type A extensions to
  1. ; the 1990 ANSI M standard, you can safely remove the two
  1. ; lines that check for OS, and use the existing call to
  1. ; the MSM-specific routine.
  1. ;
  1. Q
  1. ;
  1. EN(XBVK) ;PEP - Kill vars in namespace of parameter variable.
  1. ;
  1. ; I '$L($T(@$P(^%ZOSF("OS"),"-",1))) W !,*7,"OPERATING SYSTEM '",$P(^%ZOSF("OS"),"-",1),"' NOT SUPPORTED." Q ; XB*3*5 IHS/ADC/GTH 10-31-97 Prevent INDIR on NT systems.
  1. ; I $P(^%ZOSF("OS"),"^",1)'["MSM" W !,*7,"OPERATING SYSTEM '",$P(^%ZOSF("OS"),"^",1),"' NOT SUPPORTED." Q ; XB*3*5 IHS/ADC/GTH 10-31-97 Prevent INDIR on NT systems. ; IHS/SET/GTH XB*3*9 10/29/2002
  1. I $P(^%ZOSF("OS"),"^",1)'["MSM",$P(^%ZOSF("OS"),"^",1)'["OpenM" W !,*7,"OPERATING SYSTEM '",$P(^%ZOSF("OS"),"^",1),"' NOT SUPPORTED." Q ; XB*3*5 IHS/ADC/GTH 10-31-97 Prevent INDIR on NT systems. ; IHS/SET/GTH XB*3*9 10/29/2002
  1. ; G @$P(^%ZOSF("OS"),"-",1) ; XB*3*5 IHS/ADC/GTH 10-31-97 Prevent INDIR on NT systems.
  1. I $P(^%ZOSF("OS"),"^",1)["OpenM" D EN^ZIBVKCA(XBVK) Q ; IHS/SET/GTH XB*3*9 10/29/2002
  1. ;
  1. MSM ; Micronetics Standard MUMPS.
  1. D EN^ZIBVKMSM(XBVK)
  1. Q
  1. ;