Hi Fernando,
I did a quick test on my linux box and when I issued the kill -9 for a running process, the exit code was 137. I am not sure where the exit code of 9 is being picked up from. It might be the way your email notification is defined. Since you have defined exit code 9 to be success, it should not trigger the alert. However, your jobs is in the failed state, therefore it is triggering the alert, which makes me believe the server never received a return code of 9. One way to check this is to see the AFM message sent back from the agent. You can find this in the agent's transmitter.log. If you find the agent did indeed send exit code 9 back to the server, I would recommend that you open a ticket with CA support and attach both the DE server log and the agent logs.
[root@gunpr01-I159100 ~]# ./mytest.sh
[root@gunpr01-I159100 ~]# echo $?
0
[root@gunpr01-I159100 ~]# ./mytest.sh
Killed
[root@gunpr01-I159100 ~]# echo $?
137
[root@gunpr01-I159100 ~]#
Regards,
Pradeepan Gunabalasingam