Ignore:
Timestamp:
Sep 7, 2010, 7:38:31 AM (14 years ago)
Author:
Sam Habiel
Message:

Changes in BMXMON to add process name and fix timeouts; change in version number to 2.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BMXNET_RPMS_dotNET_UTILITIES-BMX/trunk/m/BMXRPC3.m

    r924 r931  
    11BMXRPC3 ; IHS/OIT/HMW - BMX REMOTE PROCEDURE CALLS ;  ; 8/30/10 2:56pm
    2         ;;2.1;BMX;;Jul 26, 2009
     2        ;;2.2;BMX;;Sep 07, 2010
    33        ;Mods by WV/SMH
    44        ;7/26/09 Removed references to ^AUTTSITE, an IHS file in GETFAC*
    55        ;8/30/10 Changed GETFCRS to return a better list of user divisions
    6     ; - Checks to see if there are any divisions
     6           ; - Checks to see if there are any divisions
    77        ;
    88VARVAL(RESULT,VARIABLE) ;returns value of passed in variable
     
    140140        ;/mods by //smh for WV
    141141        N $ET S $ET="G ERFC^BMXRPC3"
    142     N BMXFN    ; Facility Number
     142           N BMXFN    ; Facility Number
    143143        S BMXDUZ=$TR(BMXDUZ,$C(13)) ; Strip CR,LF,tab
    144144        S BMXDUZ=$TR(BMXDUZ,$C(10))
     
    148148        F  S BMXFN=$O(^VA(200,BMXDUZ,2,BMXFN)) Q:'BMXFN  D
    149149        . ; DD for ^VA(200,DUZ,2,DUZ(2)) is DUZ(2)^default. DUZ(2) is dinummed.
    150     . S BMXY=BMXY_$P(^DIC(4,BMXFN,0),U,1)_U_^VA(200,BMXDUZ,2,BMXFN,0)_$C(30)
    151     ; Crazy line: if we have no results, then use kernel's DUZ(2) set
    152     ; during sign-on
    153     I $L(BMXY,$C(30))<3 S BMXY=BMXY_$P(^DIC(4,DUZ(2),0),U,1)_U_DUZ(2)_$C(30)
     150           . S BMXY=BMXY_$P(^DIC(4,BMXFN,0),U,1)_U_^VA(200,BMXDUZ,2,BMXFN,0)_$C(30)
     151           ; Crazy line: if we have no results, then use kernel's DUZ(2) set
     152           ; during sign-on
     153           I $L(BMXY,$C(30))<3 S BMXY=BMXY_$P(^DIC(4,DUZ(2),0),U,1)_U_DUZ(2)_$C(30)
    154154        S BMXY=BMXY_$C(31)
    155155        Q
     
    167167        I '+BMXFAC S BMXY=BMXY_DUZ_"^"_0_"^"_0_$C(30)_$C(31) Q
    168168        ; //SMH Line below is incorrect. Facility valid if not in user profile
    169     ; if it is default kernel facility
    170     ; I '$D(^VA(200,DUZ,2,+BMXFAC)) S BMXY=BMXY_DUZ_"^"_0_"^"_0_$C(30)_$C(31) Q
     169           ; if it is default kernel facility
     170           ; I '$D(^VA(200,DUZ,2,+BMXFAC)) S BMXY=BMXY_DUZ_"^"_0_"^"_0_$C(30)_$C(31) Q
    171171        S DUZ(2)=BMXFAC ;IHS/OIT/HMW SAC Exemption Applied For
    172172        S BMXFACN=$G(^DIC(4,+DUZ(2),0))
Note: See TracChangeset for help on using the changeset viewer.