IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Searching for a member but don't know the HLQ


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
M Lee Klein

New User


Joined: 08 Feb 2022
Posts: 39
Location: USA

PostPosted: Thu Feb 16, 2023 1:10 am
Reply with quote

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
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2019
Location: USA

PostPosted: Thu Feb 16, 2023 4:22 am
Reply with quote

The whole mess of used terminology:
Member - HLQ - jobnames - PDS - MR - SF

Which is which???
Back to top
View user's profile Send private message
M Lee Klein

New User


Joined: 08 Feb 2022
Posts: 39
Location: USA

PostPosted: Thu Feb 16, 2023 4:42 am
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Thu Feb 16, 2023 6:36 am
Reply with quote

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
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Thu Feb 16, 2023 7:12 pm
Reply with quote

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
View user's profile Send private message
M Lee Klein

New User


Joined: 08 Feb 2022
Posts: 39
Location: USA

PostPosted: Wed Feb 22, 2023 2:06 am
Reply with quote

Great ideas! Thanks everyone!
Back to top
View user's profile Send private message
Monty Ealerman (1)

New User


Joined: 23 Feb 2023
Posts: 2
Location: United States

PostPosted: Fri Feb 24, 2023 8:27 am
Reply with quote

. . .
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
No new posts Library member auto insert option TSO/ISPF 3
No new posts DataSet member creation failed with B... Java & MQSeries 15
No new posts How to filter PDS member using LMINIT... CLIST & REXX 4
Search our Forums:

Back to Top