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

AQAZPOST.m

Go to the documentation of this file.
  1. AQAZPOST ;IHS/ORDC/LJF - POST INIT; [ 05/05/93 3:15 PM ]
  1. ;;1.0;QA PATCHES;;29 APR 93
  1. ;
  1. TEMPLATE ; ** remove old print template from security key file
  1. S X=$O(^DIPT("B","AQAQSECURITY",0)) G FIND:X=""
  1. G FIND:$P($G(^DIPT(X,0)),U,4)'=19.1 ;wrong template
  1. S DA=X,DIK="^DIPT(" D ^DIK W !!,"Removing old print template . . .",!
  1. ;
  1. FIND ; ** find package entry
  1. K DIC S DIC=9.4,DIC(0)="",D="C",X="AQAZ" D IX^DIC
  1. G EXIT:Y<0
  1. ;
  1. DELETE ; ** delete entry from package file
  1. S DA=+Y,DIK="^DIC(9.4," D ^DIK
  1. ;
  1. EXIT ; ** eoj
  1. W !!,"UPDATE COMPLETE!",!
  1. K DIC,D,X,Y,DA,DIK Q