DATA Step, Macro, Functions and more

insert for each row -enmpy row

Reply
SAS Employee
Posts: 105

insert for each row -enmpy row

HI ,
for example i have this data:

data a;
input a b;
cards ;
1 2
3 4
5 6
7 8
;
run;
i want my output will be like this :

1 2
. .
3 4
. .
56
. .

thanks in advance,
SAS Employee
Posts: 105

Re: insert for each row -enmpy row

never mind ,
got it !
Contributor lu
Contributor
Posts: 23

Re: insert for each row -enmpy row

Hi
try this

data a;
input a b;
output;a=.;b=.;output;
cards ;
1 2
3 4
5 6
7 8
;
run;
lu Message was edited by: lu
SAS Super FREQ
Posts: 8,864

Re: insert for each row -enmpy row

Proc PRINT supports the new BLANKLINE= option in SAS 9.2, as described here:
http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002291718.htm

cynthia
Ask a Question
Discussion stats
  • 3 replies
  • 128 views
  • 0 likes
  • 3 in conversation