Descriptor Portion of Data Set
The descriptor portion of the data set contains the details of the data set such as the number of observations, variables, data set size and so forth.
It can be displayed using the CONTENTS procedure:
Proc Contents Data=SASHelp.Class;
Run;
The CONTENTS procedure above prints the descriptor portion of the CLASS data set:
The descriptor portion of the data set consists of a number of tables.
The first table contains information about the data set name, member type, creation date and so forth:
The second table shows the number of observations and variables in the data set.
It also displays whether the data is sorted or indexed.
Based on the information above, the CLASS data set is neither sorted nor indexed.Note: SAS index could allow more efficient processing of certain types of programs. The concept of the SAS index will be discussed in the future modules.
The third table contains information about the engine/host information:
The last table displays the list of variables in the data set:
✍️ Exam Tips
The CONTENTS procedure displays whether the data set is sorted or indexed.
The table above shows that the data set has no index. It is neither sorted nor indexed.
? Sample Exam Question(s):
Question 3
Question 3:
The answer is (d).
The table shows that the data set is neither sorted nor indexed.
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. |