BookmarkSubscribeRSS Feed
Nira
Calcite | Level 5
My SAS requirement is writing multiple same rows into single row for a record. But i got output for 1st record. Its not reading and writing for next record. I have used RETURN function also.
2 REPLIES 2
VENKATAMAHESH
Calcite | Level 5
could you post some dummy data related to this problem? mention what you had and what you want.
Kurt_Bremser
Super User

There is no RETURN() function, but you may have confused the RETURN Statement with the RETAIN Statement.

Please supply some example data (best in usable form, which means a data step with datalines), and what you expect to get out of it. Also post the code you tried, so we can see what went wrong.

Use the "little running man" button for posting code.

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
  • 2 replies
  • 761 views
  • 0 likes
  • 3 in conversation