CNSSET LINES - Teradata Vantage - Database Engine 20

Database Utilities

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Database Engine 20
Teradata Vantage
Release Number
20.00
Published
June 2025
ft:locale
en-US
ft:lastEdition
2026-03-26
dita:mapPath
ron1747160181474.ditamap
dita:ditavalPath
ft:empty
dita:id
vkz1472241255652
lifecycle
latest
Product Category
Teradata Vantageā„¢

Sets the number of lines that are saved from the output display area and sent to DBW after a reconnect with CNS.

Syntax

CNSGET LINES n

Syntax Elements

n
number of lines to be saved.
Valid values range from 2 to 72 lines.
The default is 10 lines.

Usage Notes

Teradata recommends setting large values (for example, 10 or more lines), unless the display of old input and output after a reconnect is a security concern.

To check the current number of lines set, issue the CNSGET command. For more information, see CNSGET.

Example: Setting the number of lines to be saved from the DBW display

In this example, the number of lines set to be queued on the system is 12.

cnsset lines 12

Result:

CNSSUPV: cns will save 12 lines per screen.