10-30-2015 04:50 PM
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)
10-31-2015 03:28 AM
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.
11-01-2015 05:32 AM
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.