Problem with mailx command when sending attachment.

Hi,
I have tried to sent a mail with body and attachment. But the shell script got hanging while executing that command. The command is
"(cat body;uuencode att1.csv)|mailx -s "Production Monitoring Report(Unix Side)" milton.yesusundaram@patni.com"

where body is a file having a single line.
att1.csv is a comma separating values file.

Can anyone please help on getting the reason for hanging of the script.

Thanks in advance,
Milton.

file destination in uuencode is not specified hence it was hanging

"(cat body;uuencode att1.csv att1.txt)|mailx -s "Production Monitoring Report(Unix Side)" milton.yesusundaram@patni.com"

(cat body;uuencode att1.csv att1.txt)|mailx -s "Production Monitoring Report(Unix Side)" milton.yesusundaram@patni.com"

where att1.csv is the file you are attaching and att1.txt is the file that the person in mail will get as attachment....

it is suppose to work