BookmarkSubscribeRSS Feed
kahuso
Calcite | Level 5

I am attempting to change the production execution of a model from 3am to 11pm the previous day. The data pull requires completion of a data load for execution that is tied to a daily date column and the model is executed daily. Do you have any suggestions on how to create flexibility in scripting to account for pulling data after midnight, in the event the data load is incomplete by that time?

1 REPLY 1
SASKiwi
PROC Star

What is the earliest time your source data will be complete and ready to be extracted? There is no point doing a data pull until you are sure that your source data is complete - how do you tell if it is complete or not?

I have a similar daily extraction process. To confirm the source data is complete I run a query process that loops with a time delay. Once the process confirms the row count and the latest load time, the looping stops and the extraction starts. This is one way you could approach your problem.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

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