Zero Filled Integers
Jay R. Ashworth
jra at baylink.com
Mon Feb 26 21:19:43 PST 2007
On Tue, Feb 27, 2007 at 12:13:55AM -0500, 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.
Do you know what release that happened in, Ken? Cause I remember quite
clearly a) our having to do it ourselves) and b) it being a bitch that
required separate edits for each length of field.
Of course, other things I remember clearly aren't really true, so... :-)
Cheers,
-- jra
--
Jay R. Ashworth jra at baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274
More information about the Filepro-list
mailing list