Shutting down an IMS system that uses dynamic resource definition

If dynamic resource definition (DRD) is enabled and you configured your system to automatically import resource and descriptor definitions from a resource definition data set (RDDS) or an IMSRSC repository during a cold start, ensure that any online changes to the runtime resource and descriptor definitions are reflected in a system RDDS or repository.

Any changes made to online resources and descriptors that are not saved to a system RDDS or a repository are lost when you perform a cold start or when you use the /ERESTART command with the COLDSYS parameter to perform an emergency restart.

If AUTOEXPORT is enabled in the DFSDFxxx PROCLIB member, resources and descriptor definitions are exported automatically to the repository, the RDDS, or both, depending on the AUTOEXPORT specification and your DRD configuration, before the IMS shutdown checkpoint.

If AUTOEXPORT is not enabled, export resource and descriptor definitions to a repository or an RDDS by issuing the EXPORT DEFN command before shutting down IMS. You can check for and identify which resource and descriptor definitions have not yet been exported to the IMSRSC repository by issuing the QUERY rsc_type SHOW(EXPORTNEEDED) command, where rsc_type can be DB, DBDESC, PGM, PGMDESC, RTC, RTCDESC, TRAN, or TRANDESC.

If IMS is shut down with one or more resource definitions not exported to the IMSRSC repository, a DFS4419I message is issued during IMS shutdown to indicate that the IMS log and the IMSRSC repository are not in synchronization. If IMS must cold start after DFS4419I is issued, use the DFSURCL0 utility with the EXPORTNEEDED parameter after IMS is cold started.