IBM Tivoli Composite Application Manager for Application Diagnostics, Version 7.1.0.1

Troubleshooting

Boolean operators require parentheses. The following example demonstrates the strictness of boolean evaluation:

This results in the following error:

The solution is to ensure that each boolean expression has the form "(expression) OR (expression)" or "(expression) AND (expression)". So in this case, we could change the example to:

Use quotes in the query string: The following example attempts to make a query using the MATCH operator, but the query string is not delimited by double quotes:

This results in the following error:

When a query is incomplete, LogViewer issues an error to indicate which component of the query string was found to be missing. In this example it was expecting to find a column label, but the string terminated. Without double quotes around the query string, the shell provides each word of the query in a different argument, resulting in the string appearing as "select". We can correct the situation by adding double quotes around the query string like so:

Upon running this corrected query, we get the following error:

The query syntax allows values to be enclosed in single quotes, which signal to the viewer that the string inside the single quote need not be parsed:

Single quotes are also required if the term contains spaces. Directory names and file names occasionally contain spaces. Since the viewer accepts space-separated file names, this creates ambiguity. The following could be interpreted either as two separate files , "a" and "b/c", or as a single file, "c", in subdirectory "a b":

To resolve this, use quotes around any file name that contains spaces. For example:

...identifies a file named "c" in subdirectory "a b", whereas

...identifies two files, "a" and "c in subdirectory b".


+

Search Tips   |   Advanced Search