There is nothing to solve. The error message tells you, in a
longwinded way, that structs are not supported. You will have to
restructure (or maybe that should be DEstructure?) your code. There
are Oracel type like VARCHAR that can be used which are structures,
but user defined structures are not recognized. This is just a lowly
precompiler after all.

Now there is an alternative. IIRC, you do not have to list all your
variables in the DECLARE section before using them in a query.
Something like this should work: