All:
I have an issue with wrapping a variable to the next line. I was in an impression that a flow statement given for any variable in the define step, would wrap the respective variable properly to the number of lines. But, when I was working with the following piece of code, I felt, there must be something other than FLOW, which controls wrapping in proc report. Could someone suggest me, if there is a solution for this, or if I have done some mistake in the code?
data test;
set sashelp.class;
tempname=trim(left(name))||' is a*good guy';
run;
proc report data=test split='*' headskip headline;
columns tempname;
define tempname / flow group width=7;
break after tempname/skip;
run;
With this code, I expected the output to be something like the left one, but ended up with an output like the right one:
tempnam.................................tempnam
e.............................................e
-------........................................-------
Alfred......................................Alfred
is a.........................................is a
good.......................................good
guy.........................................guy
Alice.......................................Alice i
is a.........................................s a
good.......................................good
guy.........................................guy
Barbara...................................Barbara
is a.........................................is a
good.......................................good
guy.........................................guy
Carol.......................................Carol i
is a.........................................s a
good.......................................good
guy.........................................guy
Henry......................................Henry i
is a.........................................s a
good.......................................good
guy.........................................guy
.....................................................................
My question is, why is 'is' being splitted, though there is no split character or a blank space in between?
Thanks in Advance,
Hemanth.