In a simple PRG that does a few things, I have 6 tables that are always opened. Some functions are opening new tables. Right now, each function is closing the tables it is opening.
I am looking for a way to make the code generic in the main routine and to be able to close the tables opened by the functions.
I know the name of my 6 tables which are always opened but I don't know the names of the tables that may have been opened by a function.
What will be a good way to get the alias of those opened tables and close them?
This PRG is not using data session.