Examples – Format Specifiers - Tivoli

Teradata Extension for Tivoli Storage Manager Administrator Guide

Product
Tivoli
Release Number
16.20
16.10
Published
May 2017
Language
English (United States)
Last Update
2019-03-22
dita:mapPath
beb1489436039198.ditamap
dita:ditavalPath
beb1489436039198.ditaval
dita:id
wkq1486409855180
Product Category
Teradata Tools and Utilities
The %name:15% specifier:
  • Restricts the name field to 15 characters and right-justifies the string in the field.
  • Has the same field width, but strings are left-justified in the field. Values longer than 15 characters are not truncated, but do skew the alignment on the line. The maximum field width is 255 characters.

Next is an example of a command and the report it generates. The report shows that values longer than the specified width are not truncated, but the alignment is skewed.

taratddsmc> q ba * * ‘%crdate% %crtime% %name:-15% %gen% %status%

Retrieved 17 records filtered to 8 backups

Cr Date Cr Time Backup Name Gen A/I
2008-08-15 15:01:14 new-multi_DSTREAM0001 2 A
2008-08-15 13:34:50 new-multi_DSTREAM0001 1 I
2008-08-15 15:01:56 new-multi_DSTREAM0002 2 A
2008-08-15 13:35:27 new-multi_DSTREAM0002 1 I