Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ISPF command to list the memebers of specific format

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: ISPF command to list the memebers of specific format
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    Post subject: Reply to: ISPF command to list the memebers of specific form
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: 1715
Location: UK

PostPosted: Tue Dec 11, 2012 8:53 pm    Post subject:
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: 94
Location: India

PostPosted: Fri Jan 11, 2013 2:46 pm    Post subject: Reply to: ISPF command to list the memebers of specific form
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    Post subject: Reply to: ISPF command to list the memebers of specific form
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: 94
Location: India

PostPosted: Tue Jan 22, 2013 8:54 am    Post subject: Reply to: ISPF command to list the memebers of specific form
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

Site Director


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

PostPosted: Tue Jan 22, 2013 9:05 pm    Post subject:
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

Senior Member


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

PostPosted: Tue Jan 22, 2013 9:52 pm    Post subject: Reply to: ISPF command to list the memebers of specific form
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    Post subject: Reply to: ISPF command to list the memebers of specific form
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts Low values Results from VARCHAR FORMAT balaji81_k DB2 10 Thu Oct 20, 2016 1:18 am
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us