You cannot use in-line data inside a macro. Once the macro is compiled into the word token the concept of a LINE of data is gone.
But you don't need the datalines, you need the dataset.
So generate the data some other way.
data _xtemp;
do endrange
=-100
,-75
,-50
,-30
,-20
,-10
,0
,10
,20
,30
,40
,50
,60
,80
,100
,125
,150
,200
,250
,300
,350
,400
,500
,600
;
output;
end;
run;
You could also use the TO and BY keywords to save some typing.
data _xtemp;
do endrange=-100,-75,-50
,-30 to 60 by 10
,80,100,125
,150 to 400 by 50
,500,600
;
output;
end;
run;
... View more