We do not have a mainframe agent. But our preferred method of opening failure tickets is to make use of the "Definition for ENDED_OK" feature of the Runtime tab of each job. Here we tell our UC4 jobs that if it does not finish with an acceptable return code, that it must execute a script object we developed. This script does multiple things, like send notifications to the oncall staff by kicking off other UC4 jobs to do so. But it also opens failure tickets with our ticket tracking system by kicking off another job for that purpose.