12-14-2011 03:41 PM
I want to apply column input in DATA step.
eg) INPUT Name $ 1-7 ;
and I'm sick of counting letters and spaces to determine when column starts and finishes.
Is there a simple editor that shows 'rulers' at the top?
12-14-2011 03:53 PM
The list statement might provide what you are looking for. E.g.:
will produce something like:
NOTE: The data set WORK.TEST has 0 observations and 0 variables.
12-14-2011 04:33 PM
And a cheaper way to do the same thing is to use Wordpad rather than Notepad and make courier or new courier the default font. Wordpad has a built-in ruler.
12-14-2011 07:04 PM
If you have SAS/FSP licensed and are using SAS Display Manager then you can use the FSLIST procedure.
In the command window: FSLIST 'example.txt'. Once the FSLIST window comes up enter the command COLS ON to get a ruler.
Need further help from the community? Please ask a new question.