BookmarkSubscribeRSS Feed
Shakti_Sourav
Quartz | Level 8

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?

2 REPLIES 2
LinusH
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
AnjaliKumari
Calcite | Level 5

Please go through the link provided by SAS help center.

 

You can reuse an existing control table or create one manually. You can also create a job that uses the Library Contents transformation. This transformation generates a listing of the tables contained in the library that holds the tables that you plan to run through the iterative job. This control table is based on the dictionary table of that library.
Perform the following tasks:

 

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 2 replies
  • 904 views
  • 0 likes
  • 3 in conversation