Though I'm using SAS for some 40+ years now, my first attempt to run this program just failed. Incredibly. It let me wonder "how come"? The simple answer is, I submitted the program to an EBCDIC environment, not an ASCII one. Anyhow, nice hidden coding to retrieve the content of the last dataset. Thanks or the challenge!