Type, Counter
A, 1
A, 2
A, 3
B, 1
B, 2
C, 1
C, 2
I found some difficulties at the beginning because I need to keep the parallel execution mode and job runs on 12 nodes.
But the case has solved once I just defined an auto increment stage variable 'StgVar' with default value '0' with derivation 'StgVar+1'.
What I don't understand and need your help to explain is how it has worked without specifying any other logic and how the counter got reset after each type?!
Job Design:
DataSet --> transformer --> DataSet
Notes: Input data is sorted based on type and all jobs have 'parallel' execution modes.
I've attached the dataset part of the job score:
Code: Select all
main_program: This step has 3 datasets:
ds0: {/tmp/test1.ds
eAny=>eCollectAny
op2[12p] (parallel APT_CombinedOperatorController:Data_Set_26)}
ds1: {op0[12p] (parallel delete data files in delete /tmp/teeeta.ds)
>>eCollectAny
op1[1p] (sequential delete descriptor file in delete /tmp/teeeta.ds)}
ds2: {op2[12p] (parallel APT_CombinedOperatorController:Data_Set_29)
[pp] =>
/tmp/teeeta.ds}