DATA Step, Macro, Functions and more

Cannot use Datalines in Macro

Reply
Frequent Contributor
Posts: 139

Cannot use Datalines in Macro

Hi,

Why Datalines or cards cannot be used in macro definition? What is the way around for same?

Super User
Posts: 10,020

Re: Cannot use Datalines in Macro

Posted in reply to manojinpec

Hi.

Refer to this topic. You will find the answer.

http://communities.sas.com/message/111042#111042

Although you can't use datalines or cards in Macro. But you can use INFILE statement to replcae it.

Ksharp

Ask a Question
Discussion stats
  • 1 reply
  • 204 views
  • 0 likes
  • 2 in conversation