You're having trouble to understand how compress works.
Compress, by default will remove blank chars from its argument, or any other char you may specify as a second argument.
Please READ the help doc here:
http://support.sas.com/documentation/cdl/en/lrdict/62618/HTML/default/a000212246.htm
(venkatesh this goes for you also, unless you misunderstood the problem)
Now, there is a multitude of functions and operators that will accomplish what you need.
For example:
[pre]
xxx=strip(MT)!!'DAYS '!!strip(PP)!!strip(U);
xxx=cats(MT,catx(' ','DAYS',PP),U);
xxx=strip(MT)!!'DAYS '!!cats(PP,U);
xxx=trim(left(MT))!!'DAYS '!!trim(left(PP))!!trim(left(U));
...
[/pre]
Please spend some time reading the documentation of this string manipulation functions:
http://support.sas.com/documentation/cdl/en/lrdict/62618/HTML/default/a000212224.htm
http://support.sas.com/documentation/cdl/en/lrdict/62618/HTML/default/a000212226.htm
http://support.sas.com/documentation/cdl/en/lrdict/62618/HTML/default/a002295689.htm
http://support.sas.com/documentation/cdl/en/lrdict/62618/HTML/default/a002256540.htm
http://support.sas.com/documentation/cdl/en/lrdict/62618/HTML/default/a002257076.htm
Cheers from Portugal.
Daniel Santos @
www.cgd.pt