logo       

[TEC] more unix logfile adapter fun: msg#00504

sysutils.tivoli.tme10

Subject: [TEC] more unix logfile adapter fun

Hallo,


>printf-like %[length]s(+|*)
>%s+|%s|%99s+|%s|%s|%s|%s|%s|%s|%s|%s|%s*
>description field has not been truncated as expected

%length works for me although there were significant changes since 3.6.

Currently it means "at most 99", not "exactly 99".
This will cause you trouble if you have a string which contains the
delimiter char
(like %6s: when you want to match 12:30:00: with trailing _and_ embedded
colons).
You have WidthstrMeaning=yes|no in the .conf file for the "old" or "new"
semantics.

You can turn on debugging in the .err file to see what the parser does to
your definition.
I'd recommend all tracing on for FETCH and PARSER.

Since you're at FP01 level you might want to have a look in FP02 README
if it describes something similar to your problem.
I see some rather vague APARs about adapters and %s, it does not
specifically mention %width expressions.

APAR: IY39436
Symptom: The component specifier %s is incorrectly processed by UNIX
logfile adapters.
Resolution: The delimiting character used at the end of a message has been
modified to allow the proper processing by the adapter.

APAR: IY43376
Symptom: The adapter format file does not correctly bind messages when
using the characters %s*.
Resolution: Parsing now correctly matches when using the characters %s*.

Tschau...Thomas
--
"Do you wanna be a legend or a passing footprint on the sands of time?"

Senior Consultant, Tivoli Certified Enterprise Consultant + Instructor
santix AG, www.santix.de, info-/JKUMw0Y9jazQB+pC5nmwQ@xxxxxxxxxxxxxxxx, fon
+49-89-321506-0, fax -99
Weihenstephaner Str. 4, D-85716 Unterschleissheim, GSM +49-170-9135811



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise