Re: listcat with only dsn

2019-07-02 Thread Mark Zelden
Or just use the edit macro I put in the thread earlier and now on my web site and CBT file which can use ISPF 3.4 masking. TSO %DSLISTSV L(some.dsn.filter.*) Output is in userid.SAVE.DATASETS and has the DSN and volser only. Because the exec has "STATS(NO)" for LMDLIST it runs very quickly even

Re: listcat with only dsn

2019-07-02 Thread David Spiegel
s, > Kolusu > > IBM Mainframe Discussion List wrote on > 07/02/2019 09:17:50 AM: > >> From: David Spiegel >> To: IBM-MAIN@LISTSERV.UA.EDU >> Date: 07/02/2019 09:18 AM >> Subject: [EXTERNAL] Re: listcat with only dsn >> Sent by: IBM Mainframe Discussion L

Re: listcat with only dsn

2019-07-02 Thread Sri h Kolusu
to &&L). Sorry about that. Forgot to change the tempfile in step0200. Thanks, Kolusu IBM Mainframe Discussion List wrote on 07/02/2019 09:17:50 AM: > From: David Spiegel > To: IBM-MAIN@LISTSERV.UA.EDU > Date: 07/02/2019 09:18 AM > Subject: [EXTERNAL] Re: listcat with onl

Re: listcat with only dsn

2019-07-02 Thread David Spiegel
Hi Sri, I tried the JCL (and changed &&C to &&L). I've written code like this before (using Rexx exclusively), and "INCLUDEd" only lines containing NONVSAM/CLUSTER/INDEX in Column 10 (rather than OMIT READY/END, because there are lines other than these that are unwanted (e.g. CATALOG in 1 and AL

Re: listcat with only dsn

2019-07-02 Thread Sri h Kolusu
> Where does one download REMDUP? David, You can try it from here http://dmcritchie.mvps.org/rexx02tso/remdups.txt Also other goodies http://dmcritchie.mvps.org/rexx/nclist.htm Thanks, Kolusu -- For IBM-MAIN subscribe / sig

Re: listcat with only dsn

2019-07-02 Thread Sri h Kolusu
> OK, but, what if you want to use masking characters in the DSNAME (a la > 3.4)? David, If Listcat on LEVEL does not meet your needs then you can run the catalog search interface (CSI) from TSO and strip off the unwanted content. Something like this //*

Re: listcat with only dsn

2019-07-02 Thread David Spiegel
Hi Wayne, Where does one download REMDUP? Thanks and regards, David On 2019-07-02 02:17, Wayne Bickerdike wrote: > Option 3.4 using save to list gives a dataset that could be used after some > judicious EDIT macros. > > A bit clunky but this works: > > SORT (the ISPF EDIT command) > REMDUP (a g

Re: listcat with only dsn

2019-07-01 Thread Wayne Bickerdike
Option 3.4 using save to list gives a dataset that could be used after some judicious EDIT macros. A bit clunky but this works: SORT (the ISPF EDIT command) REMDUP (a great macro somebody wrote) X ALL F ALL ' ' 3 3 DEL ALL NX RES X ALL F ALL '--' 10 20 F ALL 'Listing of Data

Re: listcat with only dsn

2019-07-01 Thread David Spiegel
OK, but, what if you want to use masking characters in the DSNAME (a la 3.4)? On 2019-07-01 19:57, Sri h Kolusu wrote: I need to generate a listcat with only the dsn. like in 3.4 but I >> want it in a dataset with ONLY the dsn. > Elaine, > > If your intention is to just get list of all datas

Re: listcat with only dsn

2019-07-01 Thread Sri h Kolusu
>>> I need to generate a listcat with only the dsn. like in 3.4 but I > want it in a dataset with ONLY the dsn. Elaine, If your intention is to just get list of all datasets for a particular HLQ, then it is quite simple. Run LISTCAT via TSO and then strip off the unwanted data. Something like th

Re: listcat with only dsn

2019-07-01 Thread Kirk Wolf
FYI, Co:Z includes a z/OS Unix "catsearch" shell command, which can print just the DSN or also an ISPF 3.4-like listing. https://dovetail.com/docs/dspipes/dsp-ref_catsearch.html Co:Z is free to use under our Community License. On Mon, Jul 1, 2019 at 5:50 PM Mark Zelden wrote: > On Fri, 28 Jun

Re: listcat with only dsn

2019-07-01 Thread Mark Zelden
On Fri, 28 Jun 2019 19:10:45 -0500, Mark Zelden wrote: >using "NAME" produces two lines (one that includes that catalog). Once you >know that catalog >adding "CAT(blahblah)" to the LISTCAT will give one line per dataset name. > >A better option is my version of IGGCSI00 - CATSRCH. It can be us

Re: listcat with only dsn

2019-06-28 Thread Mark Zelden
u could do TSO TSOV LISTC LEVEL('dsnHLQ') name > >This would put the results in a sequential dataset for editing. > >There are also functions on cbttape.org for this type of work as well > >Or you can go into ISMF Option 1 DATASETS and save it to a TSO Profile entry >or

Re: listcat with only dsn

2019-06-28 Thread Lizette Koehler
t; To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: listcat with only dsn > > In TSO at least, LISTCAT will produce one line per dataset if you add the CAT > parameter. > > For anything more than a one-time thing, Lionel's suggestion is not much work > or difficult. That sam

Re: listcat with only dsn

2019-06-27 Thread Steve Smith
In TSO at least, LISTCAT will produce one line per dataset if you add the CAT parameter. For anything more than a one-time thing, Lionel's suggestion is not much work or difficult. That sample is REXX. sas On Thu, Jun 27, 2019 at 1:39 PM Elaine Beal wrote: > Thanks all for the options. > Elai

Re: listcat with only dsn

2019-06-27 Thread Elaine Beal
Thanks all for the options. Elaine -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: listcat with only dsn

2019-06-27 Thread Lizette Koehler
7:15 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: listcat with only dsn > > I need to generate a listcat with only the dsn. like in 3.4 but I want it in > a dataset with ONLY the dsn. > TSO SAVE and IDCAMS produce additional lines. >

Re: listcat with only dsn

2019-06-27 Thread Seymour J Metz
behalf of Elaine Beal Sent: Thursday, June 27, 2019 10:15 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: listcat with only dsn I need to generate a listcat with only the dsn. like in 3.4 but I want it in a dataset with ONLY the dsn. TSO SAVE and IDCAMS produce additional lines. Any recommendations

Re: listcat with only dsn

2019-06-27 Thread Lionel Dyck
YOU -Original Message- From: IBM Mainframe Discussion List On Behalf Of Elaine Beal Sent: Thursday, June 27, 2019 9:15 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: listcat with only dsn I need to generate a listcat with only the dsn. like in 3.4 but I want it in a dataset with ONLY the dsn

listcat with only dsn

2019-06-27 Thread Elaine Beal
I need to generate a listcat with only the dsn. like in 3.4 but I want it in a dataset with ONLY the dsn. TSO SAVE and IDCAMS produce additional lines. Any recommendations? Thanks, Elaine -- For IBM-MAIN subscribe / signoff / ar