You are on page 1of 130

Teradata Database

Utilities Quick Reference


Release 14.0
B035-1511-111B
January 2012

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:

Abort Host (aborthost)

AMP Load (ampload)

Database Initialization Program (DIP)

Gateway Control (gtwcontrol)

Lock Logger (dumplocklog)

Query Configuration (qryconfig)

Query Session (qrysessn)

Reconfiguration Estimator (reconfig_estimator)

Show Locks (showlocks)

System Initializer (sysinit)

Update DBC (updatedbc)

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.

Utilities Quick Reference

Preface
Supported Software Releases and Operating Systems

Supported Software Releases and Operating


Systems
This book supports Teradata Database 14.0.
Teradata Database 14.0 is supported on:

SUSE Linux Enterprise Server (SLES)10

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

Teradata Virtual Storage

Utilities

Changes to This Book


This book includes the following changes to support the current release:
Date

Description

Teradata Database 14.0

Added a note to the TABLEID diagrams about how the database


name and table name must be delimited by apostrophes or double
quotation marks.
Updated Syntax Diagram Conventions in Appendix A to mention
mixed-case words in syntax diagrams.

January 2012

Teradata Database 14.0


November 2011

Updated syntax diagrams to reflect changes in utilities commands for


this software release.

Utilities Quick Reference

Preface
Additional Information

Additional Information
URL

Description

www.info.teradata.com/

Use the Teradata Information Products Publishing Library site


to:
View or download a manual:
1 Under Online Publications, select General Search.
2 Enter your search criteria and click Search.

Download a documentation CD-ROM:


1 Under Online Publications, select General Search.
2 In the Title or Keyword field, enter CD-ROM, and click

Search.
Order printed manuals:
Under Print & CD Publications, select How to Order.
www.teradata.com

The Teradata home page provides links to numerous sources of


information about Teradata. Links include:
Executive reports, case studies of customer experiences with
Teradata, and thought leadership
Technical information, solutions, and expert advice
Press releases, mentions and media resources

www.teradata.com/t/TEN/

Teradata Customer Education designs, develops and delivers


education that builds skills and capabilities for our customers,
enabling them to maximize their Teradata investment.

www.teradataatyourservice.com

Use Teradata @ Your Service to access Orange Books, technical


alerts, and knowledge repositories, view and join forums, and
download software patches.

developer.teradata.com/

Teradata Developer Exchange provides articles on using


Teradata products, technical discussion forums, and code
downloads.

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.

Teradata Database Optional Features


This book may include descriptions of the following optional Teradata Database features and
products:

Utilities Quick Reference

Teradata Row Level Security

Temporal Table Support

Preface
Teradata Database Optional Features

Teradata Columnar

Teradata Virtual Storage (VS)

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.

Utilities Quick Reference

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

Chapter 1: AWT Monitor (awtmon) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19


awtmon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Chapter 2: Check Table (checktable) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21


CHECK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

Chapter 3: CNS Run (cnsrun) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23


cnsrun. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

Chapter 4: Configuration (config) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25


ADD AMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
ADD HOST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
ADD PE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
BEGIN CONFIG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
DEFAULT CLUSTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
DEL AMP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

Utilities Quick Reference

Table of Contents

DEL HOST. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26


DEL PE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
END CONFIG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
LIST AMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
LIST CLUSTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
LIST HOST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
LIST PE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
MOD AMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
MOD HOST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
MOD PE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
MOVE AMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
MOVE PE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
SHOW CLUSTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
SHOW HOST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
SHOW VPROC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30

Chapter 5: Control GDO Editor (ctl) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31


ctl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
EXIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
HARDWARE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
HELP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
PRINT group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
PRINT variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
QUIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
SCREEN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
variable = setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33

Chapter 6: Cufconfig (cufconfig) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35


cufconfig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35

Utilities Quick Reference

Table of Contents

Chapter 7: Database Window (xdbw) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37


ABORT SESSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
CNSGET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
CNSSET LINES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
CNSSET STATEPOLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
CNSSET TIMEOUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
DISABLE LOGONS/ DISABLE ALL LOGONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
ENABLE DBC LOGONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
ENABLE LOGONS/ENABLE ALL LOGONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
GET ACTIVELOGTABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
GET CONFIG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
GET EXTAUTH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
GET LOGTABLE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
GET PERMISSIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
GET RESOURCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
GET SUMLOGTABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
GET TIME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
GET VERSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
GRANT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
LOG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
QUERY STATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
RESTART TPA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
REVOKE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
SET ACTIVELOGTABLE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
SET EXTAUTH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
SET LOGTABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
SET RESOURCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
SET SESSION COLLECTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
SET SUMLOGTABLE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
START . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

Chapter 8: DBS Control (dbscontrol) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45


DISPLAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
HELP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

Utilities Quick Reference

Table of Contents

MODIFY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
QUIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46

Chapter 9: Dump Unload/Load (dul, dultape) . . . . . . . . . . . . . . . . . . .47


ABORT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
DATABASE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
DROP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
END . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
HELP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
LOAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
LOGOFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
LOGON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
NOSPOOL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
.OS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
QUIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
SEE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
SELECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
SHOW TAPE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
SHOW VERSIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
UNLOAD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50

Chapter 10: Ferret (ferret) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51


BLCINFO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
BEGIN OPTIMIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
CANCEL OPTIMIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
COMPRESS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
DATE/TIME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
DEFRAGMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
DISABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53
ENABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53
ERRORS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53
FORCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53
HELP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54

10

Utilities Quick Reference

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

Chapter 11: Filer (filer) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61


FILER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
WHERE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
ACCESS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
ALTCI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
ALTWCI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
ASSIGN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
BACKDOWNCHECK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
BADLIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
BLK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
CHECKSUM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
CI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
CID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
DATE/TIME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
DB. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
DBD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
DBROW. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67

Utilities Quick Reference

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

Utilities Quick Reference

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

Chapter 12: Gateway Global (gtwglobal) . . . . . . . . . . . . . . . . . . . . . . . 85


DISABLE LOGONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
DISABLE TRACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85

Utilities Quick Reference

13

Table of Contents

DISPLAY DISCONNECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85


DISPLAY FORCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85
DISPLAY GTW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86
DISPLAY NETWORK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86
DISPLAY SESSION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86
DISPLAY STATS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86
DISPLAY TIMEOUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86
DISPLAY USER. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87
ENABLE LOGONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87
ENABLE TRACE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87
FLUSH TRACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87
HELP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87
KILL SESSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87
KILL USER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
SELECT HOST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
SET TIMEOUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88

Chapter 13: Lock Display (lokdisp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89


BLOCKERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
DB. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
HELP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
QUIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90
ROWHASH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90
ROWRANGE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90
TABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90
TRAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90

Chapter 14: Modify MPP List (modmpplist) . . . . . . . . . . . . . . . . . . . . .91


MODMPPLIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91
DISPLAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91
LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91
OFF id_list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91
ON id_list. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92
QUIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92

14

Utilities Quick Reference

Table of Contents

WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Running External Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92

Chapter 15: Priority Scheduler (schmon) . . . . . . . . . . . . . . . . . . . . . . . 93


schmon. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93

Chapter 16: Reconfiguration (reconfig) . . . . . . . . . . . . . . . . . . . . . . . . . 95


ABORT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
DISPLAY RETRY LIST. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
RECONFIG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
STATUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96

Chapter 17: Recovery Manager (rcvmanager) . . . . . . . . . . . . . . . . . 97


CANCEL ROLLBACK ON TABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
DEFAULT PRIORITY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
HELP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
LIST CANCEL ROLLBACK TABLES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
LIST LOCKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
LIST ROLLBACK TABLES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
LIST STATUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
LIST STATUS proc-id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
QUIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
REBUILD/RECOVERY PRIORITY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
ROLLBACK SESSION...PERFORMANCE GROUP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99

Chapter 18: Resource Check Tools


(dbschk, nodecheck, syscheck) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
dbschk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
nodecheck . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
syscheck . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102

Utilities Quick Reference

15

Table of Contents

Chapter 19: Table Rebuild (rebuild) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103


REBUILD AMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
REBUILD AMP FALLBACK TABLES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .104
RESTART REBUILD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .104

Chapter 20: Task List (tsklist) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105


tsklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105

Chapter 21: Teradata Local Definition Utility


(tdlocaledef) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .107
tdlocaledef . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .107

Chapter 22: Teradata Network Statistics (tdnstat) . . . . . . . . . .109


tdnstat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109

Chapter 23: Teradata Network Tuner (tdntune) . . . . . . . . . . . . . .111


tdntune. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .111

Chapter 24: TPA Reset (tpareset) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113


tpareset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113

Chapter 25: Two-Phase Commit Console (tpccons) . . . . . . . . . .115


COMMIT/ROLLBACK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115
DISPLAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115

16

Utilities Quick Reference

Table of Contents

Chapter 26: Update Space (updatespace) . . . . . . . . . . . . . . . . . . . . . . 117


UPDATE SPACE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117

Chapter 27: Verify Pdisks (verify_pdisks) . . . . . . . . . . . . . . . . . . . . . 119


verify_pdisks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119

Chapter 28: Vproc Manager (vprocmanager) . . . . . . . . . . . . . . . . . . 121


BOOT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
CLEARMVAMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
HELP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
INITVDISK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
QUIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
RESTART. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
SET RESTART. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
SET vproclist. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
STATUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
STATUS DBS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
STATUS DBS ORDERBY CN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
STATUS DBS ORDERBY HN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
STATUS DBS ORDERBY NODEID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
STATUS NOTONLINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
STATUS ONLINE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
STATUS PDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
STATUS RESTART. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
STATUS SYSSTATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
STATUS vproclist. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124

Appendix A: How to Read Syntax Diagrams . . . . . . . . . . . . . . . . . . . 125


Syntax Diagram Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125

Utilities Quick Reference

17

Table of Contents

18

Utilities Quick Reference

CHAPTER 1

AWT Monitor (awtmon)

awtmon
awtmon
-h
-d
-s
-S amp_cnt
-t threshold
t
n
1102B102

Utilities Quick Reference

19

Chapter 1: AWT Monitor (awtmon)


awtmon

20

Utilities Quick Reference

CHAPTER 2

Check Table (checktable)

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

Utilities Quick Reference

COMPRESSCHECK
1102H029

21

Chapter 2: Check Table (checktable)


CHECK

22

Utilities Quick Reference

CHAPTER 3

CNS Run (cnsrun)

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

Utilities Quick Reference

23

Chapter 3: CNS Run (cnsrun)


cnsrun

24

Utilities Quick Reference

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

Utilities Quick Reference

25

Chapter 4: Configuration (config)


BEGIN CONFIG

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

Utilities Quick Reference

Chapter 4: Configuration (config)


END CONFIG

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

Utilities Quick Reference

27

Chapter 4: Configuration (config)


LIST HOST

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

Utilities Quick Reference

Chapter 4: Configuration (config)


MOD PE

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

Utilities Quick Reference

GT05B019

29

Chapter 4: Configuration (config)


SHOW VPROC

SHOW VPROC
SHOW vproc
SV

mmmm
FROM

CURRENT

C
NEW
N

GT05R020

STOP
STOP
S
GT05A021

30

Utilities Quick Reference

CHAPTER 5

Control GDO Editor (ctl)

ctl

ctl

"

command
;
command

"

"

command
;
command

"

-first

-last

-help
1102B041

EXIT

EXIT
EX

WRITE
1102A157

HARDWARE
HARDWARE
HA
1102A147

Utilities Quick Reference

31

Chapter 5: Control GDO Editor (ctl)


HELP

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

Utilities Quick Reference

Chapter 5: Control GDO Editor (ctl)


READ

READ

READ
RE
1102A175

SCREEN
SCREEN
SC

DBS
DEBUG
RSS
VERSION
1102A225

variable = setting
variable

= setting
?
1102A177

WRITE

WRITE
WR
1102A178

Utilities Quick Reference

33

Chapter 5: Control GDO Editor (ctl)


WRITE

34

Utilities Quick Reference

CHAPTER 6

Cufconfig (cufconfig)

cufconfig

cufconfig

-h
-o
-i
-f filename
1102C101

Utilities Quick Reference

35

Chapter 6: Cufconfig (cufconfig)


cufconfig

36

Utilities Quick Reference

Database Window (xdbw)

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

Utilities Quick Reference

37

Chapter 7: Database Window (xdbw)


CNSSET STATEPOLL

CNSSET STATEPOLL

CNSSET STATEPOLL

FE0CA019

CNSSET TIMEOUT

CNSSET TIMEOUT

FE0CA020

DISABLE LOGONS/ DISABLE ALL LOGONS


DISABLE

LOGONS
ALL
1095A003

ENABLE DBC LOGONS

ENABLE DBC LOGONS

1095A001

38

Utilities Quick Reference

Chapter 7: Database Window (xdbw)


ENABLE LOGONS/ENABLE ALL LOGONS

ENABLE LOGONS/ENABLE ALL LOGONS


ENABLE

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

Utilities Quick Reference

39

Chapter 7: Database Window (xdbw)


GET PERMISSIONS

GET PERMISSIONS

GET PERMISSIONS

username@host
FE0CB037

GET RESOURCE
GET RESOURCE

FE0CA025

GET SUMLOGTABLE

GET SUMLOGTABLE

tablename
1095A009

GET TIME

GET TIME

FE0CA034

40

Utilities Quick Reference

Chapter 7: Database Window (xdbw)


GET VERSION

GET VERSION

GET VERSION

FE0CA026

GRANT

GRANT

username@host

permission_list
FE0CB038

LOG

LOG

errorlogtext

FE0CA027

QUERY STATE

QUERY STATE

FE0CA028

Utilities Quick Reference

41

Chapter 7: Database Window (xdbw)


RESTART TPA

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

Utilities Quick Reference

Chapter 7: Database Window (xdbw)


SET RESOURCE

SET RESOURCE
SET RESOURCE

COLLECTION seconds
COLL seconds

LOGGING seconds
LOG seconds

LOGGING seconds
LOG seconds

COLLECTION seconds
COLL seconds

1095C004

SET SESSION COLLECTION

SET SESSION

COLLECTION

COLL
FE0CB035

SET SUMLOGTABLE
SET SUMLOGTABLE

tablename

ON
OFF

1095A010

START

START

utilityname
1
2
3
4

Utilities Quick Reference

,VPROC=n
-v= n
-v n

utilityargs

1102A237

43

Chapter 7: Database Window (xdbw)


STOP

STOP
STOP

1
2
3
4

44

FE0CA033

Utilities Quick Reference

CHAPTER 8

DBS Control (dbscontrol)

DISPLAY
DISPLAY
D

GroupName
GS03C019

HELP
HELP
H

ALL
A
GS03C020

keyword

MODIFY
MODIFY
M

GroupName

field# = value
1102A164

QUIT

QUIT
Q
1102A216

Utilities Quick Reference

45

Chapter 8: DBS Control (dbscontrol)


WRITE

WRITE
WRITE
W

46

GS03C023

Utilities Quick Reference

CHAPTER 9

Dump Unload/Load (dul, dultape)

ABORT
ABORT

GT14A029

DATABASE
;

DATABASE database

1102B031

DROP
DROP

table

database.
1102B033

END
END

GT14A034

Utilities Quick Reference

47

Chapter 9: Dump Unload/Load (dul, dultape)


HELP

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

Utilities Quick Reference

Chapter 9: Dump Unload/Load (dul, dultape)


NOSPOOL

NOSPOOL
NOSPOOL

ON
OFF

1102A256

.OS
.OS oscommand
;
GT14A045

QUIT
;

QUIT

GT14A046

SEE
SEE

table

database.
1102B047

Utilities Quick Reference

49

Chapter 9: Dump Unload/Load (dul, dultape)


SELECT

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

Utilities Quick Reference

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

Utilities Quick Reference

51

Chapter 10: Ferret (ferret)


CANCEL OPTIMIZE

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

Utilities Quick Reference

Chapter 10: Ferret (ferret)


DISABLE

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

Utilities Quick Reference

53

Chapter 10: Ferret (ferret)


HELP

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

Utilities Quick Reference

Chapter 10: Ferret (ferret)


QUIT

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

Utilities Quick Reference

1102B149

55

Chapter 10: Ferret (ferret)


SCOPE

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

Utilities Quick Reference

Chapter 10: Ferret (ferret)


SHOWBLOCKS

table
,
TABLE

tid

)
tid
ALL
1102E031

SHOWBLOCKS

SHOWBLOCKS
/S

SHOWB

/M
/L

1102A150

SHOWCOMPRESS
SHOWCOMPRESS
SHOWCOMP
1102A255

SHOWDEFAULTS
SHOWDEFAULTS
SHOWD
GT06B018

SHOWFSP
SHOWFSP
SHOWF

Utilities Quick Reference

-a

-c cyls

-d fsp

-m fsp

-r cyls

-v

1102E397

57

Chapter 10: Ferret (ferret)


SHOWSPACE

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

Utilities Quick Reference

Chapter 10: Ferret (ferret)


UNCOMPRESS

UNCOMPRESS
table_unique

UNCOMPRESS
/Y

ESTIMATE
E

PRIMARY
FALLBACK
FALLBACKANDCLOBS
WITHOUT
ONLY

CLOBS
1102A257

UPDATE DATA INTEGRITY FOR


UPDATE DATA INTEGRITY FOR

ALL
SYSTEM
SYSTEM JOURNAL
SYSTEM LOGGING
USER
PERMANENT JOURNAL
TEMPORARY
1102A043

Utilities Quick Reference

59

Chapter 10: Ferret (ferret)


UPDATE DATA INTEGRITY FOR

60

Utilities Quick Reference

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

Utilities Quick Reference

