In outbound processing, the fully qualified path including the EDI output file name is the first required parameter passed to the ECRTP.
The output EDI file can be written to stdout, instead of to disk, using the -mo switch at runtime. (In ECMap, this information is entered in the Standard Output pane on the I/O Redirect tab of the Run Outbound Map screen.)
The output EDI file can be written to a specified memory address, instead of to disk, using the -mp switch at runtime. (In ECMap, this information is entered in the Internal Memory pane on the I/O Redirect tab of the Run Outbound Map screen.)
Using the trading partner and trade agreement mailbox switches, output EDI data can be routed to different locations:
If the trading partner mailbox is not ignored (-it switch is not set), outbound EDI data can be routed to the following mailboxes – IN (-ri switch), OUT (-ro switch), GOOD (-rg switch), BAD (-rb switch), or OTHER (-rt switch) – by passing in the appropriate Route EDI Type switch to the ECRTP. (The entry in the Route EDI Type textbox on the Option 1 tab of the Run Outbound Map screen.)
If the trading partner mailbox is not ignored (-it switch is not set) and either there is no trade agreement mailbox or a trade agreement mailbox exists and is ignored (-o switch is set), the outbound EDI data is automatically routed to the OUT mailbox of the trading partner directory, if no Route EDI Type switch has been passed to the ECRTP. For ODBC users, it is placed in a file with the filename NN.EDI (where NN is the run ID number).
If the trading partner mailbox is ignored (–it switch is set) and either there is no trade agreement mailbox or a trade agreement mailbox exists and is ignored (–o switch is set), the EDI output is placed in the full path filename specified by the first required parameter passed in to the ECRTP
If the trade agreement mailbox is not ignored (the–o switch is not set), the EDI output is routed to the trade agreement mailbox and filename. However, for ODBC users, if there is a trade agreement mailbox but no filename, the EDI output is routed to a file with the filename NN.EDI (where NN is the run ID number) in the trade agreement mailbox.