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

PRCG147P.m

Go to the documentation of this file.
  1. PRCG147P ;VMP/RB-COPY INVALID FILE TO TEMP SAVE AREA
  1. ;;5.1;IFCAP;**147**;Sept 22, 2010;Build 3
  1. ;;Per VHA Directive 2004-038, this routine should not be modified.
  1. ; Post install routine in patch PRC*5.1*147 that will copy invalid file
  1. ; ^PRC(410,... to a temporary save file for 120 days.
  1. ;;
  1. Q
  1. START ;Copy invalid file ^PRC(410,... to temp save
  1. I $D(^XTMP("PRCG147P")) Q
  1. K ^XTMP("PRCG147P") D NOW^%DTC S RMSTART=%
  1. S ^XTMP("PRCG147P","START COMPILE")=RMSTART
  1. S ^XTMP("PRCG147P","END COMPILE")="RUNNING"
  1. S ^XTMP("PRCG147P",0)=$$FMADD^XLFDT(RMSTART,120)_"^"_RMSTART
  1. 1 M ^XTMP("PRCG147P","PRC",410)=^PRC(410)
  1. K ^PRC(410) ;KILL INVALID FILE, NOT DEFINED IN ^DD
  1. EXIT ;
  1. D NOW^%DTC S RMEND=%
  1. S ^XTMP("PRCG147P","END COMPILE")=RMEND
  1. K RMSTART,RMEND,%
  1. Q