Working with conditions is very flexible. This degree of flexibility however makes it more difficult to understand unexpected results.
However, there is a way of simplifying the work with conditions that don’t behave as expected. Setting the user parameter /SCMTMS/COND_EXPL to X activates the condition explanation. This gives insights into what data the Data Access Definition (DAD) used within the condition provided, as well as enables a BRFplus trace.
This was originally discussed in more detail in a previous blog post.
The BRFplus trace has an impact on performance. In case you only want to enable the condition explanation to e.g. investigate whether a condition has actually been called, this results in an unwanted overhead in runtime. Therefore we introduce a new setting to the user parameter /SCMTMS/COND_EXPL: Lean Logging.
Setting /SCMTMS/COND_EXPL to L enables the lean logging mode.
This mode still shows the result of the DAD, but disables the performance consuming BRFplus tracing.
Lean logging speeds up the investigation of conditions when BRFplus tracing is not needed.
The feature comes with note 2858910 – Enable lean tracing of conditions.