It would be most useful for you to share an example of your challenging input data and how you would like it to be interpreted by SAS.
Also, you mention "...option that allows the first line of the input command to serve as variable names?" Can you explain "input command" -- did you mean input file? If so, there is a "PROC IMPORT" parameter you can code to tell SAS to use the first data row as the variable names.
In addition to hosting the SAS product documentation, there are numerous SAS technical papers on all sorts of topics, available at the SAS support website
http://support.sas.com . I did a search and found the SAS technical reference below on PROC IMPORT, along with the DOC links provided.
Scott Barry
SBBWorks, Inc.
SAS Technical document on PROC IMPORT:
ftp://ftp.sas.com/techsup/download/sample/datastep/import.html
SAS PROC IMPORT DOC on Data Source statements:
http://support.sas.com/documentation/cdl/en/proc/59565/HTML/default/a000312413.htm
SAS Support website DOC page:
http://support.sas.com/documentation/onlinedoc/base/index.html