Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
How to redirect .nlm output to a file on netware 5? Example : networker (legato) on netware comes with mminfo.nlm to display backed up jobs on a MMINFO console. But how to redirect the output to a file? There is no way to read from console through code either. As the command goes to a new window the output not seen on console.log also? Please share a solution.
Thanks
-murali

If the information you are trying to trap is sent across the wire (network) you could use a packet sniffer to get the info you need. As long as the information was being sent was in text format.
There is no need to call Novell Inefficient when it comes to a situation like this. Novell's job is to give you a networking OS that is stable for connecting multiple WS's together. And to be the contoller for the products and devices you run on it. It is up to the product you run on the network to have the features like you want built into them. Novell gets enough of a bad rap from people that are untrained and mis-informed about it's capabilities. I don't say this because I use Novell, because I also use other NOS's (Linux, Unix, and even Microsoft) because they best fit the networking issue(s) I might have. And they ALL have their strong and weak points.
My apologies to anyone I may have offended, just venting. But when NOS bashing is done and the NOS doesn't deserve it, I sometimes just have to speak out.
V-Peace-V

Hi,
I was hoping for a solution for long period and yet to get real reply. Really please let me know if any solution to redirect output from .nlm.
Thanks
-murali

Hi,
A lot depends on how the NLM was built and how it was coded. The defacto way to do UNIX style redirection is using the
(CLIB_OPT)/>filename
command line option. For example:
LOAD NLMNAME (CLIB_OPT)/>OUTPUT.TXT
Any output written to _standard output_ should get piped there. However, just like in Unix, if the output is a formatted screen output, or does not use stdout, you get nothing. ( Sadly, this is the case. ) Give this a try and tell us what happens, if anything.
Other (CLIB_OPT) parameters include:
(CLIB_OPT)/< to redirect stdin
(CLIB_OPT)/E to redirect stderr
Common mistake: There is NO space between the option and the filename parameter.-- Bob

Bob,
I tried but I get only a file of 0 bytes with no contents. Since the load mminfo outputs to a new screen (MMINFO), I think it does not get the output to the file. I tried if it will work for netware console comands like volumes . I tried that command like follows:
volumes (CLIB_OPT)/>out.txt
But this time I did not even get a file(0 bytes) though the volumes output gets displayed on the same console screen.
You are the only person that gave different command to try. Please let me know if you get any other idea.
Thanks
- murali

![]() |
cannot close file
|
Win 98 on Netware 4.11
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |