Page 1 of 1

Creation date of a PS dataset

PostPosted: Thu Sep 03, 2009 11:14 pm
by kashmiri
Hello All,

Can anybody tel me how i can find the creation date of a PS dataset.

Re: Creation date of a PS dataset

PostPosted: Thu Sep 03, 2009 11:49 pm
by MrSpock
Doesn't the IDCAMS LISTCAT Command show the creation date of the specified dataset?

Re: Creation date of a PS dataset

PostPosted: Fri Sep 04, 2009 1:56 am
by Bill Dennis
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.

Re: Creation date of a PS dataset

PostPosted: Fri Sep 04, 2009 3:48 pm
by kashmiri
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

Re: Creation date of a PS dataset

PostPosted: Fri Sep 04, 2009 11:48 pm
by dick scherrer
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).

Re: Creation date of a PS dataset

PostPosted: Sat Sep 05, 2009 12:14 am
by kashmiri
Amazing, this is the first time i have understood the logic...
I am so very thankful and really appreciate your help.

Re: Creation date of a PS dataset

PostPosted: Sat Sep 05, 2009 12:17 am
by dick scherrer
You're welcome :)

d