Base SAS is a data analytics and discovery software. You can use Base SAS solutions for data management, decision-making, business intelligence, risk management, marketing, and advanced data analysis.
Prerequisites and permissions
Before you configure the SAS Base Programs (Accelerator) catalog source to extract metadata from the Base SAS data source, prepare the following prerequisites:
•Split input into logical applications, and then create a configuration for each logical application. For example, if you split the input into 10 logical applications based on lines of business, create 10 configurations. If a line of business comprises different areas such as treasury or accounting, create separate configurations for those areas.
Note:
Jobs might run slowly or become unresponsive if you don't split the input into logical applications.
•The SAS code to be processed
To prepare the input SAS code, select one of the following methods:
- SAS code extracted from execution logs. (Recommended).
Use this method when you have a significant amount of dynamic code driven by runtime values.
- Original SAS programs and macros
Use this method when you do not have dynamic code driven by runtime values.
•CSV files referenced as a source in SAS programs
In the files, ensure that the headers contain only names of extracted columns.
Permissions
Not applicable.
Connection properties
Not applicable.
Types of input
You can extract SAS Base metadata from the following types of input:
Option
Description
Original SAS programs
1Copy the SAS programs from the SAS application instance.
2During scanner configuration, point to the location of the SAS programs by using the following parameters:
- Input files
- Macro definitions files
SAS code extracted from execution logs. (Recommended).
Run your SAS programs with the following SAS options enabled:
- MPRINT
Use this option to display the SAS statements that are generated with macros.
- MFILE
Use this option to redirect logs to a specific file.
- MLOGIC
Use this option to add detailed macro execution logs.
For more information about SAS macro system options, see SAS documentation.
After execution, SAS generates process logs with one of the following programs, depending on your operating system:
- extractSasFromLog.bat
- extractSasFromLog.sh
Note:
For more information about processing logs, see the