third_party_content:community:commentary:forums_nonworks:8227eb4c3e2a6ca085256ac8000ee565

Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 14 SEP 2001 10:42:42PM B Stevens wrote:

How do you know if a site has implemented the NLM.

Is the LH…TSR.EXE having to be run, the indicator, or is that just a Novell thing.

Barry


At 15 SEP 2001 09:57AM C Mansutti wrote:

Barry,

Try running NLM_STATS (usually in Sysobj)

If the NLM is running you'll get lots of pretty statistics

Claude


At 15 SEP 2001 03:34PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

The LHIPXTSR is a "keep alive" message to let the NLM know that the station is there. Your question can be answered in many ways - an easy way to check that the NLM is working is to open the VOC file and check for FFFFFF in the file handle but you probably know this.

What exactly do you want to check for?

The Sprezzatura Group

World Leaders in all things RevSoft


At 16 SEP 2001 04:16AM B Stevens wrote:

I have a new client (Old Arev user, new for me) and I noticed they did not have the NPP installed. In the NPP docs it says not required if NLM loaded.

re FFFFFF, no, I did not know that.

Barry


At 16 SEP 2001 04:21AM B Stevens wrote:

Thanks!

What other thing can you do in Arev that are NLM specific.

Barry


At 16 SEP 2001 04:58PM Don Miller - C3 Inc. wrote:

Barry ..

The NLM does not use the NPP driver. It uses the IPX - NLM driver. A non-programatic way to test to see if the driver is loaded is to type WHO at the TCL and check the driver. Programatically, the way to do it is to open the VOC for the account and to check the file handle for the FFFFFFF string:

OPEN VOC TO HANDLE then

.. check the handle by looking in variable HANDLE. This will tell you whether the TSR is loaded and communicating with the NLM driver. If the HANDLE doesn't end in the FFFFFFF string then the workstation's VOC (and therefor the app) is not under control of the NLM.

Don Miller

C3 Inc.


At 16 SEP 2001 11:08PM Warren wrote:

Quick way to do this is from TCL Type

:EVAL OPEN "VOC" TO HANDLE THEN PRINT HANDLE


At 17 SEP 2001 08:47AM Don Miller - C3 Inc. wrote:

Here's a snippet of code that I have used frequently in AREV:

CALL GETCONFIGURE(ERROR)

* CHECK THE LAN DRIVER

LAN.DRV=ERROR

IF LAN.DRV1,3=IPX' THEN

  DECLARE FUNCTION IsTSR
  • ROUTINE TO CHECK TO SEE IF THE NOVELL NETWARE NLM IS LOADED
  • DON'T DO I/O IF NOT
  IF IsTSR() THEN    /* IF TSR IS LOADED, NO ACTION IS REQUIRED */
      NULL
  END ELSE
      RESP='
      MSG.TXT=You don't have LHIPXTSR loaded!  Logging off!!!"
      ECHO OFF
      MSG(MSG.TXT,'RI',RESP,'')
      ECHO ON
  • THE CODE BELOW ALLOWS FOR EMERGENCY ACCESS IN THE EVENT OF CATASTROPHIC
  • FAILURE
      IF RESP NE 'PRIV' THEN EXECUTE "OFF"
  END
  • CHECK TO SEE IF NULL @STATION - THIS WILL CAUSE BIG PROBLEMS
  IF @STATION=' THEN
      MSG.TXT=Unable to obtain Workstation ID!  Logging off!!!"
      RESP='
      ECHO OFF
      MSG(MSG.TXT,'RI',RESP,'')
      IF RESP NE 'PRIV' THEN EXECUTE "OFF"
  END
  • CHECK TO SEE IF THE VOC FILE IS UNDER CONTROL OF THE NLM
  • THE FILE HANDLE WITH BE "FFFFFF" IF SO OTHERWISE IT WILL BE A DOS
  • FILE HANDLE
  OPEN "VOC" TO VOC THEN
      IF INDEX(VOC,"FFFFFF",1) ELSE
           MSG.TXT=The VOC file is NOT under the NLM'S Control!|"
           MSG.TXT:=|Please contact the system administrator     '
           MSG.TXT:=|You will now be logged off!!                '
           RESP='
           ECHO OFF
           MSG(MSG.TXT,'RI',RESP,'')
           ECHO ON
  • THE CODE BELOW ALLOWS FOR EMERGENCY ACCESS IN THE EVENT OF CATASTROPHIC
  • FAILURE
           IF RESP NE 'PRIV' THEN EXECUTE "OFF"
      END
  END

END

Hope this is useful..

Don Miller

C3 Inc.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/8227eb4c3e2a6ca085256ac8000ee565.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1