Literal numeric data mapping [EDI 4.2]

The -nz switch maps numeric data (including blank fields) exactly as it appears on the map. Earlier versions of ECRTP padded numeric values with leading zeros are based on field length.

Applies to

Inbound maps.

ECRTP version

4.2

Command line syntax

The syntax for this switch is:

-nz

StepsAdding literal mapping options in Windows

  1. Open the Run Inbound Map window.

  2. Click the Option 2 tab.

  3. In the Zero Handling Options group, select No Zero Fill on Null or Non-Null Numbers.

Examples

Different switch options provide different results. These examples assume a numeric field size of 5, and the following input values: '123', '0', ' ' (empty).