Hi, Kai.

If you're trying to script/parse the output,

   dsmadmc -id=id -pa=password -comma [out=filename] "select * from actlog"

will put everything on a single comma-delimited line which I find is very
easy to parse.

Alex Paschal
Storage Administrator
Freightliner, LLC
(503) 745-6850 phone/vmail


-----Original Message-----
From: Kai Hintze [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 22, 2000 11:28 AM
To: [EMAIL PROTECTED]
Subject: Column width in "select message from actlog"


When I "query actlog" I get the full text of messages. Some of the
hardware error messages go for 3 or 4 lines (on my 132 column window)
by the time it lists the sense codes then interprets the sense code.
But when I "select * from actlog" the longer messages get chopped off
after 2 1/2 lines.

Reading Mr. Sims' Quickfacts (thanks again, Richard) I note that the
default wide mode is 250 characters, and that would be about right. I
know of the trick to "select message as 'message <with 400 spaces>'"
but I'm not really happy at the thought of forcing all the messages to
report as that long. (And I haven't tried it, but I suspect that ADSM
will not be happy with that long of a line either.)

Does anyone have another suggestion for getting the complete text of
the message out of a "select ... from actlog" or do I need to just go
ahead and parse a "query actlog"?

Command Line Backup Client Interface - Version 3, Release 1, Level
0.6
Server Version 3, Release 1, Level 2.20

on AIX 4.1.5 and 4.3.2.

Thanks,
Kai.

Reply via email to