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    [CLOSED] DBMS connection in Procedure

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] DBMS connection in Procedure
 Login/Join
 
Member
posted
Hi,

I get the MAX(update_date) from target and store that in control table. In Process flow, I am trying to get the date from control table in procedure and store that in variable. Please let me know where I have give the DBMS credentials to run the procedure in process flow. Also find the below procedure for your reference.

-DEFAULT &CREATEDDATE = '1900/01/01'
-DEFAULT &MODIFIEDDATE = '1900/01/01'
SQL SQLMSS
Select MAX(CREATEDDATE) as CREATEDDATE,MAX(MODIFIEDDATE) as MODIFIEDDATE FROM cafc_stage.controltable
WHERE TABLE_NAME = ('stg_sfc_scd');

TABLE FILE SQLOUT
"sqlout IS.."
PRINT *
ON TABLE HOLD
END
-RUN
-READFILE HOLD
-TYPE &CREATEDDATE;
-TYPE &MODIFIEDDATE;
-SET &&MODIFIEDDATE = &MODIFIEDDATE;
-SET &&CREATEDDATE = &CREATEDDATE;

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


WebFOCUS 8.0
Windows, All Outputs
 
Posts: 6 | Registered: February 12, 2014Report This Post
Guru
posted Hide Post
You supply credentials in the connection string for MS SQL Server when you configure an adapter.

In your focexec specify a connection name or else it uses the first one, for example:

ENGINE SQLMSS SET SERVER CON02

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


N/A
 
Posts: 397 | Location: New York City | Registered: May 03, 2007Report This Post
Member
posted Hide Post
Thanks for your inputs Clif. Can you tell me what is the SQL engine for Postgres?


WebFOCUS 8.0
Windows, All Outputs
 
Posts: 6 | Registered: February 12, 2014Report This Post
Guru
posted Hide Post
SQLPSTGR

After you create the adapter you can find the string in your edasprof.prf or user profile.


N/A
 
Posts: 397 | Location: New York City | Registered: May 03, 2007Report 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    [CLOSED] DBMS connection in Procedure

Copyright © 1996-2020 Information Builders