BookmarkSubscribeRSS Feed
Alena1
Calcite | Level 5
Hi, guys
I need help in reading external file.

How to read external text -file with multiple rows to one observation with one column?
3 REPLIES 3
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Hold the read point over with @@, for instance this gives some examples:

https://analytics.ncsu.edu/sesug/2014/CC-13.pdf

You would need to write the logic as to when to write out the dataset line.

srinath3111
Quartz | Level 8

Hi,

 

As per your query i think double trailing '@@' should solve your issue.

 

If you could elaborate your query with a small instance that would be appreciated.

 

Thanks,

Srinath 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1197 views
  • 2 likes
  • 4 in conversation