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

PSO126EN.m

Go to the documentation of this file.
  1. PSO126EN ;BIR/PW-ENVIRONMENTAL CHECK FOR PATCH 126 ;12/09/02
  1. ;;7.0;OUTPATIENT PHARMACY;**126**;DEC 1997
  1. CHK525 ;check for .01 holes in 52.5
  1. K XPDQUIT,PSXQUIT
  1. W !,"Checking the RX SUSPENSE file (#52.5) for entries with missing #.01 fields",! H 4
  1. S IEN=0 F I=0:1 W:'(I#100) "." S IEN=$O(^PS(52.5,IEN)) Q:IEN'>0 I +$G(^PS(52.5,IEN,0))'>0 S PSXQUIT=1 W !,IEN
  1. I $G(PSXQUIT) D
  1. . S XPDQUIT=1
  1. . W !!,"The RX SUSPENSE file (#52.5) has been found to have entries without a #.01 field."
  1. . W !,"Please call NVS to clear this problem."
  1. . K DIR S DIR(0)="E",DIR("A")="<CR> - to continue" D ^DIR K DIR
  1. I '$G(XPDQUIT) W !,"No problems with the file were found. Continuing with the installation.",! H 4
  1. Q