DATA Step, Macro, Functions and more

How to double the data

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 9
Accepted Solution

How to double the data

I have a table ( l column and 2000 rows).

 

And I want to double 2000 rows.

The result should be 1column and 4000 rows.

But I can't find the function...

Any help and tips will be much appreciated. thanks . jamie.


Accepted Solutions
Solution
‎03-22-2017 10:03 PM
Super Contributor
Posts: 251

Re: How to double the data

data want;
set have;
output;
output;
run;

View solution in original post


All Replies
Solution
‎03-22-2017 10:03 PM
Super Contributor
Posts: 251

Re: How to double the data

data want;
set have;
output;
output;
run;
Contributor
Posts: 43

Re: How to double the data

Would you like to dublicate variables ? Could you explain what is the main aim please ?
☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 133 views
  • 0 likes
  • 3 in conversation