How to modify the column width of the output of the "bperror -U -backstat" command to prevent truncaton of the output.
|Article:TECH18772|||||Created: 2002-01-05|||||Updated: 2013-05-31|||||Article URL http://www.symantec.com/docs/TECH18772|
How to modify the column width of the output of the "bperror -U -backstat" command to prevent truncation of the output.
The output of the command bperror -U -backstat by default has fixed column widths. When the command is run the output may be truncated for clients, policies, schedules, etc., that have names containing more characters than the default column width. The default column widths are as follows:
STATUS is 3 columns
CLIENT is 13 columns
CLASS is 16 columns
SCHED is 10 columns
SERVER is 11 columns
TIME COMPLETED is 19 columns
POLICY: 20 columns
SCHED: 10 columns
SERVER: 15 columns
TIME COMPLETED: open
SmeErr0180N " %3d %-15.15s %-20.20s %-10.10s %-15.15s %-*.*s"
SmeErr0190N "STATUS CLIENT POLICY SCHED SERVER TIME COMPLETED\n"
Once the SmeMsgs file is created, and the locale variables are set, the bperror command may be run. If the output does not appear as desired, edit the SmeMsgs file and rerun the bperror command until the desired result is obtained.
There is no Windows equivalent to the SmeMsgs solution but this 'bperror -U -backstat' report can be approximated by using 'bpdbjobs -report' and adjusting BPDBJOBS_COLDEFS definitions.
See TECH46268 for instructions.
Article URL http://www.symantec.com/docs/TECH18772