1EDI Source

Your business situation is unique. You need your EDI solution to work for you and your particular needs. 1EDISource is the best source for helping you to get there.

Home  chevron  About Us  chevron  News Room
Error You are using an unlicensed and unsupported version of DotNetNuke Professional Edition. Please contact sales@dnncorp.com for information on how to obtain a valid license.

Tip - Multithreading and Writing to Files

Friday, June 07, 2013

Activating multithreading in EDI/HQ™ allows processing of many files to complete sooner as each additional thread allows an additional file to be processed at the same time as another. This is very beneficial when working with many files at once.

When the data is being written to a file, make sure to there is some method to ensure unique file names. One way is to use the ‘GUID’ operator when creating the file name. While EDI/HQ is working with a file, it is locked from editing. Processing many files to be written to a single file name will error due to file being locked. The ‘GUID’ operator allows the file name to contain to truly unique file name in which a new file will be created for each transaction.

Multithreading is a great feature allowing accelerated processing times when handling many transactions. Paired with randomly generated file names, it is a solid solution in reducing processing times.

If you’d like assistance setting this up or for more information please contact your EDI consultant.

Page Title: EDI Tips & News | 1 EDI Source, Inc. - Tip - Multithreading and Writing to Files