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

SD53P380.m

Go to the documentation of this file.
  1. SD53P380 ;ALB/JAM - Restricting Stop Code Phase II Post Install;12-Jan-05
  1. ;;5.3;Scheduling;**380**;Aug 13, 1993
  1. ;
  1. ;Routine adapted from routine IB20P210
  1. ;
  1. EN ;Recompile Input Templates
  1. N SDC,DMAX,SDMAX,SDN
  1. ;
  1. S SDMAX=$$ROUSIZE^DILF
  1. D MES^XPDUTL("Recompiling affected input template ...")
  1. F SDC=1:1 S SDN=$P($T(TMPL+SDC),";;",2) Q:SDN="" D COMP(SDN,SDMAX)
  1. D MES^XPDUTL("Completed compiling input template.")
  1. Q
  1. ;
  1. COMP(TNAME,DMAX) ; Compile the Input Template
  1. N SDIEN,SDRTN,X,Y
  1. ;find the ien of the input template
  1. S SDIEN=$O(^DIE("B",TNAME,0)) Q:'SDIEN
  1. ;
  1. ;quit if input template not compiled
  1. S SDRTN=$P($G(^DIE(SDIEN,"ROUOLD")),U) Q:SDRTN=""
  1. ;
  1. D MES^XPDUTL("Compiling "_TNAME_" , compiled routine is "_SDRTN_" ...")
  1. S X=SDRTN,Y=SDIEN
  1. D EN^DIEZ
  1. D MES^XPDUTL("done")
  1. D MES^XPDUTL("")
  1. Q
  1. ;
  1. TMPL ;
  1. ;;SDB
  1. ;;