Hello,
I would like to know why my created index is not matching against entries, and how to do it correctly i guess:
example below should match the Match this Value from the MATCH Dataset, but it comes back with a blank value.
DATA DAN.test_data1;
input first $char80. second $char80.;
datalines;
MATCH
THIS
NOT
THIS
MATCH
THIS
NOT
THIS
;
run;
DATA match;
input name $char80.;
datalines;
MATCH THIS
;
run;
proc datasets library=dan ;
modify test_data1 ;
index create match_name=(first second);
run ;
DATA INDEX_MATCH;
SET match;
SET dan.test_data1 KEY=match_name / UNIQUE;
RUN;
In the reall world i have 1000 names that i would like to match against a dataset of 1 million rows , creating an index on first and second name - but my results are coming back blank, using effectively the same logic as above.
Any help is greatly appreicated
Mr E