Hi,
I want to create a dataset that looks like this
data out;
input id description $ num_of_errors error $;
datalines;
1001 some_string &count_of_record some_error
;
data table1;
input test;
datalines;
1
2
3
;
here I want &count_of_record to be the number of rows from table1. so when I print the data out,
the result will look like this
id description num_of_error error
1001 some_string 3 some_error
I'm wondering if there's a programming way to do this instead of manually type in. Thanks!