Please examine your code very very carefully. You are missing a semi-colon in a key place.
By the way, @PrinceAde , from now on, please show us the ENTIRE log for a given PROC if there is an error message. Do not show us just the error messages. Please copy the log as text and click on the </> icon and paste the log into the window that appears.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.