what is validvarname and varnum? why we are using this
options; explain with a syntax for this options?
The following example shows how the Pass-Through Facility
works with
VALIDVARNAME=UPPERCASE.
options validvarname=uppercase;
proc sql;
connect to oracle as tables(user=USERID orapw=passward
path=’INSTANCE’);
create table lab as
select lab_rslt, lab_test
from connection to oracle
(select "laboratory result$", "laboratory test$"
from DBMStable);
quit;
When we check the Output we observe that the variables in
the DBMS column is changed to upper case as well as V7
(default option) converts those variables into UPPERCASE
variables. Ex: " laboratory result$" becomes LAB_RSLT and "
laboratory test$" becomes LAB_TEST
VARNUM returns the number of a variable's position in a SAS
data set, or 0 if the variable is not in the SAS data set.
This is the same variable number that is next to the
variable in the output from PROC CONTENTS.
| Is This Answer Correct ? | 3 Yes | 0 No |
How necessary is it to be creative in your work?
How could you generate test data with no input data?
Mention what is the difference between nodupkey and nodup options?
What are the parameters of scan function?
Tell e how how dealt with..
what is the function of catx syntax? : Sas-administrator
How do I CREATE an external dataset with sas code? I would like to create within a sascode a non-exsistent textfile on the host. So I am not forced to create the file befor filling it.
Describe the ways in which you can create macro variables? : sas-macro
WHAT IS DEBUGGING? HOW TO TEST THE DEBUGGING IN SAS?
How will you generate test data with no input data?
Difference b/n proc means and proc summary procedures?
What statement do you code to tell SAS that it is to write to an external file? What statement do you code to write the record to the file?