Visara Master Console Center Scripting Guide User Manual
Page 167
Advertising

Chapter 5 Script Commands
Scripting Guide
167
console, you may wish to key “exit” before issuing your
QPREVIEW().)
Example:
// Get the Object IDs for two systems
%OSArray[ 1] := OBJID( OS, ”DECUnix:Alpha”)
%OSArray[ 2] := OBJID( OS, ”RS6000:Beta”)
// Open the message queue
%QueueID := QOPEN( %OSArray)
%Preview := QPREVIEW( %QueueID, $MsgArray)
// If the DECUnix system is at the “Login:” prompt and
the
// RS6000 is at a root (“#”) prompt, the values of
// $MsgArray will be:
// $MsgArray[ “Alpha” ] ==> Login:
// $MsgArray[ “Beta” ] ==> #
See Also:
QCLOSE, QOPEN, QREAD, QSKIP, SCANB, SCANP
Advertising