Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Data Migrator VSAM to SQL issues/Overflow error

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Data Migrator VSAM to SQL issues/Overflow error
 Login/Join
 
Member
posted
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.
 
Posts: 7 | Registered: April 01, 2008Report This Post
Master
posted Hide Post
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 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Member
posted Hide Post
Thanks Pat, I was able to use the _D field and it worked.
 
Posts: 7 | Registered: April 01, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Data Migrator VSAM to SQL issues/Overflow error

Copyright © 1996-2020 Information Builders