61

Chapter 11: Filer (filer)


WHERE

Diagnostic Startup from Database Window


To use the Filer diagnostic startup options, include them on the command line when starting
Filer from the Supervisor window of DBW.
filer

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

Utilities Quick Reference

Chapter 11: Filer (filer)


ACCESS

ACCESS
ACCESS
/P

AC

place

/S
/M
/L
/X
/H
/V

1102A162

ALTCI

ALTCI

cylid
1102B193

ALTWCI

ALTWCI

cylid
1102B194

Utilities Quick Reference

63

Chapter 11: Filer (filer)


ASSIGN

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

Utilities Quick Reference

Chapter 11: Filer (filer)


BLK

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

Utilities Quick Reference

FORCE

FIX

1102C014

65

Chapter 11: Filer (filer)


CID

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

Utilities Quick Reference

Chapter 11: Filer (filer)


DBROW

DBROW
DBROW
DBR

/S
/M
/L
/H

1102A108

DELETE
DELETE
/Y

GS04A063

DEPOT
DEPOT

cylid
=
1102B110

DISABLE
,
DISABLE
DISA

flag
?
GS04C014

DISCARD

DISCARD
1102A219

Utilities Quick Reference

67

Chapter 11: Filer (filer)


DISPLAY

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

Utilities Quick Reference

Chapter 11: Filer (filer)


ERRORS

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
?

Utilities Quick Reference

GT06C009

69

Chapter 11: Filer (filer)


IDENT

IDENT

IDENT
ID

cylid

sectornum

sectorcount
=
1102C013

INFO

INFO
1102A220

INIT

INIT
/Y

1102A017

INPUT
INPUT

FROM file

IN
GS04B019

70

Utilities Quick Reference

Chapter 11: Filer (filer)


MEMBLK

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

Utilities Quick Reference

71

Chapter 11: Filer (filer)


MEMDUMP

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

Utilities Quick Reference

Chapter 11: Filer (filer)


MEMWDB

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

Utilities Quick Reference

1102A119

73

Chapter 11: Filer (filer)


MODIFY REDO

MODIFY REDO
MODIFY

REDO

REPLAY

/Y

MOD

LINEAGE
LIN

wlsn

REPLAY WREC wlsnrange


ACTIVATE
NEXT
REDO
DEACTIVATE
NEXT
REDO

1102A180

NEXT
NEXT
N

/dispopt

number

/rowopt

GS04C066

OUTPUT
OUTPUT
OUT

TO

file

INTO

STDOUT

OVER

ME

GT06C011

PACK
PACK
/Y

74

GS04A068

Utilities Quick Reference

Chapter 11: Filer (filer)


PATCH

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

Utilities Quick Reference

cylid

1102A200

75

Chapter 11: Filer (filer)


QUIT

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

Utilities Quick Reference

Chapter 11: Filer (filer)


REBUILDMAP

REBUILDMAP

REBUILDMAP

cylid
1102A212

RENAME

