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

LABCX7P.m

Go to the documentation of this file.
LABCX7P ; IHS/DIR/FJE - NYD-CLEVELAND ROUTINE TO PURGE "ACC" CROSS REFERENCE ;
 ;;5.2;LA;;NOV 01, 1997
 ;
 ;S %DT="AEPX",%DT("A")="Enter date to stop Purge: " D ^%DT Q:Y<0  S DATE=Y
 S %DT="",X="T-10" D ^%DT Q:Y<0  S DATE=Y ;MOD JPC (CHANGE #DAYS)
 S ANO="" F I=0:0 S ANO=$O(^LRO(68,"ACC",ANO)) Q:ANO=""  F AA=0:0 S AA=$O(^LRO(68,"ACC",ANO,AA)) Q:AA=""  D LOOP
 Q
LOOP F ADT=0:0 S ADT=$O(^LRO(68,"ACC",ANO,AA,ADT)) Q:ADT=""!(ADT'<DATE)  K ^LRO(68,"ACC",ANO,AA,ADT) ;W !,ANO,?20,ADT ;;MOD JPC 4/21/93 (DON'T PRINT)
 Q