OK - This sounds so simple but I can't seem to find anything on the net... The objective is straight forward:
I need to AUTOMATICALLY create a data set with ONE column, the rows populated with a incremental range... example:
data one;
input X;
cards;
-1
0
1
2
.... etc
I want to use macros to define the min, max and steps...
You see... In a separate data set I have the outputs from a PROC REG equation. I intend to use the Dataset above to solve the equation across the range...
I envision using a DO-LOOP to create the dataset... then input my equation parms via macro, and solve the equation for the range....
Any ideas??
Thanks, Rick
I need to AUTOMATICALLY create a data set with ONE column, the rows populated with a incremental range... example:
data one;
input X;
cards;
-1
0
1
2
.... etc
I want to use macros to define the min, max and steps...
You see... In a separate data set I have the outputs from a PROC REG equation. I intend to use the Dataset above to solve the equation across the range...
I envision using a DO-LOOP to create the dataset... then input my equation parms via macro, and solve the equation for the range....
Any ideas??
Thanks, Rick