Skip to content
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

Full text search across all the members, like ISPF SrchFor utility does #449

Open
Tracked by #3166
radecek9787 opened this issue Jan 13, 2020 · 8 comments
Open
Tracked by #3166
Labels
enhancement New feature or request priority-medium Not functioning - next quarter if capacity permits stretch UX

Comments

@radecek9787
Copy link

When working with a green screen, I often need to search for a specific string across all members within a specified data set or HLQ. I use ISPF Search-For utility to do that job. It can be found in ISPF =p.3.14. The output of the utility lists all the members and occurrences where the searched string was found.

I am missing this functionality in Zowe Explorer. With that, it would be possible to search for any string within each member so I would not need to switch over to the green screen.

@jelaplan
Copy link

jelaplan commented Jan 17, 2020

Totally awesome idea. See #172

@jellypuno jellypuno added the UX label Mar 5, 2020
@cybersorcerer
Copy link

Huy guys, this is really awesome. Please provide a ISPF like searchfor.

@jellypuno
Copy link
Contributor

Is it possible to trigger the searchFor through TSO or SSH commands? I'm just curious because I know only how to do through a program.

@cybersorcerer
Copy link

cybersorcerer commented Sep 9, 2021

@jellypuno

  1. If a z/OS customer has a license for IBM Developer Z Enterprise or IBM Dependency Based Build (DBB) you could use the IBM Z Open Automation Utility Command dgrep thru ssh directly or the zowe cli like this:

zowe uss issue ssh dgrep pattern dsnpattern

This will search the specified pattern in all dsns matching dsnpattern. Output goes to stdout.
You could also use something like

ssh user@host 'dgrep pattern dsnpattern'

  1. There is the ISRSUPC Utility which can be used thru IBM ZOAU mvscmd or jcl like this:

    // JOB
    //SEARCH EXEC PGM=ISRSUPC,PARM=('SRCHCMP,ANYC')
    //STEPLIB DD DSN=ISPF330.LOAD,DISP=SHR
    //NEWDD DD DSN=USERID.PDS,DISP=SHR
    // DD DSN=USERID.PDS2,DISP=SHR
    //OUTDD DD SYSOUT=*
    //SYSIN DD *
    SRCHFOR 'NEEDLE',W,10:20
    /*
    //

This is documented in the ISPF users Guide Volume II, here is the link https://www.ibm.com/docs/en/zos/2.4.0?topic=reference-superc-search-technical-overview

greetings

Ronny

@zFernand0 zFernand0 added the priority-low Legit issue but cosmetic or nice-to-have label Oct 5, 2022
@JillieBeanSim
Copy link
Contributor

This enhancement has had no activity for 12 months. The issue also has less than 10 up-votes by the community. No action on this enhancement is targeted for the next 2 calendar quarters. Therefore, this enhancement is being closed. If you feel that this enhancement should continue to be available for community up-votes, you may reopen this issue.

@JillieBeanSim JillieBeanSim reopened this Oct 25, 2023
@JillieBeanSim JillieBeanSim closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2023
@traeok
Copy link
Member

traeok commented Dec 15, 2023

Reopening as this feature was requested recently in #2592

@traeok traeok reopened this Dec 15, 2023
@traeok traeok changed the title Full text search across all the members, like ISPF SrchFor utility does - Enhancement request Full text search across all the members, like ISPF SrchFor utility does Dec 15, 2023
@traeok traeok added the enhancement New feature or request label Dec 15, 2023
Copy link

Thank you for raising this enhancement request.
The community has 90 days to vote on it.
If the enhancement receives at least 10 upvotes, it is added to our development backlog.
If it receives fewer votes, the issue is closed.

@traeok traeok removed the priority-low Legit issue but cosmetic or nice-to-have label Dec 15, 2023
@JTonda JTonda added priority-medium Not functioning - next quarter if capacity permits priority-high Production outage - this quarter or at least next quarter and removed priority-medium Not functioning - next quarter if capacity permits labels Jan 2, 2024
@JTonda JTonda added priority-medium Not functioning - next quarter if capacity permits and removed priority-high Production outage - this quarter or at least next quarter labels Feb 8, 2024
@adam-wolfe
Copy link
Contributor

To avoid having to download the full contents of all members, we could consider using the search=<string> query parameter listed here. We would have to perform the search on every member, but I assume that this way would perform better than transferring everything.

The CLI squad is looking at a similar enhancement, but for searching through job spool files instead of PDS members. It may make sense for the CLI squad to look into searching for a string in PDS members in 24PI2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-medium Not functioning - next quarter if capacity permits stretch UX
Projects
Status: Medium Priority
Development

No branches or pull requests

9 participants