Professional Documents
Culture Documents
The product or products described in this book are licensed products of Teradata Corporation or its affiliates.
Teradata, Active Enterprise Intelligence, Applications Within, Aprimo, Aprimo Marketing Studio, Aster, BYNET, Claraview, DecisionCast,
Gridscale, Managing the Business of Marketing, MyCommerce, Raising Intelligence, Smarter. Faster. Wins., SQL-MapReduce, Teradata Decision
Experts, Teradata Labs Logo, Teradata Raising Intelligence Logo, Teradata Source Experts, WebAnalyst, and Xkoto are trademarks or registered
trademarks of Teradata Corporation or its affiliates in the United States and other countries.
Adaptec and SCSISelect are trademarks or registered trademarks of Adaptec, Inc.
AMD Opteron and Opteron are trademarks of Advanced Micro Devices, Inc.
EMC, PowerPath, SRDF, and Symmetrix are registered trademarks of EMC Corporation.
GoldenGate is a trademark of Oracle.
Hewlett-Packard and HP are registered trademarks of Hewlett-Packard Company.
Intel, Pentium, and XEON are registered trademarks of Intel Corporation.
IBM, CICS, RACF, Tivoli, and z/OS are registered trademarks of International Business Machines Corporation.
Linux is a registered trademark of Linus Torvalds.
LSI is a registered trademark of LSI Corporation.
Microsoft, Active Directory, Windows, Windows NT, and Windows Server are registered trademarks of Microsoft Corporation in the United
States and other countries.
NetVault is a trademark or registered trademark of Quest Software, Inc. in the United States and/or other countries.
Novell and SUSE are registered trademarks of Novell, Inc., in the United States and other countries.
Oracle, Java, and Solaris are registered trademarks of Oracle and/or its affiliates.
QLogic and SANbox are trademarks or registered trademarks of QLogic Corporation.
SAS and SAS/C are trademarks or registered trademarks of SAS Institute Inc.
SPARC is a registered trademark of SPARC International, Inc.
Symantec, NetBackup, and VERITAS are trademarks or registered trademarks of Symantec Corporation or its affiliates in the United States
and other countries.
Unicode is a registered trademark of Unicode, Inc. in the United States and other countries.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Other product and company names mentioned herein may be the trademarks of their respective owners.
THE INFORMATION CONTAINED IN THIS DOCUMENT IS PROVIDED ON AN AS-IS BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
NON-INFRINGEMENT. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO THE ABOVE EXCLUSION
MAY NOT APPLY TO YOU. IN NO EVENT WILL TERADATA CORPORATION BE LIABLE FOR ANY INDIRECT, DIRECT, SPECIAL, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS OR LOST SAVINGS, EVEN IF EXPRESSLY ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
The information contained in this document may contain references or cross-references to features, functions, products, or services that are
not announced or available in your country. Such references do not imply that Teradata Corporation intends to announce such features,
functions, products, or services in your country. Please consult your local Teradata Corporation representative for those features, functions,
products, or services available in your country.
Information contained in this document may contain technical inaccuracies or typographical errors. Information may be changed or updated
without notice. Teradata Corporation may also make improvements or changes in the products or services described in this information at any
time without notice.
To maintain the quality of our products and services, we would like your comments on the accuracy, clarity, organization, and value of this
document. Please email: teradata-books@lists.teradata.com.
Any comments or materials (collectively referred to as Feedback) sent to Teradata Corporation will be deemed non-confidential. Teradata
Corporation will have no obligation of any kind with respect to Feedback and will be free to use, reproduce, disclose, exhibit, display, transform,
create derivative works of, and distribute the Feedback and derivative works thereof without limitation on a royalty-free basis. Further, Teradata
Corporation will be free to use any ideas, concepts, know-how, or techniques contained in such Feedback for any purpose whatsoever, including
developing, manufacturing, or marketing products or services incorporating Feedback.
Copyright 2000 2012 by Teradata Corporation. All Rights Reserved.
Preface
Purpose
This book is designed to provide users of the Teradata Database with the command syntax of
the utilities found in Utilities.
The following utilities do not have associated syntax diagrams, and are not included in this
quick reference:
Chapter names reflect the utility common name followed by the name of the executable utility
program enclosed in parentheses, for example, Control GDO Editor (ctl). Use the executable
program name to start the utility from the command line or Database Window (DBW). For
information on DBW, see Database Window (xdbw) in Utilities.
Some utilities are restricted to running on specific platforms. These utilities are identified with
a note at the beginning of the utility chapter indicating any platform restrictions.
Audience
This book is intended for system operators and other users who interface with Teradata
Database.
Preface
Supported Software Releases and Operating Systems
SLES 11
Note that SLES 11 will be supported after the initial release of Teradata Database 14.0.
Teradata Database client applications support other operating systems.
Prerequisites
You should be familiar with basic computer technology, Teradata Database, and Teradata
Database utilities.
In addition, you might want to review:
Support Utilities
Utilities
Description
January 2012
Preface
Additional Information
Additional Information
URL
Description
www.info.teradata.com/
Search.
Order printed manuals:
Under Print & CD Publications, select How to Order.
www.teradata.com
www.teradata.com/t/TEN/
www.teradataatyourservice.com
developer.teradata.com/
To maintain the quality of our products and services, we would like your comments on the
accuracy, clarity, organization, and value of this document. Please email teradatabooks@lists.teradata.com.
Preface
Teradata Database Optional Features
Teradata Columnar
You may not use these features without the appropriate licenses. The fact that these features
may be included in product media or downloads, or described in documentation that you
receive, does not authorize you to use them without the appropriate licenses.
Contact your Teradata sales representative to purchase and enable optional features.
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Supported Software Releases and Operating Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Changes to This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Teradata Database Optional Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Table of Contents
Table of Contents
Table of Contents
MODIFY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
QUIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46
10
Table of Contents
INPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
PACKDISK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
PRIORITY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
QUIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
RADIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
RESETBLCTSKCNT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
SCANDISK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
SCOPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
SHOWBLOCKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
SHOWCOMPRESS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
SHOWDEFAULTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
SHOWFSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
SHOWSPACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
SHOWWHERE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
TABLEID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
UNCOMPRESS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
UPDATE DATA INTEGRITY FOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
11
Table of Contents
DELETE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
DEPOT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
DISABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
DISCARD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
DISPLAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
DROP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
DUMPDISK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
ENABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
ERRORS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
FIB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
FIND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
FREECACHE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
HELP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
IDENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
INFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
INIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
INPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
MEMBLK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71
MEMCTX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71
MEMDB. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71
MEMDUMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
MEMROW. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
MEMSORCTX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
MEMWCTX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
MEMWDB. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
MEMWREC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
MI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
MODIFY REDO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
NEXT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
PACK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
PATCH. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
PREV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
PRIORITY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
QUARLIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
QUIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
RADIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
REALLOCDUR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
12
Table of Contents
REBUILDCI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
REBUILDMAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
RENAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
REPAIRSECTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
RESETFREECYL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
ROW. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
SCANDISK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
SCOPE/VPROC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
SEGZERO/SEG0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
SET FREECYL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
SHOWDEFAULTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
SRD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
STAMP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
STORAGEINFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
SYNCSCAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
TABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
TABLEID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
TRACEPRINT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
TRASH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
WABC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
WAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
WCI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
WCID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
WDB. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
WDBD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
WDBREC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
WFIND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
WFLUSH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
WMI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
WREC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
WSUMMARY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
13
Table of Contents
14
Table of Contents
WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Running External Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
15
Table of Contents
16
Table of Contents
17
Table of Contents
18
CHAPTER 1
awtmon
awtmon
-h
-d
-s
-S amp_cnt
-t threshold
t
n
1102B102
19
20
CHAPTER 2
CHECK
CHECK
ALL TABLES
,
30
dbname
EXCLUDE
dbname.tablename
,
30
dbname
dbname.tablename
EXCLUDE
tablename
,
30
dbname
dbname.tablename
A
AT LEVEL
,
BUT ONLY
INDEX ID=nnn
BUT NOT
UNIQUE INDEXES
NONUNIQUE INDEXES
REFERENCE ID=nnn
REFERENCE INDEXES
DATA
LARGE OBJECT ID = nnn
LOB ID = nnn
LARGE OBJECTS
LOBS
SJI ID=nnn
SJIS
PENDINGOP
WITH ERROR LIMIT=
ONE
nnn
TWO
WITH NO ERROR LIMIT
THREE
C
D
SKIPLOCKS
IN SERIAL
IN PARALLEL
TABLES = n
E
PRIORITY=
L
M
H
R
Performance Group Name
F
CONCURRENT MODE
RETRY LIMIT n
;
ERROR ONLY
DOWN ONLY
COMPRESSCHECK
1102H029
21
22
CHAPTER 3
cnsrun
cnsrun
-utility uname
-join uname -screen number
-file file_name
-commands clist
A
-machine host_name
-force
-ok
-query
-help
A
-multi
-nostop
-prompt string
-tool cns_tool_path
-debug n
-log file
-output
B
C
1102C228
23
24
CHAPTER 4
Configuration (config)
ADD AMP
ADD AMP
mmmlist
AA
, CN = nnnn
GT05C001
ADD HOST
ADD
HOST
HN = nnnn
, HT =
A
AH
IBM
COP
ATT3B
BULLHN
OSII00
GT05B002
ADD PE
ADD PE
mmmlist, HN = nnnn
AP
GT05C003
25
BEGIN CONFIG
BEGIN CONFIG
BC
GT05A004
DEFAULT CLUSTER
DEFAULT CLUSTER
c
DC
GT05A005
DEL AMP
DEL AMP
mmmlist
DA
GT05C006
DEL HOST
DEL
HOST
HN = nnnn
D
DH
GT05B007
DEL PE
DEL PE
mmmlist
DP
GT05C007
26
END CONFIG
END CONFIG
EC
GT05A009
LIST
LIST
L
SHORT
FROM
CURRENT
LONG
C
NEW
N
GT05R010
LIST AMP
LIST
AMP
L
LA
SHORT
FROM
CURRENT
LONG
C
NEW
N
1102A163
LIST CLUSTER
LIST
CLUSTER
SHORT
FROM
CURRENT
LC
LONG
C
NEW
N
GT05R012
27
LIST HOST
LIST
HOST
SHORT
FROM
CURRENT
LH
LONG
C
NEW
N
GT05R013
LIST PE
LIST
PE
L
LP
SHORT
FROM
CURRENT
LONG
C
NEW
N
GT05R014
MOD AMP
MOD AMP
mmmlist TO CN = nnnn
MA
GT05C015
MOD HOST
MOD
M
MH
HOST
HN = nnnn
, HT =
IBM
COP
ATT3B
BULLHN
OSII00
GT05R016
28
MOD PE
MOD PE
mmmlist TO HN = nnnn
MP
GT05C017
MOVE AMP
MOVE AMP
mmmlist
TO
nnnlist
MVA
GU01A015
MOVE PE
MOVE PE
mmmlist
TO
nnnlist
MVP
GU01A014
SHOW CLUSTER
SHOW CLUSTER
CN = nnnn
SC
FROM
CURRENT
C
NEW
N
GT05R021
SHOW HOST
SHOW HOST
SH
HN = nnnn
FROM
F
CURRENT
C
NEW
N
GT05B019
29
SHOW VPROC
SHOW vproc
SV
mmmm
FROM
CURRENT
C
NEW
N
GT05R020
STOP
STOP
S
GT05A021
30
CHAPTER 5
ctl
ctl
"
command
;
command
"
"
command
;
command
"
-first
-last
-help
1102B041
EXIT
EXIT
EX
WRITE
1102A157
HARDWARE
HARDWARE
HA
1102A147
31
HELP
HELP
HE
cmd
TOPICS
1102A168
PRINT group
PRINT
PR
ALL
BUTTONS
CHECKBOX
LABELS
SCALES
TEXT
TRACE
1102A226
PRINT variable
;
PRINT
PR
variable
1102A173
QUIT
QUIT
QU
WRITE
1102A158
32
READ
READ
RE
1102A175
SCREEN
SCREEN
SC
DBS
DEBUG
RSS
VERSION
1102A225
variable = setting
variable
= setting
?
1102A177
WRITE
WRITE
WR
1102A178
33
34
CHAPTER 6
Cufconfig (cufconfig)
cufconfig
cufconfig
-h
-o
-i
-f filename
1102C101
35
36
CHAPTER 7
ABORT SESSION
ABORT SESSION
hostid:sesssionno
hostid.username
LOGOFF
LIST
OVERRIDE
*.username
hostid.*
FE0CA036
*.*
CNSGET
CNSGET
FE0CA016
CNSSET LINES
CNSSET LINES
n
FE0CA018
37
CNSSET STATEPOLL
CNSSET STATEPOLL
FE0CA019
CNSSET TIMEOUT
CNSSET TIMEOUT
FE0CA020
LOGONS
ALL
1095A003
1095A001
38
LOGONS
ALL
1095A002
GET ACTIVELOGTABLE
GET ACTIVELOGTABLE
tablename
ALL
1095A007
GET CONFIG
GET CONFIG
FE0CA023
GET EXTAUTH
GET EXTAUTH
1102A085
GET LOGTABLE
GET LOGTABLE
tablename
ALL
FE0CA024
39
GET PERMISSIONS
GET PERMISSIONS
username@host
FE0CB037
GET RESOURCE
GET RESOURCE
FE0CA025
GET SUMLOGTABLE
GET SUMLOGTABLE
tablename
1095A009
GET TIME
GET TIME
FE0CA034
40
GET VERSION
GET VERSION
FE0CA026
GRANT
GRANT
username@host
permission_list
FE0CB038
LOG
LOG
errorlogtext
FE0CA027
QUERY STATE
QUERY STATE
FE0CA028
41
RESTART TPA
RESTART TPA
comment
NODUMP
DUMP =
COLD
YES
COLDWAIT
FE0CA029
NO
REVOKE
REVOKE
username@host
permission_list
FE0CB039
SET ACTIVELOGTABLE
SET ACTIVELOGTABLE
tablename
ON
ALL
OFF
1095A008
SET EXTAUTH
SET EXTAUTH
OFF
ON
ONLY
1102A086
SET LOGTABLE
SET LOGTABLE
42
tablename
ON
ALL
OFF
FE0CA030
SET RESOURCE
SET RESOURCE
COLLECTION seconds
COLL seconds
LOGGING seconds
LOG seconds
LOGGING seconds
LOG seconds
COLLECTION seconds
COLL seconds
1095C004
SET SESSION
COLLECTION
COLL
FE0CB035
SET SUMLOGTABLE
SET SUMLOGTABLE
tablename
ON
OFF
1095A010
START
START
utilityname
1
2
3
4
,VPROC=n
-v= n
-v n
utilityargs
1102A237
43
STOP
STOP
1
2
3
4
44
FE0CA033
CHAPTER 8
DISPLAY
DISPLAY
D
GroupName
GS03C019
HELP
HELP
H
ALL
A
GS03C020
keyword
MODIFY
MODIFY
M
GroupName
field# = value
1102A164
QUIT
QUIT
Q
1102A216
45
WRITE
WRITE
W
46
GS03C023
CHAPTER 9
ABORT
ABORT
GT14A029
DATABASE
;
DATABASE database
1102B031
DROP
DROP
table
database.
1102B033
END
END
GT14A034
47
HELP
HELP
DATABASE database
DUL
1102B035
LOAD
LOAD
FILE = filepath
table
FALLBACK
database.
1102B039
LOGOFF
;
LOGOFF
GT14A041
LOGON
Batch Mode
LOGON
username ,password
,'acctid '
tdpid/
;
1102B042
Interactive Mode
LOGON
username
tdpid/
;
1102B043
48
NOSPOOL
NOSPOOL
ON
OFF
1102A256
.OS
.OS oscommand
;
GT14A045
QUIT
;
QUIT
GT14A046
SEE
SEE
table
database.
1102B047
49
SELECT
SELECT
ALL
PROC
'yymmdd'
ERRORDATE
ERROR
'yyyymmdd'
NOD-NUM
RESET
1102A040
SHOW TAPE
;
SHOW TAPE
GT14A062
SHOW VERSIONS
;
SHOW VERSIONS
SHOW VERSION
1102B054
UNLOAD
UNLOAD
table
database.
FILE = filepath
f
1102B060
50
CHAPTER 10
Ferret (ferret)
BLCINFO
This command is for planning purposes only, and does not actually change any compression
settings on the system.
BLCINFO
BLCI
ALL
BLOCKCOMPRESSIONTLA
BLOCK
AUTOTEMP
MANUAL
NEVER
DEFAULT
DEFAULTTABLEMODE
DEFAULT
AUTOTEMP
MANUAL
NEVER
USEDBSCONTROL
FLOWDIAGRAM
FLOW
ALGORITHM
ALGO
1102A258
BEGIN OPTIMIZE
This command is available only if you have purchased Teradata Virtual Storage, and have the
appropriate license. For more information, see Teradata Virtual Storage.
BEGIN OPTIMIZE
BEG OPT
1102A247
51
CANCEL OPTIMIZE
This command is available only if you have purchased Teradata Virtual Storage, and have the
appropriate license. For more information, see Teradata Virtual Storage.
CANCEL OPTIMIZE
CANCEL OPT
1102A246
COMPRESS
table_unique
COMPRESS
/Y
ESTIMATE
E
PRIMARY
FALLBACK
FALLBACKANDCLOBS
WITHOUT
ONLY
CLOBS
1102A254
DATE/TIME
DATE
GS04A013
TIME
GT06A027
DEFRAGMENT
DEFRAGMENT
DEFRAG
FORCE
/Y
1102A233
52
DISABLE
,
DISABLE
flag
DISA
?
GS04C014
ENABLE
,
ENABLE
flag
ENA
?
GS04C015
ERRORS
ERRORS
TO
file
INTO
STDERR
OVER
ME
GT06C008
FORCE
This command is available only if you have purchased Teradata Virtual Storage, and have the
appropriate license. For more information, see Teradata Virtual Storage.
FORCE
tid
TEMPERATURE =
rowspec
TO rowspec
HOT
WARM
COLD
1102A245
53
HELP
HELP
/L
ALL
keyword
GT06C009
INPUT
FROM file
INPUT
IN
GT06B010
OUTPUT
OUTPUT
OUT
TO
file
INTO
STDOUT
OVER
ME
GT06C011
PACKDISK
PACKDISK
/Y
FREESPACEPERCENT
FREE
number
FORCE
FSP
1102A236
PRIORITY
PRIORITY
SET
54
priorityclass
1102A183
QUIT
QUIT
Q
STOP
ST
END
EXIT
GT06B013
RADIX
RADIX
RAD
INPUT
HEX
IN
OUTPUT
H
DEC
OUT
GT06C014
RESETBLCTSKCNT
RESETBLCTSKCNT
1102A249
SCANDISK
SCANDISK
/S
CI
/M
DB
/L
FREECIS
inquire_opt
NOCR
CR
MI
WCI
WDB
WMI
1102B149
55
SCOPE
,
SCOPE
class
cylinder
table
vproc
WAL
all
1102F028
class
,
CLASS
JRNL
PERMANENT
P
TEMPORARY
TEMP
PSPOOL
SPOOL
ALL
1102D029
cylinder
,
CYL
cylid
INDER
cylid
ALL
1102G030
vproc
vproc_number
VPROC
vproc_number
vproc_number TO vproc_number
ALL
1102E032
56
table
,
TABLE
tid
)
tid
ALL
1102E031
SHOWBLOCKS
SHOWBLOCKS
/S
SHOWB
/M
/L
1102A150
SHOWCOMPRESS
SHOWCOMPRESS
SHOWCOMP
1102A255
SHOWDEFAULTS
SHOWDEFAULTS
SHOWD
GT06B018
SHOWFSP
SHOWFSP
SHOWF
-a
-c cyls
-d fsp
-m fsp
-r cyls
-v
1102E397
57
SHOWSPACE
SHOWSPACE
SHOWS
/S
/M
/L
1102A151
SHOWWHERE
This command is available only if you have purchased Teradata Virtual Storage, and have the
appropriate license. For more information, see Teradata Virtual Storage.
SHOWWHERE
SHOWW
/S
/M
/L
1102A197
TABLEID
The database name and table name must be delimited by apostrophes or double quotation
marks, as indicated in the syntax diagram.
TABLEID
58
"databasename. tablename"
"databasename". "tablename"
'databasename. tablename'
'databasename'. 'tablename'
1102A005
UNCOMPRESS
table_unique
UNCOMPRESS
/Y
ESTIMATE
E
PRIMARY
FALLBACK
FALLBACKANDCLOBS
WITHOUT
ONLY
CLOBS
1102A257
ALL
SYSTEM
SYSTEM JOURNAL
SYSTEM LOGGING
USER
PERMANENT JOURNAL
TEMPORARY
1102A043
59
60
CHAPTER 11
Filer (filer)
FILER
Standard Startup from Database Window
Start Filer from the Supervisor window of Database Window (DBW). Use the DBW start
command. For more information on the options available with the start command, see
Database Window (xdbw) in Utilities.
For more information on Filer and its commands, see Support Utilities.
1102B222
61
diagnostics
-l
-i
-v
-h
-?
diagnostics
-t
-w -r vprocs
-u
-x
-y
-z
-n
-u -r vprocs
-x -r vprocs
-y -r vprocs
-z -r vprocs
-n -r vprocs
1102B223
WHERE
WHERE
KIND=kind
ACTION=action
FLAGS=flags
A
NTASTATE=ntastate
TJKIND=tjkind
TJTABLE=tid
TJROW=rowid
TJTRANS=procnum transuniq
,
TRXSTATE=trxstate
TJHOST=number
TJREQUEST=number
TJRCVSESS=number
TJSESSION=number
1102A154
62
ACCESS
ACCESS
/P
AC
place
/S
/M
/L
/X
/H
/V
1102A162
ALTCI
ALTCI
cylid
1102B193
ALTWCI
ALTWCI
cylid
1102B194
63
ASSIGN
Warning: This command should be used only to reassign a repaired cylinder back to its original
AMP. Improper use of this command can result in system instability.
ASSIGN
cylid
TYPEOFCYL=typeofcyl
TARGETVPROC=vproc_num_or_list
BREAKUP
TAR=vproc_num_or_list
BREAK
TARGETVPROC=vproc_num_or_list
TYPEOFCYL=typeofcyl
TAR=vproc_num_or_list
BREAKUP
BREAK
BREAKUP
BREAK
1102B198
BACKDOWNCHECK
BACKDOWNCHECK
1102A234
BADLIST
BADLIST
/P
/S
cylid
/R
cylid
/X
64
cylid
1102A199
BLK
BLK
/P
/S
/M
/L
/H
/X
/V
cylid
sectornum
sectorcount
=
/C
/Z
1102B196
CHECKSUM
CHECKSUM
DB
cylid
sectornum
=
CI
=
cylid
WDB
=
cylid
FIX
sectornum
=
=
WCI
cylid
=
1102E044
CI
cylid
CI
/P
/S
/M
/L
/X
/H
/V
FORCE
FIX
1102C014
65
CID
cylid
CID
=
1102C016
DATE/TIME
DATE
GS04A013
TIME
GT06A027
DB
DB
/P
/S
/M
/L
/H
/X
/V
/C
/Z
FORCE
cylid
sectornum
sectorcount
=
1102C105
DBD
DBD
/H
tid
ridspec
sectornum
=
66
1102D015
DBROW
DBROW
DBR
/S
/M
/L
/H
1102A108
DELETE
DELETE
/Y
GS04A063
DEPOT
DEPOT
cylid
=
1102B110
DISABLE
,
DISABLE
DISA
flag
?
GS04C014
DISCARD
DISCARD
1102A219
67
DISPLAY
DISPLAY
D
ordinalrange
/dispopt
whereclause
/rowopt
1102B120
DROP
DROP
GS04A065
DUMPDISK
DUMPDISK
DUMPDIS
/P
/S
/M
/L
/H
/V
/C
/Z
cylid
sectornum
sectorcount
=
1102D018
ENABLE
,
ENABLE
ENA
flag
?
GS04C015
68
ERRORS
ERRORS
TO
file
INTO
STDERR
OVER
ME
GT06C008
FIB
FIB
/P
/S
/M
/L
/H
1102A201
FIND
tid
FIND
F
ridrange
/S
/M
/L
1102B080
FREECACHE
FREECACHE
1102A227
HELP
HELP
H
/L
ALL
keyword
?
GT06C009
69
IDENT
IDENT
ID
cylid
sectornum
sectorcount
=
1102C013
INFO
INFO
1102A220
INIT
INIT
/Y
1102A017
INPUT
INPUT
FROM file
IN
GS04B019
70
MEMBLK
memaddr
MEMBLK
/P
/S
/M
/L
/H
/X
/C
/Z
MEMB
1102C023
MEMCTX
memaddr
MEMCTX
MEMC
1102A033
MEMDB
memaddr
MEMDB
/P
/S
/M
/L
/H
/X
/C
/Z
FORCE
1102C034
71
MEMDUMP
MEMDUMP
memaddr
MEMD
256
length
=
1102A035
MEMROW
memaddr
MEMROW
MEMR
/P
/S
/M
/L
/H
1102C036
MEMSORCTX
MEMSORCTX
MEMS
memaddr
=
1102A006
MEMWCTX
MEMWCTX
memaddr
=
1102A118
72
MEMWDB
memaddr
MEMWDB
/P
/S
/M
/L
/H
/X
FORCE
1102A112
MEMWREC
memaddr
MEMWREC
/P
/S
/M
/L
/H
/X
1102A113
MI
MI
/P
/S
/M
/L
/H
/V
/X
1102A119
73
MODIFY REDO
MODIFY
REDO
REPLAY
/Y
MOD
LINEAGE
LIN
wlsn
1102A180
NEXT
NEXT
N
/dispopt
number
/rowopt
GS04C066
OUTPUT
OUTPUT
OUT
TO
file
INTO
STDOUT
OVER
ME
GT06C011
PACK
PACK
/Y
74
GS04A068
PATCH
PATCH
PAT
offset
/B
/C
/W
/S
/D
/L
1102A122
PREV
PREV
PR
/dispopt
number
/rowopt
GS04C069
PRIORITY
PRIORITY
SET
priorityclass
1102A183
QUARLIST
QUARLIST
/P
/S
cylid
/R
cylid
/X
cylid
1102A200
75
QUIT
QUIT
Q
STOP
ST
END
EXIT
GT06B013
RADIX
RADIX
RAD
INPUT
HEX
IN
OUTPUT
DEC
OUT
GS04B022
REALLOCDUR
REALLOCDUR
CYLTYPE = cyltype
1102A211
REBUILDCI
REBUILDCI
cylid
1102A217
76
REBUILDMAP
REBUILDMAP
cylid
1102A212
RENAME
RENAME
/Y
cylid
sectornum
=
1102C009
REPAIRSECTS
REPAIRSECTS
1102A218
RESETFREECYL
RESETFREECYL
RESETFREE
GS04B053
77
ROW
ridrange
tid
ROW
/P
/S
/M
/L
/H
1102C022
SCANDISK
A
SCANDISK
/S
CI
/M
DB
/L
FREECIS
FIX
MI
WAL
WCI
WDB
WMI
B
tid
ridrange
TABLE
tid1
ridspec1
TAB
TO tid2
ridspec2
B
inquire_opt
NOCR
CR
1102D127
SCOPE/VPROC
SCOPE
SCOPE VPROC
ALL
number
,
VPROC
(
number
)
TO number
78
GS04C055
SEGZERO/SEG0
SEGZERO
/P
SEG0
/H
1102B129
SET FREECYL
number
SET FREECYL
/Y
SET FREE
1102C054
SHOWDEFAULTS
SHOWDEFAULTS
SHOWD
GS04B023
SRD
SRD
/P
/S
/M
/L
tid
1102B093
STAMP
STAMP
number
number
number
number
number
GS04A024
79
STORAGEINFO
STORAGEINFO
STORAGE
/M
1102B229
SYNCSCAN
SYNCSCAN
/S
/M
/L
tid
1102B084
TABLE
TABLE
TAB
tid
ordinalrange
/P
/S
/M
/L
/H
1102B083
TABLEID
The database name and table name must be delimited by apostrophes or double quotation
marks, as indicated in the syntax diagram.
TABLEID
80
"databasename. tablename"
"databasename". "tablename"
'databasename. tablename'
'databasename'. 'tablename'
1102A005
TRACEPRINT
TRACEPRINT
TRA
DUMPCOPY
DC
cylid
LAST number
1102D007
TRASH
TRASH
/Y
TRAS
GS04B071
WABC
WABC
/S
/M
/L
1102B115
WAL
WAL
/P
/S
/M
/L
/X
/H
/V
ordinalrange
whereclause
1102A126
81
WCI
WCI
cylid
/P
/S
/M
/L
/H
/X
/V
FORCE
FIX
1102B103
WCID
cylid
WCID
1102B104
WDB
WDB
/P
/S
/M
/L
/H
/X
/V
FORCE
cylid
sectornum
sectorcount
=
1102B106
WDBD
WLSN = WlsnNum
WDBD
/S
/X
/H
82
SECTOR = sectornum
1102B107
WDBREC
WDBREC
/S
/M
/L
/H
/X
1102B109
WFIND
WFIND
/S
wlsnrange
/M
/L
1102B111
WFLUSH
WFLUSH
WLSN=wlsn
1102B116
WMI
WMI
/P
/S
/L
/H
/V
1102A114
83
WREC
WREC
/P
/S
/M
/L
/X
/H
/V
wlsnrange
whereclause
1102A125
WRITE
WRITE
WRIT
/Y
/NOCHECKSUM
1102A215
WSUMMARY
WSUMMARY
wlsnrange
84
1102A195
CHAPTER 12
Gateway Global
(gtwglobal)
DISABLE LOGONS
DISABLE
DISA
LOGONS
LOGO
GT07B003
DISABLE TRACE
DISABLE
TRACE
TRAC
DISA
GT07B004
DISPLAY DISCONNECT
DISPLAY
DISCONNECT
DISC
DI
GT07B022
DISPLAY FORCE
DISPLAY
FORCE
DI
FO
FF07D356
85
DISPLAY GTW
DISPLAY
GTW
gtwid
ALL
DI
GT07C023
DISPLAY NETWORK
DISPLAY
NETWORK
DI
LONG
NE
LON
host_no
GT07C009
DISPLAY SESSION
DISPLAY
SESSION
DI
SE
ses_no
LONG
LON
GT07C024
DISPLAY STATS
DISPLAY
STATS
gtwid
DI
ST
ALL
GS02A013
DISPLAY TIMEOUT
DISPLAY
DI
86
TIMEOUT
TI
GT07C028
DISPLAY USER
DISPLAY
USER
DI
user_name
US
GT07C025
ENABLE LOGONS
ENABLE
EN
LOGONS
LOGO
GT07B012
ENABLE TRACE
ENABLE
TRACE
EN
TRAC
GT07B013
FLUSH TRACE
FLUSH
TRACE
FL
TRCE
GT07B015
HELP
HELP
H
1102A161
KILL SESSION
KILL
KI
SESSION
ses_no
SE
GT07C016
87
KILL USER
KILL
USER
KI
user_name
US
GT07C017
SELECT HOST
SELECT
HOST
SE
host_no
HO
GT07C026
SET TIMEOUT
SET
TIMEOUT
TI
88
time_value
GT07C027
CHAPTER 13
BLOCKERS
BLOCKERS
TRAN
ProcId
ALL
Uniq1
Uniq2
LIMIT
NUMBER
NONE
KY01A098
DB
DB
D
DBname
ALL
KY01A096
HELP
HELP
H
?
KY01A097
89
QUIT
QUIT
Q
1102A216
ROWHASH
ROWHASH
ROWH
DBname .Tablename
TypeAndInde x
RowHash1
RowHash2
ALL
KY01A094
ROWRANGE
ROWRANGE
DBname .Tablename
ROWR
TypeAndInde x
ALL
KY01A095
TABLE
TABLE
TA
DBname .Tablename
ALL
KY01A093
TRAN
TRAN
TR
ProcId
ALL
Uniq1
Uniq2
KY01A092
90
CHAPTER 14
MODMPPLIST
modmpplist
-h
-m file_path
1102A165
DISPLAY
DISPLAY
D
1102A026
LIST
LIST
L
1102A027
OFF id_list
OFF id_list
1102A028
91
ON id_list
ON id_list
1102A029
QUIT
QUIT
Q
1102A216
WRITE
WRITE
W
-w file_path
-y
1102B030
92
Priority Scheduler
(schmon)
CHAPTER 15
schmon
schmon
-a
AG#
weight
div
-s
-S
limit
none
-T
-d
delay
reps
-x
-b
RP#
RPNAME
weight
limit
none
-s
-S
-T
-d
delay
reps
-x
-c
-a
-b
-p
-t
-w
-f path
-d
-f
path
-h
specific option(s)
-l
limit
none
-m
-S
-P
-b
-d
delay
reps
-L
-M
-n
-p
-s
-P
-b
-d
-V
delay
reps
-p
PG#
PGNAME
-s
-S
-T
PP
-d
delay
reps
-x
-s
all
-S
-T
-d
delay
reps
id
-t
age
active
disp
-w
reserve
maximum
1102G005
93
94
CHAPTER 16
Reconfiguration (reconfig)
ABORT
ABORT
GT14A029
1180A013
RECONFIG
RECONFIG
R
WITH
DISPLAY
ON
OFF
n TASKS
PRIORITY p
JOURNAL MAXPERMSPACEPCT=n
PAUSE
STATISTICS
ON
OFF
OFFLINE NOW
1180A014
95
STATUS
STATUS
S
HH01A002
STOP
STOP
S
96
GT10B001
CHAPTER 17
CANCEL ROLLBACK
ON
TABLE
,
table_id
;
YsRcv006
DEFAULT PRIORITY
DEFAULT
PRIORITY
;
GS04A035
HELP
HELP
GT11A001
97
;
1102A046
LIST LOCKS
LIST
LOCKS
;
1102A047
ROLLBACK TABLES
;
1102A048
LIST STATUS
LIST
STATUS
;
1102A049
LIST
STATUS
;
proc-id
1102A060
98
QUIT
;
QUIT
GT11A004
REBUILD/RECOVERY PRIORITY
;
PRIORITY
REBUILD
HIGH
MEDIUM
LOW
RECOVERY
GT11A005
host_id,session_id
;
PERFORMANCE GROUP
Perf_Group_Name
1102A140
99
100
dbschk
dbschk
-h
-l
-reset
-delay sleep_seconds
-job job_program
-logfile file
-logflush flush_seconds
-n iterations
-power switch
-rate attempts
-save
-timeout wait_seconds
-trigger trigger_program
1102C141
nodecheck
nodecheck
-D
-f log
-h
-I
-L
-r rscfile
-t
n
log
-v
FF07D399
101
syscheck
syscheck
-D
-h
-I
-L
-n nl
-r rscfile
-t n
-v
FF07D398
102
CHAPTER 19
REBUILD AMP
REBUILD AMP
nnnn
ALL TABLES
ALL DATA
dbase
ALL DATA
dbase.tbl
PRIMARY DATA
FALLBACK DATA
3
;
A
, LOG INTO logdbase.logtbl
, NO LOCK
ON NO FALLBACK TABLES
IN PARALLEL
n TABLES
1102D135
103
REBUILD AMP
nnnn
FALLBACK TABLES
A
3
;
A
, LOG INTO logdbase.logtbl
IN PARALLEL
n TABLES
1102B221
RESTART REBUILD
RESTART REBUILD ON AMP
nnnn
GS06A011
104
CHAPTER 20
tsklist
tsklist
-a
-b
-i
-l
- p partition
- r relvpr
-s
-S
- v vprid
prgname
1102A166
105
106
CHAPTER 21
tdlocaledef
tdlocaledef
-input filename
-output
filename
new
Gt15b004
tdlocaledef
-reverse
current
filename
-source filename
1102A145
107
108
CHAPTER 22
tdnstat
tdnstat
-a
-q
-v
-d
-C
-F
-G
t
n
-M
-R
-t
-c min
-z
-Z
1102A250
109
110
CHAPTER 23
Warning:
Setting tunable parameters improperly can degrade system performance. This utility should
only be used under the direction of the Teradata Support Center.
tdntune
tdntune
-h
get
file
set file
1102D021
111
112
CHAPTER 24
tpareset
Some strictly internal and rarely-needed options have been omitted from this syntax. Those
options are documented in the tpareset command-line help.
tpareset
reason
-xit
-x
-panic
-p
-exit
-e
-dump
-d
-nodump
-yes
-y
-stop
-s
-force
-f
-help
-h
1102B230
113
114
CHAPTER 25
COMMIT/ROLLBACK
COMMIT
ALL
ROLLBACK
A
,
AND LOGOFF
IN DOUBTS FOR
SESSIONS
sessions-no
,
RUN UNITS
run-unit-id
ON
coord-id
host-id
1102D003
DISPLAY
DISPLAY
HOSTS
COORDINATORS FOR
IN DOUBTS FOR
host-id
coord-id
*
*
ON
host-id
*
GT15A005
115
116
CHAPTER 26
UPDATE SPACE
UPDATE
SPACE FOR
ALL DATABASES
dbname
SPACE FOR
dbname
TEMPORARY
ALL
SPOOL
PSPOOL
1102H401
117
118
CHAPTER 27
verify_pdisks
verify_pdisks
-v
-h
-?
1102A232
119
120
CHAPTER 28
BOOT
BOOT
vprocid
GS07B005
CLEARMVAMP
CLEARMVAMP
CL
1102A252
HELP
HELP
H
ALL
keyword
GS07B006
INITVDISK
INITVDISK
I
vprocid
GS07B007
121
QUIT
QUIT
Q
1102A216
RESTART
RESTART
TPA
NODUMP
DUMP=
restartkind
restart comment
YES
NO
1102A153
SET RESTART
SET
RESTART
restartkind
GS07B011
SET vproclist
,
SET
S
vproclist
/V
vprocstate
=
1102A191
STATUS
STATUS
ST
122
GS07B012
STATUS DBS
STATUS
DBS
ST
GS07A027
DBS
ST
ORDERBY CN
GS07A026
DBS
ST
ORDERBY HN
GS07A025
DBS
ST
ORDERBY NODEID
GS07A024
STATUS NOTONLINE
STATUS
ST
NOTONLINE
NO
GS07B017
123
STATUS ONLINE
STATUS
ONLINE
ST
ON
GS07B016
STATUS PDE
STATUS
PDE
ST
GS07A023
STATUS RESTART
STATUS
RESTART
ST
GS07B019
STATUS SYSSTATE
STATUS
SYSSTATE
ST
SYSS
GS07B018
STATUS vproclist
STATUS
ST
124
vproclist
GS07B015
APPENDIX A
This appendix describes the conventions that apply to reading the syntax diagrams used in
this book.
Definition / Comments
Letter
Number
Word
Spaces
Punctuation
Paths
The main path along the syntax diagram begins at the left with a keyword, and proceeds, left
to right, to the vertical bar, which marks the end of the diagram. Paths that do not have an
arrow or a vertical bar only show portions of the syntax.
The only part of a path that reads from right to left is a loop.
125
Continuation Links
Paths that are too long for one line use continuation links. Continuation links are circled
letters indicating the beginning and end of a link:
A
FE0CA002
When you see a circled letter in a syntax diagram, go to the corresponding circled letter and
continue reading.
Required Entries
Required entries appear on the main path:
SHOW
FE0CA003
If you can choose from more than one entry, the choices appear vertically, in a stack. The first
entry appears on the main path:
SHOW
CONTROLS
VERSIONS
FE0CA005
Optional Entries
You may choose to include or disregard optional entries. Optional entries appear below the
main path:
SHOW
CONTROLS
126
FE0CA004
If you can optionally choose from more than one entry, all the choices appear below the main
path:
READ
SHARE
JC01A010
ACCESS
Some commands and statements treat one of the optional choices as a default value. This
value is UNDERLINED. It is presumed to be selected if you type the command or statement
without specifying one of the options.
Strings
String literals appear in apostrophes:
'msgtext '
JC01A004
Abbreviations
If a keyword or a reserved word has a valid abbreviation, the unabbreviated form always
appears on the main path. The shortest valid abbreviation appears beneath.
SHOW
CONTROLS
CONTROL
FE0CA042
SHOW CONTROLS
SHOW CONTROL
Loops
A loop is an entry or a group of entries that you can repeat one or more times. Syntax
diagrams show loops as a return path above the main path, over the item or items that you can
repeat:
,
,
(
cname
3
4
)
JC01B012
127
THEN...
Excerpts
Sometimes a piece of a syntax phrase is too large to fit into the diagram. Such a phrase is
indicated by a break in the path, marked by (|) terminators on each side of the break. The
name for the excerpted piece appears between the terminators in boldface type.
The boldface excerpt name and the excerpted phrase appears immediately after the main
diagram. The excerpted phrase starts and ends with a plain horizontal line:
LOCKING
excerpt
A
HAVING
con
excerpt
where_cond
,
cname
,
col_pos
JC01A014
128
dbname
DATABASE
tname
TABLE
vname
VIEW
JC01A016
dbname
DATABASE dbname
tname
TABLE tname
vname
VIEW vname
viewname
AS
A
LOCKING
cname
CV
LOCK
ACCESS
dbname
A
DATABASE
tname
FOR
SHARE
IN
READ
TABLE
WRITE
EXCLUSIVE
vname
VIEW
EXCL
,
SEL
B
MODE
expr
,
FROM
qual_cond
tname
.aname
C
HAVING cond
;
qual_cond
,
WHERE cond
GROUP BY
cname
,
col_pos
JC01A018
129
Diagram Identifier
The alphanumeric string that appears in the lower right corner of every diagram is an internal
identifier used to catalog the diagram. The text never refers to this string.
130