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

XBTM8.m

Go to the documentation of this file.
  1. XBTM8 ; IHS/ADC/GTH - TECH MANUAL : EXTERNAL RELATIONS ; [ 02/07/97 3:02 PM ]
  1. ;;3.0;IHS/VA UTILITIES;;FEB 07, 1997
  1. ;
  1. NEW A
  1. F A=1:1 S X=$P($T(PR+A),";;",2) Q:X="###" D PR(X) Q:$D(DUOUT)
  1. Q:$D(DUOUT)
  1. D ^DIWW
  1. KILL ^TMP("XBTM8",$J)
  1. NEW A,B
  1. S DIWF="WN"
  1. S %=$$RSEL^ZIBRSEL("XB*","^TMP(""XB"",$J,")
  1. S %=$$RSEL^ZIBRSEL("ZIB*","^TMP(""XB"",$J,")
  1. ;
  1. S %=""
  1. F S %=$O(^TMP("XB",$J,%)) Q:%="" D
  1. .S B=$T(+1^@%)
  1. .F A=3:1 S B=$T(+A^@%) Q:B="" I '($E(B)=" ") I B[";PEP" S ^TMP("XBTM8",$J,%,$P(B," "))=$P(B," ",2,999)
  1. .Q
  1. ;
  1. F %=1:1 S B=$T(L+%^XBLCALL),A=$P(B,";",3) Q:B="" I $E(A)=U S A=$E(A,2,99),^TMP("XBTM8",$J,A,A)=$P(B,";",4,999)
  1. D PR("|TOP|"),PR(" "),PR("Published entry points and supported routines:"),PR(" ")
  1. Q:$D(DUOUT)
  1. S (A,B)=""
  1. F S A=$O(^TMP("XBTM8",$J,A)) Q:A="" Q:$D(DUOUT) F S B=$O(^TMP("XBTM8",$J,A,B)) Q:B="" D PR($E($S(A=B:"",1:$P(B,"(",1))_U_A_$S($L($P(B,"(",2)):"(",1:"")_$P(B,"(",2)_" : "_^(B),1,(DIWR-DIWL))) Q:$D(DUOUT)
  1. ;
  1. KILL ^TMP("XBTM8",$J)
  1. Q:$D(DUOUT)
  1. S DIWF="W"
  1. Q
  1. ;
  1. PR(X) NEW %,A,B D PR^XBTM(X) Q
  1. ;;There are several published entry points that may be called
  1. ;;from other packages. Some XB/ZIB routines were programmed to be
  1. ;;available to call from the top of the routine, and are so noted in
  1. ;;the routine.
  1. ;;|SETTAB("C")||TAB|
  1. ;;|SETTAB("C")||TAB|
  1. ;;###