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

ABPVPRE1.m

Go to the documentation of this file.
  1. ABPVPRE1 ;PRE-PRE-INITIALIZATION TASKS; [ 05/31/91 12:15 PM ]
  1. ;;2.0;FACILITY PVT-INS TRACKING;*0*;IHS-OKC/KJR;AUGUST 7, 1991
  1. ;---------------------------------------------------------------------
  1. ACTIONS ;PROCEDURE TO REMOVE CURRENT OPTION ENTRY & EXIT ACTIONS
  1. W !!,"Preparing the current options for updating..."
  1. S ABPVR="ABPV" F I=0:0 D Q:$E(ABPVR,1,4)'="ABPV"
  1. .S ABPVR=$O(^DIC(19,"B",ABPVR)) Q:$E(ABPVR,1,4)'="ABPV"
  1. .S ABPVRR=0 F J=0:0 D Q:+ABPVRR=0
  1. ..S ABPVRR=$O(^DIC(19,"B",ABPVR,ABPVRR)) Q:+ABPVRR=0
  1. ..K ^DIC(19,ABPVRR,15),^DIC(19,ABPVRR,20)
  1. W "done!"
  1. ;---------------------------------------------------------------------
  1. INPUT ;PROCEDURE TO DELETE ALL CURRENT PACKAGE INPUT TEMPLATES
  1. W !,"Deleting the current input templates..."
  1. S ABPVR="ABPV" F I=0:0 D Q:$E(ABPVR,1,4)'="ABPV"
  1. .S ABPVR=$O(^DIE("B",ABPVR)) Q:$E(ABPVR,1,4)'="ABPV"
  1. .S ABPVRR=0 F J=0:0 D Q:+ABPVRR=0
  1. ..S ABPVRR=$O(^DIE("B",ABPVR,ABPVRR)) Q:+ABPVRR=0
  1. ..K DIK,DA S DIK="^DIE(",DA=ABPVRR D ^DIK W "."
  1. W "done!"
  1. ;---------------------------------------------------------------------
  1. SORT ;PROCEDURE TO DELETE ALL CURRENT PACKAGE SORT TEMPLATES
  1. W !,"Deleting the current sort templates..."
  1. S ABPVR="ABPV" F I=0:0 D Q:$E(ABPVR,1,4)'="ABPV"
  1. .S ABPVR=$O(^DIBT("B",ABPVR)) Q:$E(ABPVR,1,4)'="ABPV"
  1. .S ABPVRR=0 F J=0:0 D Q:+ABPVRR=0
  1. ..S ABPVRR=$O(^DIBT("B",ABPVR,ABPVRR)) Q:+ABPVRR=0
  1. ..K DIK,DA S DIK="^DIBT(",DA=ABPVRR D ^DIK W "."
  1. W "done!"
  1. ;---------------------------------------------------------------------
  1. PRINT ;PROCEDURE TO DELETE ALL CURRENT PACKAGE PRINT TEMPLATES
  1. W !,"Deleting the current print templates..."
  1. S ABPVR="ABPV" F I=0:0 D Q:$E(ABPVR,1,4)'="ABPV"
  1. .S ABPVR=$O(^DIPT("B",ABPVR)) Q:$E(ABPVR,1,4)'="ABPV"
  1. .S ABPVRR=0 F J=0:0 D Q:+ABPVRR=0
  1. ..S ABPVRR=$O(^DIPT("B",ABPVR,ABPVRR)) Q:+ABPVRR=0
  1. ..K DIK,DA S DIK="^DIPT(",DA=ABPVRR D ^DIK W "."
  1. W "done!"
  1. ;---------------------------------------------------------------------
  1. D ^ABPVPREI
  1. Q