NLM (AREV Specific)
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?
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 NOTIF IsTSR() THEN /* IF TSR IS LOADED, NO ACTION IS REQUIRED */NULLEND ELSERESP='MSG.TXT=You don't have LHIPXTSR loaded! Logging off!!!"ECHO OFFMSG(MSG.TXT,'RI',RESP,'')ECHO ON
THE CODE BELOW ALLOWS FOR EMERGENCY ACCESS IN THE EVENT OF CATASTROPHIC
FAILUREIF RESP NE 'PRIV' THEN EXECUTE "OFF"END
CHECK TO SEE IF NULL @STATION - THIS WILL CAUSE BIG PROBLEMSIF @STATION=' THENMSG.TXT=Unable to obtain Workstation ID! Logging off!!!"RESP='ECHO OFFMSG(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 HANDLEOPEN "VOC" TO VOC THENIF INDEX(VOC,"FFFFFF",1) ELSEMSG.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 OFFMSG(MSG.TXT,'RI',RESP,'')ECHO ON
THE CODE BELOW ALLOWS FOR EMERGENCY ACCESS IN THE EVENT OF CATASTROPHIC
FAILUREIF RESP NE 'PRIV' THEN EXECUTE "OFF"ENDENDEND
Hope this is useful..
Don Miller
C3 Inc.