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

ISPF command to list the memebers of specific format


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
venkata.ravi

New User


Joined: 09 May 2005
Posts: 30
Location: Hyderabad

PostPosted: Tue Dec 11, 2012 3:11 pm
Reply with quote

Hello All,

Is there any ISPF command for the following scenarios.

1. To list out the members of specific format of Single PDS .
Example: Members of format LI**AUFG Where **= Application Id

2. To list out the members of specific format from Muliple PDS / Set of PDS libraries.
Example: Members of format LI**AUFG Where **= Application Id

There is an ISPF command to locate a member from a set of PDS libraries
Command - MEM LICBAUFG
will show the pds libraries in which it is found.
Back to top
View user's profile Send private message
senjay

Active User


Joined: 10 May 2007
Posts: 147
Location: India

PostPosted: Tue Dec 11, 2012 6:13 pm
Reply with quote

Hi,
What's your whole scenario? You just want to know the member names with your above mentioned criteria?

For Single PDS, you might want to try FILTER command. When you see the member list in the PDS, Type FILTER and in the Pop up panel, choose the self-explanatory options, but wildcard support is limited only for trailing *. That means, you can search only for LI* and not what you asked for.

However if you just want to know the member names with LI**AUFG for a single PDS, just type 'SAVE MEM' in the member list of the PDS. The member list will be saved in yourid.MEM.MEMBERS. Now you can use X ALL P'LI==AUFG' and FLIP to get what you want.

For multiple PDS you might want to play with little REXX.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Tue Dec 11, 2012 8:53 pm
Reply with quote

Code:

Project . . .your   
Group . . . .pds   
Type  . . . .name
Member  . . .L*AUFG     


And learn bout your filtering options in ISPF
Back to top
View user's profile Send private message
Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 93
Location: India

PostPosted: Fri Jan 11, 2013 2:46 pm
Reply with quote

Wild card is not limited for trailing . You can search for LI**AUFG itself using the filter command.
Back to top
View user's profile Send private message
senjay

Active User


Joined: 10 May 2007
Posts: 147
Location: India

PostPosted: Thu Jan 17, 2013 2:52 pm
Reply with quote

Ranjithkumar told:
Quote:

Wild card is not limited for trailing . You can search for LI**AUFG itself using the filter command


Did you try this before posting it? You wouldn't have posted this, if you did.
Back to top
View user's profile Send private message
Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 93
Location: India

PostPosted: Tue Jan 22, 2013 8:54 am
Reply with quote

I did tried and its working. It might not be working in your shop. I've tried in 3 different shops and its working in all 3.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jan 22, 2013 9:05 pm
Reply with quote

Hello,

Quote:
Did you try this before posting it? You wouldn't have posted this, if you did.

If you post what "doesn't work" (which error or abend is raised), someone may have a suggestion . . .

What is displayed if you press F1 a couple of times when the undesired result happens?
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Tue Jan 22, 2013 9:52 pm
Reply with quote

When I issue FILTER NAME EQ A*V on member list panel ISREPO01, I get message
Code:
ISRM081A Invalid value A*V specified on Filter command     


If you press F1 to get message help, you get help panel ISR01190 with this note:
Quote:
Wildcard support is limited to a trailing * for EQ and NE operators on Name, ID and Alias fields only.

Which may explain why it might in some cases and not for others.
Back to top
View user's profile Send private message
senjay

Active User


Joined: 10 May 2007
Posts: 147
Location: India

PostPosted: Thu Jan 24, 2013 12:26 pm
Reply with quote

Hi Dick,
I got what Pedro got. Infact, I posted the below one from the help panel only.
Quote:
wildcard support is limited only for trailing *


@Pedro,
From Ranjith Kumar's post, it seems he also tried on Name field with EQ parameter. That's why I can't believe how it worked for him.
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 RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
Search our Forums:

Back to Top