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

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

book

Article ID: 213714

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

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.

Environment

Release : 14.0

Component : OPS/MVS

Resolution

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.