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.
Trying to HOLD a DB2 table. The table gets created ok, but it's empty. I've tried with both DB2 and SQL, but same result. This is the trace:
SET TRACEOFF = ALL SET TRACEON = STMTRACE//CLIENT SET TRACEUSER = ON
SQL SQL CONNECT; TABLE FILE DS_WEEK_VW PRINT WEEK_ID BY YEAR_ID IF READLIMIT EQ 10 ON TABLE HOLD AS HLTEST FORMAT SQL END
16.55.34 AE SELECT T1."WEEK_ID",T1."YEAR_ID" FROM ADWUATDTA/DS_WEEK_VW T1 16.55.34 AE ORDER BY T1."YEAR_ID" FETCH FIRST 10 ROWS ONLY FOR FETCH ONLY; 0 NUMBER OF RECORDS IN TABLE= 10 LINES= 10 0 HOLDING SQL FILE... 16.55.34 AE CREATE TABLE HLTEST( "YEAR_ID" INTEGER NOT NULL ,"FOCLIST" 16.55.34 AE INTEGER NOT NULL ,"WEEK_ID" INTEGER NOT NULL ) ; (FOC1400) SQLCODE IS 7905 (HEX: 00001EE1) (FOC1414) EXECUTE IMMEDIATE ERROR.
Anybody, any idea?
Tia, Hakan
Posts: 319 | Location: Stockholm, Sweden | Registered: February 04, 2004
If you Issues SQL Passthru and create the table and then do inserts does that work?
From IBM SQLCODE 7905
Explanation: Table &1 in &2 created but could not be journaled.
FROM IBI Problem:
This is actually a warning, and we create the table but do not populate it due to this warning that basically states that the target library is not journaled. The target library must be journaled to populate the data in FORMAT DB2 on the AS/400.
Solution:
You can manually journal the library you wish to use. An easier way is to CREATE a DB2 collection via STRSQL on the AS/400 which is automatically journaled.
Texas, in my opinion this is a bug. What's the point of creating a table if you're not able to insert any rows into it? You should think that you could have the option of inserting into an un-journaled table. For a temp table there's not much use for journaling.
Posts: 319 | Location: Stockholm, Sweden | Registered: February 04, 2004
I guess journaling is for commit purposes... In this case you want this table to be journaled.
Correct me if I'm wrong, but all read/write/update operations in Webfocus are done using commitment controls. So you have no choice but journaling this table.
Not evertyhing makes sense in this world, but sometimes, when you dig a bit deeper, you'll find a reason for everything.
WFS/FFS/DM 7.6.4 / WFS/FFS/DM 7.6.8 / WFS/FFS/DM 7.6.9 / AS400 V5R4M0 / HTML / iSM 5.5sp2