Having followed the pairing of section delimiters "{ & }" it looks to me as if I may have one to many } closing at the end of the method which shouldn't be there, as it is defining an end to section which should end further down?
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } <- As in
With this error 6126 is gone but replaced by:
4065, 6062, Initializer list longer than declared package length
4098, 6084, Object does not exist (DTGP)