3710 Insufficient memory to parse this request, during %VSTR phase.
The request was more complex than the Teradata SQL Parser could process. The parser stopped at the indicated phase.
Increase the DBS Control Record field MaxParseTreeSegs. See Teradata Database Design manual. Otherwise, simplify the request and resubmit it. If the request appears to be simple and there is some question as to whether it should fail for lack of memory, submit the script to your support representative.