Handling errors for the INITIATE OLC command

The INITIATE OLC command can result in errors that leave one or more of the IMS systems in the IMSplex in various online change states. Correct the error. Issue the QUERY MEMBER command and the QUERY OLC command to help you decide whether to terminate the online change by issuing TERMINATE OLC or to try the INITIATE OLC command again.

Before attempting a global online change, issue the QUERY OLC LIBRARY(OLCSTAT) SHOW(MODID) command to get the current modify ID. If the INITIATE OLC command fails, issue the QUERY OLC LIBRARY(OLCSTAT) SHOW(MODID) command again, to see if the modify ID is the same. If the modify ID increased by 1, the online change is considered to be successfully completed.

If the INITIATE OLC command fails, issue the QUERY MEMBER TYPE(IMS) SHOW(STATUS) command to display the online change state of all the IMS systems in the IMSplex. Evaluate the QUERY MEMBER TYPE(IMS) SHOW(STATUS) output to help you to determine what to do. For information about the QUERY MEMBER TYPE(IMS) SHOW(STATUS) output and the action to take, see Displaying status or attribute information about IMS systems in the IMSplex.