In most cases, you
get the column definitions from an external format file or from the
column headings in the external file. Here is an example of a format
file:
# Header follows
Name,SASColumnType,SASColumnName,SASColumnLength,SASInformat,SASFormat,Desc,ReadFlag
# Column definition records records follow
Make,C,Make,13,,$char13.,Manufacturer name column,y
Model,C,Model,40,,$char40.,Model name column,y
# Comma within quotation marks below is not a delimiter
Description,C,Description,32,$char32.,,'Description, Comments, Remarks',y
For this example, select
the
Get the column names from column headings in the file radio
button. Keep the default settings for the fields underneath it.
Note: If you select
Get
the column names from column headings in the file, the
value in the
Starting record field in the
Data tab
of the view pane in the
Column Definitions dialog
box is automatically changed. The new value is one greater than the
value in the
The column headings are in file record field
in the
Import Column Definitions dialog box.