RENAME
/Y

cylid

sectornum

=
1102C009

REPAIRSECTS

REPAIRSECTS
1102A218

RESETFREECYL
RESETFREECYL
RESETFREE
GS04B053

Utilities Quick Reference

77

Chapter 11: Filer (filer)


ROW

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

Utilities Quick Reference

Chapter 11: Filer (filer)


SEGZERO/SEG0

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

Utilities Quick Reference

79

Chapter 11: Filer (filer)


STORAGEINFO

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

Utilities Quick Reference

Chapter 11: Filer (filer)


TRACEPRINT

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

Utilities Quick Reference

ordinalrange

whereclause

1102A126

81

Chapter 11: Filer (filer)


WCI

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

Utilities Quick Reference

Chapter 11: Filer (filer)


WDBREC

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

Utilities Quick Reference

83

Chapter 11: Filer (filer)


WREC

WREC
WREC
/P
/S
/M
/L
/X
/H
/V

wlsnrange

whereclause

1102A125

WRITE
WRITE
WRIT

/Y

/NOCHECKSUM
1102A215

WSUMMARY

WSUMMARY
wlsnrange

84

1102A195

Utilities Quick Reference

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

Utilities Quick Reference

85

Chapter 12: Gateway Global (gtwglobal)


DISPLAY GTW

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

Utilities Quick Reference

Chapter 12: Gateway Global (gtwglobal)


DISPLAY USER

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

Utilities Quick Reference

87

Chapter 12: Gateway Global (gtwglobal)


KILL USER

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

Utilities Quick Reference

CHAPTER 13

Lock Display (lokdisp)

BLOCKERS
BLOCKERS

TRAN
ProcId
ALL

Uniq1

Uniq2

LIMIT
NUMBER
NONE
KY01A098

DB
DB
D

DBname
ALL
KY01A096

HELP
HELP
H
?

Utilities Quick Reference

KY01A097

89

Chapter 13: Lock Display (lokdisp)


QUIT

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

Utilities Quick Reference

CHAPTER 14

Modify MPP List


(modmpplist)

MODMPPLIST
modmpplist

-h
-m file_path
1102A165

DISPLAY

DISPLAY
D
1102A026

LIST
LIST
L
1102A027

OFF id_list
OFF id_list

1102A028

Utilities Quick Reference

91

Chapter 14: Modify MPP List (modmpplist)


ON id_list

ON id_list
ON id_list

1102A029

QUIT
QUIT
Q
1102A216

WRITE
WRITE
W

-w file_path

-y
1102B030

Running External Commands


!COMMAND
1102A031

92

Utilities Quick Reference

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

Utilities Quick Reference

maximum

1102G005

93

Chapter 15: Priority Scheduler (schmon)


schmon

94

Utilities Quick Reference

CHAPTER 16

Reconfiguration (reconfig)

ABORT
ABORT

GT14A029

DISPLAY RETRY LIST


DISPLAY RETRY LIST
D

1180A013

RECONFIG
RECONFIG
R
WITH

DISPLAY

ON
OFF

n TASKS
PRIORITY p
JOURNAL MAXPERMSPACEPCT=n
PAUSE
STATISTICS

ON
OFF

OFFLINE NOW

Utilities Quick Reference

1180A014

95

Chapter 16: Reconfiguration (reconfig)


STATUS

STATUS
STATUS
S
HH01A002

STOP
STOP
S

96

GT10B001

Utilities Quick Reference

CHAPTER 17

Recovery Manager (rcvmanager)

CANCEL ROLLBACK ON TABLE

CANCEL ROLLBACK

ON

TABLE

,
table_id

;
YsRcv006

DEFAULT PRIORITY

DEFAULT

PRIORITY

;
GS04A035

HELP

HELP

GT11A001

Utilities Quick Reference

97

Chapter 17: Recovery Manager (rcvmanager)


LIST CANCEL ROLLBACK TABLES

LIST CANCEL ROLLBACK TABLES


LIST

CANCEL ROLLBACK TABLES

;
1102A046

LIST LOCKS

LIST

LOCKS

;
1102A047

LIST ROLLBACK TABLES


LIST

ROLLBACK TABLES

;
1102A048

LIST STATUS

LIST

STATUS

