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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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