BookmarkSubscribeRSS Feed
Obsidian | Level 7

Dear Team,


I am getting 0 value in the target value if there is any job failed. 

Is there any condition used that if the Source table is missing or not maximum year then it can't b truncate and loaded into the Target table? is there any Precode or Postcode available in Table Loader?

Tourmaline | Level 20

Can you specify what you mean by "target value"?

If source table is missing, you will probably get an error.

For maximum year - I don understand exactly what you wish to do, but youcan probably do a pre-code in Table laoder to find out the year from source data and compare to target table. To affect the actual load logic might be tricky though - depends on how/what you actually want to do.



Data never sleeps



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 2 in conversation