i have a dataset with var1,var2,var3; i want to upload the
titles for the variables . How can we?



i have a dataset with var1,var2,var3; i want to upload the titles for the variables . How can we?..

Answer / naveen

proc print data=ttt;
title "abcd";
var var1 var2 var3;
run;

Is This Answer Correct ?    1 Yes 10 No

Post New Answer

More SAS Interview Questions

/* To determine the maximum and minimum of V1 */ data before3; input v1 v2 v3; cards; 3 2 1 4 6 5 2 1 3 6 5 4 1 3 2 5 4 6 ; run;

5 Answers  


When looking for data contained in a character string of 150 bytes, which function is the best to locate that data: scan, index, or indexc?

7 Answers  


Explain what Proc glm does?

0 Answers  


Describe a time when you were really stuck on a problem and how you solved it?

0 Answers   DELL,


How would you delete duplicate observations?

9 Answers  






Mention what is SAS data set?

0 Answers  


whenever we using the merging through data set merging ,we can get note in log like this "MERGE STATEMENT HAS MORE THAN ONE ONE DATASET BY REPEATED BY VAIABLES" but the output has come in good manner,whenever in in sql(full join) we can get cartion product.so How do overcome this problem in sql?

1 Answers   Accenture,


How could i automate the code in the scenario:Every month one new data set will be created for that perticular month transaction list.Now i would like to update the data in the source table by appending every month data automatically. jan---set jan; feb---set jan feb; mar---set jan mar;

2 Answers   HSBC,


What is a macro routine?

0 Answers  


libname deepak 'C:\SAS Files'; proc format; invalue convert 'A+' = 100 'A' = 96 'A-' = 92 'B+' = 88 'B' = 84 'B-' = 80 'C+' = 76 'C' = 72 'F' = 65; data deepak.grades; input ID $3. Grade convert.; *format Grade convert. ; datalines; 001 A- 002 B+ 003 F 004 C+ 005 A ; proc print data = deepak.grades; run; I get the following output Obs ID Grade 1 001 . 2 002 . 3 003 . 4 004 . 5 005 . I don’t understand why Grade shows up as a missing value. Everything seems fine, including ID $3. Now, in case I use ID : $3. Or use column input, I get the desired output. Kindly help Deepak

7 Answers  


What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?

0 Answers   Quintiles,


Hi im new to sas. I have a file with some charecter variables and some numeric variables now i want to load charecter variables into one datastep and numeric variables into another data step pls let me know Thanks

2 Answers  


Categories