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

ENY2K8.m

Go to the documentation of this file.
  1. ENY2K8 ;(WIRMFO)/DH-Equipment Y2K Report (Overwrite?) ;5.7.98
  1. ;;7.0;ENGINEERING;**51**;August 17, 1993
  1. OVERWRT ; ask user what to do with existing entries
  1. W !!,"Of these "_COUNT_" equipment records, "_COUNT("PRE")_" already have a Y2K CATEGORY."
  1. I COUNT("FC") W !,?10,COUNT("FC")_" are FULLY COMPLIANT."
  1. I COUNT("NC") W !,?10,COUNT("NC")_" are NON-COMPLIANT."
  1. I COUNT("CC") W !,?10,COUNT("CC")_" are CONDITIONALLY COMPLIANT."
  1. I COUNT("NA") W !,?10,COUNT("NA")_" are NOT APPLICABLE."
  1. W ! S DIR(0)="Y",DIR("A")="Do you want to OVERWRITE these existing equipment records",DIR("B")="NO"
  1. D ^DIR K DIR I $D(DIRUT) S ESCAPE=1 Q
  1. D:'Y
  1. . F J="FC","NC","CC","NA" S DA=0 F S DA=$O(^TMP($J,J,DA)) Q:'DA K ^TMP($J,DA)
  1. . F J="FC","NC","CC","NA" K ^TMP($J,J)
  1. I '$D(^TMP($J)) S ESCAPE=1
  1. Q
  1. ;ENY2K8