Alphabetical listing of parameters and switches for ODBC and non-ODBC trading partner files

Table A-1 contains optional and required parameters and switches that are used with both non-ODBC and ODBC trading partner files. Each parameter is described in greater detail and grouped for easier reference in the later tables.

Table A-1: Parameters and switches for trading partner files

Parameter

Description

Inbound/outbound

Required/optional

-a

Updates the ISA Out control count field only in the ALL TradePartner record when the interchange envelopes are built.

Outbound

Optional

-ab

Specifies a new full path and file name to be used in place of the BAD EDI file.

Inbound and outbound

Optional

-af

Specifies a new full-path file name to be used in place of a file name embedded in the map file.

Inbound and outbound

Optional

-ag

Specifies a new full path and file name to be used in place of the GOOD EDI file.

Inbound and outbound

Optional

-al

Handles character checks for compliance maps.

Inbound

Optional

-as

Checks for ST control number sequence.

Inbound

Optional

-b

Does not save the rejected EDI transactions and messages into the badtrans.nmt file.

Inbound

Optional

-c

Closes the trace file after every write statement.

Inbound and outbound

Optional

-clz

Flags leading zeros in numeric X12 fields as an error on HIPAA compliance maps.

Inbound

Optional

Inbound:

-cn

Outbound:

-cn control number

Disables control number lookups and updates when running inbound and outbound maps.

Inbound and outbound

Optional

-cu

Checks for unique control numbers within a transaction.

Inbound

Optional

-db

Does not delete outbound temporary files that are created when processing multiple files.

Outbound

Optional

-dg

Specifies the directory in which the map files are located.

Inbound and outbound

Required

-dm

Specifies the directory in which the trading partner, map, and log files are located. Use -dm to replace -dg and -dt when the trading partner directory and the map directory are the same.

Inbound and outbound

Optional

-dt

Specifies the directory in which the trading partner files are located.

Inbound and outbound

Required for Non-ODBC

-du

Specifies the directory to be used in place of the application directories embedded in the map.

Inbound and outbound

Optional

-dw

Specifies the directory in which the company (wixset.dat) file is located.

Outbound

Optional

-ec

Does not create the transaction log file (translog.in, translog.out, or trlog) or the status file (status.in or status.out).

Inbound and outbound

Optional

-ed

Specifies the directory in which the transaction log file (translog.in, translog.out, or trlog), trace file (incoming.err, outgoing.err, or trnn.dat), and status file (status.in or status.out) are located.

Inbound and outbound

Optional/

Required for Tandem and Stratus

-ee

Ends processing of the EDI file after it processes the specified number of characters.

Inbound

Optional

-ef

Does not create the status file (status.in or status.out)

Inbound and outbound

Optional

-ei

Specifies the full-path file name to be used in place of the input file name embedded in the map.

Outbound

Optional

-el

Specifies the full-path file name to be used for the transaction log.

Inbound and outbound

Optional

Required for Tandem and Stratus platforms

-eo

Specifies the full-path file name to be used in place of the output application file name embedded in the map.

Inbound

Optional

-er

Performs the trading partner lookup based on the group receiver. (basic reverse lookup)

Inbound

Optional

-es

Starts processing the EDI file after it has read a specified number of characters.

Inbound

Optional

-et

Specifies the directory in which the trace file, incoming.err or outgoing.err, is located.

Inbound and outbound

Optional

-eu

Specifies a string variable to be used in place of all but the first character in the application file name (not including the file extension) embedded in the map.

Inbound and outbound

Optional

-ev

Specifies a string variable to be placed in front of the application file name in the map.

Inbound and outbound

Optional/

-id

Specifies a run ID number to be used instead of having the program look it up.

Inbound

Optional

-it

Ignores the trading partner mailbox.

Inbound and outbound

Optional

-k

Sets compliance checking.

Inbound

Optional

-kf

Splits files into multiple files only once.

Outbound

Optional

-l

Writes long trace messages to an error file.

Inbound and outbound

Optional

-m

Runs a specific map (identified by the mapname, which is the file name of the map with no extension) without referencing company or trading partner files.

Inbound

Optional

-mi

Uses stdin in place of a file embedded in the map.

Inbound

Optional

-mm

