SirTune statement wildcards: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision: SirTune doc)
m (link repair)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--Page automatically generated by CMSTOWIK EXEC and will be
There are several <var class="product">SirTune</var> statements that allow the use of wildcard strings to specify a set of matching strings with
** automatically replaced ** -- any manual edits will be lost.
You've been warned.  ..  (Page built by JAL at the SIRIUS VM; file: FUNPGNEW SYSUT2) -->
<!-- Page name: Sirtune statement wildcards -->
<p></p>
There are several <var class="product">SirTune</var> statements that allow the
use of wildcard strings to specify a set of matching strings with
a single string.
a single string.
These statements and the associated component of <var class="product">SirTune</var> are:
These statements and the associated component of <var class="product">SirTune</var> are:
<table class="thJustBold">
<table class="thJustBold">
<tr><th>AUTHORIZE</th><td>SIRTUNE</td></tr>
<tr><th>[[SirTune data collection statements#authorize|AUTHORIZE]]</th>
<td>SIRTUNE</td></tr>


<tr><th>RESOLUTION</th><td>SIRTUNER or SIRTUNEREPORT</td></tr>
<tr><th>[[SirTune report generation#resolu|RESOLUTION]]</th>
<td>SIRTUNER or SIRTUNEREPORT</td></tr>


<tr><th>SIRTUNED</th><td>A CMS command</td></tr>
<tr><th>[[SirTune data collection under CMS#The SIRTUNED virtual machine|SIRTUNED]]</th>
<td>A CMS command</td></tr>
</table>
</table>
<p></p>
The special characters and their meanings in wildcard strings are:
The special characters and their meanings in wildcard strings are:
<table class="thJustBold">
<table class="thJustBold">
<tr><th>*</th>
<tr><th>*</th>
Line 31: Line 29:
</nowiki></p>
</nowiki></p>
To match ABCDEFG and no other strings, use:
To match ABCDEFG and no other strings, use:
<p class="code"><nowiki>ABCDEFG
<p class="code">ABCDEFG
</nowiki></p>
</p>
To match ABC, ABCXXX, ABC22, ABCDEFG, etc. and not match
To match ABC, ABCXXX, ABC22, ABCDEFG, etc. and not match
ABXCD, CAB, etc., use:
ABXCD, CAB, etc., use:
<p class="code"><nowiki>ABC*
<p class="code">ABC*
</nowiki></p>
</p>
To match XYZ, AXYZ, XYZA, AXYZB, etc. and not match XAYBZ,
To match XYZ, AXYZ, XYZA, AXYZB, etc. and not match XAYBZ,
XYAZ, etc., use:
XYAZ, etc., use:
Line 42: Line 40:
</nowiki></p>
</nowiki></p>
To match ABC1, ABCD, ABCZ etc. and not match ABC, ABCDE, ABXC, etc., use:
To match ABC1, ABCD, ABCZ etc. and not match ABC, ABCDE, ABXC, etc., use:
<p class="code"><nowiki>ABC?
<p class="code">ABC?
</nowiki></p>
</p>
To match any string with exactly four characters and not match anything
To match any string with exactly four characters and not match anything
else, use:
else, use:
Line 49: Line 47:
</nowiki></p>
</nowiki></p>
To match the string ABC* and nothing else, use:
To match the string ABC* and nothing else, use:
<p class="code"><nowiki>ABC"*
<p class="code">ABC"*
</nowiki></p>
</p>
To match the string ABC? and nothing else, use:
To match the string ABC? and nothing else, use:
<p class="code"><nowiki>ABC"?
<p class="code"><nowiki>ABC"?
Line 59: Line 57:
To match ABC, ABD, A1BC, A123B?, etc. and not match
To match ABC, ABD, A1BC, A123B?, etc. and not match
ABCD, XABC, AXXXXX, etc., use:
ABCD, XABC, AXXXXX, etc., use:
<p class="code"><nowiki>A*B?
<p class="code">A*B?
</nowiki></p>
</p>


==See also==
==See also==

Latest revision as of 21:15, 8 August 2017

There are several SirTune statements that allow the use of wildcard strings to specify a set of matching strings with a single string. These statements and the associated component of SirTune are:

AUTHORIZE SIRTUNE
RESOLUTION SIRTUNER or SIRTUNEREPORT
SIRTUNED A CMS command

The special characters and their meanings in wildcard strings are:

* Matches any group of characters including a null string.
? Matches any single character.
" Indicates that the next character in the wildcard string is to be treated literally, even if it is a double-quotation mark ("), asterisk (*), or question mark (?).

For example, to match any string, use:

*

To match ABCDEFG and no other strings, use:

ABCDEFG

To match ABC, ABCXXX, ABC22, ABCDEFG, etc. and not match ABXCD, CAB, etc., use:

ABC*

To match XYZ, AXYZ, XYZA, AXYZB, etc. and not match XAYBZ, XYAZ, etc., use:

*XYZ*

To match ABC1, ABCD, ABCZ etc. and not match ABC, ABCDE, ABXC, etc., use:

ABC?

To match any string with exactly four characters and not match anything else, use:

????

To match the string ABC* and nothing else, use:

ABC"*

To match the string ABC? and nothing else, use:

ABC"?

To matches the string ABC" and nothing else, use:

ABC""

To match ABC, ABD, A1BC, A123B?, etc. and not match ABCD, XABC, AXXXXX, etc., use:

A*B?

See also