The archiving process

When the CP backup is complete, the NM subtask calculates the next JT log sequence number, closes the current JT log, and switches to the next JT log. The NM subtask then posts the JL subtask, which will take one of the following actions, depending upon the ECB posted:
  • Work ECB is posted. The subtask reopens the old JT log data set, copies (appends) all non-archived JT logs to the JT archive data set, and posts the NM subtask when the copy is complete. The JT log is normally copied to the archive data set before it is needed again as the current JT log data set. The last record appended is the CP backup record.
  • Stop ECB is posted. The subtask frees all resources and terminates.

The JT archive data set is copied to the tracklog (EQQTROUT) data set by the daily plan batch programs. The NM subtask empties the JT archive data set when a daily plan batch job has created a new current plan, and NCP takeover is completed successfully.