Originally posted by Robert Milfajt
# check for success (status code 100-299) if {($statCode >= 100) && ($statCode $repmsg<" msgmetaset $outMsg DESTCONN $destconn msgmetaset $outMsg SOURCECONN [msgmetaget $mh DESTCONN] msgmetaset $outMsg DRIVERCTL [msgmetaget $mh DRIVERCTL] lappend dispList "KILL $mh" lappend dispList "OVER $outMsg" } else { # otherwise, report the error and send orig msg to error DB set msg "(httpQuery/Run) Error fetching URL $url: $status" lappend dispList "PROTO $mh" }