see PUT statement and list output in SAS Online Doc
----------------------------------
/* A more meaningful example */
data _null_;
input idno name $ startwght;
put name 'weighs ' startwght +(-1) '.';
datalines;
032 David 180
049 Amelia 145
219 Alan 210
;
These lines are written to the SAS log:
David weighs 180.
Amelia weighs 145.
Alan weighs 210.
-----------------------------------
The +(-1) pointer control moves the pointer backward to remove the unwanted
blank that occurs between the value of STARTWGHT and the period.
------------------------------------------------------------------------ http://plus.google.com/+statsGuyMITBBS/about
------------------------------------------------------------------------
【在 c*******r 的大作中提到】 : 比如 : data _NULL_; : put a +(-1); : run;