BookmarkSubscribeRSS Feed
deleted_user
Not applicable
how can i get 5 identical numbers from one number
ex= from 0.56, i want to have 0.56 five times
2 REPLIES 2
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Please help clarify your question - are you saying that you have a data value (either in a SAS table or as external data), and you want to create a SAS data library member with some number of duplicate (value stored) SAS variables stored in the same SAS table?

It may be better to share a sample INPUT and OUTPUT data file structure listing sample column / field names and desired row/column data values.

Scott Barry
SBBWorks, Inc.
LinusH
Tourmaline | Level 20
You might want to look into arrays.

/Linus
Data never sleeps

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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