;
1102A049

LIST STATUS proc-id

LIST

STATUS

;
proc-id
1102A060

98

Utilities Quick Reference

Chapter 17: Recovery Manager (rcvmanager)


QUIT

QUIT
;

QUIT

GT11A004

REBUILD/RECOVERY PRIORITY
;

PRIORITY

REBUILD

HIGH
MEDIUM
LOW

RECOVERY

GT11A005

ROLLBACK SESSION...PERFORMANCE GROUP


ROLLBACK SESSION
A

host_id,session_id
;

PERFORMANCE GROUP
Perf_Group_Name

1102A140

Utilities Quick Reference

99

Chapter 17: Recovery Manager (rcvmanager)


ROLLBACK SESSION...PERFORMANCE GROUP

100

Utilities Quick Reference

Resource Check Tools


(dbschk, nodecheck, syscheck)
CHAPTER 18

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

Utilities Quick Reference

FF07D399

101

Chapter 18: Resource Check Tools (dbschk, nodecheck, syscheck)


syscheck

syscheck
syscheck
-D
-h
-I
-L
-n nl
-r rscfile
-t n
-v
FF07D398

102

Utilities Quick Reference

CHAPTER 19

Table Rebuild (rebuild)

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

, WITH DATABASE LOCK


, WITH TABLE LOCK
, WITH ROWRANGE LOCK
,

IN PARALLEL
n TABLES

Utilities Quick Reference

1102D135

103

Chapter 19: Table Rebuild (rebuild)


REBUILD AMP FALLBACK TABLES

REBUILD AMP FALLBACK TABLES

REBUILD AMP

nnnn

FALLBACK TABLES

A
3
;

A
, LOG INTO logdbase.logtbl

, WITH DATABASE LOCK


, WITH TABLE LOCK
, WITH ROWRANGE LOCK
,

IN PARALLEL
n TABLES

1102B221

RESTART REBUILD
RESTART REBUILD ON AMP

nnnn

GS06A011

104

Utilities Quick Reference

CHAPTER 20

Task List (tsklist)

tsklist

tsklist
-a
-b
-i
-l
- p partition
- r relvpr
-s
-S
- v vprid
prgname

Utilities Quick Reference

1102A166

105

Chapter 20: Task List (tsklist)


tsklist

106

Utilities Quick Reference

CHAPTER 21

Teradata Local Definition Utility


(tdlocaledef)

tdlocaledef
tdlocaledef
-input filename

-output

filename
new

Gt15b004

tdlocaledef

-reverse

current
filename

-source filename
1102A145

Utilities Quick Reference

107

Chapter 21: Teradata Local Definition Utility (tdlocaledef)


tdlocaledef

108

Utilities Quick Reference

CHAPTER 22

Teradata Network Statistics


(tdnstat)

tdnstat
tdnstat
-a

-q
-v
-d

-C
-F
-G

t
n

-M
-R
-t
-c min
-z
-Z

Utilities Quick Reference

1102A250

109

Chapter 22: Teradata Network Statistics (tdnstat)


tdnstat

110

Utilities Quick Reference

CHAPTER 23

Warning:

Teradata Network Tuner


(tdntune)

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

Utilities Quick Reference

1102D021

111

Chapter 23: Teradata Network Tuner (tdntune)


tdntune

112

Utilities Quick Reference

CHAPTER 24

TPA Reset (tpareset)

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

Utilities Quick Reference

1102B230

113

Chapter 24: TPA Reset (tpareset)


tpareset

114

Utilities Quick Reference

CHAPTER 25

Two-Phase Commit Console


(tpccons)

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

Utilities Quick Reference

115

Chapter 25: Two-Phase Commit Console (tpccons)


DISPLAY

116

Utilities Quick Reference

CHAPTER 26

Update Space (updatespace)

UPDATE SPACE
UPDATE

SPACE FOR

ALL DATABASES
dbname

SPACE FOR

dbname

TEMPORARY

ALL
SPOOL
PSPOOL

Utilities Quick Reference

1102H401

117

Chapter 26: Update Space (updatespace)


UPDATE SPACE

118

Utilities Quick Reference

CHAPTER 27

Verify Pdisks (verify_pdisks)

verify_pdisks
verify_pdisks
-v
-h
-?

