Hi Laxmi
Thanks for the response, but:
The proc contents mentioned is the starter code as part of the question. I have also used a proc step. (the code provided was the solution given on the site and not my code).
The question states that "A sort is not required because the datasets are already sorted by the common variable".
Here are the issues:
1. The log says that orion.order__item is not sorted. (Hence, a proc sort was used - although supposedly not required, as per the question).
2. Just like my code, running your code also gives the total no. of observations as 733.
Here is my code: