Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [CLOSED] DBMS connection in Procedure
Go
New
Search
Notify
Tools
Reply
  
[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, 2014Reply With QuoteReport 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,
 
Posts: 383 | Location: New York City | Registered: May 03, 2007Reply With QuoteReport 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, 2014Reply With QuoteReport This Post
Guru
posted Hide Post
SQLPSTGR

After you create the adapter you can find the string in your edasprof.prf or user profile.
 
Posts: 383 | Location: New York City | Registered: May 03, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [CLOSED] DBMS connection in Procedure

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.