BookmarkSubscribeRSS Feed
BrahmanandaRao
Lapis Lazuli | Level 10
%let N = 100;
data posints;
 do n= 1 to &N.;
 output;
 end;	proc print;
run;

how to get prime numbers 

3 REPLIES 3
FreelanceReinh
Jade | Level 19

Hi @BrahmanandaRao,

 

Not surprisingly, this question has been discussed several times in the Communities. Here's one of those threads:

https://communities.sas.com/t5/SAS-Programming/Do-loop-and-mod-fuction/td-p/561261

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 3 replies
  • 3409 views
  • 2 likes
  • 4 in conversation