Inbound-only optional parameters

Table A-6 contains optional parameters can be used for inbound runs only.

Table A-6: Inbound-only optional parameters

Parameter

Description

-ab

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

-ag

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

-al

Handles character checks for compliance maps. Only valid ASCII characters with values 0 — 127 are allowed, and not the extended ASCII characters 128 — 255.

-as

Checks that each ST Transaction Control Number in a GS to GE is greater than the previous ST Transaction Control Number. Validation assumes control numbers appear in ascending order.

-b

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

-clz

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

An error is flagged if leading zeros are not used to meet the minimum length requirement of that particular element. If the leading zeros are necessary to meet the minimum length of the element, no error is generated. This option does not check leading zeros on non-compliance maps.

-cu

Checks for unique control numbers within a transaction. Control numbers can now occur in any sequence, as long as they are unique.

If duplicate control numbers are found, ECRTP logs a 6054 error. Use only one of the switches (-as or -cu) for any map run. If both switches are present, ECRTP defaults to the last switch encountered.

-ee number of characters

Ends processing of the EDI file after it processes the specified number of characters. Useful when processing is done by VANS who charge by the byte.

-eo full path filename

Uses the named full path file name in place of the output application file name embedded in the map.

-es number of characters

Starts processing the EDI file after it has read the specified number of characters. Useful when processing is done by VANS who charge by the byte.

-k

Sets compliance checking for:

  • Missing mandatory segments

  • Exceeding loop counts

  • Exceeding segment counts

  • Segments out of sequence

  • Exceeding standards definition for number of elements in a segment

-m mapname

Runs the map with the specified map name without referencing company or trading partner files.

mapname is the file name of the map without the extension. For example, 837IN is the mapname for the map file 837IN.map.

-mi full path filename

Uses stdin in place of the named file imbedded in the map.

-ncb

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

-nct

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

-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. The return codes reflect the following information:

  • At least one interchange or group is in error implying a TA1 map should be run.

  • At least one group or transaction is in error, implying a 997 map should be run.

  • At least one good transaction is present, implying a translation map should be run.

-nt

Does not perform trading partner lookup—Uses the map passed in on the command line.

-nz

Maps numeric data literally (including blank fields) as it appears on the map. Earlier versions of ECRTP pad numeric values with leading zeros based on field length.

-s3

Processes the optional 12 ST03 element in incoming EDI data.

-sc

Validates the sequence of the Interchange (ISA) and Group (GS) control numbers. If you use this command, RTP checks the current control number against the trading partner database to validate the entry. If the entry in the file is not the next sequential entry, an error is reported.

If you run an inbound compliance map, choose the Validate Control Number Sequence option to add an -sc switch to the command line options.

-td directory

Writes the bin files to the named directory if the -du switch is not set. All bin files start with bin.

-vs

Checks the validity of ASCII characters from 0 — 127 against the version of X12. If the character is ^ (circumflex) or ' (accent grave) and the X12 version is prior to 4040, the character is invalid and an error is generated.

-w

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

-xmi

Uses stdin in place of the named EDI file during map execution.