Creation date of a PS dataset



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

Creation date of a PS dataset

Postby kashmiri » Thu Sep 03, 2009 11:14 pm

Hello All,

Can anybody tel me how i can find the creation date of a PS dataset.
kashmiri
 
Posts: 27
Joined: Mon Aug 31, 2009 11:50 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Creation date of a PS dataset

Postby MrSpock » Thu Sep 03, 2009 11:49 pm

Doesn't the IDCAMS LISTCAT Command show the creation date of the specified dataset?
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: Creation date of a PS dataset

Postby Bill Dennis » Fri Sep 04, 2009 1:56 am

LISTCAT shows the date the catalog entry was added. May not be the actual creation date, however, if catalog records are removed/added by users.

DASD files have VTOC entries and TAPE may have info in the tape mgmt catalog.

SMF records would be the most accurate, but time consuming if you need to scan a long time period looking for a match.
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Creation date of a PS dataset

Postby kashmiri » Fri Sep 04, 2009 3:48 pm

i appreciate the reponse, but the list cat command shows the julian creation date.
I have a way to convert julian into Gregorian date. But i really dont understand that complex sort, if any body can be kind enough to explain me the conversion of julian to gregorian date, i would be very thankful

thanks
kashmiri
 
Posts: 27
Joined: Mon Aug 31, 2009 11:50 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Creation date of a PS dataset

Postby dick scherrer » Fri Sep 04, 2009 11:48 pm

Hello,

I have a way to convert julian into Gregorian date. But i really dont understand that complex sort, if any body can be kind enough to explain me the conversion of julian to gregorian date,
What is the way you have? It should not be complex.

Calculating a gregorian date from julian is a matter of determining the total days of the previous months (defined by an array of the last julian day of each month - accounting for leap year), subtracting this total from the julian days, and using the remainder as the gregorian day (i.e. if the julian date is 2009100, 2009 is the year, 04 is the month and 10 is the day. The "last day" for Jan is 31, Feb is 59, Mar is 90, etc. so 100 minus 90 is 10).
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Creation date of a PS dataset

Postby kashmiri » Sat Sep 05, 2009 12:14 am

Amazing, this is the first time i have understood the logic...
I am so very thankful and really appreciate your help.
kashmiri
 
Posts: 27
Joined: Mon Aug 31, 2009 11:50 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Creation date of a PS dataset

Postby dick scherrer » Sat Sep 05, 2009 12:17 am

You're welcome :)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post