Guesses based on on code or data:
The input data is not exactly the same and there is a duplicate in one of the data sets that is not accounted for in the code somewhere, given the error, likely a PROC TRANSPOSE.
If the input data is the same, and you've used PROC IMPORT, it's possible the import truncated some data to create duplicate keys which may not have existed in the other version. PROC IMPORT guesses at types and lengths and not always correctly.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.