Zero Filled Integers

J. Ryan Kelley ryan.kelley at trinitytransport.com
Tue Feb 27 05:31:47 PST 2007


Kenneth Brody wrote:
> 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
>
>
>   
Ken and Mike,

This worked perfectly, thanks for the input.


-- 
J. Ryan Kelley
Business Technology
Trinity Transport, Inc.

http://www.trinitytransport.com



More information about the Filepro-list mailing list