how to list creation date,space occupied for a dataset



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

how to list creation date,space occupied for a dataset

Postby mainframe1 » Thu Dec 09, 2010 2:12 pm

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
mainframe1
 
Posts: 35
Joined: Wed Oct 08, 2008 11:39 am
Has thanked: 0 time
Been thanked: 0 time

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

 

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

Postby enrico-sorichetti » Thu Dec 09, 2010 2:36 pm

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!
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

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

Postby mainframe1 » Thu Dec 09, 2010 2:49 pm

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)
mainframe1
 
Posts: 35
Joined: Wed Oct 08, 2008 11:39 am
Has thanked: 0 time
Been thanked: 0 time

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

Postby enrico-sorichetti » Thu Dec 09, 2010 3:12 pm

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 ==> ?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

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

Postby mainframe1 » Thu Dec 09, 2010 3:24 pm

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..
mainframe1
 
Posts: 35
Joined: Wed Oct 08, 2008 11:39 am
Has thanked: 0 time
Been thanked: 0 time

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

Postby Robert Sample » Thu Dec 09, 2010 4:01 pm

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?
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 222 times

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

Postby NicC » Thu Dec 09, 2010 5:41 pm

You could also use the LISTDSI function in Rexx
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

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

Postby enrico-sorichetti » Thu Dec 09, 2010 7:29 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post