How to rename A1-A30 datasets into B1-B30 using macros?



How to rename A1-A30 datasets into B1-B30 using macros?..

Answer / rajasekhar m

%macro rename;
%do i=1 %to 30;
proc datatsets;
change a&i. = b&i.;
quit;
%end;
%mend;

%rename;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

Please describe an example where you used object orientation in one of your programs.

0 Answers  


An image map is a collection of

1 Answers   Velocis,


what is different betweet class and interface in java?

2 Answers   Microsoft, Sun Microsystems,


What is test execution and when will we start execution please send me one example for this question

0 Answers  


Hi, I'm doing B.com 3rd year. Simultaneously I'm doing software engineering in a private institution. I would like to know whether my B.com graduation alone is enough to get me a job in the IT field or should I do some PG course not MBA... suggest me...

1 Answers  






write a query that returns one row for each department and the number of employees in that department. Given two tables EMPLOYEE and DEPARTMENT, where there can be multiple employees per department.

0 Answers   IBM,


what is the difference between java , sap ,.net , orecle apps ?

1 Answers  


8.In DSP,Define Signal and System?and various type of signals.

0 Answers  


how many types of operating system are avaliable?

0 Answers   IBM,


what is the basic and unique feature of dotnet

0 Answers   HCL,


why should i hire u

16 Answers   Google, Satyam,


Hello...has anyone interviewed with Information Management Services(IMS)located in Silver Spring MD??If yes,what can you share about the programming test and the analytical test?

0 Answers   Information Management Services,


Categories