You are on page 1of 4

http://aspireit.

net/

What is SAS Base?

A system that delivers the output in a variety of easy-to-access formats, like as SAS data sets,
procedure output files, or HTML. Using Macros makes coding in Base SAS. SAS windowing
environment. Interactive, graphical user interface that enables you can easily run SAS and test
your SAS programs. SAS base code is much easier in case the logic of code is very complex.

A flexible, extensible 4GL and web-based interface for data access, transformation
and reporting

Who uses SAS?


SAS Environment is specially design for Data Accessing, transfer information and
Reporting. SAS is including in programming language for data manipulation retrieving
and storing the information, descriptive statistics and report writing.

All of the Companies that are using SAS, such as – Computer Software, information
technology and services, Pharmaceuticals, Agriculture, Hospitals and Health Care,
Banking Finance sectors, Insurance companies, Staffing and Recruiting, For Higher
Educational purpose and Management consulting.

Benefits of SAS Base

Make programming fast and easy.

It access industry-standard data security. You can encrypt the SAS data on disks, and
increase security for stored passwords.

It combines SAS and Hadoop.You can submit the hdfs commands, MapReduce
programs and Pig language programs from SAS.

Increase your computer resources. It improves the performance and security.

Easily create reports in standard office format such as rtfs, pdfs, Microsoft
PowerPoint, Html and E-book Format and deliver easily to mobile devices.

Programmers can read, format, analyze and the report on data quickly.
http://aspireit.net/

About Base SAS Software


SAS Base Software is the core of the SAS System.

1) Data Step :
The programming language that use to manipulate and manage your SAS Data.

2) SAS Environment :
It is an interactive and graphical user interface that enables you to easily run SAS and test your SAS
programs.

3) SAS Procedures :
SAS procedures offer users with a unique ability to generate quick results – requiring little, if any,
programming skills. In SAS Procedure some software tools for data analysis and reporting.

4) Data Step Debugger :


It is a programming tool that helps you find logic problems. DATA step programs - When you submit
a data step with the Debugging option Then SAS compiling starts, it displays the debugger windows, and
pauses until you enter a debugger command is to begin execution. You can debug only one Data step at
a time. You can use the debugger only with a DATA step, and not with the procedure step.

5) Micro facility :
It is a powerful programming tool for extending and customize SAS software programs and for
reducing text in your programs.

6) SAS windowing environment:


It is an interactive with graphical user interface that enables you to easily run SAS and test your
SAS programs. You can edit and execute programming statement.

How The Data Step Woks for SAS:


The DATA Step statement begins with the process of building the SAS data set and names the
data set. The statements that make the data step compiled and execute.

If the syntax is check hen the data step are compiled. If the syntax is correct then the data step
are executed. A loop of DATA steps is an automatic output and return action.
http://aspireit.net/

Flow of the Data Step:

Compiles

Syntax Checking

Creates
Input buffer, Descriptor
buffer

Begins

Data Statement

Sets
Variable value to missing
the program data vector

Close
Data Read No
Data set;

Yes

Read

Input record

Execute

Statements

Writes

SAS data set

Returns

Data step
http://aspireit.net/

Compilation Phase:
After you submit the DATA step for execution process, then SAS checks the syntax of the SAS statements
and compiled, that mean it automatically translating the statements into machine code.

How To Processing the SAS Code:

A) Create (input buffer):

Input buffer is a logical area in memory into which SAS reads each record of data from a raw data
file when the program executes.

B) Sets (program data vector):


It is builds the SAS data set, and one observation at a time. When a program executes, SAS
reads data values from the input buffer. It mean by creates them by executing SAS language
statements. SAS assigns the values to the appropriate variables in the program data vector.
From here, SAS writes the values to a SAS data set as a single observation .

Execute Phase:
SAS reads a record into the input buffer. SAS then reads the values in the input buffer and assigns
in the program data vector. It also calculates the values for variables. The SAS program loops back
to the top of the DATA step.

You might also like