Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with importing weird file format into SAS

Status
Not open for further replies.

drgerm

Technical User
Nov 10, 2007
2
US
Hello:

Please help, I have spent way too long trying to figure this out.

I have attached two files:

1. A data file with weather information. It is in a file format that I cannot seem to find any documentation on; however, it opens fine in NotePad++, and furthermore, if the file extension is just changed to .txt it opens fine in any other application.


2. My SAS code thus far trying to import the above file into a dataset.


I think my problem is obvious after running the SAS code give; but I think it is something to do with each line being much longer than the what I would think the records are?

Sorry, this is confusing to me.

Thanks!
 
OMG. I figured this out; very stupid misinterpretation of how the infile/input commands are formatted, but it took me all day to figure out! LOL.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top