BookmarkSubscribeRSS Feed
DartRodrigo
Lapis Lazuli | Level 10

Hi experts;

 

Is there some way to create a table containning All libnames, paths, sizes, owners and tables ?

 

If possible, try to link this with the programs that they were created. 

 

Thanks is Advance

9 REPLIES 9
Reeza
Super User

SASHELP.VLIBNAM

 

 

error_prone
Barite | Level 11
Impossible to link them to the programs creating the datasets, because those programs could be anywhere, you can't be sure that the program exists at all. Things are different, when working with sas DI.
DartRodrigo
Lapis Lazuli | Level 10

Ok, but i need to know owner and user that access them ?

Reeza
Super User

@DartibaliRodrigo wrote:

Ok, but i need to know owner and user that access them ?


Libraries don't have owners, you may be able to figure out who created it, but often that can be an administrator rather than who uses or controls the data. Do you have an audit system set up on the data sets to track who accesses them? If not, then you can't track who's accessing what data set.

DartRodrigo
Lapis Lazuli | Level 10

Even with shell script ?

 

Maybe use some shell commands to track this.

 

Problem is:

We are migrating SAS 9.02 to 9.04 per waves.

 

Wave1 - 100 PGMS migrated

Wave2 - 200 PGMS migrated

...

...

 

We will put Wave1 to run on SAS 9.04 and need to track all datasets and paths. (Done)

 

I only need to track anyone who can validate these datasets, maybe one person per filesystem. (Not done)

 

Thanks

Reeza
Super User

You can find who created the data sets if you can run shell scripts on your system. That depends on your OS and you'd use OS scripts. Whether that maps to who can validate the data set is a business problem. 

 

 

ballardw
Super User

@DartibaliRodrigo wrote:

Even with shell script ?

 

Maybe use some shell commands to track this.

 

Problem is:

We are migrating SAS 9.02 to 9.04 per waves.

 

Wave1 - 100 PGMS migrated

Wave2 - 200 PGMS migrated

...

...

 

We will put Wave1 to run on SAS 9.04 and need to track all datasets and paths. (Done)

 

I only need to track anyone who can validate these datasets, maybe one person per filesystem. (Not done)

 

Thanks


I really hope you mean you are migrating to SAS 9.4

Reeza
Super User

SAS numbers it that way :S

Which is why I always double check when someone says SAS version 9.0

 

9.04.01M3P062415

DartRodrigo
Lapis Lazuli | Level 10

Mean the version of proc setinit; 

 

Current version: 9.04.01M4P110916 

 

But yes, SAS 9.4

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 9 replies
  • 1761 views
  • 1 like
  • 4 in conversation