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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
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