Write to the Unicenter NSM console over a PIPE
|Abstract: The WTOPIPE utility is the most efficient way to send more than one message to the TNG console from command line or from script languages.
This zip contains an updated version which performs threading for optimal performance and to avoid any deadlocks with TNG.
Example 1 (FILE):
wtopipe.exe < messages.txt
Example 2 (PERL):
open(WP, "|wtopipe.exe 2>NUL") || die $!;
print(WP "evtm_text\tHello world!!\n");
print(WP "evtm_text\tThis is the next message!\n\n");
Example 3 (Try it):
open cmd.exe and execute wtopipe.exe. Follow the help-text displayed there.
System-requirements for WTOPIPE:
Unicenter TNG 2.2 or higher on NT or HP-UX (cauevt.dll).