I'm trying to get the date on which it was created. I tried initially with a flat file and I was able to get it. But i'm not able to get the date of creation for a GDG. Are there any specific keyword to display the date of creation for GDG? Below is the code i tried. Please let me know if i need to give any more information on this. Apologize if i or my thoughts are wrong!
***************************** Top of Data **************************
/*REXX*/
TRACE ?R
DSN = "SYSK.KOL.xxxxxx"
ADDRESS ISPEXEC
"LMDINIT LISTID(TMPID) LEVEL("DSN")"
"LMDLIST LISTID("TMPID") OPTION(LIST) DATASET(DSVAR) STATS(YES)"
SAY ZDLCDATE
/*REXX*/
TRACE ?R
DSN = "SYSK.KOL.xxxxxx"
ADDRESS ISPEXEC
"LMDINIT LISTID(TMPID) LEVEL("DSN")"
"LMDLIST LISTID("TMPID") OPTION(LIST) DATASET(DSVAR) STATS(YES)"
SAY ZDLCDATE
Here
SYSK.KOL.xxxxxx
Regards,
Viswa