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

DVBHDEL.m

Go to the documentation of this file.
  1. DVBHDEL ;ALB/JLU - Deletetion routine for HINQ suspence file
  1. ;;V4.0;HINQ;;03/25/92
  1. ;
  1. EN ;entry point to this routine.
  1. W !,"This option will delete an entry from the HINQ suspense file.",!
  1. S DIC="^DVB(395.5,",DIC(0)="AEMQ"
  1. F D ^DIC Q:Y'>0 D:+Y DEL
  1. EX K DIC,Y,DIK,DA,DVBT,%
  1. Q
  1. ;
  1. DEL S (DVBT,DA)=+Y,DIK="^DVB(395.5,"
  1. ASK W !!,"Is this the entry you want deleted? ",$P(^DPT(DVBT,0),U)
  1. S %=2
  1. D YN^DICN Q:%=2!(%=-1)
  1. I %=0 W !!,"Yes to delete the entry or No to leave it in the suspense file." G ASK
  1. D ^DIK
  1. W !!,"Deletion completed on ",$P(^DPT(DVBT,0),U),!
  1. Q