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  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]iWay Write to DB2 Failing

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]iWay Write to DB2 Failing
 Login/Join
 
Virtuoso
posted
I have a Hub-Sub setup for DB2 on MVS. I have a Data Migrator flow which selects records from DB2, joins them to a local SQL*Server table, and then writes the records back to DB2 with changes.

The Problem -- DB2 crashes the run after performing a small number of updates. Not a dependable number, sometimes the first record crashes it, sometimes the 400th. But it never runs to completion short of me requesting an exceptionally small set of records. It seems to be based on the record itself, some records jamming the system consistently while others sail through.

When I set the Commit number to a small number, say 10, when the run is in a position to run the next 50 records successfully, the job hangs at 10 records, updating the first ten but never going back to update more, and never returning control of DMC to me.

My INSERTSIZE is set to 1, my FASTLOAD is currently set off, but doesn't seem to have any effect.

I opened a ticket but it became very complicated to get IBI the information they needed to proceed and I have about a dozen other fires burning.

Has anybody seen anything like this before?

This message has been edited. Last edited by: <Emily McAllister>,



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Virtuoso
posted Hide Post
I think you should put this question up in the iWay forum. Not all WebFOCUS folks are DM users.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Virtuoso
posted Hide Post
It's in both. There is exactly one user in the I-Way forum at the moment, and that's me. I hoped to get some extra eyes on it by posting here.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Virtuoso
posted Hide Post
Are you writting to SUFFIX=DB2 or SUFFIX=EDA?


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Virtuoso
posted Hide Post
I've tried both with no change in behavior.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Virtuoso
posted Hide Post
Writing to a SUFFIX=EDA wouldn't work anyway, but it would explain what you are seeing. You should only be writing to a defined data source. So, check out the DB2 adapter on HUB side. I assume that you are using the DB2 CLI or JDBC. In either case, you shouldn't these problems unless the account doesn't have write access to the DB2 instance.

I assume that DB2 is located with the SUB server. You should verify that you can write to DB2 from the SUB server. Worst case scenario is you break the flow into two parts. One to extract the DB2/MS SQL query to a flat file (if the output is not expected to be massive). The second to write to the final DB2 destination. If you have to, execute the second step via -REMOTE BEGIN/END so that it runs directly on the SUB server. Be very careful with the defining meta-data in that case ... you can put yourself into an endless loop very easily if you are not careful.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Virtuoso
posted Hide Post
SUFFIX=EDA worked as well as SUFFIX=DB2, but both seem to hang up on particular records.

I think I'm going to go after this via StarSQL on Win2K8 instead, avoiding the MVS iWay server entirely. Might have better luck.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]iWay Write to DB2 Failing

Copyright © 1996-2020 Information Builders