Thanks, that's very helpful. Thus prompted, I now notice that IGGCSI00 has a last backup timestamp field name (LTBACKDT), so with all these bits of information I should be able to determine if a sync with the workstation is necessary. Excellent stuff!
Cheers Robin -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of retired mainframer Sent: 22 November 2013 16:47 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Getting a VSAM data set's system timestamp The F1 DSCB does contain a flag, DS1IND02, which indicates a dataset has been opened for other-than-input. This is the flag that alerts your backup software that the dataset needs a backup. The backup software will reset this flag. If you run your synchronization check prior to the backup process, you should be able to identify which datasets on the server are out of date. While ISPF and other library management tools may keep update timestamps in the PDS directory, other tools, such as the Binder, do not. :>: -----Original Message----- :>: From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On :>: Behalf Of Robin Atwood :>: Sent: Thursday, November 21, 2013 11:49 PM :>: To: IBM-MAIN@LISTSERV.UA.EDU :>: Subject: Re: Getting a VSAM data set's system timestamp :>: :>: So both you and Lizette are saying that even I can obtain it, the :>: available :>: timestamp is not very useful. We need to synchronise the mainframe data :>: set :>: with its workstation copy and currently use hashes of each file to see :>: if :>: they are different. This is CPU intensive and I had hoped to avoid it by :>: comparing the last write dates. It looks like my scheme won't work in :>: this :>: case (it works fine for libraries of members like PDSs and Endevor). Hmm. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN