user60887
user60887

Reputation: 235

Adjusting column width within sas

Often this happens alot when I run sas programs where the column does not display the full text. For example

enter image description here

enter image description here

The column status does not display the entire statement 'Not so Good'. What can I do to fix this? Thanks

Upvotes: 0

Views: 328

Answers (1)

Kostya
Kostya

Reputation: 1572

Since you haven't assigned the longest value the first time the variable 'Status' is assigned, it was truncated in your DATA step. You need to add to your DATA step

length Status $ 11;

Further information is provided here http://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/viewer.htm#a001336069.htm

Upvotes: 2

Related Questions