IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Change history of vsam file.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ali_gezer

Active User


Joined: 06 Apr 2021
Posts: 123
Location: argentina

PostPosted: Thu Nov 17, 2022 2:34 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Nov 17, 2022 6:04 am
Reply with quote

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
View user's profile Send private message
Ali_gezer

Active User


Joined: 06 Apr 2021
Posts: 123
Location: argentina

PostPosted: Thu Nov 17, 2022 6:08 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Nov 17, 2022 7:23 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top