Answer: Option B and C are correct.
Explanation :
A
SAS name is a token
that represents:
- variable
- data set
- format
- informat
- procedure
- option
- statement label
- libref or fileref
- catalog entry
- array
- macro or macro variable
- component object
Rules for the SAS names
(variable names, data set names, library reference names, etc)
:
- The first
character must be
an English letter or underscore and
subsequent characters can be
letters, numeric digits, or
underscores.
- User-defined format
names cannot end in a number.
- Blanks cannot
appear here and special characters, except for the
underscore, are not allowed. In filerefs
only, you can use the dollar sign ($), the number sign (#),
and the at sign (@).
According to the above
rules,
- Variables
start with a letter or underscore and continue
with any combination of the numbers, letters, or underscores
as the same as library reference names and data set
names. But the
name of the variable should contain 32 characters. So
this statement is incompletely explained in Option
A. So, option A is
eliminated.
- Library reference
names have a length of 8 Bytes i.e it can
contain characters less than equal to 8 characters and according to
the above rules it should start with a letter or
underscore. So, Option B is
correct.
- The length of the data set name is
32 Bytes. It can contain 1 to 32
characters.
- SAS converts
all the characters in the data set name directly to
uppercase. So, Cat and CAT has no
difference. So, data set names are not case
sensitive
- The above two statements tell us
that option C is correct.
- From above all discussions,
options B and C are correct.