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: 252

Re: How to double the data

Posted in reply to jamie0111
data want;
set have;
output;
output;
run;

View solution in original post


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

Re: How to double the data

Posted in reply to jamie0111
data want;
set have;
output;
output;
run;
Contributor
Posts: 54

Re: How to double the data

Posted in reply to jamie0111
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
  • 155 views
  • 0 likes
  • 3 in conversation