Avoid using inline PERFORM with too many lines of code | CAST Appmarq