SAS Base Programs (Accelerator) Sources > Before you begin > Prepare the Base SAS Programs script files
  

Prepare the Base SAS Programs script files

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:

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
  1. 1Copy the SAS programs from the SAS application instance.
  2. 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
How to pre-process SAS log files to prepare them for the SAS advanced scanner
Knowledge Base article.

Generated asset types

You can extract metadata directly from SAS scripts and indirectly from SAS execution logs.
The SAS Base Programs (Accelerator) catalog source can extract the following asset types:

Relationships

Not applicable.