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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1023 views
  • 0 likes
  • 2 in conversation