Type in the following at the command line:
db2exfmt -d ODSQATDB
then for each prompt, hit the enter key (without typing a response). You will get the last SQL explained and stored in the explain tables. To get more than the last one, you will have to study the Command Reference manual to input the options you want.