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 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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