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

LRCAPMA.m

Go to the documentation of this file.
LRCAPMA ;SLC/AM/DALISC/FHS/J0  -  WKLD REPORT BY MAJOR SECTION; 2/6/91@16:04
 ;;5.2;LAB SERVICE;**322**;Sep 27, 1994
EN ;
 ; GET THE PARAMETERS
 S (LRSUMM,LREND)=0,LRNDFN="UNDEFINED"
 D ASKCOM^LRCAPMR2
 D ^LRCAPMR
 I 'LREND D
 . I IO'=IO(0) D LOAD Q
 . D DQ
 D CLEAN
 Q
DQ ;
 K ^TMP("LR-WL",$J)
 S (LREND,LRLOOP,LRBLDONE)=0
 S (LRCGT,LRIGT,LROGT,LRNGT)=0
 I $D(ZTQUEUED) S ZTREQ="@"
 I 'LRIN S LRLOOP=1
 D EN^LRCAPMA1
 D EN^LRCAPMA2
 D:$D(ZTQUEUED) CLEAN
 Q
LOAD ;
 S ZTDESC="WKLD STATS BY MAJ SEC REP"
 S ZTRTN="DQ^LRCAPMA",ZTSAVE("LR*")=""
 D ^%ZTLOAD
 Q
CLEAN ;
 D ^%ZISC,PRTCLN^LRCAPU,WKLDCLN^LRCAPU,CLNMAN^LRCAPMR1
 K ^TMP("LR-WL",$J)
 K LRANS,LRCC,LRCDT,LRCTM,LRCW,LRCGT,LRIGT,LROGT,LRNGT,LRQC,LRRPT,LRST
 K LRTC,LRMA,LRMAN,LRLSS,LRLSSN,LRUC,LRX,LRTSN,LRPAG,LRBLDONE,LRGETIN
 K LRGT,LRSTD,LRX1,LRX2,LRAGT,LRGTOTS,LRSUMM,LRNDFN,LRAA,LRTYP,LRZTSK
 K LREND,LRIN,LRINN,LRCDTB,LRCTMB,LRDT1,LRCDTE,LRCTME,LRDT2,LRLOOP,LRLAB
 K LRGTREC,LRREC,LRMAA,LRLSSA,LRLDIV,LRAPICGT,LRAPIIGT,LRAPINGT,LRAPIOGT
 K LRCPICGT,LRCPI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