I have a dataset concat having a variable a b & c. How to rename a b to e & f?



I have a dataset concat having a variable a b & c. How to rename a b to e & f?..

Answer / Ti Priensh Bhagat

You can use the RENAME statement in SAS to rename variables. Here's an example: `data newdataset; set olddataset; renaming (b=e f); run;`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

why is sas data integration studio important? : Sas-di

1 Answers  


how can u import .csv file in to SAS?tell Syntax?

7 Answers   CitiGroup, Franklin Templeton,


tell me about use of arrays in sas

1 Answers   CoreEL,


What are MIs reports? what is the use of MIS reports and How can u generate the MIS reports in SAS? If any body know explain with the eg.

2 Answers   ABC, ASD Lab, CitiGroup,


Intern stastical programmer written test

1 Answers  


Differences between where and if statement?

1 Answers  


how do you validate sas program?

6 Answers   Accenture,


what kind of variables are collected in AE dataset?

3 Answers   Accenture, Quintiles, SAS,


Are you involved in writing the inferential analysis plan? Tables specfications?

1 Answers  


How necessary is it to be creative in your work?

1 Answers   Oracle,


How to read an input file in sas?

1 Answers  


hi i am nipun can anybody tell me that if a clinical sas programmer write the code and after successfull execution where do they store it. how they submit tables to TL how work is assigned to programmers either both code, log, output to be submitted. can any one tell me the process

2 Answers   HSBC,


Categories