371 BADSEGNUM TDSP Segments exceed the limit set by Server. - Workstation-Attached Call-Level Interface Version 2

Workstation-Attached Call-Level Interface Version 2 (CLIv2) Messages

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Workstation-Attached Call-Level Interface Version 2
Release Number
15.xx, 16.xx, 17.xx, 20.xx
Published
June 2022
Language
English (United States)
Last Update
2023-11-20
lifecycle
Latest
Product Category
Teradata Tools and Utilities

371 BADSEGNUM TDSP Segments exceed the limit set by Server.

Explanation:

The maximum number of segments composing a stored procedure request have been exceeded or the DBCAREA field dbriSeg is not set to L in the case of creating a stored procedure whose number of segments is exactly equal to the maximum number of segments.

Remedy:

Reduce the size of the stored procedure or in the second case, set dbriSeg to L .