Vantage queries are giving inconsistent results

book

Article ID: 143841

calendar_today

Updated On:

Products

CA Vantage Storage Resource Manager

Issue/Introduction

I can show that moving an INCL DSN within the include list changes the results I get.

 

Environment

Release : 14.0

Component : CA Vantage Storage Resource Manager

Resolution

If you specify this pattern... 
IMSP.PSYS?.N.IMS*.DCMON
...and you do not want any data sets selected with characters or nodes beyond that pattern, then you would specify this:
IMSP.PSYS?.N.IMS*.DCMON!
The exclamation as the last character acts as a terminator, so that no data sets are selected that have any chars beyond "DCMON".
  
Description: ! [Exclamation]
Match any characters or nodes prior to that point
  
Examples:
DSN INCL *.!DEPT1
[match DSNs with any first node, followed by any chars or nodes - or none - before DEPT1]
  
DSN INCL !TEST!LIB 
[match DSNs with TEST anywhere from first DSN char - or none - then with any number of chars - or zero chars - between TEST and LIB]
  
DSN INCL !G????V??
[match DSNs with any number of chars or nodes from first char to "G????V??"]
  
DSN INCL !CNTL!
[match DSNs with CNTL as the final chars in the DSN] 
  
NOTE: Any pattern without a " ! " at the end of the pattern will cause DSNs to be selected that have additional chars or nodes beyond the pattern.
  
Slash - Match all characters and nodes from that point to end of text. Slash can be specified only as last symbol in pattern.
  
To ensure accurate matches, specify a  /  or  !  at the end of the pattern.

Additional Information

A couple of examples...
  
IMSD.PSYS?.N.!LOCK/
This will match datasets with any chars-nodes, or 0 chars-nodes, before LOCK and any chars-nodes after LOCK
  
IMSD.PSYS?.N.IMS*.DFSOL*!
This will match datasets with any chars or 0 chars after IMS, and 
any chars or 0 chars after DFSOL and that would be the last node selected.