Uses a temporary memory location in place of a file embedded in the map.

Inbound and outbound

Optional

-mn

Passes the map name extension as part of a command line argument.

Inbound and outbound

Optional

-mo

Uses stdout in place of a file embedded in the map.

Outbound

Optional

-mp

Uses a specific memory address in place of a file embedded in the map.

Inbound and outbound

Optional

-mx

Keeps a specified number of maps open in memory.

Inbound and outbound

Optional

-n

Uses the ALL TradePartner record if no trading partner match is found in the trading partner file.

Inbound and outbound

Optional

-ncb

Indicates that the EDI file to be processed is an NCPDP batch file. Required for all inbound NCPDP files unless -nct is active.

Inbound

Required for inbound NCPDP batch files

-nct

Indicates that the EDI file to be processed is an NCPDP telecommunications file. Required for all inbound NCPDP files unless -ncb is active.

Inbound

Required for inbound NCPDP telecommunications files

-ne

Does not produce an outbound EDI file.

Outbound

Optional

-nret

Adds new return codes that provide more information to the calling program. Based on the return value, the user can determine the next step in the process.

Inbound for compliance maps only

Optional

-nt

Does not perform a trading partner lookup. Uses the map specified in the command line.

Outbound

Optional

-nz

Maps numeric data literally (including blank fields) as it appears on the map.

Inbound

Optional

-o

Does not use the trade agreement mailbox directory and file name.

Inbound and outbound

Optional

-ol

Triggers a series of look ups against the Trading Partner database when the ECMAP/EC Gateway Log is used as input.

Outbound

Optional

-pe

Pads alphanumeric fields with trailing spaces.

Outbound

Optional

-pf

Uses contents of the file as the command line parameters

Inbound and outbound

Optional

-r

Specifies the maximum number of cross-reference table entries that will be loaded into memory.

Inbound and outbound

Optional

-rb

Ignores the trade agreement mailbox and places routed EDI data in the trading partner BAD mailbox.

Inbound and outbound

Optional

-re

Ignores the trade agreement mailbox and places routed EDI data in the trading partner IN mailbox.

Inbound and outbound

Optional

-rg

Ignores the trade agreement mailbox and places routed EDI data in the trading partner GOOD mailbox.

Inbound and outbound

Optional

-ro

Ignores the trade agreement mailbox and places routed EDI data in the trading partner OUT mailbox.

Inbound and outbound

Optional

-rt

Ignores the trade agreement mailbox and places routed EDI data in the trading partner OTHER mailbox.

Inbound and outbound

Optional

-s

Does not produce a trace file.

Inbound and outbound

Optional

-s3

Processes the X12 ST03 element.

Inbound and outbound

Optional

-sc

Validates the sequence of the Interchange (ISA) and Group (GS) control numbers.

Inbound

Optional

-sdb

Specifies the maximum number of cached ODBC connections. The default value 0 (zero) indicates no ODBC connection caching.

Inbound and outbound

Optional

-t

Specifies the message/transaction set being mapped.

Outbound

Required

-tc NN

Specifies a maximum waiting time, in milliseconds, for ECRTP to establish a database connection. The default NN value for this switch is 1000 milliseconds.

Inbound and outbound

Optional

-td

Specifies the directory in which the bin files are located if the -du switch is not set.

Specifies the directory in which the temporary split files are located.

Inbound and outbound

Optional

Optional

-tm

Writes the elapsed runtime to the trace file.

Inbound and outbound

Optional

Optional

-u

Does not write EDIFACT UNB and UNG segments.

Outbound

Optional

-vs

Checks the validity of ASCII characters from 0—127 against the version of X12.

Inbound

Optional

-w

Overwrites all application output files. The default is to append the application output files.

Inbound

Optional

-xf

Closes maps that have been left open in memory.

Inbound and outbound

Optional

-xl

Writes the text transaction log file in expanded field length format.

Inbound and outbound

Optional

-xmi

Uses stdin in place of the EDI file in the map.

Inbound

Optional

-xmo

Uses stdout in place of the EDI file in the map.

Outbound

Optional

-xmp

Uses a specific memory address in place of the EDI file in the map.

Inbound and outbound

Optional

-z

Zero-fills numeric fields that contain data.

Inbound and outbound

Optional