View previous topic :: View next topic
|
Author |
Message |
kobus kuch
New User
Joined: 20 Feb 2008 Posts: 3 Location: leeuwarden
|
|
|
|
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 |
|
|
Stefan
Active User
Joined: 12 Jan 2006 Posts: 110 Location: Germany
|
|
|
|
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 |
|
|
kobus kuch
New User
Joined: 20 Feb 2008 Posts: 3 Location: leeuwarden
|
|
|
|
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 |
|
|
Stefan
Active User
Joined: 12 Jan 2006 Posts: 110 Location: Germany
|
|
|
|
Code: |
'ALXXDL1.P00.AR.CNTL.**' with the option OFF |
should do the trick. Take care of the double star ** ! |
|
Back to top |
|
|
kobus kuch
New User
Joined: 20 Feb 2008 Posts: 3 Location: leeuwarden
|
|
|
|
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 |
|
|
|