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
 

 

Viewing specific members in PDS.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1491
Location: Chennai

PostPosted: Tue Jun 22, 2010 6:10 pm    Post subject: Viewing specific members in PDS.
Reply with quote

Hi,

I go to 3.4 on ISPF.
Then Enter the PDS name.
Then enter M in front of the member to list the members inside the PDS.
The PDS display has around 300 members. My requirement is to restrict the display to contain members whose member names that have a character 'A' at 4th position of the member name.
or to display members whose names end with ABC.
Could you please let me know if there is a command to do this. I faintly remember our mainframe teacher doing this during training, but forgot it over the years icon_biggrin.gif

Thanks,
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jun 22, 2010 6:18 pm    Post subject:
Reply with quote

In ISPF option 1 or 2, you can select member name *abc to list member names ending in ABC. %%%A* should select members with an A in the fourth character.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Tue Jun 22, 2010 6:18 pm    Post subject:
Reply with quote

PF1??? have you forgotten that, also?
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1491
Location: Chennai

PostPosted: Tue Jun 22, 2010 6:37 pm    Post subject:
Reply with quote

Many Thanks Robert %%%A* works on option 1 and 2.


Quote:
PF1??? have you forgotten that, also?

I cannot find %%%A* option on help, if you know please let me know the options.

All I was able to find on help was,
Code:
HELP--> 1 --> 4 --> 2 --> has

                    -----------------------------------                       
                    |          EDIT and VIEW          |                       
                    |      MEMBER SELECTION LIST      |                       
                    -----------------------------------                       
                                                                             
 When you specify an ISPF library or other partitioned data set and enter a   
 pattern or blanks for member name, a member selection list is displayed.     
 You may scroll through the list via the UP and DOWN scroll commands or via   
 the LOCATE  command, and you may select one member at a time via the         
  SELECT primary command or the S line command.                               
                                                                             
 To terminate the member list, enter the END command.                         
                                                                             
                         (continued on next page)                             


No definition of "pattern" was provided on help though.
Back to top
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Tue Jun 22, 2010 6:52 pm    Post subject:
Reply with quote

Notice that at the very bottom of the screen you posted it says

(continued on next page)

By pressing Enter, that "next page" appears and looks like this
Code:
 TUTORIAL ------------ EDIT/VIEW - MEMBER SELECTION LIST -------------- TUTORIAL
 OPTION  ===>                                                                 
                                                                               
                                                                               
                                                                               
 The following topics will be presented only if selected by number:             
                                                                               
     1 - Member list - Scrolling                                               
     2 - Member list - Pattern matching                                         
     3 - Member list - S line command                                           
     4 - Member list - Statistics                                               
     5 - Member list - FILTER command                                           
     6 - Member list - FIND   command                                           
     7 - Member list - LOCATE command                                           
     8 - Member list - MLC command                                             
     9 - Member list - MLS command                                             
    10 - Member list - REFRESH command                                         
    11 - Member list - RESET command                                           
    12 - Member list - SELECT command                                           
    13 - Member list - SORT command                                             
    14 - Member list - SAVE command                                             
    15 - Member list - SRCHFOR command                                         

Selecting option 2 ( pattern matching ) you get this:
Code:
 TUTORIAL --------- MEMBER SELECTION LISTS - PATTERN MATCHING --------- TUTORIAL
 COMMAND ===>                                                                 
                                                                               
   A member name pattern allows you to specify a subset of the members in       
   a concatenation of up to four PDSs.  A pattern can be used on member         
   list entry panels and with the SELECT command.                               
                                                                               
   The simplest member name pattern does not use either of the two special     
   pattern characters: the asterisk ( * ) and the percent sign ( % ).           
   This pattern would match at most one member name (the name identical to     
   the pattern). For example, the pattern ABC matches exactly one               
   name: ABC .                                                                 
                                                                               
                            (continued on next page)                           

note the "continued on next page"
Pressing Enter again, gets this:
Code:
 TUTORIAL --- MEMBER SELECTION LISTS - PATTERN MATCHING (continued) --- TUTORIAL
 COMMAND ===>                                                                 
                                                                               
   The % character can be used to match more than one member name.  In order   
   for a member name to match the pattern, each character in the member name   
   must be the same as the character in the corresponding position in the       
   pattern.  However, the % character in the pattern is considered "the same"   
   as any character.  For example, the pattern AB%D matches names ABCD,         
   ABFD and ABZD.                                                               
                                                                               
   The * character matches more than the % character.  The % matches exactly   
   one character, no matter what it is.  The * , on the other hand, matches     
   any number of characters, no matter what they are.  For example, the         
   pattern A*B matches the names AB, ACB and AZZZZZZB.                         
                                                                               
                            (continued on next page)                           


Is there more information you need? If so, continue pressing Enter as long as it suggests that there is more.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Tue Jun 22, 2010 6:57 pm    Post subject:
Reply with quote

Thx Ronald,

you did a more delicate job of saying 'follow instructions',
than I would have.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Jun 23, 2010 5:01 pm    Post subject: Re: Viewing specific members in PDS.
Reply with quote

vasanthz wrote:
My requirement is to restrict the display to contain members whose member names that have a character 'A' at 4th position of the member name.
or to display members whose names end with ABC.
ISPF 3.4,
Code:
 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
   Menu  Options  View  Utilities  Compilers  Help                             
 ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
 DSLIST - Data Sets Matching xxxxx.Pds.to.search

 Command ===>                                                  Scroll ===> CSR 
                                                                               
 Command - Enter "/" to select action                  Message           Volume
 -------------------------------------------------------------------------------
 M        xxxxx.Pds.to.search(*abc)                                CLBP00
 ***************************** End of Data Set list ****************************
And hit enter.

Other similar question is left for experiment.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1491
Location: Chennai

PostPosted: Wed Jun 23, 2010 5:17 pm    Post subject:
Reply with quote

Excellent! icon_biggrin.gif

Many thanks all.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Jun 23, 2010 5:30 pm    Post subject:
Reply with quote

Good Luck ...
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 Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts Route a product's job to specific lpar vasanthz All Other Mainframe Topics 9 Thu Mar 02, 2017 2:22 am
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts how to split records based on specifi... Venkata Ramayya DFSORT/ICETOOL 6 Wed Sep 28, 2016 3:20 am
No new posts How to calculate an specific transact... lind sh CICS 2 Tue Sep 13, 2016 9:20 pm


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