Thanks for all the great ideas! I might play with some of these for my own
edification, but for my users at remotes sites, I need something simple. I
was hoping for self-contained, but none of these utilities gives me the
information I wanted in a simple way.

Consequently, I wrote a small, inline Rexx program with LISTDSI that the
users can run with JCL, and made it pretty obvious how to add the DDnames
they need for the files they need to describe.
Thanks again for all your help!
Billy


On Wed, Apr 11, 2012 at 1:32 PM, McKown, John <[email protected]
> wrote:

> How about LISTDS? It is a TSO command, so you need something like:
>
> //LISTDS EXEC PGM=IKJEFT01
> //SYSTSPRT DD SYSOUT=*
> //SYSTSIN DD *
>  LISTDS dsn1
>  LISTDS dsn2
> /*
>
> Note that you cannot use "wild cards" in the LISTDS command. You must
> specify a separate command for every data set name.
>
> I am fairly sure you wouldn't be allowed to use it, but installing
> Dovetailed Technologies "Dataset Pipes" and "Co:Z Launcher" would do this
> rather easily.
>
> //LISTDSNS EXEC PROC=COZBATCH
> //STDIN DD *
>  catsearch -l "..."
> /*
>
> Where ... can be a single DSN or a "wild card". E.g.
> "CICSTS32.**.%%%%AUTH" matches all dataset which start with CICSTS32, has
> any number of intermediate nodes (0 or more), and have a last node with any
> 4 characters followed by AUTH.
>
> Example command and output:
>
> catsearch -l 'cicsts32.**.%%%%auth'
> Volume   Referred  Ext  Tracks    Used Recfm Lrecl BlkSz Dsorg  Dsname
> LIHTST  2012/04/08   1     136      99  U        0 32760  PO
>  CICSTS32.CICS.SDFHAUTH
> LIHTST  2012/01/30   1      80       ?  U        0 32760  PO-E
>  CICSTS32.CICS.SDFJAUTH
> LIHTST  2012/01/30   1     218     175  U        0 32760  PO
>  CICSTS32.CPSM.SEYUAUTH
>
> You can freely download these products from http://dovetail.com/
> You don't need to pay for them at all, unless you want support. You don't
> even need to register in any way. The products are installed in some z/OS
> PDSes and in a z/OS UNIX subdirectory. The PDSes contain the batch programs
> and examples. The z/OS UNIX subdirectory contains the z/OS UNIX executable
> files. They are installed via a z/OS UNIX shell script. So you really need
> to be able to access a z/OS UNIX shell. TSO OMVS will work.
>
> --
> John McKown
> Systems Engineer IV
> IT
>
> Administrative Services Group
>
> HealthMarkets(r)
>
> 9151 Boulevard 26 * N. Richland Hills * TX 76010
> (817) 255-3225 phone *
> [email protected] * 
> www.HealthMarkets.com<http://www.healthmarkets.com/>
>
> Confidentiality Notice: This e-mail message may contain confidential or
> proprietary information. If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of the original
> message. HealthMarkets(r) is the brand name for products underwritten and
> issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake
> Life Insurance Company(r), Mid-West National Life Insurance Company of
> TennesseeSM and The MEGA Life and Health Insurance Company.SM
>
>
>
> > -----Original Message-----
> > From: IBM Mainframe Discussion List
> > [mailto:[email protected]] On Behalf Of Bill Ashton
> > Sent: Wednesday, April 11, 2012 11:36 AM
> > To: [email protected]
> > Subject: Batch utility to show DCB info for files
> >
>  > Hello!
> >
> > Is there a standard IBM batch utility that can show the DCB and Space
> > atributes for a file? I tried LISTCAT, but it didn't give me
> > this data.
> >
> > I would like to generate a report for a whole list of files,
> > so as we shift
> > these to another location, we can have the metadata, too.
> >
> > Coding a Rexx or other program is not an option...the
> > requirement is to use
> > standard, already existing utilities.
> >
> > Thanks!
> > Billy
> >
> > --
> > Thank you and best regards,
> > *Billy Ashton*
>  >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO IBM-MAIN
> >
> >
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>



-- 
Thank you and best regards,
*Billy Ashton*

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to