RCLRSC (Reclaim Resources) command

The Reclaim Resources (RCLRSC) command, like the Reclaim DDM Conversations (RCLDDMCNV) command, can be used to reclaim all DDM conversations that currently have no users in the job.

This can be done even if the DDMCNV job attribute is *KEEP. The RCLRSC command, however, first attempts to close any unused files for the appropriate recursion levels, as it would for local files. This action might result in some conversations allocated to DDM being unavailable for the job. For example, if a DDM file is opened using the Open Database File (OPNDBF) command, the RCLRSC command closes the file and reclaims the conversation.

After the files are closed, any unused DDM conversations are dropped. Whether a conversation can be reclaimed is not affected by the recursion level or activation group in which the RCLRSC command is issued.

Related reference
Control DDM conversations