BookmarkSubscribeRSS Feed
Chikku
Calcite | Level 5

Hi,

Can one of you please help me in understanding the execution phase in SAS.I am aware of Input Buffer and PDV but still not confident enough in the flo

Waiting for your inputs:)

2 REPLIES 2
umashankersaini
Quartz | Level 8

Hi,

PDV (Program Data Vector) : The information about each of the variables is stored in a reserved area of memory called PDV.

SAS Processes data steps in two stages : (1) Compile Stage  (2) Execution Stage

In Compile stage SAS does some housekeeping jobs like to prepare an area to store the sas dataset, then to check input file ( infile statement) to fix various attribute of input file. Then to put all the information at a place in memory called as INPUT BUFFER (where it place each record of data as it is read from the input file).

SAS checks for each variable is character or numeric and the storage length of each variable, this information is called the descriptor portion of the data set.

Descriptor Portion contains : Name of data set, Date and time that the data set was created , Number of observations and the number of variables

                                          (It contains attribute information for each variable in the data set )

SAS does following action during compile stage :

(a) Syntax Scan    (b) Sas Source code translation to machine language

(c) Definition of input and output files  (d) Create input buffer, PDV and data set descriptor information

(e) Setting the variable attribute for output sas data set. (f) Capture of variables to be initialized to missing.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 807 views
  • 3 likes
  • 3 in conversation