Could you explain it in simpler terms. Please give me a step by step instruction so that it's clear for how to declare an SQLSTATE or AQLCODE variable within a nested compound statement. How can I Identify the source of the error?. How can I remove the nested block that is causing the problem?. And if I choose to refactor the code to avoid using nested blocks how can I do that?