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

XU8P432.m

Go to the documentation of this file.
  1. XU8P432 ;ISF/RWF - Patch XU*8*432 Post-init ;6/13/07 08:44
  1. ;;8.0;KERNEL;**432**;Jul 10, 1995;Build 3
  1. QUIT
  1. ;
  1. PRE ;Show if site has any
  1. N DA,CT
  1. S DA=0,CT=0
  1. F S DA=$O(^VA(200,DA)) Q:DA'>0 D:'$D(^VA(200,DA,0))
  1. . W !,"^VA(200,",DA,",0) is missing the zero node."
  1. . S CT=CT+1
  1. . Q
  1. I CT>0 W !!,"There are a total of ",CT," entries without zero nodes.",!,"The Post-Init will clean them up."
  1. W !,"Done"
  1. Q
  1. POST ;Clean-up any danging nodes in ^VA(200,DA,1.1) or ^VA(200,DA,203.1)
  1. N DA
  1. S DA=0
  1. F S DA=$O(^VA(200,DA)) Q:DA'>0 D:'$D(^VA(200,DA,0))
  1. . I $D(^VA(200,DA,1.1)) K ^VA(200,DA,1.1) W !,"^VA(200,",DA,",1.1) cleaned"
  1. . I $D(^VA(200,DA,203.1)) K ^VA(200,DA,203.1) W !,"^VA(200,",DA,",203.1) cleaned"
  1. . Q