Please post the complete (all code and messages) log of the PROC SQL step by copy/pasting it into a window opened with this button:
What does your SAS log show? That your PROC SQL query never completes or something else? My guess is that the query never completes and that EG is prompting you if you want to continue running it or not.
What type of solution do you want? For the message not to pop up every 60 minutes, which I suspect might be an EG setting, or for your query to run faster so it completes in less than 60 minutes avoiding the message?
Please post your program in that case.
Do LIB1 and LIB2 point to external databases by any chance? If so it is possible that SAS can't push the functions you are using and so is reading all data to SAS first before joining. What happens if you remove the TRIM and UPCASE functions?
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.