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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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