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

ACDWRP2.m

Go to the documentation of this file.
ACDWRP2 ;IHS/ADC/EDE/KML - REPORT GENERATOR;
 ;;4.1;CHEMICAL DEPENDENCY MIS;;MAY 11, 1998
 ;Reports 200,201,203
 I '$D(^TMP("ACD",ACDJOB,ACDBT,ACDTGSUB,"VAL")) D ^ACDWK Q
 S ACDTOT=0
 D C
 S ACDP1=""
 F ACDPL=0:0 S ACDP1=$O(^TMP("ACD",ACDJOB,ACDBT,ACDTGSUB,"VAL",ACDP1)) Q:ACDP1=""  W !,ACDP1,?65,^(ACDP1),! S ACDTOT=ACDTOT+^(ACDP1)
 W !?65,"=======",!?65,ACDTOT
 D ^ACDWK
 Q
F ;Form feed
 I $Y+4>IOSL D F^ACDWUTL,C
 Q
C ;Columns
 W !!,ACDC(1),?65,ACDC(2),!,ACDH(1)