View previous topic :: View next topic
|
Author |
Message |
M Lee Klein
New User
Joined: 08 Feb 2022 Posts: 39 Location: USA
|
|
|
|
I'm documenting a list of jobnames but do not have a list of locations.
Is there a way to search all PDS that begin with "MR"?
Entering SF in front of MR didn't work. |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2141 Location: USA
|
|
|
|
The whole mess of used terminology:
Member - HLQ - jobnames - PDS - MR - SF
Which is which??? |
|
Back to top |
|
|
M Lee Klein
New User
Joined: 08 Feb 2022 Posts: 39 Location: USA
|
|
|
|
I can do a SEARCHFOR in front of partitioned data sets if I know the high level qualifiers but I don't.
I did try a 'M JOBNAME' on the command line after doing a 3.4 on the high level qualifier, 'MR', and it timed out. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2594 Location: Silicon Valley
|
|
|
|
re: "after doing a 3.4 on the high level qualifier"
1. Can you let us know the number of datasets listed?
2. You should be able to issue SEARCHFOR as a primary command.
But if you have a large number of datasets, perhaps start 3.4 with a subset of the names so that it searches a smaller number of datasets each time.
3. Do you have the MEMBERS command? Write a REXX exec that traps command output with OUTTRAP, issues the MEMBERS command, then searches the command output for the desired member name. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 734 Location: Denmark
|
|
|
|
Probably overkill in this case, but I have a tool - FINDMBR - which stores member name and info for all or selected disks in a VSAM dataset. Well actually 2, one for member info and one for dataset info. A dialog or a batch job can then search the databases for the required info. The idea is that you update the databases every day to have a mostly up-to-date view of all your pdss, but it can be used as a one-off.
See FINDMBR here: harders-jensen.com |
|
Back to top |
|
|
M Lee Klein
New User
Joined: 08 Feb 2022 Posts: 39 Location: USA
|
|
|
|
Great ideas! Thanks everyone! |
|
Back to top |
|
|
Monty Ealerman (1)
New User
Joined: 23 Feb 2023 Posts: 2 Location: United States
|
|
|
|
. . . |
|
Back to top |
|
|
|