If logretain is set to Recovery or userexit is set to Yes, the active log files will be retained and become online archive log files for use in rollforward recovery. This is called log retention logging.
After logretain is set to Recovery or userexit is set to Yes (or both), you must make a full backup of the database. This state is indicated by the backup_pending flag parameter.
Both logarchmeth1 or logretain will enable rollforward recovery. However, only one method should be enabled for a database at one time.
If using logarchmeth1, do not set the logretain and userexit configuration parameters. If the logretain configuration parameter is set to recover, the value for logarchmeth1 will automatically be set to logretain.
It is recommended that logarchmeth1 (and logarchmeth2) be used rather than logretain and userexit to activate archive logging and rollforward recovery. The logretain and userexit options have been kept to support users who have not yet migrated to logarchmeth1.