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

ACDWK.m

Go to the documentation of this file.
ACDWK ;IHS/ADC/EDE/KML - KILL VARIABLES;
 ;;4.1;CHEMICAL DEPENDENCY MIS;;MAY 11, 1998
 ;**********************************************************************
 ;//^ACDWDRV*, ^ACDWCD*, ^ACDWRP*, ^ACDWCD1 ^ACDWQ
 ;***********************************************************************
 ;
CHK ;See if no data was found on report and issue message
 I $D(ACDNW),'$D(^TMP("ACD",ACDJOB,ACDBT,ACDTGSUB,"VAL")) W !?17," ** NO DATA FOUND FOR THIS REPORT **"
 ;
RESET ;Go reset the ACDFAC, ACDAREA, ACDSU counters
 ;This is done after  each report i.e. each report comes here when done.
 D RESET^ACDWUTL
 ;
K ;Kill variables. Note some variables cannot be killed after each
 ;report but only after the WHOLE BATCH of reports has run. These
 ;variables are therefore killed in the driver routines ACDWDRV*
 ;after all reports are finished.
 ;
 K ACDTOB
 K ACDSAVG
 K ACDA1,ACDCOED,ACDNCNT,ACDVCNT,ACDPCHRS,ACDP4,ACDP5
 K ACDPG,ACDPROV,ACDDFN,ACDCOMC,ACDCOMCL,ACDCOMCS,ACDCOMT,ACDCOMTL,ACDCONT,ACDCONTL,ACDAGER,ACDTO,ACDFR,ACDDA,ACDPROBP,ACDPROBS,ACDCIT,ACDDUA,ACDDUD
 K ACDDT,ACDDH,ACDARR,ACDSS,ACDPS,ACDES,ACDSS,ACDCS,ACDBS,ACDPLAR,ACDPLAR1,ACDPLAA,ACDPLAA1,ACDDIF
 K ACD,ACDRTN,ACDNUM,ACDCLI,ACDP1,ACDP2,ACDDFN1,ACDSEX,ACDDFNP,ACDPL,ACDV,ACDAAR,ACDFOLMO,ACDCNT,ACDUNIQ,ACDDFNA,ACDTIME
 K ACDTRIB
 ;
END ;
 K ACDC,ACDDAP,ACDF,ACDGA,ACDID,ACDLP1,ACDO,ACDQUIT,ACDVD,ACDVP,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