Padding EDI data to minimum length [EDI 4.2]

The -pe switch pads EDI data to minimum length in compliance maps, which ensures that data meets minimal field length requirements. This switch is an optional replacement for the PADEDI environment variable.

Using this switch pads the data without changing the value of the data. The -pe switch pads alphanumeric fields with trailing spaces if those spaces are required to meet the minimum length of the element. Numeric fields are padded with leading 0s (zeros) if those 0s are required to meet the minimum length of the element.

Applies to

Outbound maps.

ECRTP version

4.2

Command line syntax

The syntax for this switch is:

-pe

Steps Padding EDI data to minimum length in Windows

  1. Open the Run Outbound Map window.

  2. Click the Option 1 tab.

  3. Select Pad EDI Data to Minimum Length.