if {$id != 0} {
if {[expr $id] != 0} {
if {[expr $id != 0]} {
incr index
incr index -4
set index [expr $index + 1]
source [wtxPath host resource tcl]wtxcore.tcl set backenddir [wtxPath host [wtxHostType] lib backend]*
if [catch "dataFetch $list" result] {
if {$result == "known problem"} {
specialCaseHandle
} else {
error $result
}
catch "dataFetch $list" result
if {$id != 0} {
...
} else {
...
}
if {$id !=0} then {
...
} {
...
}
# Return a list of 11 items: vxTicks taskId status priority pc # sp errno timeout entry priNormal name return [concat [lrange $tiList 0 1] [lrange $tiList 3 end]]
# This code checks whether the VxMP component is installed:
if [catch "wtxSymFind -name smObjPoolMinusOne" result] {
if {[wtxErrorName $result] == "SYMTBL_SYMBOL_NOT_FOUND"} {
return -1 # VxMP is not installed
} else {
error $result
}
} else {
return 0 # VxMP is installed
}
if {$defaultTaskId == 0} {
error "No default task has been established."
}
if [catch "wtxObjModuleLoad $periodModule" status] {
error "Cannot add period support module to Target ($status)"
}