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

IB20PT8.m

Go to the documentation of this file.
  1. IB20PT8 ;ALB/MJK/CPM - CONDITIONALLY EXPORT ROUTINES ; 14-FEB-94
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. ;
  1. ;
  1. EXPORT ; Conditionally installs other package routines
  1. N DIE,DIF,X,XCN,XCNP,IBTO,IBFR,IBI,IBX
  1. W !!,">>> Loading routines of other packages, if appropriate..."
  1. F IBI=1:1 S IBX=$T(ROU+IBI) Q:$P(IBX,";",3)="$END" D
  1. .S IBTO=$P(IBX,";",3),IBFR=$P(IBX,";",4) D LOAD(IBTO) D
  1. ..S X=$G(^UTILITY("IBLOAD",$J,2,0)) X $P(IBX,";",5)
  1. ..I $T D INSTALL(IBTO,IBFR)
  1. K ^UTILITY("IBLOAD",$J)
  1. EXPORTQ Q
  1. ;
  1. LOAD(IBTO) ; -- load current routine
  1. K ^UTILITY("IBLOAD",$J)
  1. S X=IBTO X ^%ZOSF("TEST")
  1. I $T S XCNP=0,DIF="^UTILITY(""IBLOAD"",$J," X ^%ZOSF("LOAD")
  1. Q
  1. ;
  1. INSTALL(IBTO,IBFR) ; -- install routine
  1. K ^UTILITY("IBLOAD",$J)
  1. W !," >> Installing ",IBTO," routine from ",IBFR," routine... "
  1. S X=IBFR,XCNP=0,DIF="^UTILITY(""IBLOAD"",$J," X ^%ZOSF("LOAD")
  1. S X=IBTO,XCN=3,DIE="^UTILITY(""IBLOAD"",$J," X ^%ZOSF("SAVE")
  1. K ^UTILITY("IBLOAD",$J)
  1. W IBTO," filed."
  1. Q
  1. ;
  1. ROU ; -- routines to export
  1. ;;DGBLRV;IB20PT81;I $S(X="":1,1:X["5.3"),X'["*26",X'[",26"
  1. ;;DGPTF;IB20PT82;I $S(X="":1,1:X["5.3"),X'["*26",X'[",26"
  1. ;;DGPTTS;IB20PT83;I $S(X="":1,1:X["5.3"),X'["*26",X'[",26"
  1. ;;DGPTTS1;IB20PT84;I $S(X="":1,1:X["5.3"),X'["*26",X'[",26"
  1. ;;DGPTTS3;IB20PT85;I $S(X="":1,1:X["5.3"),X'["*26",X'[",26"
  1. ;;DGPTUTL;IB20PT86;I $S(X="":1,1:X["5.3"),X'["*26",X'[",26"
  1. ;;DGRPDB;IB20PT87;I $S(X="":1,1:X["5.3"),X'["*26",X'[",26"
  1. ;;DG3PR0;IB20PT88;I $S(X="":1,1:X["5.3"),X'["*26",X'[",26"
  1. ;;DG3PR1;IB20PT89;I $S(X="":1,1:X["5.3"),X'["*26",X'[",26"
  1. ;;DG3PR2;IB20PT8A;I $S(X="":1,1:X["5.3"),X'["*26",X'[",26"
  1. ;;DGPMVBUR;IB20PT8B;I $S(X="":1,1:X["5.3"),X'["*26",X'[",26"
  1. ;;FBUINS;IB20PT8C;I +$G(^DD(161.4,0,"VR"))=3,X'["*5",X'[",5"
  1. ;;$END
  1. ;
  1. ; piece 3 --> routine to replace
  1. ; " 4 --> post-init routine holding new verion
  1. ; " 5 --> 'ok to replace' IF test
  1. ; - X will be defined to be the 2nd line of
  1. ; current version
  1. ;