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

LBR25P12.m

Go to the documentation of this file.
  1. LBR25P12 ;ALB/MRY - Environment/Post-init ;[08/19/04 15:44 PM ]
  1. ;;2.5;Library;**12**;Mar 11, 1996
  1. EN ;
  1. S XPDABORT=""
  1. I '$G(DUZ)!($G(DUZ(0))'="@")!('$G(DT))!($G(U)'="^") D G ABRT
  1. . D BMES^XPDUTL("*****")
  1. . D MES^XPDUTL("Your programming variables are not set up properly.")
  1. . D MES^XPDUTL("Installation aborted.")
  1. ; Verify that Library v2.5 exists, else quit
  1. I +$$VERSION^XPDUTL("LBR")'="2.5" D G ABRT
  1. . D BMES^XPDUTL("*****")
  1. . D MES^XPDUTL("VERSION 2.5 OF LIBRARY HAS NOT BEEN LOADED.")
  1. . D MES^XPDUTL("Installation aborted.")
  1. W !!,">> Environment check complete and okay."
  1. Q
  1. ;
  1. ABRT ; Abort transport, but leave in ^XTMP.
  1. S ^XPDABORT=2 Q
  1. ;
  1. PRE ; Set 'NO' to COREFLS ACTIVE (#.1) in LIBRARY PARAMETERS (680.6) File.
  1. N SEQ,IEN,OUT,DA K OUT
  1. D LIST^DIC(680.6,"","@","","","","","","","","OUT")
  1. S SEQ=0 F S SEQ=$O(OUT("DILIST",2,SEQ)) Q:'SEQ D
  1. . S IEN=OUT("DILIST",2,SEQ)
  1. . S DA=IEN,DR=".1///NO",DIE="^LBRY(680.6," D ^DIE
  1. Q
  1. ;
  1. POST ;Post init - Disable Corefls option.
  1. N DIC,TEXT,COUNT
  1. S DIC="^DIC(19,",DIC(0)="X",COUNT=0
  1. F X="LBRY LOCAL VENDOR ADD","LBRY COREFLS CONVERSION" D
  1. . D ^DIC Q:Y<0 S COUNT=COUNT+1 D
  1. .. I COUNT=1 D BMES^XPDUTL("*****")
  1. .. D MES^XPDUTL("Putting ["_X_"] option - 'out of order'")
  1. .. S TEXT="CoreFLS Disabled (LBR*2.5*12)"
  1. .. D OUT^XPDMENU(X,TEXT)
  1. Q