|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
running 7.6.4
VSAM field: 04 BPW-EMP-PCT PIC 9(03)V999 COMP-3. value is 37.685 in DM VSAM Master file def: FIELDNAME=BPW_EMP_PCT, ALIAS=E49, USAGE=P7.3, ACTUAL=P4, $ I used a define field due to overflow error: DEFINE BPW_EMP_PCT_X/A9 = EDIT(BPW_EMP_PCT, '$9999999');$ in EDA Master file: FIELDNAME=BPW_EMP_PCT, ALIAS=BPW_EMP_PCT, USAGE=P7.3, ACTUAL=P4, $ FIELDNAME=BPW_EMP_PCT_X, ALIAS=BPW_EMP_PCT_X, USAGE=A9, ACTUAL=A9, $ Target SQL Server is set up as a float field, displays D20.2 in Datamigrator FIELDNAME=EMPLOYERPERCENTAGE, ALIAS=EmployerPercentage, USAGE=D20.2, ACTUAL=D8, MISSING=ON, $ when I run the Dataflow, end result is 37.00, when it should be 37.685 Any help would be much appreciated. IBI has been looking at it since Monday and no resolution as of yet. Thanks. |
||
|
|
Master |
The problem is that you used EDIT to convert your field. Change your define to:
DEFINE BPW_EMP_PCT_D/D7.3=BPW_EMP_PCT; DEFINE BPW_EMP_PCT_X/A9=FTOA(BPW_EMP_PCT_D,'D7.3','A9'); for a complete list of functions try searching for: Alphabetical List of Functions and Subroutines Pat WF 5.3.2 AIX, NT, AS/400, Focus AS/400, AIX, Oracle, JDE, DB2, Lotus Notes |
|||
|
|
Member |
Thanks Pat, I was able to use the _D field and it worked.
|
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

