Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a target field whose output should be based on counter. The field value should be - A000"Counter"
If the map executes first time and file is generated , then this segment value should be A0001. Later A0002,A0003 etc and so on.
How can we achieve this.
Regards
@VijayTalend , the counter value have to be context parameter,since you need to read from a file and need to increase counter once the job flow completed successfully using on subjob ok and the you can do concatenation of hat counter with something in your mapping.
@VijayTalend , the counter value have to be context parameter,since you need to read from a file and need to increase counter once the job flow completed successfully using on subjob ok and the you can do concatenation of hat counter with something in your mapping.
Thanks for your reply.
This solution is having dependency on file.
Do we have any other solution where we do not maintain any local file or any file and Talend server keeps counter count itself for every map.