VMS Help
LANCP, @
*Conan The Librarian
|
Executes a command procedure or requests the command interpreter
to read subsequent command input from a specific file or device.
Format
@ file-spec
file-spec
Specifies either the input device or the file for the preceding
command, or the command procedure to be executed.
None.
$ CREATE COUNT.COM
SHOW DEVICE/COUNTERS EIA
SPAWN WAIT 00:01:00
@COUNT
<Ctrl/Z>
$ RUN SYS$SYSTEM:LANCP
LANCP> @COUNT
Device Counters EIA0:
Value Counter
----- -------
62030 Seconds since last zeroed
19910982 Bytes received
239192 Bytes sent
155812 Packets received
4348 Packets sent
19910982 Multicast bytes received
239140 Multicast bytes sent
155812 Multicast packets received
4346 Multicast packets sent
0 Unrecognized unicast destination packets
134311 Unrecognized multicast destination packets
0 Unavailable station buffers
0 Unavailable user buffers
0 Alignment errors
0 Frame check errors
0 Frame size errors
0 Frame status errors
0 Frame length errors
0 Frame too long errors
0 Data overruns
0 Send data length errors
0 Receive data length errors
0 Transmit underrun errors
0 Transmit failures
0 Carrier check failures
0 Station failures
0 Initially deferred packets sent
0 Single collision packets sent
0 Multiple collision packets sent
0 Excessive collisions
0 Late collisions
0 Collision detect check failures
1 Link up transitions (19-OCT-2004 13:47:50.86)
0 Link down transitions
None Time of last generic transmit error
None Time of last generic receive error
This example creates and runs a command procedure, COUNT.COM,
that displays device counters once every minute.