I am not sure that the time stamp is updated until the file is actually closed. So if the file is open for a long time, the time stamp may not reflect what you are looking for.
Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Robin Atwood > Sent: Thursday, November 21, 2013 5:48 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Getting a VSAM data set's system timestamp > > I want our file server to be able to tell the clients when a data set last changed. For > non-VSAM it's easy (if a bit vague), there's the last reference date in the F1 DSCB. > For VSAM you can see a SYSTEM-TIMESTAMP in the LISTCAT output but how > do you get that from a program? We currently use IGGCSI00 for VSAM info but > there is no field name for the timestamp. The SHOWCAT macro does not seem to > show all that much at all. Any ideas out there? I am hoping I have missed > something. > > TIA > Robin ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN