When you open a DATASET (as opposed some generic FILE) with the OPEN() function it returns a reference to that dataset. So to close it you pass that reference back to the CLOSE() function.
%let rc=%sysfunc(close(&mv_id_table)) ;
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.