The implication of that error message is that your original data contains some values of qdate that are outside the 2000q1-2021q2 range. I assumed that such values of qdate would not exist, but looking back over your original problem description, I see that you never said anything that implied that. So, there are two possibilities:
1. Your data contains values of qdate outside the 2000q1-2021q2 range, and such values are not allowable--in that case you have review the data management that created you data set and fix it so that those values no longer appear.
2. It is perfectly OK for the data to have values of qdate outside the 2000q1-2021q2 ranage and I erroneously built into the code an assumption that there shouldn't be any. In that case, just remove the -assert(match using)- option from the -merge- command and proceed. And accept my apology for the incorrect assumption.
1. Your data contains values of qdate outside the 2000q1-2021q2 range, and such values are not allowable--in that case you have review the data management that created you data set and fix it so that those values no longer appear.
2. It is perfectly OK for the data to have values of qdate outside the 2000q1-2021q2 ranage and I erroneously built into the code an assumption that there shouldn't be any. In that case, just remove the -assert(match using)- option from the -merge- command and proceed. And accept my apology for the incorrect assumption.
Comment