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

ACGPOST.m

Go to the documentation of this file.
ACGPOST ;IHS/OIRM/DSD/AEF - POSTINSTALL ROUTINE [ 03/10/2000  9:08 AM ]
 ;;2.0t1;CONTRACT INFORMATION SYSTEM;;FEB 16, 2000
 ;
EN ;EP -- MAIN ENTRY POINT
 ;
 D PTEMP
 Q
PTEMP ;----- COMPILE PRINT TEMPLATES
 ;
 ;      X    = ROUTINE FOR COMPILED TEMPLATE
 ;      Y    = COMPILED TEMPLATE IEN
 ;      DMAX = COMPILED ROUTINE SIZE
 ;      TEMP = TEMPLATE NAME
 ;
 N X,Y,DMAX,TEMP
 D BMES^XPDUTL("Compiling PRINT TEMPLATES...")
 S TEMP="ACG"
 F  S TEMP=$O(^DIPT("B",TEMP)) Q:TEMP']""  Q:$E(TEMP,1,3)'="ACG"  D
 . S Y=$O(^DIPT("B",TEMP,0))
 . Q:'Y
 . S X=$G(^DIPT(Y,"ROU"))
 . S X=$TR(X,"^","")
 . Q:X']""
 . S DMAX=$$ROUSIZE^DILF
 . D EN^DIPZ
 D BMES^XPDUTL("DONE!")
 Q