SirTune statement wildcards: Difference between revisions
m (1 revision: SirTune doc) |
m (add links) |
||
Line 9: | Line 9: | ||
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_configuration_statements#authorize|AUTHORIZE]]</th><td>SIRTUNE</td></tr> | ||
<tr><th>RESOLUTION</th><td>SIRTUNER or SIRTUNEREPORT</td></tr> | <tr><th>[[SirTune Report Generator configuration#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> | ||
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 32: | ||
</nowiki></p> | </nowiki></p> | ||
To match ABCDEFG and no other strings, use: | To match ABCDEFG and no other strings, use: | ||
<p class="code" | <p class="code">ABCDEFG | ||
</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" | <p class="code">ABC* | ||
</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 43: | ||
</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" | <p class="code">ABC? | ||
</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 50: | ||
</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" | <p class="code">ABC"* | ||
</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 60: | ||
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" | <p class="code">A*B? | ||
</p> | |||
==See also== | ==See also== |
Revision as of 22:19, 12 November 2015
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
- SirTune introduction
- SirTune data collection under MVS
- SirTune data collection under CMS
- SirTune data collection statements
- SirTune MODIFY and SMSG commands
- SirTune report generation
- SirTune reports
- SirTune user states
- SirTune and Model 204 quad types
- SirTune statement wildcards
- SirTune date processing