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    [SOLVED] how to avoid putting db2 tablespace in pending status after load

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] how to avoid putting db2 tablespace in pending status after load
 Login/Join
 
Member
posted
We have a set of DB2 tables that are cleared and loaded every day. They do not have primary keys. At the time the flows were created, the idea was this would speed the loads. The tablespaces of these DB2 tables go into a Pending status after the loads, currently. A backup jobs clears the status.

We would like to avoid the pending status on the loads. We have tried various load options and the only one -- without altering the table structure -- that doesn't put the tables in pending status is the Bulk Load via Flat File. However, this option isn't perfect either, as certain messages about 'empty fields in non-nullable columns' are presented as warnings but do not abend the process, and the table goes unloaded.



Has anyone had experience with this?

This message has been edited. Last edited by: Tamra,


iWay 7706
 
Posts: 3 | Registered: February 05, 2016Report This Post
Virtuoso
posted Hide Post
Build a stored proc with:

SQL DB2 SET FASTLOAD_OPTION NONRECOVERABLE

And call before the data load.


"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
Member
posted Hide Post
Thanks. Would that be an RPC in the Process Flow of the flow itself? Is the scope limited to this particular flow or does it affect the entire database? I do not want to run afoul with our DBA group.


iWay 7706
 
Posts: 3 | Registered: February 05, 2016Report This Post
Virtuoso
posted Hide Post
quote:
Originally posted by oceanmon:
Thanks. Would that be an RPC in the Process Flow of the flow itself?

Yes.
quote:
Is the scope limited to this particular flow or does it affect the entire database?

Yes, and any subflow that is executed as "RPC".


"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
Member
posted Hide Post
Thank you for the insights. I'll run it by our DBA's and see how quickly they shoot it down if they approve.

New here. The status of this thread can be Solved and/or Closed now.


iWay 7706
 
Posts: 3 | Registered: February 05, 2016Report 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    [SOLVED] how to avoid putting db2 tablespace in pending status after load

Copyright © 1996-2020 Information Builders