3712 Insufficient memory for Plastic Steps for this request.
The request was more complex than the Teradata SQL Parser could process. The parser stopped during generation of 'Plastic Steps' which must fit within two segments of memory. A single 'Plastic Step' must fit within one segment.
Increase the DBS Control Record field StepsSegmentSize. See Teradata Utilities Manual for information on DBS Control fields. 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 script to your support representative.