Input Buffer and PDV
If the code contains no syntax errors, SAS proceeds to create three parts that are necessary to build the data sets:
Each of these is explained in the next few sections.
Input Buffer
The input buffer is the area where the data passes through before being written to the data set.
It has individual cells similar to the image below:
When reading raw data from an external source, the data is temporarily read into the input buffer before being read into the program data vector (PDV).
An example will be demonstrated shortly.
Note: the input buffer is created only when the data comes from external sources.
If the data come from a SAS data set, the data goes straight to the program data vector.
The official definition of the input buffer is as follow:
Input buffer is a logical area in memory into which SAS reads each record of raw data when SAS executes an INPUT statement. Note that this buffer is created only when the DATA step reads raw data. (When the DATA step reads a SAS data set, SAS reads the data directly into the program data vector.)
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |