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

I want to pass .pdf files as OlE Object to crystal report through VB6. Please any one guid me...

0 Answers  


if try is followed by finally block what happen to exception occured in try block

3 Answers   Professional Access,


what is database?how to tell 3years boy or girl by using toys?

1 Answers  


shall we execute our java programmes in jre

0 Answers  


how can we implement locks in plsql?

0 Answers  


I'm new to ABAP. What is Module pool in SAP?

0 Answers   TCS,


Corillian's product is a "Component Container." Name at least 3 component

1 Answers  


can php support multiple inheritence?

2 Answers  


what is class module in vb6? what it's use? with example..

0 Answers  


how to fin top two miximum values in sql? not 2nd both max value of 1st and 2nd both have to find out

0 Answers  


Explain the difference between an expert and a novice user. How would your strategy for designing user interfaces for an expert user differ from that for designing user interfaces for a novice user.

0 Answers  


How can successful and thorough systems planning, analysis, and design be ruined by poor systems construction and implementation? How can poor systems analysis or design ruin a smooth construction and implementation? For both questions, list some consequences

1 Answers  


Categories