Focal Point
[CASE-OPENED] How to pass a parameter in oracle procedure calling using an Adapter

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/9187056676

June 10, 2015, 04:32 PM
Mary
[CASE-OPENED] How to pass a parameter in oracle procedure calling using an Adapter
Hi All,

I have a pflow in which I am calling a oracle stored procedure with a constant input xml.

Constant input XML

 <?xml version="1.0" encoding="utf-8"?>
<AdapterParams location="RDBMS/Schemas/APPS/Procedures/Packages/ORA_PKG/ORA_PRC">
  <P_REQUEST_ID>2</P_REQUEST_ID>
</AdapterParams>

this is the parameter value 2
 <P_REQUEST_ID>2</P_REQUEST_ID>
  


Now I do want to pass a parameter for passing dynamic value like
 <P_REQUEST_ID> PARAMETER </P_REQUEST_ID>
  

Please share your thoughts with me.

Thanks,
Mary Gerald...

This message has been edited. Last edited by: <Kathryn Henning>,


7.7.04M, Windows 7 , HTML, PDF,EXCEL
June 25, 2015, 09:36 AM
Tamra
Hi Mary,

The following has been received from the IBI support team.

Repsonse:
The parameter 2 is not fixed. You can change the 2 to another value. You can do this in a pflow using transforms or ifl before passing the request to the adapter. The assumption is the oracle procedure will accept other values.

Let us know if that answers your question.

Thank you for participating in the Focal Point Forum.

Kindest regards,
Tamra Colangelo
Focal Point Moderator
Information Builders Inc.
  

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


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
June 29, 2015, 04:22 PM
Mary
Hi Tamra,

Thanks for the reply. I need a variable which gets increased every time when the PFLow is referred like a counting variable to track the session of the PFLOW.

Now I opened a case with Tech Support for this issue.

Thanks,
Mary Gerald...


7.7.04M, Windows 7 , HTML, PDF,EXCEL
August 21, 2015, 01:10 PM
Mary
Hi Friends,

Any suggestions for me for this issue?.
Currently I am using _unq() function. But it is keep incrementing the values for each and every objects in the same flow. I am not able to get the same value throughout the flow.

Please share your suggestions.


7.7.04M, Windows 7 , HTML, PDF,EXCEL
September 02, 2015, 11:39 AM
Srii
Could you explain your following statement?

But it is keep incrementing the values for each and every objects in the same flow. I am not able to get the same value throughout the flow.

Are you using _unq on every single object in your pflow?

Ideally, you should define an SREG whose vlaue should be set to _unq and reference the sreg across the entire pflow.