The switches shown below are required for outbound processing. You must use the first three switches in the order shown. The other switches have no fixed position, but they must be preceded by the appropriate “-letters” flag. You use either the -st or -sl switch, depending on whether your trading partner information is stored in a non-ODBC or an ODBC database. You are also allowed to use the -dm switch in place of the –dt and –dg switches when the trading partner directory and the generated files directory are the same.
wrmo32 <EDI output file> <mapname> <transaction code> -t<transaction/message> -dt<fullpath trading partner directory> -dg<fullpath generated files directory>
or
wrmo32 <EDI output file> <mapname> <transaction code> -t<transaction/message> -dg<fullpath generated files directory> -st <trading partner DSN>
When the trading partner directory and the generated files directory are the same, the command line is shortened as follows:
wrmo32 <EDI output file> <mapname> <transaction code> -t<transaction/message> -dm<fullpath trading partner/generated files directory>
Switch |
Description |
---|---|
<EDI output file> |
The name of the EDI output file. |
<map name without extension> |
The map name without the extension. |
<transaction code> |
Two-character transaction code. |
-t<transaction/message> |
Transaction set/message. Example: -t 837 |
-dt<full path trading partner directory> |
The fully qualified path to the trading partner directory. For users with a non-ODBC trading partner database, these switches are required unless the –dm switch is used. Example: -dt c:\ecdata\tptner |
-dg<full path generated files directory> |
The fully qualified path to generated files directory. This directory contains the generated (map and cross-reference tables) files. These switches are required unless the -dm directory is used. Example: -dg c:\ecdata\rtp |
-st<trading partner DSN> |
The DSN specifies the data source name for the ODBC trading partner database. Example: -st "MS Access" |