Page tree



Back to Knowledge Base

Where to Store Data/Files in SAS Viya

Purpose

The following is a guide on where to store data and files within the SAS Viya environment.

Best Practice

Code (i.e. SAS Code)

Please store all code in your organization SAS Content folder.

Data (i.e. large SAS Datasets, PDF, txt, excel, csv)

Please store all files of these types in your organization workbench folder

Note: If you/your organization does not have access to the workbench folder, please open a ServiceNow ticket to request this. Within the ticket, please provide justification on why you need to store a large amount of files into these folders (i.e. purpose, type of files, etc.). We will work with CMS to provide a solution for your and your organization.

Tables

If you have data that you need to store in table format, please store it in your organization Hive database

You can save data to your organization hive database using the following:

PROC CASUTIL;
    SAVE REPLACE                              
    INCASLIB="&mycaslib" CASDATA="claim_counts"
 OUTCASLIB="&mycaslib" CASOUT="claim_counts";
RUN;