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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.
While most common SQL functions are supported in what we used to call "EDA/SQL" some DB2 functions like RIGHT are not included. There's a list in the DataMigrator User's Guide.
However in the current production release 7.7.05 you can indicate a database specific function using the new function DB_EXPR.
DB_EXPR(RIGHT(RTRIM(T1.SENDER_ID), 3) )
In prior releases you could use a DBMS SQL Flow to write dialectic specific SQL.
N/A
Posts: 397 | Location: New York City | Registered: May 03, 2007
In your statement "In prior releases you could use a DBMS SQL Flow to write dialectic specific SQL" do you refer to using data transformation on either source or target to get the final result as RIGHT function would have done?
WebFOCUS 7.7, iWay Data Migrator, Windows Excel, PDF, HTML, XML
Right click on an application directory and select New > DBMS SQL Flow. This special flow type has only a SQL object and target(s). Right click on the SQL object and select Properties to specify your adapter and connection. Then double click to open the SQL object where you can paste or write your DB2 SELECT statement.
Another alternative as you state is to write FOCUS transformations to achieve the same result. In fact in a source transformation could use this syntax to invoke the DB2 RIGHT function SQL.RIGHT(RTRIM(T1.SENDER_ID),3) However this at the cost of disabling automatic pass through (APT) which can adversely affect throughput.
N/A
Posts: 397 | Location: New York City | Registered: May 03, 2007