getting mailx error

Hi,
I was using SunOS 5.6. I have used the mailx command in below fashion

mailx -s"RE: WES 'ftp' alert...no HDR record" ushman@lucent.com

Last week only I upgraded the Operating System from SunOS 5.6 to SunOS5.9. But after upgrading the OS I am getting the following error.

The flags you gave are used only when sending mail.
Usage: mailx -eiIUdFntBNHvV~ -T FILE -u USER -h hops -r address
-s SUBJECT -f FILE users

Please some one help me out.

my HP-UX mailx command requires a body - and you are not piping any input to mailx. however, in your case, maybe you just simply need a space between the -s option and the "subject" ( -s subject )...