Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
Posted: Tue Jun 22, 2004 6:26 am Post subject: Format and Alignment of Decimal Fields in DFSORT
I'm splitting a file into three parts, based on record type, using DFSORT. I've discovered some of the value fields are formatted quite eccentrically.
Can I convert these fields in DFSORT, or do I need some kind of post-process?
The conversion I need is as follows:
Code:
From To
19.72 19.72
10 10.00
28.64 28.64
18.08 18.08
20.5 20.50
550 550.00
6.4 6.40
20.99 20.99
The input fields are right-justified, and I need the output fields to be also (the 20.5 line above doesn't seem to want to behave). _________________ The day you stop learning the dinosaur becomes extinct
Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
Posted: Tue Jun 22, 2004 10:09 am Post subject:
Thanks, Kolusu, that's food for thought. There's more than one of these fields in each record, so it's likely to get very messy, but it's a good place to start thinking. I could always use an E35 exit, of course! _________________ The day you stop learning the dinosaur becomes extinct
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum