Page 1 of 1

how to list creation date,space occupied for a dataset

PostPosted: Thu Dec 09, 2010 2:12 pm
by mainframe1
hi,
how to list creation date, expiratiopn date, space occupied by dataset say temp. dataset, temp is the high level qualifier
i have tried, listcat, dcollect(IDCAMS).pls help

Re: how to list creation date,space occupied for a dataset

PostPosted: Thu Dec 09, 2010 2:36 pm
by enrico-sorichetti
ISMF and scroll right/ left
ISPF 3.4 followed by an I in front of a dataset

the question is too generic for a good answer!

Re: how to list creation date,space occupied for a dataset

PostPosted: Thu Dec 09, 2010 2:49 pm
by mainframe1
i want to know how to code a jcl/rexx to list the creation date, space occupied etc of dataset, like report say abc.xyz, where abc is the high level qualifier. have tried, ispf, ismf, dcollect, listcat

report layout:
dataset creation date expiration date memory usage. migrated(y/n)

Re: how to list creation date,space occupied for a dataset

PostPosted: Thu Dec 09, 2010 3:12 pm
by enrico-sorichetti
why didn' t You post that to start with!

telling You tried, but You did not succeed will not be of any help to people trying to help You
what happened with ...
ISPF ==> ?
ISMF ==> ?
DCOLLECT ==> ?

Re: how to list creation date,space occupied for a dataset

PostPosted: Thu Dec 09, 2010 3:24 pm
by mainframe1
thru Dcollect iam not able to get layout like wat i want
ismf i need to navigate
list cat i got all the info, BUT NOT able to get in to the layout..

Re: how to list creation date,space occupied for a dataset

PostPosted: Thu Dec 09, 2010 4:01 pm
by Robert Sample
Why not use LISTCAT and write a program (in REXX, COBOL, SAS, assembler, PL/I, or whatever) to parse the LISTCAT output and capture the data you want?

Re: how to list creation date,space occupied for a dataset

PostPosted: Thu Dec 09, 2010 5:41 pm
by NicC
You could also use the LISTDSI function in Rexx

Re: how to list creation date,space occupied for a dataset

PostPosted: Thu Dec 09, 2010 7:29 pm
by enrico-sorichetti
thru Dcollect iam not able to get layout like wat i want


as far as ISMF You did not care to investigate the NAVIQUEST ( batch ISMF execution ) approach

dcollect is just a data collector, You will have to do the reporting on Your own
and You will be able to get the reports in any format You might like
You have two possibilities
google for DFSORT DCOLLECT and You will find a link that will take You where You can download the examples
to save some of Your precious :evil: time I did it for You and here is the link
http://www-01.ibm.com/support/docview.w ... g3T7000081
the other one is to look at the CBT tape tools collection
http://www.cbttape.org/cbtdowns.htm and meditate on file 206