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

XBTM4.m

Go to the documentation of this file.
  1. XBTM4 ; IHS/ADC/GTH - TECH MANUAL : OPTIONS ; [ 02/07/97 3:02 PM ]
  1. ;;3.0;IHS/VA UTILITIES;;FEB 07, 1997
  1. ;
  1. NEW A,B,C,T,XB
  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. S T=$P(^DD(19,4,0),U,3)
  1. F %=1:1 Q:'$L($P(T,";",%)) S T($P($P(T,";",%),":"))=$P($P(T,";",%),":",2)
  1. S XB="XB"
  1. D OP("XAz")
  1. S XB="ZIB"
  1. D OP("ZIAz")
  1. Q
  1. ;
  1. OP(A) ; Print info on options in namespace A.
  1. F S A=$O(^DIC(19,"B",A)) Q:'($E(A,1,$L(XB))=XB) S B=$O(^(A,0)) D
  1. . D PR("|_|"_$P(^DIC(19,B,0),U)_"|_|"_$S('$D(^DIC(19,"AD",B)):" ** no parents **",1:"")),^DIWW
  1. . Q:$D(DUOUT)
  1. . D PR("TYPE: "_T($P(^DIC(19,B,0),U,4))),^DIWW
  1. . Q:$D(DUOUT)
  1. . D PR("TEXT: "_$P(^DIC(19,B,0),U,2)),^DIWW
  1. . Q:$D(DUOUT)
  1. . I $L($P(^DIC(19,B,0),U,6)) D PR("LOCK: "_$P(^(0),U,6)),^DIWW
  1. . I $L($G(^DIC(19,B,20))) D PR("ENTRY ACTION: "_^DIC(19,B,20)),^DIWW
  1. . I $L($G(^DIC(19,B,15))) D PR("EXIT ACTION : "_^DIC(19,B,15)),^DIWW
  1. . D PR("DESCRIPTION : ")
  1. . Q:$D(DUOUT)
  1. . S C=0
  1. . F S C=$O(^DIC(19,B,1,C)) Q:'C D PR(^(C,0)) Q:$D(DUOUT)
  1. . Q:$D(DUOUT)
  1. . D ^DIWW
  1. . F C=30:1:36,50,51,60:1:69,69.1:.1:69.3,71:1:73,79:1:82 I $L($G(^DIC(19,B,C))) D PR($P(^DD(19,C,0),U)_": "_^DIC(19,B,C)),^DIWW Q:$D(DUOUT)
  1. . Q:$D(DUOUT)
  1. . W !
  1. .Q
  1. Q:$D(DUOUT)
  1. D ^DIWW
  1. Q
  1. ;
  1. PR(X) NEW A,B,C,T,XB D PR^XBTM(X) Q
  1. ;;There are no options distributed with the package.
  1. ;;|SETTAB("C")||TAB|
  1. ;;There is one option associated with the Remote Patch
  1. ;;Installer (ZIBRPI), which is used to schedule the task.
  1. ;;That option is installed by ZIBRPI when the local facility
  1. ;;installs it.
  1. ;;|SETTAB("C")||TAB|
  1. ;;If you have Remote Error Reporting (ZIBRER) installed, there
  1. ;;will be options in that namespace.
  1. ;;|SETTAB("C")||TAB|
  1. ;;Any other XB or ZIB listed option
  1. ;;will have been created on your local machine.
  1. ;;|SETTAB("C")||TAB|
  1. ;;|SETTAB("C")||TAB|
  1. ;;###