source: FOIAVistA/trunk/r/HINQ-DVB--DVBA--DVBE--DVBC/DVBHDEL.m@ 1397

Last change on this file since 1397 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 568 bytes
Line 
1DVBHDEL ;ALB/JLU - Deletetion routine for HINQ suspence file
2 ;;V4.0;HINQ;;03/25/92
3 ;
4EN ;entry point to this routine.
5 W !,"This option will delete an entry from the HINQ suspense file.",!
6 S DIC="^DVB(395.5,",DIC(0)="AEMQ"
7 F D ^DIC Q:Y'>0 D:+Y DEL
8EX K DIC,Y,DIK,DA,DVBT,%
9 Q
10 ;
11DEL S (DVBT,DA)=+Y,DIK="^DVB(395.5,"
12ASK W !!,"Is this the entry you want deleted? ",$P(^DPT(DVBT,0),U)
13 S %=2
14 D YN^DICN Q:%=2!(%=-1)
15 I %=0 W !!,"Yes to delete the entry or No to leave it in the suspense file." G ASK
16 D ^DIK
17 W !!,"Deletion completed on ",$P(^DPT(DVBT,0),U),!
18 Q
Note: See TracBrowser for help on using the repository browser.