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

MCPREDUP.m

Go to the documentation of this file.
  1. MCPREDUP ;WISC/JAH-MEDICINE PACKAGE PRE INIT TO RUN DUPLICATE CLEAN UP ;5/2/96 13:54
  1. ;;2.3;Medicine;;09/13/1996
  1. ;this routine checks to see if the user wants to run the duplicate
  1. ;clean up routines (MCDUP*) and displays some help.
  1. N MCCLEAN
  1. W @IOF
  1. S DIR(0)="Y"
  1. S DIR("A",1)="There may be duplicate entries in the Medicine Package's static files. "
  1. S DIR("A",2)="Answer 'YES' to check for duplicates and clean duplicates up."
  1. S DIR("A",4)=" This process will check the medicine static files for"
  1. S DIR("A",5)="duplicate entries. If duplicates exist you will be asked"
  1. S DIR("A",6)="if you want to clean them up. It is recommended that you"
  1. S DIR("A",7)="answer YES and run this section of the post-inits. Please"
  1. S DIR("A",8)="be ready to respond to prompts."
  1. S DIR("A",9)=" If you answer NO the installation WILL complete."
  1. S DIR("A",10)="However, duplicate entries may remain in the static files."
  1. S DIR("A",11)="You may run the duplicates clean up routines at any time"
  1. S DIR("A",12)="by running the routine MCPREDUP. Simply type D ^MCPREDUP at"
  1. S DIR("A",13)="the programmers prompt."
  1. S DIR("A",14)=" This process may take a considerable amount of time,"
  1. S DIR("A",15)="depending especially on the extent of duplicates at your site."
  1. S DIR("A")="Would you like to check them"
  1. S DIR("B")="Y"
  1. D ^DIR
  1. S MCCLEAN=Y K DIR,Y
  1. D:MCCLEAN=1 ^MCDUPE
  1. K MCCLEAN
  1. Q