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

XU8P582.m

Go to the documentation of this file.
  1. XU8P582 ;BP-OAK/BT - Error Trap Summary Utilities ;08/02/2011
  1. ;;8.0;KERNEL;**582**;Jul 10, 1995;Build 6
  1. ;Per VHA Directive 2004-038, this routine should not be modified.
  1. Q
  1. POST ;Post-init for patch XU*8*582
  1. N FDA,XU582
  1. S XU582=+$P($G(^XTV(8989.3,1,"ZTER")),"^",1)
  1. I XU582=10 S FDA(8989.3,"1,",520.1)=100 D FILE^DIE("","FDA")
  1. D GETXUIEN ; Update Descption for the option XUERTRP AUTO CLEAN
  1. D PATCH^ZTMGRSET(582)
  1. Q
  1. ;
  1. GETXUIEN ; get IEN of the option XUERTRP AUTO CLEAN
  1. N XUIEN S XUIEN=$$FIND1^DIC(19,"","MX","XUERTRP AUTO CLEAN","","","ERR")
  1. I XUIEN'>0 Q
  1. D DEF1(XUIEN) ; Update Description for the option XUERTRP AUTO CLEAN
  1. Q
  1. ;
  1. DEF1(XUIEN) ; Update TEXT Description for an option
  1. N XUI1,XUDATA,XUY
  1. K ^TMP($J,"XUBA")
  1. F XUY=1:1:4 S XUDATA=$T(TEXT+XUY) Q:XUDATA=" ;;END" D
  1. . S ^TMP($J,"XUBA",XUIEN,XUY,0)=$P(XUDATA,";;",2)
  1. S XUI1=XUIEN_","
  1. D WP^DIE(19,XUI1,3.5,"K","^TMP($J,""XUBA"",XUIEN)")
  1. K ^TMP($J,"XUBA")
  1. Q
  1. ;
  1. TEXT ;
  1. ;;This is a queueable option to clean up the error trap. This option will
  1. ;;clean-up any errors that were recorded more than a number of days ago. The
  1. ;;number of days is defined on the KEEP ERROR TRAP field (#520.3) in the KERNEL
  1. ;;SYSTEM PARAMETERS file (#8989.3). The default is 7 if the field is blank.
  1. ;;END