Hi:
1) Are there any LOG messages, such as
[pre]
WARNING: Tagset TAGSETS.EXCELXP not found; the default tagset
will be used instead.
[/pre]
If you see this message, what version of SAS are you running?
2) In my code (and anytime you use ODS), the RUN; statements make a difference. ODS _ALL_ CLOSE is not a step boundary. So the last PROC PRINT would not execute until AFTER the ODS file was closed. Compare my code to your code, as far as RUN statements. I have a RUN at the end of EVERY PROC PRINT step and BEFORE ODS _ALL_ CLOSE;
If you run my code, EXACTLY as I have coded it (which you should be able to do because the code uses SASHELP files), what are the results??
cynthia