LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2003, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 2 May 2003 11:44:42 -0700
Reply-To:   Rune Runnestoe <rune@FASTLANE.NO>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Rune Runnestoe <rune@FASTLANE.NO>
Organization:   http://groups.google.com/
Subject:   Formatting the column width in the output
Content-Type:   text/plain; charset=ISO-8859-1

Hello,

The width of the column NAME is 50 positions. How do I specify that I just want the column to be for example 20 positions wide on the output ?

proc sql; select name, age, salary from Mytable;

I have tried select substr(name,1,20), age, salary from Mytable;

but that does'n work.

I have also tried options linesize=200;

but that seems to make the column NAME even wider.

Does anyone have any suggestions how to code it ?

Regards Rune Runnestoe


Back to: Top of message | Previous page | Main SAS-L page