View previous topic :: View next topic
|
Author |
Message |
venkata.ravi
New User
Joined: 09 May 2005 Posts: 30 Location: Hyderabad
|
|
|
|
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 |
|
|
senjay
Active User
Joined: 10 May 2007 Posts: 147 Location: India
|
|
|
|
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 |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Code: |
Project . . .your
Group . . . .pds
Type . . . .name
Member . . .L*AUFG |
And learn bout your filtering options in ISPF |
|
Back to top |
|
|
Ranjithkumar
New User
Joined: 10 Sep 2008 Posts: 93 Location: India
|
|
|
|
Wild card is not limited for trailing . You can search for LI**AUFG itself using the filter command. |
|
Back to top |
|
|
senjay
Active User
Joined: 10 May 2007 Posts: 147 Location: India
|
|
|
|
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 |
|
|
Ranjithkumar
New User
Joined: 10 Sep 2008 Posts: 93 Location: India
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
senjay
Active User
Joined: 10 May 2007 Posts: 147 Location: India
|
|
|
|
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 |
|
|
|