DATA Step, Macro, Functions and more

Incorporate data in datastep

Accepted Solution Solved
Reply
Contributor
Posts: 32
Accepted Solution

Incorporate data in datastep

Hi, i need to easily add data in a datatesp as datalines. I think I rememebr seeing a post about a mcro that does this, but cannot find this macro. Can anybody point me in the right direction?

 

Thanks


Accepted Solutions
Solution
‎12-19-2016 08:52 AM
Super User
Posts: 17,963

Re: Incorporate data in datastep


All Replies
Super User
Posts: 5,260

Re: Incorporate data in datastep

Datalines should only be used for demo/testing/training purposes.

Even if you could generate it dynamically, you need a logic to do so, and that could probably be done in a normal data step fashion.

Data never sleeps
Solution
‎12-19-2016 08:52 AM
Super User
Posts: 17,963

Re: Incorporate data in datastep

Contributor
Posts: 32

Re: Incorporate data in datastep

Thanks a lot. Worked like a dream

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 216 views
  • 0 likes
  • 3 in conversation