Re: List all dataset in system by HLQ

2013-08-12 Thread Elardus Engelbrecht
Victor Hugo Ochoa Avila wrote:

I want to know if it is possible to list all datasets on the system but I'm 
just interested to obtain the list by the HLQ.

Yes. It is possible. Like Lizette kindly said, there are many ways to do that.

I would like to add: If you have good RACF controls (PROTECT-ALL(FAIL)) and SMS 
and you protect your cataloged tape datasets with RACF, you can just list all 
your HLQ from RACF.

But first, how do you want to obtain the list in the first place? Interactively 
(=3.4, ISMF), programmatic (REXX, Assembler)  or from a database (tape 
management, HSM) or ... ???

That way I can get this?

I did this once via CSI. One catalog at a stage because of size. Do a quick 
sort (by name and perhaps also by DEVTYPE). Parse out everything left of the 
first dot. Sort while dropping the duplicates.

Repeat for each catalog and you have everything you want.

Groete / Greetings
Elardus Engelbrecht

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: List all dataset in system by HLQ

2013-08-12 Thread John Eells
At the risk of giving you an answer that might not do what you want, 
this will list all the cataloged data sets:


//JOB
//LIST EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSINDD *
  LISTCAT LEVEL(SYS1) ALL
/*
//

Assuming you have authority to do so, that will list the data sets 
starting with SYS1 and some information about them.  For just the list, 
omit ALL.


Victor Hugo Ochoa Avila wrote:

Hello Group.
I want to know if it is possible to list all datasets on the system but I'm 
just interested to obtain the list by the HLQ.

snip

--
John Eells
z/OS Technical Marketing
IBM Poughkeepsie
ee...@us.ibm.com

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: List all dataset in system by HLQ

2013-08-12 Thread Elardus Engelbrecht
John Eells wrote:

At the risk of giving you an answer that might not do what you want, this will 
list all the cataloged data sets:

No risk. :-) After re-reading OP's question, I now see his question is somewhat 
ambiguous. Especially after I observed a space between the dot and the star, 
like this 'sys1. *' in the OP post.

Does he want a list of all HLQ defined (in standard Catalog Search Order) or 
does he want a list of all DSN starting with a (specific or many?) HLQ?

Perhaps the OP could say, why, how and what does he want this list?

Groete / Greetings
Elardus Engelbrecht

Sidenote: using *% as an argument in ISPF option =3.4 can be really tiresome... 
;-)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: List all dataset in system by HLQ

2013-08-12 Thread Eric Bielefeld
There was a program on the CBT site that allowed you to list all datasets. 
Unfortuneately, I can't remember the name of it.  It might have been called 
SUPRLIST?  If I remember,  at the beginning of the list it listed every high 
level qualifier, and the total number of datasets that started with that 
qualifier and the space they occupied.  That was followed by an alphabetical 
list of every dataset, one line per DS.


When I worked at PH Mining, we used to print that list, and every week send 
it off site with all of our backup tapes.  It was only about 2 inches thick. 
I used to use the list occasionally just to look for overallocated datasets, 
and other things.


Eric Bielefeld
z/OS Systems Programmer
Milwaukee, Wisconsin
414-475-7434

- Original Message - 
From: Victor Hugo Ochoa Avila vhoa@gmail.com

Newsgroups: bit.listserv.ibm-main
To: IBM-MAIN@LISTSERV.UA.EDU
Sent: Sunday, August 11, 2013 9:59 PM
Subject: List all dataset in system by HLQ


Hello Group.
I want to know if it is possible to list all datasets on the system but I'm 
just interested to obtain the list by the HLQ.


That way I can get this?

Example.

sys1. *
parmlib. *


Thanks to all

ATTE

Victor 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: List all dataset in system by HLQ

2013-08-12 Thread Lizette Koehler
I actually thought he was looking for all HLQs.  But beyond that I do not know 
what he wants to do with the data.

If he just wants the HLQs, you can do that with

LISTC ENT(mastercat) ALIAS Turn off your TSO Profile first or run in 
batch. 

or  

LISTC ALIAS ALL  (this should be done in Batch or


LISTCAT is invoked from a TSO terminal and no operands are specified,
the prefix (the TSO userid) becomes the highest level of entryname
qualification and only those entries with a matching highest level of
qualification are listed (AMS for ICF manual under LISTCAT).
We were misled at first that it was the security access level, because
we were simply unaware that the test system had been previously set to
PROFILE NOPREFIX.
.
What you will need to do:
1. enter PROFILE NOPREFIX
2. then do the LISTCAT ALIAS ALL
3. this will return with the system aliases that you want to see.



Or this process

LISTC  cat(mcat_name) UCAT
LISTC  ENT(ucat_name) ALL

It will depend on what the poster is wanting to do.

The master cat will just need to be listed.

Unless there are products like SAS/MXG or SAS/MICS or CA-VANTAGE, it will just 
take a little bit of effort and maybe coding.

I wrote a REXX to do this without the Catalog Search Interface

Lizette

 
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Elardus Engelbrecht
Sent: Monday, August 12, 2013 7:10 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: List all dataset in system by HLQ

John Eells wrote:

At the risk of giving you an answer that might not do what you want, this will 
list all the cataloged data sets:

No risk. :-) After re-reading OP's question, I now see his question is somewhat 
ambiguous. Especially after I observed a space between the dot and the star, 
like this 'sys1. *' in the OP post.

Does he want a list of all HLQ defined (in standard Catalog Search Order) or 
does he want a list of all DSN starting with a (specific or many?) HLQ?

Perhaps the OP could say, why, how and what does he want this list?

Groete / Greetings
Elardus Engelbrecht

Sidenote: using *% as an argument in ISPF option =3.4 can be really tiresome... 
;-)

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: List all dataset in system by HLQ

2013-08-12 Thread Matthew Stitt
You have just reminded me of DADSM, which is located on file 527 of the CBT 
tape.  That program could list all datasets found on
all online volumes and did give a space summary by volume and HLQ.  There is 
also an option to list only certain volumes.

On Mon, 12 Aug 2013 09:15:35 -0500, Eric Bielefeld eric-ibmm...@wi.rr.com 
wrote:

There was a program on the CBT site that allowed you to list all datasets.
Unfortuneately, I can't remember the name of it.  It might have been called
SUPRLIST?  If I remember,  at the beginning of the list it listed every high
level qualifier, and the total number of datasets that started with that
qualifier and the space they occupied.  That was followed by an alphabetical
list of every dataset, one line per DS.

When I worked at PH Mining, we used to print that list, and every week send
it off site with all of our backup tapes.  It was only about 2 inches thick.
I used to use the list occasionally just to look for overallocated datasets,
and other things.

Eric Bielefeld
z/OS Systems Programmer
Milwaukee, Wisconsin
414-475-7434

- Original Message -
From: Victor Hugo Ochoa Avila vhoa@gmail.com
Newsgroups: bit.listserv.ibm-main
To: IBM-MAIN@LISTSERV.UA.EDU
Sent: Sunday, August 11, 2013 9:59 PM
Subject: List all dataset in system by HLQ


Hello Group.
I want to know if it is possible to list all datasets on the system but I'm
just interested to obtain the list by the HLQ.

That way I can get this?

Example.

sys1. *
parmlib. *


Thanks to all

ATTE

Victor

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: List all dataset in system by HLQ

2013-08-12 Thread Mark Zelden
Another program on the CBT that can do it is the VTOC command - File 112.   I 
also have a
REXX program on my web site and CBT file 434 called VTOCTOT that reads the 
output from the
VTOC command and creates totals by HLQ.   VTOCTOT is in the programs section 
of
my web site (url below). 

Regards,

Mark
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS   
mailto:m...@mzelden.com
Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html 
Systems Programming expert at http://expertanswercenter.techtarget.com/


On Mon, 12 Aug 2013 11:35:54 -0500, Matthew Stitt mathwst...@bellsouth.net 
wrote:

You have just reminded me of DADSM, which is located on file 527 of the CBT 
tape.  That program could list all datasets found on
all online volumes and did give a space summary by volume and HLQ.  There is 
also an option to list only certain volumes.

On Mon, 12 Aug 2013 09:15:35 -0500, Eric Bielefeld eric-ibmm...@wi.rr.com 
wrote:

There was a program on the CBT site that allowed you to list all datasets.
Unfortuneately, I can't remember the name of it.  It might have been called
SUPRLIST?  If I remember,  at the beginning of the list it listed every high
level qualifier, and the total number of datasets that started with that
qualifier and the space they occupied.  That was followed by an alphabetical
list of every dataset, one line per DS.

When I worked at PH Mining, we used to print that list, and every week send
it off site with all of our backup tapes.  It was only about 2 inches thick.
I used to use the list occasionally just to look for overallocated datasets,
and other things.

Eric Bielefeld
z/OS Systems Programmer
Milwaukee, Wisconsin
414-475-7434

- Original Message -
From: Victor Hugo Ochoa Avila vhoa@gmail.com
Newsgroups: bit.listserv.ibm-main
To: IBM-MAIN@LISTSERV.UA.EDU
Sent: Sunday, August 11, 2013 9:59 PM
Subject: List all dataset in system by HLQ


Hello Group.
I want to know if it is possible to list all datasets on the system but I'm
just interested to obtain the list by the HLQ.

That way I can get this?

Example.

sys1. *
parmlib. *


Thanks to all

ATTE

Victor

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: List all dataset in system by HLQ

2013-08-12 Thread efinnell15
Venerable PDS cmd can do most of this. HLQ mask, VOL, PUB, PRI or STOR. ISMF 
has similar stuff if you can get the columns sorted outvbg. Break on Totals 
comes to mind for some reason...



In a message dated 08/12/13 11:36:02 Central Daylight Time, 
mathwst...@bellsouth.net writes:
You have just reminded me of DADSM, which is located on file 527 of the CBT 
tape.  That program could list all datasets found on 
all online volumes and did give a space summary by volume and HLQ.  There is 
also an option to list only certain volumes. 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: List all dataset in system by HLQ

2013-08-12 Thread Eric Bielefeld
Yes - DADSM is the program I was thinking of.  I knew someone would know the 
right one.


Eric Bielefeld
z/OS Systems Programmer
Milwaukee, Wisconsin
414-475-7434

- Original Message - 
From: Matthew Stitt mathwst...@bellsouth.net

Newsgroups: bit.listserv.ibm-main
To: IBM-MAIN@LISTSERV.UA.EDU
Sent: Monday, August 12, 2013 11:35 AM
Subject: Re: List all dataset in system by HLQ


You have just reminded me of DADSM, which is located on file 527 of the CBT 
tape.  That program could list all datasets found on
all online volumes and did give a space summary by volume and HLQ.  There is 
also an option to list only certain volumes.


On Mon, 12 Aug 2013 09:15:35 -0500, Eric Bielefeld eric-ibmm...@wi.rr.com 
wrote:



There was a program on the CBT site that allowed you to list all datasets.
Unfortuneately, I can't remember the name of it.  It might have been called
SUPRLIST?  If I remember,  at the beginning of the list it listed every 
high

level qualifier, and the total number of datasets that started with that
qualifier and the space they occupied.  That was followed by an 
alphabetical

list of every dataset, one line per DS.

When I worked at PH Mining, we used to print that list, and every week 
send
it off site with all of our backup tapes.  It was only about 2 inches 
thick.
I used to use the list occasionally just to look for overallocated 
datasets,
and other things. 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: List all dataset in system by HLQ

2013-08-12 Thread Mitch
Would it be equally important to find out those that are not used, and/or 
where/when they are used?

Mitch McCluhan,
Legacy Modernization Consultant



-Original Message-
From: Eric Bielefeld eric-ibmm...@wi.rr.com
To: IBM-MAIN IBM-MAIN@LISTSERV.UA.EDU
Sent: Mon, Aug 12, 2013 12:08 pm
Subject: Re: List all dataset in system by HLQ


Yes - DADSM is the program I was thinking of.  I knew someone would know the 
ight one.
Eric Bielefeld
/OS Systems Programmer
ilwaukee, Wisconsin
14-475-7434
- Original Message - 
rom: Matthew Stitt mathwst...@bellsouth.net
ewsgroups: bit.listserv.ibm-main
o: IBM-MAIN@LISTSERV.UA.EDU
ent: Monday, August 12, 2013 11:35 AM
ubject: Re: List all dataset in system by HLQ

ou have just reminded me of DADSM, which is located on file 527 of the CBT 
ape.  That program could list all datasets found on
ll online volumes and did give a space summary by volume and HLQ.  There is 
lso an option to list only certain volumes.
On Mon, 12 Aug 2013 09:15:35 -0500, Eric Bielefeld eric-ibmm...@wi.rr.com 
rote:
There was a program on the CBT site that allowed you to list all datasets.
Unfortuneately, I can't remember the name of it.  It might have been called
SUPRLIST?  If I remember,  at the beginning of the list it listed every 
high
level qualifier, and the total number of datasets that started with that
qualifier and the space they occupied.  That was followed by an 
alphabetical
list of every dataset, one line per DS.

When I worked at PH Mining, we used to print that list, and every week 
send
it off site with all of our backup tapes.  It was only about 2 inches 
thick.
I used to use the list occasionally just to look for overallocated 
datasets,
and other things. 
--
or IBM-MAIN subscribe / signoff / archive access instructions,
end email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: List all dataset in system by HLQ

2013-08-12 Thread efinnell15
Your storage management should take care of it. If they're not used they'll get 
archived. If they're on system packs there's probably a reason. Our only 
casuality from Y2K was the bleepin 19yr old fiche machine. Fortunately the 
source was readily available and were able to fix in a couple of passes.


In a message dated 08/12/13 14:57:18 Central Daylight Time, mitchmc writes:
equally important to find out those that are not used, and/or where/when they 
are used?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: List all dataset in system by HLQ

2013-08-11 Thread Lizette Koehler
It will depend.  Are you looking for something in ISPF like option 3.4?
Do you want to read a DCOLLECT file that will contain all files on Dasd, 
Migrated?

Do you want to use ISMF?

Do you want to code a program like REXX or COBOL?

Many ways to do what you want.

You can also use the Catalog Search Interface (CSI)

I typically use DCOLLECT with SAS and MXG


Lizette


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Victor Hugo Ochoa Avila
Sent: Sunday, August 11, 2013 8:00 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: List all dataset in system by HLQ

Hello Group.
I want to know if it is possible to list all datasets on the system but I'm 
just interested to obtain the list by the HLQ.

That way I can get this?

Example.

sys1. *
parmlib. *


Thanks to all

ATTE

Victor

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN