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

AQAOYP2.m

Go to the documentation of this file.
  1. AQAOYP2 ; IHS/ORDC/LJF - PATCH #2 DRIVER ;
  1. ;;1.01;QAI MANAGEMENT;;OCT 05, 1995
  1. ;
  1. W !!?20,"QAI PATCH 2 DRIVER"
  1. W !! K DIR S DIR(0)="Y",DIR("B")="NO"
  1. S DIR("A")="Are you READY to proceed with this update"
  1. D ^DIR G EXIT:Y'=1
  1. ;
  1. START ; -- Start of process to install patch #2
  1. ; -- install 2 print templates & 1 input template
  1. W !!,"First I need to run an init to install 3 templates:"
  1. W !?5,"Print templates: AQAO ACTION LIST"
  1. W !?5," AQAO FINDINGS LIST"
  1. W !?5,"Input template: AQAO RATE REVIEW"
  1. W !,"And to install Help Frames detailing patches",!!
  1. D ^AQAXINIT
  1. ;
  1. ; -- delete temp entry in package file
  1. W !!,"I will now delete the temporary entry in the PACKAGE file"
  1. W !,"used to install these templates and help frames. . ."
  1. S DA=$O(^DIC(9.4,"C","AQAX",0)) I DA="" W !,"No entry to DELETE!!"
  1. I DA]"" S DIK="^DIC(9.4," D ^DIK W !,"Entry DELETED.",!
  1. K DA,DIK
  1. ;
  1. ; -- update entry/exit actions for 2 options
  1. D CUMP2
  1. ;
  1. ;
  1. EXIT ; -- eoj
  1. Q
  1. ;
  1. CUMP2 ;EP -- to be called by future patches
  1. ; -edit entry & exit actions for 2 options
  1. W !,"I will now update the Entry & Exit Actions for options:"
  1. W !?5,"AQAO PKGLIST ACTION & AQAO PKGLIST FINDINGS"
  1. F AQAXI="AQAO PKGLIST ACTION","AQAO PKGLIST FINDINGS" D
  1. . S DA=$O(^DIC(19,"B",AQAXI,0)) Q:DA=""
  1. . S DIE=19,DR="20///S AQAOINAC="""";15///K AQAOINAC D PRTOPT^AQAOVAR"
  1. . D ^DIE
  1. K AQAXI,DA,DIE,DR W !,"Options UPDATED.",!
  1. Q