Exam MCD - Level 1 All QuestionsBrowse all questions from this exam
Question 7

What is the value of the stepVar variable after the processing of records in a Batch Job?

    Correct Answer: C

    In a Batch Job, variables created during the batch steps are scoped to those steps and do not persist through to the On Complete phase. Therefore, the value of such a variable, stepVar in this case, would be null after the batch steps have completed, as it is not preserved or accessible in the On Complete phase.

Discussion
jpbatis

This question would be better viewed in anypoint studio

sirious09Option: C

Any variables created during batch Steps are record-specific, they are not available outside batch steps - in On Complete Phase, so var stepVar = null