Previous Topic

Next Topic

Book Contents

Book Index

MessageWay Translation

"MessageWay Translation" sends a file to a MessageWay server for translation or data format conversion.

The resulting output files are added to MOVEit Central's list of files to process, which typically means they are sent to one or more destinations, depending on the task's configuration. The original input file is ignored, which means that the task will do no further processing on it, and it will not be sent to task destinations.

Depending on the input file and the translation rules configured on the MessageWay server, a single input file may result in multiple output files. On the other hand, if no processing rules match the input file, or if errors occur, no output files may be created.

The MessageWay translation engine is very powerful, and the various EDI (Electronic Data Interchange) standards governing data format are complex. Consult the translation-related MessageWay manuals, such as MessageWay Translator Workbench User's Guide and Reference, for detailed information on how to set up a MessageWay server for translation.

For more information about the script itself, see the topic "Common Applications - MessageWay Translation."

Input Parameters

Debugging Parameters

The following parameters are rarely used, and are primarily used during product development.

Output Parameters

Error handling

This script returns error 5300 if the translation takes place, but returns one of the following error statuses:

When running a Traditional task, MOVEit Central will regard a script returning error 5300 as a successful process, which, depending on circumstances, may not be the desired behavior. For maximum flexibility, it is recommended that you use this script with Advanced rather than Traditional tasks. This is especially recommended if you set MWayConn_ExceptionsInsteadOfData to True, because in this case, if translation exceptions occur, the output from the task will be report files rather than data files. You may very well want to send report files to a different destination; if this is the case, using an Advanced Task and checking for a process error code of 5300 is recommended.

See also "Advanced Topics - MessageWay CLI."