View previous topic :: View next topic
|
Author |
Message |
Prem.y
New User
Joined: 09 Feb 2011 Posts: 7 Location: Hyderabad
|
|
|
|
Hi
I have a easytrieve program with input numeric field declared as folows:
Code: |
INFIL-CHK-HELD-AMOUNT 212 7 N 0
|
and I declared the output field as follows
Code: |
OUTFL-CHK-HELD-AMOUNT 293 13 N 2 +
MASK ('99999999999.99-')
|
I am moving the input field to output field as follows:
Code: |
OUTFL-CHK-HELD-AMOUNT = INFIL-CHK-HELD-AMOUNT
|
I want the output value to be populated as 00000012345.67- where as in input it is 1234567, but the value I am getting into output as 0000001234567 even if am using the MASK. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Unfortunately today is NOT psychic day, and therefor we can not know which product we are attempting to discuss, so how on earth do you possibly expect any help |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
An example PRINTER EXIT is now here.
This will allow you to use a MASK to edit a field, and then put that field on an output file. |
|
Back to top |
|
|
|