I have one file that is portion document file like TXT file
How to import or take that file into sas
Show us the .txt file. Copy/paste a few lines into a code box, or attach the file to your next post.
Something seems to have gone wrong, I can't see any attachments.
@thanikondharish wrote:
I have one file that is portion document file like TXT file
How to import or take that file into sas
Do you have any document that describes the content of the file? Such as is it delimited and what character delimits variables (tab and comma are common). Or is fixed column input, where a value starts in a specified column number?
Do you know if there are date, time or date time values and what layout they will have?
If such a document exists then likely it will be moderately easy to write a data step to read such file layouts.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.