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.
The concept is nothing but using straight SQL in your code and putting wrappers around it to notify the WF engine to take it as-is to the DBMS. You will be better off by doing a Search (Link on Top right corner above) yourself on 'passthrough' and there are tons of previous posts on this.
The only thing that differs is in the keyword that specifies the DBMS type
SQL DB2 or SQL SQLMSS etc.
Best regards, Sandeep Mamidenna
------------------------------------------------------------------------------------------------- Blue Cross & Blue Shield of MS WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL MRE, BID, Dev. Studio, Self-Service apps & a dash of fun !!
Posts: 218 | Location: Jackson, MS | Registered: October 31, 2006
SQL DB2 (engine specific determined by your connection needs) Select statement ; REQUIRED TO END THE SQL STATEMENT TABLE ON TABLE HOLD AS ... Statement to hold the output END -RUN
In essence the SQL statement is wrapped by focus according to the example above. This will pass the SQL directly back to the source DB server. Variables can be passed, which should be evaluated immediately (&VAR.EVAL or equivalent syntax). Virtually any legitimate SQL statement supported by the engine will work via this technique.
Recommend adding engine specific syntax to make the select statement an uncommitted read.
Update, Inserts and Deletes can also occur via this mechanism. Commit statements are required.
Good Luck,
John
John G WF7.7.02, Win2008x64, MRE, ReportCaster, Maintain