View previous topic :: View next topic
|
Author |
Message |
Ali_gezer
Active User
Joined: 06 Apr 2021 Posts: 123 Location: argentina
|
|
|
|
Hello, I hope you are doing well.
I want to ask if there is a way to know the history changes of a vsam file, if you can tell me what are the ways to keep this information (FOR EXAMPLE when the records (or just 1 record) of a vsam file is modified, when this change was made.)
Here they dont use endeavor.
Thanks.
ps: I searched the forum but I did not find any clue. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
ps: I searched the forum but I did not find any clue. |
The reason you didn't find any clue is that z/OS systems do not have any such data. There are source code management applications that can maintain change history but those are specifically written to do so. z/OS keeps the date the data set was last changed, but that's it -- nothing is kept at the record level. |
|
Back to top |
|
|
Ali_gezer
Active User
Joined: 06 Apr 2021 Posts: 123 Location: argentina
|
|
|
|
Robert Sample wrote: |
Quote: |
ps: I searched the forum but I did not find any clue. |
The reason you didn't find any clue is that z/OS systems do not have any such data. There are source code management applications that can maintain change history but those are specifically written to do so. z/OS keeps the date the data set was last changed, but that's it -- nothing is kept at the record level. |
Thanks, perhaps I expressed myself wrong. I was refering if is there some way to simple save when a vsam file was changed. I dont have to know what was the change, I need only the info of when there was a change. If there is a way. By your wors I understand that there is no way but I want to make myself clear.
''There are source code management applications that can maintain change history but those are specifically written to do so'' can you give me some names of those apps?
Thanks again. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
I was refering if is there some way to simple save when a vsam file was changed. |
And I repeat -- no, there is not. My earlier post mis-represented the facts -- data sets retain the date of last REFERENCE, which may be a change (write) but also could be simply a read.
A data set may be changed by a TSO edit session, a batch program, or a CICS program and multiple LPARs may be able to access the data set. You could read the SMF records to find when data sets were changed but SMF records require a lot of understanding of the system and are typically processed periodically so this isn't done in real time. Plus, sites that are medium to large often produce millions of SMF records per LPAR per day. So using SMF records certainly is not "simple". |
|
Back to top |
|
|
|