DATA Step, Macro, Functions and more

How make condition macro to run dataset

Accepted Solution Solved
Reply
Contributor
Posts: 34
Accepted Solution

How make condition macro to run dataset

I having a variable count , if count is getter than zero then and only run the particular proc report and that count must be shown on tittle on each run.

Accepted Solutions
Solution
‎02-01-2017 12:44 AM
Super User
Posts: 17,735

Re: How make condition macro to run dataset


All Replies
Contributor
Posts: 34

Re: How make condition macro to run dataset

For exam like this
If any_var > 0 then run any_dataset;
Super User
Posts: 5,254

Re: How make condition macro to run dataset

Take a look at call execute, or create a macro variable using call symput, that you can test on with %IF.
Data never sleeps
Solution
‎02-01-2017 12:44 AM
Super User
Posts: 17,735

Re: How make condition macro to run dataset

☑ This topic is SOLVED.

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

Discussion stats
  • 3 replies
  • 189 views
  • 1 like
  • 3 in conversation