Using CMRDJCL
-
ARCHPRE runs program CMRARCH1 to turn on the archive-in-progress flag in the CMRDETL seed record. This flag prevents the data set from being used for recording while it is being archived.
-
ARCHIVE runs program CMRPURG to archive the data.
-
ARCHPOST runs program CMRARCH2 to turn off the archive-in-progress flag in the CMRDETL seed record, which indicates that the data set can be used for recording.
In the event that ARCHIVE fails (a tape-drive error, for example), ARCHPOST will not run and the data set will not be eligible for recording. Even with STOP=NO, the archive-in-progress flag will cause recording to stop if there is no eligible data set.
In a dual data set environment when ARCHJCL is not set to NONE, MainView for CICS will close a data set when it becomes full, submit the archive proc to off-load the data set, and then try to switch to the other data set. If the other data set has the archive-in-progress flag on, the FT226W ARCHIVE IN PROGRESS..
message will be issued every fifteen seconds for two minutes, after which processing will stop for this data set and the FT224W NOT ARCHIVED..
message will be issued. At this point, MainView for CICS will attempt to write to the data set that was just archived.
If the archive-in-progress flag is still on for this data set, the application issues the FT226W message until the data set is ready to be used or when the two minutes is reached. After two minutes pass, the application issues the FT224W message for this data set, stops recording, and issues the FT225E DETAIL FILE COLLECTION STOPPED
and FT255I DETAIL TRANSACTION RECORDER FILE IS CLOSED
messages. For information about resolving this issue, see the online Help for the FT226W message.
FST2 QOFF and FST2 QON are required in order to restart recording after resolving the FT226W related problem.
Comments
Log in or register to comment.