PADEDI environment variable [EDI 4.2]

PADEDI is a previously undocumented environment variable, which pads numeric fields with leading zeros or alphanumeric fields with trailing spaces at runtime to ensure that data meets minimal field length requirements.

ECRTP also includes a -pe switch, which pads EDI data to minimum length in compliance maps. This switch is an optional replacement for the PADEDI environment variable.

Windows

In Windows, in Control Panel | System | Advanced | Environment Variables | System Variables, set the Variable Name to PADEDI. Set the Variable Value to Y.

UNIX

In UNIX, open a shell and run the following commands relevant to your shell:

Resolves

CR#297413

For more complete information about PADEDI, see “Padding EDI data to minimum length [EDI 4.2]”.