Intermittent Error in Sending to VAN
(when using an older network)
Subscribe to keep this site alive! Under new management but as always, still 100% FREE. Anyone with the IBM i is a friend of ours.
(when using an older network)
Symptoms:
Intermittent error when sending to the VAN via older network.
When sending documents in batches, occurs on the last document of the batch.
When resending the individual document in error in #2, it intermittently works.
It can also happen when only one document is being sent.
Diagnosis:
The VAN uses the standard header and trailers to extract documents individually from the files that they receive via the older networks. Apparently, there is a bug/limitation in the way the VAN reads the files.
When a portion of the end part of the trailer is not situated on the record where the trailer record started, the VAN ignores the entire document.
Prescription:
The document trailer segments are usually short (ISA and UNZ) and will fit in a single record (whether the file length is 80 or 132. To ensure that the trailer segment has its own record, the network should be configured by sending the documents UNWRAPPED.
Do you have a CHALLENGE? Let us know HERE.