BookmarkSubscribeRSS Feed
asd3
Calcite | Level 5

Hi,

 

I have several DI jobs each taking in different source tables.

e.g:

1) job 1 - table 1, table 2

2) job 2 - table 1, table 3, table 4

3) job 3 - table 4, table 5

 

Is there anyway i can extract these information into a SAS dataset in the following format?

 

e.g.:

 

job_names source_tables
job 1           table 1
job 1           table 2
job 2           table 1
job 2           table 3
job 2           table 4
job 3           table 4
job 3           table 5

1 REPLY 1
Patrick
Opal | Level 21

DIS has a built-in report which gives you this information. If you need it as a SAS table then you'll have to query SAS metadata. 

Googling I found here a discussion with such code which has been marked as solved.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—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
  • 1 reply
  • 1351 views
  • 0 likes
  • 2 in conversation