Help using Base SAS procedures

How to prevent reporting going out if no data

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 114
Accepted Solution

How to prevent reporting going out if no data

I have reports dependent on other systems I would like for my script to not sent report if the report is blank and to try again in a hr..thank you for assistance

Accepted Solutions
Solution
‎05-01-2018 03:11 PM
Valued Guide
Posts: 597

Re: How to prevent reporting going out if no data

If your code for generating report is blank then your dataset also might be  blank. So write a logic to iterate until your condition is met. Use SLEEP() function to make your iteration sleep for certain time. 

Thanks,
Suryakiran

View solution in original post


All Replies
Solution
‎05-01-2018 03:11 PM
Valued Guide
Posts: 597

Re: How to prevent reporting going out if no data

If your code for generating report is blank then your dataset also might be  blank. So write a logic to iterate until your condition is met. Use SLEEP() function to make your iteration sleep for certain time. 

Thanks,
Suryakiran
☑ This topic is solved.

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

Discussion stats
  • 1 reply
  • 125 views
  • 0 likes
  • 2 in conversation