The Definitive Guide to Data Quality
globalMap.put("nb_line",nb);//put the total nb of lines to a global vriable for use later when needed.
Thanks Shong! That looks like what I need.
Added that behavior into my solution & the job ends as it should.