Re : Run oracle DB packages from OBIEE
Hello there,
Hope all is well. I was just wondering how do you run Oracle DB Packages from OBIEE ? How do I say EXEC package.procedure or package.function ?
Thanks in advance,
Sam
Hi..
Hope as you said.. use package.procedure or package.function in evaluate.. function
OR
if you go physical layer.. and try to create New Physical table..
Select Table type as Select and try to call your package function here...
Sorry to say this i didn't work on this.. but try and report back..
See my post Re: Calling Stored Procedure for Date Conversion ... for understanding .. this some what.
Thanks & Regards
Kishore Guggilla
Edited by: Kishore Guggilla on Dec 17, 2008 12:07 PM
Similar Messages
-
Unable to run Oracle Form Builder from Designer 10g
I am using Windows XP with Oracle Designer 9.0.4.5. From Design Editor, I select Run -> Oracle Forms, nothing happen. I am able to open Form Builder manually (C:\ORACLE\904\bin\ifbld90.exe). After I generated a module (form) from Designer, I have to open the FMB manually from Form Builder. In Designer 9i, I am able to open Form Builder from Designer. Is this a bug for Designer 10g?
Thanks,
JimThanks for the response, Suresh,
I believe this is an installation/configuration issue.
I installed Oracle Developer Suite 9.0.4, which includes Form Builder, Report Builder, and Designer. System Path contains the ORACLE_HOME (c:\oracle\904\bin). I am able to start Form Builder from DOS command (ifbld90.exe). I am also able to start Report Builder (rwbuilder.exe) and Designer (des2k61.exe) from DOS. I am able to Run Oracle Report Builder from Designer, but just not Form Builder. I also checked the Windows registry settings and they seem alright to me.
thanks,
Jim -
Run Oracle Form Application from a JSP File.
I have a complete customized application made on Oracle Forms (10g) and I have .fmb and .fmx files, now problem which I am facing is I have to open the Oracle Form Application from my JSP page (which is used to login the user). My JSP page is just a simple page which I have placed it in path [C:\DevSuiteHome2\forms\j2ee\formsapp\formsweb] and I run it from browser as [http://localhost:port/forms/index.jsp].
How can I start my application from this JSP page? Please your help would be highly appreciated. Thanks.Inside your JSP page put <OBJECT> tag with all parameters and tags to open Jinitiator or java applet..
my example..
<!-- Forms applet definition (start) -->
<OBJECT classid="clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF"
codebase="/forms/jinitiator/jinit.exe#Version=1,3,1,22"
WIDTH="1024"
HEIGHT="768"
HSPACE="0"
VSPACE="0">
<PARAM NAME="TYPE" VALUE="application/x-jinit-applet;version=1.3.1.22">
<PARAM NAME="CODEBASE" VALUE="/forms/java">
<PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
<PARAM NAME="ARCHIVE" VALUE="frmall_jinit.jar,images.jar,in2kartica.jar,paketi.jar,prenospolic.jar,imgbean.jar,moj9999.jar" >
<PARAM NAME="serverURL" VALUE="/forms/lservlet?ifcfs=/forms/frmservlet?form=zav0030f.fmx&acceptLanguage=sl-SI">
<PARAM NAME="networkRetries" VALUE="30">
<PARAM NAME="serverArgs"
VALUE="escapeParams=true module=zav0030f.fmx userid= sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record=names tracegroup= log= term=/oracle/forme/qmsrf65w.res" >
<PARAM NAME="separateFrame" VALUE="true">
<PARAM NAME="splashScreen" VALUE="">
<PARAM NAME="background" VALUE="">
<PARAM NAME="lookAndFeel" VALUE="Oracle">
<PARAM NAME="colorScheme" VALUE="teal">
<PARAM NAME="serverApp" VALUE="default">
<PARAM NAME="logo" VALUE="">
<PARAM NAME="imageBase" VALUE="DocumentBase">
<PARAM NAME="formsMessageListener" VALUE="">
<PARAM NAME="recordFileName" VALUE="">
<PARAM NAME="EndUserMonitoringEnabled" VALUE="">
<PARAM NAME="EndUserMonitoringURL" VALUE="">
<PARAM NAME="heartbeat" VALUE="">
<PARAM NAME="clientDPI" VALUE="123">
<COMMENT>
<EMBED SRC="" PLUGINSPAGE="/forms/jinitiator/us/jinit_download.htm"
TYPE="application/x-jinit-applet;version=1.3.1.22"
java_codebase="/forms/java"
java_code="oracle.forms.engine.Main"
java_archive="frmall_jinit.jar,images.jar,in2kartica.jar,paketi.jar,prenospolic.jar,imgbean.jar,moj9999.jar,Paketi.jar,in2kartica.jarpaketi.jar,moj9999.jarin2kartica.jarpaketi.jar"
WIDTH="1024"
HEIGHT="768"
HSPACE="0"
VSPACE="0"
clientDPI="123"
serverURL="/forms/lservlet?ifcfs=/forms/frmservlet?form=zav0030f.fmx&acceptLanguage=sl-SI"
networkRetries="30"
serverArgs="escapeParams=true module=zav0030f.fmx userid= sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record=names tracegroup= log= term=/oracle/forme/qmsrf65w.res"
separateFrame="true"
splashScreen=""
background=""
lookAndFeel="Oracle"
colorScheme="teal"
serverApp="default"
logo=""
imageBase="DocumentBase"
formsMessageListener=""
recordFileName=""
EndUserMonitoringEnabled=""
EndUserMonitoringURL=""
heartBeat=""
>
<NOEMBED>
</COMMENT>
</NOEMBED></EMBED>
</OBJECT>
<!-- Forms applet definition (end) --> -
Run Script Logic/Package from a different Application
Hi Experts,
I have a scenario here that I need to run a package from a different application. For example, I'm in Finance application and I need to run a package which is in the LegalApp application, is it possible to call that package or perhaps run the logic it was calling without having switch back to LegalApp.
Thanks,
MarvinTo run a package that runs logic on another application, you could copy a package such as "Default Formulas" and put the name of the target application in the new package's name. Then go to Modify Package --> Advanced. Edit the package to set the application as below. The LegalApp (for example) is set on the third Task command. Default logic is called on fifth.
PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when running logic.",1,{"Yes, check for work status settings before running logic","No, do not check work status settings"},{"1","0"})
PROMPT(SELECTINPUT,,,,%CATEGORY_DIM%%ENTITY_DIM%%TIME_DIM%)
TASK(Execute formulas,USER,%USER%)
TASK(Execute formulas,APPSET,%APPSET%)
TASK(Execute formulas,APP,LegalApp)
TASK(Execute formulas,SELECTION,%SELECTIONFILE%)
TASK(Execute formulas,LOGICFILE,)
TASK(Execute formulas,CHECKLCK,%CHECKLCK%) -
Run Oracle Projects Report from Portal
Is there a way to run one of the canned Oracle Projects reports from Portal? Are these Oracle Projects reports URL addressable? If so please tell me where I can find some documentation on how to do this?
You can create an iView in portal following a template to include an "SRM Transaction".
-
Running Oracle seeded API from Custom Schema
Hi All
I have a custom schema and I need to call a Oracle standard API from this schema. When I try to initialize the session using fnd_global.apps_initialize I get the following error:
ORA-00942: table or view does not exist
ORA-06512: at "APPS.FND_CORE_LOG", line 25
ORA-06512: at "APPS.FND_GLOBAL", line 104
ORA-06512: at "APPS.FND_GLOBAL", line 1620
ORA-06512: at "APPS.FND_GLOBAL", line 2170
ORA-06512: at "APPS.FND_GLOBAL", line 2312
ORA-06512: at "APPS.FND_GLOBAL", line 2250
ORA-06512: at line 2
I understand that this is an issue with GRANTS. However I have granted the EXECUTE ANY PROCEDURE and SELECT on all the underlying tables of this oracle package.
Has anybody faced a similar situation. Any help would be greatly appreciated.
Thank You.
Jyoti
Edited by: user646763 on Oct 3, 2010 11:49 PM
Edited by: user646763 on Oct 3, 2010 11:51 PMHi,
I understand that this is an issue with GRANTS. However I have granted the EXECUTE ANY PROCEDURE and SELECT on all the underlying tables of this oracle package.The error "ORA-00942: table or view does not exist" indicates that the custom schema owner cannot select from the underlying tables. Please review the packages code again and make sure that your custom user has select privileges (or check if any public synonym needs to be created).
See eTRM website for details about those packages and the relevant tables -- http://etrm.oracle.com
Thanks,
Hussein -
Getting an error running an SSIS package from SQL server agent
This is the first time I'm running an SSIS package in SQL server agent.
I'm running a SQL server agent job and getting this error message:
Am I using the correct options? (options list below)
Message
Executed as user: SITEX\stxdatasqlexec. Microsoft (R) SQL Server Execute Package Utility Version 10.50.1600.1 for 32-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 1:42:00 PM Error: 2014-04-17
13:42:01.01 Code: 0xC0011007 Source: {B72BF421-785A-44EC-9570-D2A40B046CA7} Description: Unable to load the package as XML because of package does not have a valid XML format. A
specific XML parser error will be posted. End Error Error: 2014-04-17 13:42:01.02 Code: 0xC0011002 Source: {B72BF421-785A-44EC-9570-D2A40B046CA7} Description: Failed
to open package file "C:\Users\halexandrovich\Documents\Nbr_Rolls_base.dtsx" due to error 0x80070003 "The system cannot find the path specified.". This happens when loading a package and the file cannot be opened or loaded correctly
into the XML document. This can be the result of either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has an incorrect format. End Error Could not load package "C:\Users\halexandrovich\Documents\Nbr_Rolls_base.dtsx"
because of error 0xC0011002. Description: Failed to open package file "C:\Users\halexandrovich\Documents\Nbr_Rolls_base.dtsx" due to error 0x80070003 "The system cannot find the path specified.". This happens when loading a
package and the file cannot be opened or loaded correctly into the XML document. This can be the result of either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has an incorrect format. Source:
{B72BF421-785A-44EC-9570-D2A40B046CA7} Started: 1:42:00 PM Finished: 1:42:01 PM Elapsed: 0.047 seconds. The package could not be found. The step failed.
Here are the options I'm using:
package source - file system
data source destination = my SQL server db
execution option - use 32 bit runtime
command line entry:
- /FILE "C:\Users\halexandrovich\Documents\Nbr_Rolls_base.dtsx" /CONNECTION DestinationConnectionOLEDB;"\"Data Source=esxdspr-sql01.sitex.com;Initial Catalog=SuesTbls;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=false;\""
/CONNECTION SourceConnectionFlatFile;"\\sitex.com\dfs\Production\SFTPData\LPSEFTProcess\FromAADFS\Rpt_Nbr_Rollsperbatch_20140331_20_0.txt"
/X86 /CHECKPOINTING OFF /REPORTING E
I checked the filename so it must be the XML format it's complaining about.Thank you, pituach.
I tried running the package using just my c drive without partition, C:\Nbr_Rolls.dtsx, but still getting the same
error. I do not see any option on this site to post my package. I know it's not the path that's the issue. Our support desk already fixed that because I was getting a different message before.
Message
Executed as user: SITEX\stxdatasqlexec. Microsoft (R) SQL Server Execute Package Utility Version 10.50.1600.1 for 32-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 11:23:00 AM Error: 2014-04-18
11:23:00.44 Code: 0xC0011007 Source: {2BEE62EB-DD08-4867-9F5C-660167964650} Description: Unable to load the package as XML because of package does not have a valid XML format. A
specific XML parser error will be posted. End Error Error: 2014-04-18 11:23:00.45 Code: 0xC0011002 Source: {2BEE62EB-DD08-4867-9F5C-660167964650} Description: Failed
to open package file "C:\Nbr_Rolls.dtsx" due to error 0x800C0006 "The system cannot locate the object specified.". This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of
either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has an incorrect format. End Error Could not load package "C:\Nbr_Rolls.dtsx" because of error 0xC0011002. Description: Failed
to open package file "C:\Nbr_Rolls.dtsx" due to error 0x800C0006 "The system cannot locate the object specified.". This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of
either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has an incorrect format. Source: {2BEE62EB-DD08-4867-9F5C-660167964650} Started: 11:23:00 AM Finished: 11:23:00 AM
Elapsed: 0.125 seconds. The package could not be found. The step failed. -
Problem with running a DTS package from CF Code
i am using a CFQUERY Tag with EXEC dbo.storedprocname to
execute a stored procedure on our sql server which runs a DTS
package. the cf template allows them to upload a text file to the
server for import to a sql table via this DTS package. the problem
is that if the DTS package fails - it does nto notify the user
runnign the CF template. is there any way to notify the user when
the DTS package fails?well the size of the data file being import varies widely.
the import is to be run daily but some days it might contain 10
records and some days it might contain 10,000. the dts package
itself generally takes a few seconds to process and the CF template
takes around 5-10 seconds to complete.
so if i were to add a dts task to the end of my work flow to
update a table with a status message, that might work, but how
would i capture the status of the dts import task?
as for the asynchronous gateway, i don't think that would
work for me, the user would want more immediate feedback, they
would not wait for an email confirmation (the target users have
trouble figuring out how to use email as it is - they are not the
most computer savvy). so likely if i could get the dts package to
write a status message to a table, then i would just add a cfquery
to my cf template after the one that runs the dts package, and
check for the status message and output it to the screen.
but the key is how do i add a dts task to grab the status of
the dts import task and drop it in a table. -
Error while running the SSIS package from SQL DB to excel file - export option
hi all,
I have 4.6 million records in my sql db and i want to copy this into a excel file. for this i went to the db and rt click and export to command and started the ssis package running. but after
few minutes, it throws me an error that "error in transferring data into excel file."
Can anyone help me why this happened and the resolution ?
help is appreciated!
Copying to `excel1_Wbook` (Error)
Messages
Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x8007000E.
(SQL Server Import and Export Wizard)
Error 0xc0047022: Data Flow Task 1: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Destination - excel1_Wbook" (217) failed with error code 0xC0202009 while processing input "Destination Input" (228).
The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information
about the failure.
(SQL Server Import and Export Wizard)
Error 0xc02020c4: Data Flow Task 1: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.
(SQL Server Import and Export Wizard)
Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on Source - excel1_Wbook returned error code 0xC02020C4. The component returned a failure code when the pipeline engine called PrimeOutput(). The
meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.
(SQL Server Import and Export Wizard)You need to split your data and create (at least 5) worksheet targets.
For example if you have a ROW_NUMBER column you can use for instance a
Conditional Split for something like:
ROW_NUMBER % 5 == 0 for Case 1 (excel 1)
ROW_NUMBER % 5 == 1 for Case 2 (excel 2)
ROW_NUMBER % 5 == 2 for Case 3 (excel 3)
ROW_NUMBER % 5 == 3 for Case 4 (excel 4)
ROW_NUMBER % 5 == 4 for Case 5 (excel 5) -
Need information on running Oracle stored procedures from VB using ODP
Hi. I'm trying to run some complex queries on a list of Oracle databases from a VB application using ODP.
I've been able to execute simple queries formatted as strings on all 150 databases with no problems. Now, however the queries are more than 100 lines, and it's not practical to handle them as strings.
Can anyone point me to reference material or some samples that would show how to to this?
I've gone through this forum, but I haven't found anything starting from the very basics, which is what I need.
Many thanksIt might be easier just to break down the queries into smaller peices and execute them in sequence, then put the results together later.
-
Error while running OWB mapping package from sql prompt
hi all,
i have deployed my owb mapping in oracle. Now i want to execute this from the sql prompt. the foolowing error is giving when i try to run.
SQL> DECLARE
2 RetVal NUMBER;
3 P_ENV WB_RT_MAPAUDIT.WB_RT_NAME_VALUES;
4 BEGIN
5 RetVal := TEST1.TEST_MAP.MAIN ( P_ENV );
6 END;
7 /
RetVal := TEST1.TEST_MAP.MAIN ( P_ENV );
ERROR at line 5:
ORA-06550: line 5, column 19:
PLS-00302: component 'TEST_MAP' must be declared
ORA-06550: line 5, column 3:
PL/SQL: Statement ignored
pls help me for finding the solution.
-Regards
Raj KumarYou need to split your data and create (at least 5) worksheet targets.
For example if you have a ROW_NUMBER column you can use for instance a
Conditional Split for something like:
ROW_NUMBER % 5 == 0 for Case 1 (excel 1)
ROW_NUMBER % 5 == 1 for Case 2 (excel 2)
ROW_NUMBER % 5 == 2 for Case 3 (excel 3)
ROW_NUMBER % 5 == 3 for Case 4 (excel 4)
ROW_NUMBER % 5 == 4 for Case 5 (excel 5) -
Error running a Copy Package from BPF (BPC7.5)
Hi all,
I'm on BPC75 NW SP09, and Iu2019m trying to run the standard u201CCopyu201D package through BPF but it gives me following error message: IMMEDIATE RUN: Error occurred while trying to run the package on the server Data not found in table (UJD_PACKAGES2). It works fine when I run manually/directly in Data Manager.
Here my BPF settings: Interface: Data Manager; Task: RUN SPECIFIC PACKAGE; PACKAGE: Copy; FILE: /CPMB/COPY; TEAM: Company; GROUP: Data Management
I have searched other related threads to validate my configuration and I have also checked the table UJD_PACKAGES2 but it seems to be okay. The only thing that I noticed is that it does not have the TEAM populated in this table.
Any idea on how to resolve this issue? Your comments/suggestions are very much appreciated.
Thanks,
Heverton
Edited by: Heverton Oliveira on Jan 13, 2012 9:24 PMHi all,
I'm on BPC75 NW SP09, and Iu2019m trying to run the standard u201CCopyu201D package through BPF but it gives me following error message: IMMEDIATE RUN: Error occurred while trying to run the package on the server Data not found in table (UJD_PACKAGES2). It works fine when I run manually/directly in Data Manager.
Here my BPF settings: Interface: Data Manager; Task: RUN SPECIFIC PACKAGE; PACKAGE: Copy; FILE: /CPMB/COPY; TEAM: Company; GROUP: Data Management
I have searched other related threads to validate my configuration and I have also checked the table UJD_PACKAGES2 but it seems to be okay. The only thing that I noticed is that it does not have the TEAM populated in this table.
Any idea on how to resolve this issue? Your comments/suggestions are very much appreciated.
Thanks,
Heverton
Edited by: Heverton Oliveira on Jan 13, 2012 9:24 PM -
How To Run OWB Control Centre From OBIEE ?
Dear Experts,
I need a help and very curious about how to implemented this thread's title issue because I heard there is a way to do it.
Any helping is very appreciated. God Bless.Do you mean run OWB Control Centre jobs or the OWB Control Centre console?
-
Run Procedure/Package From APEX
I want to be able to run a procedure/package from within APEX. The procedure is referenced from multiple sources, so I don't want to place it in APEX, it needs to stay in the package. There is no returning data. I have APEX 3.0 and 10g. It goes without saying that I'm very new to APEX, since I'm sure this is not a difficult process to perform. Thanks.
Hi Jari,
Finally got it to work. I created a Button that would trigger the Process. In addition to creating the Process, I had to create a Branch.
So thanks to your direction, it is working. -
Calling SQL packages from java
How do I call ORACLE sql packages from java?
We are still using Oracle 7.3. Any sample code
would be appreciated.utility.processPLSQL( connRisk,
" Begin "
+ " hvar_sum.p_load_var_summary_data("
+ " '" + dfCall.format( priceDate ) + "', "
+ " '" + promptMonth + "',"
+ daysBack + ","
+ aliasType + ","
+ "'" + connRisk.owner + "'"
+ "); "
+ " end ; ",
"Load VaR Summary Data",
utility.noLogMsg ) ;
public boolean processPLSQL(
MyConnection conn,
String sql,
String dataType,
boolean createLogMessage ) {
double startTime = conn.log.getStartTime() ;
try {
CallableStatement cs = conn.theConnection.prepareCall(sql);
cs.execute() ;
cs.close() ;
conn.theConnection.commit();
if ( createLogMessage ) conn.log.logTiming( dataType, startTime ) ;
} catch ( SQLException e ) {
conn.log.logError( "Utility.processPLSQL; SQLException Error: " + e ) ;
System.out.println(new java.util.Date().toString() + "; User: " + conn.user
+ "; SQL: " + sql );
return false ;
return true ;
}
Maybe you are looking for
-
Photosmart C4580 "stuck" printing about 20 copies of each when I only asked for 1!
Hi, I am baffled and I need to fix this problem soon! I need my printer. All of a sudden, my printer started printing about 20 copies of each item when I only asked for one! This not only uses a lot of ink, but wastes a ton of time, for the little
-
Save PSE organizer data before a clean OS install?
I'm going to do a clean OS install next month when Windows 7 comes out. However, I do not want to lose my organizer data (keywords tags, stars, comments, etc). I understand that PSE stores this kind of data in a database file or 2. Can I save this fi
-
Ragarding check modification interval
Hi Experts, we have: checkmodificationinterval parameter on the sender file adapter side to check whether the file is totally written or not. I have a requirement like: at the receiver end some application is there which will pick the file after it
-
How do add a custom item to details pane on windows7?
Hello: I had written a shell extension on win7, i want to add some items in the "details pane". But I don't know how to do this . Thanks.
-
RAR: Configuration parameter "Report directory on the SAP ERP Server"
Hi, Under a scenario with a standalone SAP GRC AC 5.3 installation and connected with several R/3 system through JCO destinations. Which SAP ERP Server Directory do we have to specify? Many thanks in advance. Best regards, Imanol