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

What is a must for multitasking? a) Process preemption b) Paging c) Virtual memory d) None of the above

9 Answers   InterGraph,


how to write the fallowing code in java? 1 4 9 16 25 36 49 64 81 100

1 Answers  


hi this is uday i want prepare for nic exam if any one have previous question papers please send me or atlest guide me how to prepare my ID is udaykiran4u@in.com

0 Answers  


How to set on/off a group of indicators in a single statement?

0 Answers  


how many languages .net is supporting now?

4 Answers  






Given a Binary Search Tree, write a program to print the kth smallest element without using any static/global variable. You can?t pass the value k to any function also.

0 Answers   Amazon,


what are the steps for creating prompt table dynamically for the specified field

0 Answers  


needs examples for black box testing and white box testing

1 Answers   CTS, IBM, Wipro,


Where do we need Operator overloading?

0 Answers   BirlaSoft,


How can recruiter justified that the candidate is expert in Algorithm and datastructure for Software product development ?

0 Answers  


if there are n nodes in a binary tree, how many null pointers are there?

4 Answers   Hughes,


what is encapulation?

4 Answers   Syntel,


Categories