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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1218 views
  • 2 likes
  • 4 in conversation