Desktop productivity for business analysts and programmers

Sharing PROC SQL code between multiple Enterprise Guide users

Reply
Contributor
Posts: 32

Sharing PROC SQL code between multiple Enterprise Guide users

I would like to share some of the code that I have written between multiple users.

 

Essentially, we have some complex data structures that I will be "flattening", allowing for a larger audience of users to access the data.

 

I have thought about using Stored Processes, however they do not seem to be wanting to return data sets within Enterprise Guide.

 

Another option would be a set of SAS programs / code files stored somewhere - either on our file servers or ideally within SAS Folders in the metadata.

 

Are there other alternatives I should consider, keeping in mind that we are limited to SAS Enterprise Guide as the tool?

 

(It seems Task Templates do not quite work as they require registering as DLLs at the installation path - being within a Citrix environment that is less than ideal from a practical point of view)

 

Thanks

Super User
Posts: 3,233

Re: Sharing PROC SQL code between multiple Enterprise Guide users

If your SQL code involves single queries creating single tables then you could consider creating SQL views to share between users.

 

If your SQL is more complex then putting these in AUTOCALL SAS macros could be a good way to share as an AUTOCALL library can easily be set up centrally. 

Super User
Posts: 7,383

Re: Sharing PROC SQL code between multiple Enterprise Guide users

When you prepare data for users, as an alternative consider to create ready-for-use datasets instead of views or program pieces that create the datasets on the fly.

You may prevent unnecessary runtime loads on the server(s) by trading some disk space.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Ask a Question
Discussion stats
  • 2 replies
  • 230 views
  • 0 likes
  • 3 in conversation