Required switches for an inbound executable

The switches shown below are required for inbound processing. The first switch is required and must always be first in the order. 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.

wrmi32 <EDI input file> -dt<fullpath trading partner
directory> 
-dg<fullpath generated files directory>

or:

wrmi32 <EDI input file> -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:

wrmi32 <EDI input file> -dm<fullpath trading
partner/generated files directory> 
Table 2-2: Switch descriptions

Switch

Description

<EDI input file>

The name of the EDI input file.

-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"