Differences Between the Sterling B2B Integrator Translator and theSterling Gentran:Server Translator
There are inherent differences between the Sterling B2B Integrator translator and theSterling Gentran:Server® translator. In both Sterling B2B Integrator and Sterling Gentran:Server, you can specify a Record Length and/or Record Delimiters on the Positional File Properties dialog box (Record tab). The Record Length and Record Delimiters parameters notify the translator how many bytes should be read from the input stream to create one positional record. These parameters are not mutually exclusive.
It is important to note that the Sterling B2B Integrator andSterling Gentran:Server translators may not treat the Record Length and Record Delimiters parameters in the same manner, depending on which parameters you specify.
The following list describes the differences between the two translators and how they handle the Record Length and Record Delimiters parameters:
Parameter(s) specified on Positional Record Properties dialog box (Records tab) | How the Sterling B2B Integrator translator handles the specified information | How theSterling Gentran:Server translator handles the specified information |
---|---|---|
Record Length only | The translator attempts to read Record Length bytes from the input stream and ignores any operating system default line separators, stopping only when it encounters the end of the input stream. | The translator attempts to read Record Length bytes from the input stream but stops if it encounters the operating system default line separators or the end of the input stream. |
Record Length and Record Delimiters |
The translator attempts to read up to the Record Length bytes
from the input stream but stops if it encounters the specified Record
Delimiters or the end of the input stream. The Record Delimiters take precedence over the Record Length parameter. |
The translator attempts to read up to the Record Length bytes
from the input stream but stops if it encounters the specified Record
Delimiters or the end of the input stream. The Record Delimiters take precedence over the Record Length parameter. |
Record Delimiters only | The translator continues to read from the input stream until it either encounters the Record Delimiters or the end of the input stream. | The translator continues to read from the input stream until it either encounters the Record Delimiters or the end of the input stream. |