Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear friends,
Please help me.
I want to create batch Id for every file.
One file having one batch id and another file having another batch id etc.
My source file initially dont have any batch ids. How to achieve this using a filename and time stamp or any other methods? Please help as I am new to talend...any screenshot would be helpful.
Thanks,
SHAMLY
Hi,
all depend from - what you want from this batch_id?
as variant - simplest way:
for example in our case batch id - it not for each file, but for all files from this batch.
so in sequence of jobs we open batch - assign number and store in database table
than each job in same batch use this number - read from table
final job - close the batch, update column in the table