search cancel

OPS/MVS - How to run a weekly archive, when ARCHTRIGGER is set to a numeric value


Article ID: 213714


Updated On:


OPS/MVS Event Management & Automation


Is there a TOD job that I can setup to run the ARCHIVE process once a week and I keep the ARCHIVETRIGGER set to number value to kick off the process when it reaches that number value? 

Book says the ARCHIVETRIGGER is a Time-of-Day ONCE A DAY and number value.  I like to trigger the process weekly.


Release : 14.0

Component : OPS/MVS


There is a way to set up a weekly archival, although the initial setup is somewhat cumbersome.  The process carries a small risk that some records could be missed during the time when the process of switching everything occurs.  

Create a TOD rule, set on a weekly specified time, to change the ArchiveTrigger to a TOD value, then restart the ARCHIVE subtask.  The proc will start based on the new Trigger value.
Then when done, set the trigger back to the previous number value.