Instead of splitting datasets along dates, create separate datasets for years (or even months) when you import the data into SAS in the first place. You can always concatenate datasets as needed in a view if you need to work over more than one period. This is the method we have used at the company I used to work at.
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and lock in 2025 pricing—just $495!