We have no clue what a PR.PRSTDTC might be, where the "date part" might be located.
Example data, what you have and what you expect for a result would help.
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.