Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts Updating data from one file to other!!! Vignesh Sid SYNCSORT 1 Mon Nov 06, 2017 2:42 pm
This topic is locked: you cannot edit posts or make replies. Can a alphanumeric data be moved to a... nico_neoz COBOL Programming 10 Mon Oct 30, 2017 8:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us