Hi: Unfortunately, this is an instance where someone has to look at ALL your code, including the long parts and the macro code. It seems like you have an access problem or an issue with your macro variable or you have a stray CLOSE someplace in your code that did not get deleted. This is really something that is best worked on with Tech Support. They can replicate your version of SAS and experiment with your code to see if they experience the same issue that you report. cynthia
... View more