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

PRC5C.m

Go to the documentation of this file.
  1. PRC5C ;WISC/PLT-IFCAP environment check routine defined in package file ;
  1. V ;;5.0;IFCAP;;4/21/95
  1. ;
  1. ;invoke by the environment check routine field of package file.
  1. EN ;called from routine prcinit/prc5ins1
  1. N PRCERR,PRCMSG
  1. S (PRCERR,PRCMSG)=""
  1. D EN^DDIOL("IFCAP ENVIRONMENT CHECK STARTS:")
  1. D ^PRC5INS1 ;check other package(s) installed
  1. D:PRCIVER<5
  1. . D EN^PRC5C1("FND") S:$G(PRCERR) PRCMSG=PRCMSG_"1^",PRCERR=""
  1. . D EN^PRC5C1("PCL") S:$G(PRCERR) PRCMSG=PRCMSG_"2^",PRCERR=""
  1. . D EN^PRC5C1("PAC") S:$G(PRCERR) PRCMSG=PRCMSG_"3^",PRCERR=""
  1. . D EN1^PRC5C1 S:$G(PRCERR) PRCMSG=PRCMSG_"5^",PRCERR=""
  1. . QUIT
  1. D:PRCIVER<5&PRCIVER
  1. . D EN^PRC5C1("CPF") S:$G(PRCERR) PRCMSG=PRCMSG_"4^",PRCERR=""
  1. . QUIT
  1. D EN2^PRC5C1 S:$G(PRCERR) PRCMSG=PRCMSG_"6^",PRCERR=""
  1. D EN^DDIOL("IFCAP PACKAGE ENVIRONMENT CHECK DONE!")
  1. EXIT I PRCMSG]"" D K DIFQ,PRC5INST
  1. . N A,B
  1. . D EN^DDIOL("IFCAP PACKAGE ENVIRONMENT CHECK FAILS:")
  1. . F A=1:1 S B=$P(PRCMSG,"^",A) Q:'B S B=$T(MSG+B) D EN^DDIOL($P(B,";",3,999))
  1. . QUIT
  1. QUIT
  1. ;
  1. MSG ;error message
  1. ;;Missing fms conversion doc 'FND'.
  1. ;;Missing fms conversion doc 'PCL'.
  1. ;;Missing fms conversion doc 'PAC'.
  1. ;;Missing fms conversion doc 'CPF'.
  1. ;;Distributed standard dictionaries were not preloded (check patch 'PRC*4*28')
  1. ;;Station is missing the FMS security code in file 411.
  1. ;
  1. ;