Zero Filled Integers

Kenneth Brody kenbrody at bestweb.net
Mon Feb 26 21:13:55 PST 2007


Quoting J. Ryan Kelley (Mon, 26 Feb 2007 23:28:57 -0500):

> Is there an edit type to create zero filled integers?  I have an EDI
> transaction that requires that certain integer fields are zero filled.
> eg the value '600' in a 6 digit field would need to be passed as
> '0006000'.
>
> Filepro 5.0.13R4 on Solaris

It comes with filePro.  I think it's called "0rj".  If you don't
have it, it's real simple:

    0rj   \0\ {*}

This will right-justify and zero-fill any value.

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list