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 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. See “Padding EDI data to minimum length [EDI 4.2]” for more information.
Select Control Panel | System | Advanced | Environment Variables | System Variables. Set the Variable Name to PADEDI. Set the Variable Value to Y.
In UNIX, open a shell and run the following commands relevant to your shell:
ksh:
set PADEDI=YES ; export PADEDI
sh:
set PADEDI=1 ; export PADEDI
csh:
setenv PADEDI 1
CR#297413