Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Yet another question

4 views
Skip to first unread message

Herr Gottschalk

unread,
Feb 19, 2001, 1:06:49 AM2/19/01
to
Hi,
First I want to thank you for the many answers to my last posting, they helped a lot.
And now to my question today ;-)
I want to get the names of all datasets matching a particuar wildcard-pattern. For example I have SYS1.** and want to see all Datasets starting with SYS1. ListCat seems to be the right direction, but I could not have it show anything else than my user's datasets.
Thanks in advance


--

IhrPreis.de - Aus Freude am Sparen! Hier klicken:
http://www.freenet.de/shopping/wunschpreis/index.html

Doug Nadel

unread,
Feb 19, 2001, 1:17:30 AM2/19/01
to
This is a frequent question, so you may want to search various
archives.

In a nutshell, try any of these:

ISPF's LMDLIST service if running under ISPF.

Outtrapping the LISTCAT command

Roll your own from 'SYS1.PARMLIB(IGGCSIRX)'

In general, I like the last option the most, though for simple
applications, the 1st is easiest. Personally, I don't like any
solution that traps listing output.

-Doug

Peterson, JB

unread,
Feb 20, 2001, 12:33:40 PM2/20/01
to
I think that's

Roll your own from 'SYS1.SAMPLIB(IGGCSIRX)'

Jeremy C B Nicoll

unread,
Feb 20, 2001, 12:33:40 PM2/20/01
to
> On Mon, 19 Feb 2001 07:00:20 +0100, you wrote:

> >Hi, First I want to thank you for the many answers to my last posting,
> >they helped a lot. And now to my question today ;-) I want to get the
> >names of all datasets matching a particuar wildcard-pattern. For
> >example I have SYS1.** and want to see all Datasets starting with
> >SYS1. ListCat seems to be the right direction, but I could not have it
> >show anything else than my user's datasets. Thanks in advance

Surely: LISTCAT LEVEL('SYS1')
or: LISTCAT ENTRY('SYS1.*')

will do what you ask? Under TSO the default - if you don't wrap the
LISTCAT argument up in quotes is to prefix by your userid, so

LISTCAT LEVEL(SYS1) - which would work in batch idcams is taken to

be the equivalent of: LISTCAT LEVEL('prefix.SYS1') under foreground.

--
Jeremy C B Nicoll - my opinions are my own.

Zac Haynes

unread,
Feb 20, 2001, 12:33:41 PM2/20/01
to
Doug, why don't you like solutions that trap listing output?


Zac Haynes, Systems Programmer, 714-404-8840
ISPF Dialog, REXX, Assembler, SAS, Java, DB2, SQL, Macro.

-----Original Message-----
From: Doug Nadel [mailto:some...@MINDSPRING.COM]
Sent: Monday, February 19, 2001 1:08 AM
To: TSO-...@VM.MARIST.EDU
Subject: Re: Yet another question


This is a frequent question, so you may want to search various
archives.

In a nutshell, try any of these:

ISPF's LMDLIST service if running under ISPF.

Outtrapping the LISTCAT command

Roll your own from 'SYS1.PARMLIB(IGGCSIRX)'

In general, I like the last option the most, though for simple
applications, the 1st is easiest. Personally, I don't like any
solution that traps listing output.

-Doug

On Mon, 19 Feb 2001 07:00:20 +0100, you wrote:

0 new messages