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
VMware
Enterprise
IntelliFlex
Lake
Product
Workstation-Attached Call-Level Interface Version 2
Release Number
15.xx, 16.xx, 17.xx, 20.xx
Published
June 2022
ft:locale
en-US
ft:lastEdition
2024-11-18
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 .