Utilities Quick Reference

1102A232

119

Chapter 27: Verify Pdisks (verify_pdisks)


verify_pdisks

120

Utilities Quick Reference

CHAPTER 28

Vproc Manager (vprocmanager)

BOOT
BOOT

vprocid

GS07B005

CLEARMVAMP
CLEARMVAMP
CL
1102A252

HELP
HELP
H

ALL
keyword

GS07B006

INITVDISK
INITVDISK
I

Utilities Quick Reference

vprocid
GS07B007

121

Chapter 28: Vproc Manager (vprocmanager)


QUIT

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

Utilities Quick Reference

Chapter 28: Vproc Manager (vprocmanager)


STATUS DBS

STATUS DBS
STATUS

DBS

ST

GS07A027

STATUS DBS ORDERBY CN


STATUS

DBS

ST

ORDERBY CN

GS07A026

STATUS DBS ORDERBY HN


STATUS

DBS

ST

ORDERBY HN

GS07A025

STATUS DBS ORDERBY NODEID


STATUS

DBS

ST

ORDERBY NODEID

GS07A024

STATUS NOTONLINE
STATUS
ST

Utilities Quick Reference

NOTONLINE
NO

GS07B017

123

Chapter 28: Vproc Manager (vprocmanager)


STATUS ONLINE

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

Utilities Quick Reference

APPENDIX A

How to Read Syntax Diagrams

This appendix describes the conventions that apply to reading the syntax diagrams used in
this book.

Syntax Diagram Conventions


Notation Conventions
Item

Definition / Comments

Letter

An uppercase or lowercase alphabetic character ranging from A through Z.

Number

A digit ranging from 0 through 9.


Do not use commas when typing a number with more than 3 digits.

Word

Keywords and variables.


UPPERCASE LETTERS represent a keyword.
Syntax diagrams show all keywords in uppercase, unless operating system
restrictions require them to be in lowercase.
lowercase letters represent a keyword that you must type in lowercase, such as a
Linux command.
Mixed Case letters represent exceptions to uppercase and lowercase rules. The
exceptions are noted in the syntax explanation.
lowercase italic letters represent a variable such as a column or table name.
Substitute the variable with a proper value.
lowercase bold letters represent an excerpt from the diagram. The excerpt is
defined immediately following the diagram that contains it.
UNDERLINED LETTERS represent the default value.
This applies to both uppercase and lowercase words.

Spaces

Use one space between items such as keywords or variables.

Punctuation

Type all punctuation exactly as it appears in the diagram.

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.

Utilities Quick Reference

125

Appendix A: How to Read Syntax Diagrams


Syntax Diagram Conventions

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

Utilities Quick Reference

Appendix A: How to Read Syntax Diagrams


Syntax Diagram Conventions

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

In the above syntax, the following formats are valid:

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

Utilities Quick Reference

127

Appendix A: How to Read Syntax Diagrams


Syntax Diagram Conventions

Read loops from right to left.


The following conventions apply to loops:
IF...

THEN...

there is a maximum number of


entries allowed

the number appears in a circle on the return path.

there is a minimum number of


entries required

the number appears in a square on the return path.

a separator character is required


between entries

the character appears on the return path.

In the example, you may type cname a maximum of 4 times.

In the example, you must type at least three groups of column


names.

If the diagram does not show a separator character, use one


blank space.
In the example, the separator character is a comma.

a delimiter character is required


around entries

the beginning and end characters appear outside the return


path.
Generally, a space is not needed between delimiter characters
and entries.
In the example, the delimiter characters are the left and right
parentheses.

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

Utilities Quick Reference

Appendix A: How to Read Syntax Diagrams


Syntax Diagram Conventions

Multiple Legitimate Phrases


In a syntax diagram, it is possible for any number of phrases to be legitimate:

dbname
DATABASE
tname
TABLE
vname
VIEW

JC01A016

In this example, any of the following phrases are legitimate:

dbname

DATABASE dbname

tname

TABLE tname

vname

VIEW vname

Sample Syntax Diagram


,
CREATE VIEW

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

Utilities Quick Reference

129

Appendix A: How to Read Syntax Diagrams


Syntax Diagram Conventions

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

Utilities Quick Reference

You might also like