-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questionable dataset filtering on complex queries #3424
Comments
Thank you for creating a bug report. |
Plan to test this on the CLI first to rule out any upstream bugs. |
Apologies, I haven't used zowe CLI before so it did not cross my mind. I am not sure what the CLI command(s) would be for this. There is the |
I think the issue is in how zowe explorer is dealing with multiple datasets with similar HLQs in the same filter but where one (or multiple) has member filters. To make the simplest example: A filter on A filter on The same goes with using wildcards, it seems to apply the wildcard from the first PDS's filter, to the second, that has a similar name. That is what I was trying to get at in my original comment. Hope this helps! |
Describe the bug
Some more complex dataset filters cause unexpected results. Occurs in both v2.18.0 and v3.1.0 with the same results.
Consider the example for the following search datasets filter (HLQ and USERIDs are placeholder - I'd show screenshots to make it easier, but then I'd have to take the time to censor the results to not reveal internal PDS names in public):
HLQ.USERID2.SOURCE(R80297*),HLQ.USERID1.SOURCE(R80297O1)
Here's a breakdown of the filter:
HLQ.USERID2.SOURCE
, there are 50 members. One is called R80297B2 and another is called R80297O2. So searching (R80297*) should match on these two membersHLQ.USERID1.SOURCE(R80297O1)
, there are also 50 members. One is called R80297B1 and another is called R80297O1. This should simply match on the one itemR80297O1
inside that SOURCE library. Note that the USERID part of the PDS name is slightly different than in the above two parts.What actually happens:
HLQ.USERID2.SOURCE
shows its 2 members correctlyHLQ.USERID1.SOURCE
shows bothR80297O1
andR80297B1
as if it is following the same pattern as in the first PDS of the filter.HLQ.USERID1.SOURCE.FINAL
is also shown, with all members that are inside of it.So the unexpected results are in 3 and 4.
==============================
Now let's consider the next example:
HLQ.USERID2.SOURCE(R80297B2),HLQ.USERID2.SOURCE(EX1),HLQ.USERID1.SOURCE(R80297O1)
Expectations:
HLQ.USERID2.SOURCE
,R80297B2
&EX1
HLQ.USERID1.SOURCE
,R80297O1
What actually happens:
R80297B2
file inHLQ.USERID2.SOURCE
, completely ignoring the second member filter on the same PDSHLQ.USERID1.SOURCE
(in v2.18.0 the PDS does not show up at all)HLQ.USERID1.SOURCE.FINAL
(in v2.18.0 the PDS does not show up at all)So here all 3 results are unexpected.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: