Visara Master Console Center Scripting Guide User Manual
Page 251
Appendix B Command Syntax
Scripting Guide
251
Event
Enters commands to MVS using the GW-MVS
agent (optional software).
MVSCOMMAND( %ObjID, $CmdArray, $Output
Array, %ErrArray $ErrorTextArray[, %PortID] [,
$JobName] [, $Filter1] [, $Filter2] [, $Filter3] [,
%MvsMsgCount] [, %MvsResponseTime] ) ==>
%ReturnValue
Object
Manager
Executes an action on an object.
OBJEXEC(%ObjID,$Action[,Parms…])==>ReturnVa
lue
Object
Manager
Returns the current value in an object’s field. OBJGET(%ObjID,$ObjFieldName)==>$Current
Value
Object
Manager
Populates an associative string array with the
current field values from an object.
OBJGETARRAY(%ObjID,$AssocArray)==>%Suc
cess
Object
Manager
Returns the ID (unique only for the particular
script thread) for a MCC object.
OBJID(%Class,$ObjKeyExpr)==>%ObjectID
Object
Manager
Returns the number of children of the
selected object ID.
OBJIDARRAY( %Class, %ObjIDParent,
%AssocArray)==> %Children
Object
Manager
Populates an associative numeric array with
object IDs from the children of a parent object.
OBJIDARRAY(%Class,%ObjIDParent,%AssocArra
y)
Object
Manager
Sets the current value in an object’s field.
OBJSET(%ObjID,$ObjFieldName,$NewValue)==>%Er
rCode
Object
Manager
Sets the field values for an object from an
associative string array.
OBJSETARRAY(%ObjID,$AssocArray)==>%Suc
cess
Variable
Receives parameters into the script.
PARMSvar1[,var3,…,[varn]…]]]
Console
Message
Returns the port number for a console definition. PORT(%Class[,$IconName])==>%Port
Console
Message
Closes a message queue.
QCLOSE(%QueueID)