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
 

 

Avoid trailing wildcard in Personal Data Set Lists

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Avoid trailing wildcard in Personal Data Set Lists
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    Post subject:
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    Post subject: Reply to: Avoid trailing wildcard in Personal Data Set Lists
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    Post subject:
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    Post subject: Reply to: Avoid trailing wildcard in Personal Data Set Lists
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    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 Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am


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