Route only option
The route only option does not ignore all possible errors in the data file.
Tradelink errors, envelope errors, and structural errors that do not allow data to be recognized as valid recognizable data are not handled by the Route only option. These errors are captured in the stampandsort map. The function of this map is to create a tradelink, validate the envelope recognized supported type of data to be processed by Trading Manager (X12; EDIFACT; TRADACOMS), and to create the temporary files that the remaining Trading Manager validation process uses.
During each tradelink validation process (maps sendxx or sortxx), the logic determines if the flag for Route Only was set 'up'. If not, the logic continues to validate each transaction segment to report validation results within the acknowledgement and/or rejection files. If the Route Only option is turned 'on', the acknowledgments/rejects will not get created if there are errors in the data within transaction segments.
A typical example of this scenario would be the presence of BIN segments. A BIN segment consists of two elements, BIN01 and BIN02. BIN01 is a numeric value that should indicate the size of element BIN02 so that it is known where this element ends. The reason is that the BIN02 is a binary element, and it might contain characters that match any of the delimiters or other segment initiators. If the BIN01 element is incorrect, the parsing of this segment will result in a structurally invalid X12 file, thus the data will fail to be recognized during the initial process where the ROUTE only option is still not in effect.