Adjust the syntax of your ODS statement to specify the output path depending on whether you are working with SAS Studio or SAS Windowing Environment.
Do you see a window pop up in your programming interface (SAS Windowing Environment) when you try to open a dataset? Set this global option to resolve any issues with the dataset’s associated formats.