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

Avoid trailing wildcard in Personal Data Set Lists


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kobus kuch

New User


Joined: 20 Feb 2008
Posts: 3
Location: leeuwarden

PostPosted: Thu Sep 08, 2011 3:27 pm
Reply with quote

Hi! When I'm editing a Personal Data Set List (dslist) like for instance:
Personal Data Set List RELEASE List 1 of 30
Command ===> Scroll ===> CSR
Enter EXIT command to save changes, CANCEL command to exit without saving.
I=Insert a list entry R=Repeat a list entry D=Delete a list entry
Data Set, DSLIST Level or z/OS UNIX file Volume WS
------------------------------------------------------->
'al*al1.p*.cobol'

I get a result like this:
DSLIST - Data Sets Matched in list RELEASE Row 1 of 38
Command ===> Scroll ===> CSR

Command - Enter "/" to select action
-------------------------------------------------------------------------------
ALLRAL1.P00.COBOL
ALLRAL1.P00.COBOL.BEWAAR
ALLRAL1.P00.COBOL.EE110624

But I just want the COBOL PDS. Not the COBOL.* PDS's. How can I avoid this automatic trailing wildcard.

Thanks for helping me.
Regards
Kobus
Back to top
View user's profile Send private message
Stefan

Active User


Joined: 12 Jan 2006
Posts: 110
Location: Germany

PostPosted: Thu Sep 08, 2011 5:37 pm
Reply with quote

Including additional qualifiers in the resulting dataset list is not a feature of personal data set lists but of the Data Set List Utility (usually ISPF menu option 3.4). This utility is invoked by the Personal Data Set List Utility with command "L". But the Data Set List Utility consists of two panels, and the built-in invocation immediately jumps to the second panel. So you have no chance to correct the corresponding setting which is on the first panel.

To change the default behavior, go to utility 3.4 and de-activate the option "Include Additional Qualifiers". Then enter again your personal data set list and you'll find that the resulting data set lists do not contain any data set having more qualifiers than specified.

If you want it work more generically, you might specify data set name patterns like "MY.DATA.SETS.**" as you would in option 3.4

Give it a try.
Back to top
View user's profile Send private message
kobus kuch

New User


Joined: 20 Feb 2008
Posts: 3
Location: leeuwarden

PostPosted: Thu Sep 08, 2011 6:54 pm
Reply with quote

Thank you Stefan. You're right. It works with de-activating the 'Include Additional Qualifiers'. I didn't think of this one.
But unfortunately I'm a little picky. In general I work with this option activated. The number of qualifiers is not always known in advance. For instance 'ALXXDL1.P00.AR.CNTL' entered with the option on shows:
ALXXDL1.P00.AR.CNTL and
ALXXDL1.P00.AR.CNTL.OUD.D110126
'ALXXDL1.P00.AR.CNTL.*' with the option off shows nothing.
'ALXXDL1.P00.AR.CNTL.*.*' with the option off shows only:
ALXXDL1.P00.AR.CNTL.OUD.D110126
There is no pattern which shows both PDS's in one time.
But in this particular case I want this list to be the one I try to specify. Nothing more. So, in fact I'm searching for a de-activated setting for just this list and leave option 3.4 with the activated status.
Back to top
View user's profile Send private message
Stefan

Active User


Joined: 12 Jan 2006
Posts: 110
Location: Germany

PostPosted: Thu Sep 08, 2011 7:33 pm
Reply with quote

Code:
'ALXXDL1.P00.AR.CNTL.**' with the option OFF

should do the trick. Take care of the double star ** !
Back to top
View user's profile Send private message
kobus kuch

New User


Joined: 20 Feb 2008
Posts: 3
Location: leeuwarden

PostPosted: Fri Sep 09, 2011 11:51 am
Reply with quote

This does the trick indeed. This is what I want. Keep my dslist limited to just those datasets I really want. And with PREFIX.** I still can get all the datasets who meet the pattern. No matter how many qualifiers. Thanks again for your help Stefan.
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 save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top