killing serious of processes in the server

i am new to unix..i have requirement to kill informatica server process.

when i used the below query

pidoff "pmserver"

it displayed 3 process running..

i need to get the 3 process and kill individual process in shell script.

Can you please assit me in this.

pidz=($(pidof pmserver))
echo ${pidz[@]}

Use kill instead of echo.

Regards
Peasant.

Thanks a lot...Peasant

It worked.