10-10-2017 02:19 AM - last edited on 10-10-2017 05:41 AM by LinusH
Could you please help me to get below output.
Without supplying input , how can I get below output.
Thanks and Regards,
10-10-2017 02:42 AM
What a strange question...
I assume you're asking us to supply the input because you can't possibly get output without some input! Given that there are more ways than you can possibly imagine - are there more details to this question?
10-10-2017 02:43 AM - edited 10-10-2017 02:43 AM
What do you mean by "output"? Do you want to create a text file, a SAS dataset, something to view in the log?
10-10-2017 02:51 AM - edited 10-10-2017 02:52 AM
Just guessing what you're asking for.
data want1; length want_var $9; do i=1 to 9; want_var=repeat(strip(put(i,best32.)),i-1); output; end; stop; run; data want2; input want_var :$9.; datalines; 1 22 333 4444 ; run;