
50
9.26 SendTaskMgmCommand()
This function specifies to send a selected Task Management Command event to the script.
Format : SendTaskMgmCommand( Function, Field Name, Field Value, Nexus Info);
Parameters
Function Function code of the Task Management Command event:
_ANY
0x01 : Abort Task
0x02 : Abort Task Set
0x04 : Clear Task Set
0x08 : Logical Unit Reset
0x10 : IT Nexus Reset
0x40 : Clear ACA
0x80 : Query Task
0x81 : Query Task Set
0x82 : Query Asynchronous Event
Field Name Refer to SendSSPTransport ()
.
Field Value Refer to SendSSPTransport ()
.
Nexus Info Refer to SendSSPTransport ()
.
Example
…
SendTaskMgmCommand (_ANY);
SendTaskMgmCommand (0x01); # Abort task.
Commentaires sur ces manuels