Question 76:
The following SAS program is submitted:
proc datasets lib = sasuser;
contents data = class varnum;
quit;
Which one of the following is the purpose of the VARNUM option?
- to print a list of variable names
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering Python Certification Material
Correct Answer : 4
VARNUM: Print a list of the variables by their logical position in the data set. Without varnum, proc contents will print the variables in alphabetic order. varnum makes proc
contents to print the variables in the order they were created. VARNUM returns the variables logical position in the dataset from when it was created in comparison to the others.
You can access to full explanation to question and answer from this page.