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/BMXMON.m

    r645 r931  
    1 BMXMON  ; IHS/OIT/HMW - BMXNet MONITOR ; 7/20/2009
    2         ;;2.1;BMX;;Jul 26, 2009
     1BMXMON  ; IHS/OIT/HMW - BMXNet MONITOR ; 7/20/2009 ; 9/7/10 7:47am
     2        ;;2.2;BMX;;Sep 07, 2010
    33        ;
    44        ;IHS/OIT/HMW Patch 1 added validity check for passed-in namespace
     
    77        ; Addition of XINETD and GTMLNX entry points for support of GT.M
    88        ; Changes of W *-3 (which only works on Cache) to W !
     9           ; 9/7/2009: Minor bug fixes and enhancements
     10           ; In GTMLNX: Set process name
     11           ; In GTMLNX: Time out based now on the Kernel Broker Timeout field
     12           ; in kernel system parameters file
    913        ;
    1014STRT(BMXPORT,NS,IS,VB)  ;EP
     
    175179        ; Read message type
    176180        N BMXACT,BMXDTIME
    177         S BMXDTIME=999999
     181        S BMXDTIME=10  ; change in 2.2 instead of 9999999 - initial conn timout
    178182        R BMXACT#5:BMXDTIME
    179183        Q:BMXACT'="{BMX}"  ; Not a BMX message - quit.
     
    184188        N BMXDTIME,BMXLEN,BMXACT,BMXWIN,BMXNS
    185189        S BMXNSJ="",BMXWIN=0  ; No NS on GT.M, no Windows Authentication
    186         S BMXDTIME(1)=.5,BMXDTIME=999999
     190        S BMXDTIME(1)=.5,BMXDTIME=180  ; sign on timeout
    187191        R BMXACT#5:BMXDTIME ;Read next 5 chars - message length
    188192        S BMXLEN=+BMXACT
     
    197201SESSRES ;EP - reentry point from trap
    198202        ;IHS/OIT/HMW SAC Exemption Applied For
     203        S BMXDTIME(1)=.5,BMXDTIME=$$BAT^XUPARAM  ; new in 2.2: Use kernel rpc timeout instead of 9999999
     204           D SETNM^%ZOSV("BMX:ip"_$P(IO("GTM-IP"),".",3,4)) ; new in 2.2: set proces name
    199205        N $ESTACK S $ETRAP="D ETRAP^BMXMON"
    200206        S DIQUIET=1,U="^" D DT^DICRW
Note: See TracChangeset for help on using the changeset viewer.