Hi Fred, Pradeep and Yemi Bedu
Thanks for your replies!
A Java service is used to write the lines into a file and the options we can give are ‘append’ and ‘overwrite’
We always have to give ‘append’ option since the rows the selected from DB2 (source) can be huge records and hence we select 200 lines each time from db2 to write the content to a file and second time it fetches next 200 lines to append to the same file and so on…till all the lines are done. This is done inside a repeat step.
The dropping of the variables is taken care inside the loop where it forms a line to write to a file
We are using a JDBC adapter service (select SQL) to fetch 200 records from DB2.
We have created a scheduled task which is calling this service. I believe scheduled tasks are single threaded?
The dulicate lines are in a row (each line in a row).
There are no duplicate records in DB2 database as well.
And also that we are not able to simulate the duplicate error in test environment.
Little puzzled as what could be the problem that is creating this duplication
#webMethods-General#Integration-Server-and-ESB#webMethods