Yes, there is a data step option that will create indexes upon table creation.
If the table already exist (and you don't want recreate it), use either Proc Datasets, or SQL.
Data never sleeps
The 2025 SAS Hackathon Kicks Off on June 11!
Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.