Oracle AQ - Microsoft MQ

Hi all,
I want to dequeue Message from Microsoft MQ to put it in Oracle AQ mecanism. Is there any way to configure it ? I cannot find a "Oracle" solution.
I followed the note below (metalink) to make a PL/SQL Dequeue using ORDCOM and it works but I want to make a 'WAIT dequeue ' from Oracle AQ connectors. Is there any solutions to make this working ?
REgards,
Olivier
In this Document
Goal
Solution
Applies to:
Oracle COM Automation - Version: 8.1.7.0
Information in this document applies to any platform.
Goal
The Goal of this article is to show a way to interface the Microsoft Message Queuing
using Oracle COM Automation
Message Queuing
==============
Message Queuing is a message infrastructure and a development platform for creating distributed, loosely coupled messaging applications for the Microsoft® Windows® operating system. Message Queuing applications can use the Message Queuing infrastructure to communicate across heterogeneous networks and with computers that may be offline. Message Queuing provides guaranteed message delivery, efficient routing, security, transaction support, and priority-based messaging
see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/messgqueuecomps.asp
Oracle COM Automation
===================
The Oracle COM Automation Feature provides PL/SQL and Java packages that allow stored procedure developers to call COM Automation servers, such as Microsoft Office. These packages expose APIs that allow developers to instantiate COM objects, get and set their properties, and invoke their methods. Developers can call these APIs from PL/SQL and Java subprograms, stored procedures, stored functions, and triggers. With the COM Automation Feature, the Oracle database can be programmed to automatically populate Microsoft Excel spreadsheets or send emails with selected data based on pre-programmed events.
see
http://otn.oracle.com/tech/windows/com_auto/index.html
Solution
Requisites
-MS Windows
-MSQM (it is available as a Windows component)
-Oracle Client Sw
-Oracle COM Automation (Available in the Oracle Client cd or the OTN web site)
and only for this specific sample ,to create the
Step by Step instructions
a)create a MSMQ called "helloworldq"
Win 2000 ->Settings->Control Panel->Administrative Tools ->Computer Management->
Services and Application->Message Queuing->Private Queues
press the right click to invoke the shortcut menu and select
new->private queue
call the queue "HelloWorldq" and
change the type ID in {711A7B92-20BA-11D1-8379-006097C4CEFD}
(the label should appera in the form "private$\HelloWorldq")
b)TO SEND A MESSAGE TO MSMQ
run the following plsql code in sqlplus
set serveroutput on;
declare
SendQ Binary_integer:=-1;
SendQInfo Binary_integer:=-1;
SendQMsg Binary_integer:=-1;
Qresult Binary_integer:=-9999;
QValue Binary_integer:=-9999;
Vv_Text_File Varchar2(300);
Procedure P_Q_Err(Q_Res in Binary_integer,P_Msg in varchar2)
is
err_src VARCHAR2(255);
err_desc VARCHAR2(255);
err_help VARCHAR2(255);
err_helpID BINARY_INTEGER;
begin
dbms_output.put_line(to_char(sysdate,'dd/mon/yyyy hh24:mi')||' '||P_msg || ' Hres '||Q_Res);
ORDCOM.GetLastError(err_src,err_desc,err_help,err_helpID);
dbms_output.put_line(' Err src : ' || err_src);
dbms_output.put_line(' Err desc : ' || err_desc);
dbms_output.put_line(' Err help : ' || err_help);
/* Raise_Application_Error(Q_Res,P_Msg);*/
end;
procedure p_logstr(obj in Binary_integer,prop in varchar2,msg in varchar2)
is
Qres Binary_integer:=-9999;
QVal Varchar2(1000);
begin
QVal := '--Err--';
Qres := ORDCOM.GetProperty(obj,prop,0,Qval);
dbms_output.put_line(msg || ' '||'Qres ' || Qres || ' '||prop ||' ' ||Qval);
end;
procedure p_logint(obj in Binary_integer,prop in varchar2,msg in varchar2)
is
Qres Binary_integer:=-9999;
QVal Integer;
begin
Qres := ORDCOM.GetProperty(obj,prop,0,Qval);
dbms_output.put_line(msg || ' '||'Qres ' || Qresult || ' '||prop ||' ' ||Qval);
end;
procedure p_logvar(obj in Binary_integer,prop in varchar2,msg in varchar2)
is
Qres Binary_integer:=-9999;
QVal Integer;
begin
Qres := ORDCOM.GetProperty(obj,prop,0,Qval);
dbms_output.put_line(msg || ' '||'Qres ' || Qres || ' '||prop ||' ' ||Qval);
end;
begin
if SendQInfo = -1 then
Qresult := ORDCOM.CreateObject('MSMQ.MSMQQueueInfo',0,'',SendQInfo);
if Qresult != 0 or SendQInfo = -1 then
P_Q_Err(Qresult,'Create QInfo Object failed');
end if;
Qresult := ORDCOM.SetProperty(SendQInfo,'FormatName','DIRECT=OS:.\PRIVATE$\HelloWorldQ','BSTR');
if Qresult != 0 then
P_Q_Err(Qresult, 'Set format failed');
end if;
p_logstr(SendQInfo,'ServiceTypeGuid','Set format');
end if;
if SendQ = -1 then
ORDCOM.InitArg();
ORDCOM.SetArg(2,'I4'); /* MQ_SEND_ACCESS */
ORDCOM.SetArg(0,'I4'); /* MQ_DENY_NONE */
Qresult := ORDCOM.Invoke(SendQInfo,'Open',2,SendQ);
if Qresult != 0 or SendQ = -1 then
P_Q_Err(Qresult, 'Open Q failed');
end if;
end if;
dbms_output.put_line(TO_CHAR(SendQ));
if SendQMsg = -1 then
Qresult := ORDCOM.CreateObject('MSMQ.MSMQMessage',0,'',SendQMsg);
if Qresult != 0 or SendQMsg = -1 then
P_Q_Err(Qresult,'Create Q Object failed');
end if;
end if;
Vv_Text_File := 'A message';
Qresult := ORDCOM.SetProperty(SendQMsg,'Body',Vv_Text_File,'BSTR');
if Qresult != 0 then
P_Q_Err(Qresult, 'Set body failed');
end if;
Qresult := ORDCOM.SetProperty(SendQMsg,'Label',to_char(sysdate,'dd/mon/yyyy hh24:mi'),'BSTR');
if Qresult != 0 then
P_Q_Err(Qresult, 'Set label failed');
end if;
ORDCOM.InitArg();
ORDCOM.SetArg(SendQ,'pDISPATCH');
Qresult := ORDCOM.Invoke(SendQMsg,'Send',1,QValue);
if Qresult != 0 then
P_Q_Err(Qresult, 'Send failed');
end if;
p_logint(SendQ,'Access','');
p_logint(SendQ,'IsOpen','');
p_logint(SendQ,'ShareMode','');
end;
c)TO RECEIVE A MESSAGE FROM MSMQ
the one you sent at step b) run the following plsql code in sqlplus
set serveroutput on;
declare
RecvQ Binary_integer:=-1;
RecvQInfo Binary_integer:=-1;
RecvQMsg Binary_integer:=-1;
Qresult Binary_integer:=-9999;
Procedure P_Q_Err(Q_Res in Binary_integer,P_Msg in varchar2)
is
err_src VARCHAR2(255);
err_desc VARCHAR2(255);
err_help VARCHAR2(255);
err_helpID BINARY_INTEGER;
begin
dbms_output.put_line(to_char(sysdate,'dd/mon/yyyy hh24:mi')||' '||P_msg || ' Hres '||Q_Res);
ORDCOM.GetLastError(err_src,err_desc,err_help,err_helpID);
dbms_output.put_line(' Err src : ' || err_src);
dbms_output.put_line(' Err desc : ' || err_desc);
dbms_output.put_line(' Err help : ' || err_help);
/* Raise_Application_Error(Q_Res,P_Msg);*/
end;
procedure p_logstr(obj in Binary_integer,prop in varchar2,msg in varchar2)
is
Qres Binary_integer:=-9999;
QVal Varchar2(1000);
begin
QVal := '--Err--';
Qres := ORDCOM.GetProperty(obj,prop,0,Qval);
dbms_output.put_line(msg || ' '||'Qres ' || Qres || ' '||prop ||' ' ||to_char(Qval));
end;
procedure p_logint(obj in Binary_integer,prop in varchar2,msg in varchar2)
is
Qres Binary_integer:=-9999;
QVal Integer;
begin
Qres := ORDCOM.GetProperty(obj,prop,0,Qval);
dbms_output.put_line(msg || ' '||'Qres ' || Qresult || ' '||prop ||' ' ||Qval);
end;
procedure p_logvar(obj in Binary_integer,prop in varchar2,msg in varchar2)
is
Qres Binary_integer:=-9999;
QVal Integer;
begin
Qres := ORDCOM.GetProperty(obj,prop,0,Qval);
dbms_output.put_line(msg || ' '||'Qres ' || Qres || ' '||prop ||' ' ||Qval);
end;
begin
if RecvQInfo = -1 then
Qresult := ORDCOM.CreateObject('MSMQ.MSMQQueueInfo',0,'',RecvQInfo);
if Qresult != 0 or RecvQInfo = -1 then
P_Q_Err(Qresult,'Create QInfo Object failed');
end if;
Qresult := ORDCOM.SetProperty(RecvQInfo,'FormatName','DIRECT=OS:.\PRIVATE$\HelloWorldQ','BSTR');
if Qresult != 0 then
P_Q_Err(Qresult, 'Set format failed');
end if;
p_logstr(RecvQInfo,'ServiceTypeGuid','Set format');
end if;
if RecvQ = -1 then
ORDCOM.InitArg();
ORDCOM.SetArg(1,'I4'); /* MQ_RECEIVE_ACCESS */
ORDCOM.SetArg(0,'I4'); /* MQ_DENY_NONE */
Qresult := ORDCOM.Invoke(RecvQInfo,'Open',2,RecvQ);
if Qresult != 0 or RecvQ = -1 then
P_Q_Err(Qresult, 'Open Q failed');
end if;
end if;
Qresult := ORDCOM.Invoke(RecvQ,'Receive',0,RecvQMsg);
if Qresult != 0 then
P_Q_Err(Qresult, 'Recv failed');
end if;
p_logstr(RecvQMsg,'Body','Received');
end;
Show Related Information Related
Products
* Oracle Database Products > Oracle Database > Platform specific utilities > Oracle COM Automation
Keywords
STORED PROCEDURES; AUTOMATION; QUEUE MESSAGES

Hi,
Ok, just to give you a precision. The technology I found on metalink was to use ORDCOM from an old code valid for version 8i, I test it on my own system
Oracle 10.2.0.4 and Ms XP or 2003 server and it works. This is the only note I found to answer my question. That 's why I ask the question :
My question is : How to connect Oracle AQ with MS Queue in this century ;-) ?
Olivier

Similar Messages

  • Integrating Oracle Portal & Microsoft Active Directory

    Dear friends
    I Integrated Oracle Portal & Microsoft Active Directory without any error or problems but it just integrate the users under Users Container in active directory, I have some OU,Groups and policies and I categorized my users under them, so when I run "sh oidspadi.sh" and set "cn=...." with other values except "Users" it can not add all of the users under specific groups or policies.
    Please let me know how can I add all of my users in active directory to OID?
    Thanks
    Babak Saraie

    I'm not familiar with iPlanet, but if it can allow basic
    authentication and connect to AD, it should be possible to do what
    you want.
    Personally, I would rather that the browser did not
    automatically log me in. For example, if someone was having
    problems with their "view" on the intranet web site, if they
    visited your office, you would have to log off, let them log on
    (and wait while their profile was created) just to let them open a
    browser.
    Is it really asking too much for them to enter their
    username/password into a browser prompt once each day? Heck, most
    browsers will remember usernames and passwords so you don't have to
    type it. You just click OK.
    That's just my perspective.
    M!ke

  • SAP MDM, ORACLE MDM, Microsoft MDM and IBM MDM

    Could someone discuss the differences and similarities between these MDMs-
    SAP MDM, ORACLE MDM, Microsoft MDM and IBM MDM. Who is/will dominate the Market?
    Thank you.
    Priya.

    Hi priya k  ,
    These r the details regarding MDMs-SAP MDM, ORACLE MDM, Microsoft MDM and IBM MDM.
    SAP Master Data Management
    SAP Master Data Management (SAP MDM) enables master data on customers, partners and products to be consolidated and harmonized across the enterprise, making it available to all staff and business partners. A key component of SAP NetWeaver, SAP MDM ensures data integrity across all IT systems.
    The SAP NetWeaver Master Data Management (SAP NetWeaver MDM) component of SAP NetWeaver creates the preconditions for enterprise services and business process management. The functionality represents customers, products, employees, vendors, and user-defined data objects in unified form. With SAP NetWeaver MDM, customers can manage master data and supplemental content, such as texts, PDF documents, high-resolution images, or diagrams in a central business information warehouse.
    SAP Master Data Management (SAP MDM) is a component of SAP's NetWeaver product group and is used as a platform to consolidate, cleanse and synchronise a single version of the truth for master data within a heterogeneous application landscape. It has the ability to distribute internally and externally to SAP and non-SAP applications. SAP MDM is a key enabler of SAP Enterprise Service-Oriented Architecture. Standard system architecture would consist of a single central MDM server connected to client systems through SAP Exchange Infrastructure using XML documents, although connectivity without SAP XI can also be achieved. There are five standard implementation scenarios:
    Content Consolidation - centralised cleansing, de-duplication and consolidation, enabling key mapping and consolidated group reporting in SAP BI. No re-distribution of cleansed data.
    Master Data Harmonisation - as for Content Consolidation, plus re-distribution of cleansed, consolidated master data.
    Central Master Data Management - as for Master Data Harmonisation, but all master data is maintained in the central MDM system. No maintenance of master data occurs in the connected client systems.
    Rich Product Content Management - Catalogue management and publishing. Uses elements of Content Consolidation to centrally store rich content (images, PDF files, video, sound etc.) together with standard content in order to produce product catalogues (web or print). Has standard adapters to export content to DTP packages.
    Global Data Synchronization - provides consistent trade item information exchange with retailers through data hubs (e.g. 1SYNC) Some features (for example, workflow) require custom development out of the box to provide screens for end users to use.
    History
    SAP is currently on its second iteration of MDM software. Facing limited adoption of its initial release, SAP changed direction and in 2004 purchased a small vendor in the PIM space called A2i. This code has become the basis for the currently shipping SAP MDM 5.5, and as such, most analysts consider SAP MDM to be more of a PIM than a general MDM product at this time.
    Getting Started with Master Data Management
    /docs/DOC-8746#section2 [original link is broken]
    Master Data Management (SAP MDM)
    http://help.sap.com/saphelp_mdm300/helpdata/EN/2d/ca9b835855804d9446044fd06f4484/frameset.htm
    http://www.sap.com/netherlands/platform/netweaver/components/mdm/index.epx
    http://www11.sap.com/platform/netweaver/components/mdm/index.epx
    Master Data Integration
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/f062dd92-302d-2a10-fe81-ca1be331303c [original link is broken]
    Master Data Operations
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/a0057714-302e-2a10-02ad-b56c95ec9376 [original link is broken]
    Master Data Quality
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/c0a78be0-142e-2a10-f6b9-f67069b835da [original link is broken]
    Oracle MDM
    Oracle MDM is a core “Fusion” technology that will enable them to integrate their diverse portfolio of acquired solutions (PeopleSoft, JD Edwards, Siebel, etc.) and allow them to work together much more effectively.MDM is also a key component of Oracle’s middleware strategy to aggressively target heterogeneous environments – solutions running on different databases, operating systems, and using different data warehouse or analytical solutions. Oracle is a leading provider of ERP and CRM applications, but more broadly they are a provider of core platform solutions that help pull together and harmonise all a company’s IT assets.”
    Master Data Management solutions provide the ability to consolidate and federate master information from disparate systems and lines of business into one central data repository or “hub.” As part of its Master Data Management strategy, Oracle offers solutions that enable customers to synchronise critical information in a single, central location to achieve an accurate, 360-degree view of data, whether from packaged, legacy or custom applications. Oracle offers the following solutions:
    Oracle Product Information Management Data Hub – Enables companies to centralise, manage and synchronise all product information with heterogeneous systems and trading partners.
    Oracle Customer Hub – Centralises, de-duplicates and enriches customer data, continuously synchronising with other data sources across the enterprise, to provide a single, accurate, authoritative source of customer information throughout the enterprise.
    Oracle Financial Consolidation Hub – Allows companies to control the financial consolidation process by integrating and automating data synchronisation, currency translation, inter-company eliminations, acquisitions and disposals.
    “Clean, consolidated and accurate master data distributed throughout the enterprise can save companies millions of dollars annually. With Oracle, organisations are equipped to leverage the best data management practices available today to help dramatically increase operating efficiencies, improve customer loyalty and ensure corporate governance.
    MDM solutions provide the ability to consolidate and federate disparate systems and lines of business into one central data repository. Acxiom is the world's largest processor of consumer data and collects and manages more than a billion records a day for its customers, which include nine of the country's top ten credit-card issuers and most major retail banks, insurers and automakers. By integrating Acxiom's consumer data with Oracle's comprehensive MDM solutions, Oracle plans to provide customers with a pre-packaged, content-enriched customer information repository with unprecedented levels of data quality. This hybrid approach to customer data management will help clients conduct better, faster and easier MDM projects and perform more targeted marketing campaigns to cross-sell and up-sell into existing customer accounts.
    Oracle's MDM solutions serve as a customer data hub to unify customer data across multiple business units and functionally disparate systems. Oracle's comprehensive functionality manages customer data over the entire lifecycle: from capturing customer data, to cleansing addresses and spelling, identifying potential duplicates, consolidating duplicates, enhancing customer profiles with external data and distributing the authoritative customer profile to the operational systems.
    Microsoft MDM
    http://www.microsoft.com/sharepoint/mdm/default.mspx
    The Microsoft MDM Roadmap
    http://www.stratature.com/portals/0/MSMDMRoadmap.pdf
    http://msdn2.microsoft.com/en-us/library/bb410798.aspx#mdmhubarch_topic1
    The IBM View of MDM
    http://www.db2mag.com/story/showArticle.jhtml?articleID=167100925
    cheers!
    gyanaraj
    *******Pls reward points if u find this informative

  • Using a SQL for Oracle in Microsoft Excel Query

    I am having the most difficult time (in fact, I can't get it to work) trying to use an SQL I created in Toad for Oracle. It works fine in Toad for Oracle...gives me all the data I need. I am trying to use it in Excel for users that don't know SQL or Oracle so they can use the query to extract data they need for Charts, Graphs, etc.
    Here is the SQL code from Toad for Oracle:
    /* Formatted on 2006/09/22 11:42 (Formatter Plus v4.8.6) */
    SELECT a_compl_summary.incident_number, a_compl_summary.case_number,
           a_compl_summary.part_sequence, a_compl_summary.part_number,
           a_compl_summary.lot_number, a_compl_summary.alert_date,
           a_compl_summary.entry_date, a_compl_summary.NAME,
           a_compl_summary.MONTH, a_compl_summary.product_family,
           a_compl_summary.complaint, a_compl_summary.reportable,
           a_compl_summary.product_returned, a_compl_summary.case_desc,
           a_compl_summary.failure_invest_desc, a_compl_summary.lhr_search,
           a_compl_summary.root_cause, a_compl_summary.corrective_action,
           a_compl_summary.region,
           rp_qa_reported_device_codes.reported_device_code,
           rp_qa_reported_device_codes.reported_dev_clarification,
           rp_qa_reported_device_codes.reported_dev_code_desc,
           rp_qa_patient_codes.patient_code,
           rp_qa_patient_codes.patient_code_clarif,
           rp_qa_patient_codes.patient_code_severity,
           rp_qa_patient_codes.description
      FROM chsuser.a_compl_summary,
           chsuser.rp_qa_patient_codes,
           chsuser.rp_qa_reported_device_codes
    WHERE (    (a_compl_summary.product_division = 'CP')
            AND (    a_compl_summary.entry_date >= :date1
                 AND a_compl_summary.entry_date <= :date2
            AND (   a_compl_summary.product_family LIKE :pf1
                 OR a_compl_summary.product_family LIKE :pf2
                 OR a_compl_summary.product_family LIKE :pf3
                 OR a_compl_summary.product_family LIKE :pf4
                 OR a_compl_summary.product_family LIKE :pf5
            AND (a_compl_summary.region = :r1)
            AND (   a_compl_summary.NAME = :c1
                 OR a_compl_summary.NAME = :c2
                 OR a_compl_summary.NAME = :c3
                 OR a_compl_summary.NAME = :c4
                 OR a_compl_summary.NAME = :c5
            AND (a_compl_summary.complaint = :yorn)
            AND (   rp_qa_reported_device_codes.reported_dev_clarification LIKE
                                                                              :cl1
                 OR rp_qa_reported_device_codes.reported_dev_clarification LIKE
                                                                              :cl2
                 OR rp_qa_reported_device_codes.reported_dev_clarification LIKE
                                                                              :cl3
                 OR rp_qa_reported_device_codes.reported_dev_clarification LIKE
                                                                              :cl4
                 OR rp_qa_reported_device_codes.reported_dev_clarification LIKE
                                                                              :cl5
            AND (rp_qa_reported_device_codes.reported_dev_clarification NOT LIKE
                                                                              :dc1
            AND (a_compl_summary.incident_number =
                                               rp_qa_patient_codes.incident_number
            AND (a_compl_summary.case_number = rp_qa_patient_codes.case_number)
            AND (a_compl_summary.part_sequence = rp_qa_patient_codes.part_sequence
            AND (a_compl_summary.incident_number =
                                       rp_qa_reported_device_codes.incident_number
            AND (a_compl_summary.case_number =
                                           rp_qa_reported_device_codes.case_number
            AND (a_compl_summary.part_sequence =
                                         rp_qa_reported_device_codes.part_sequence
            AND (rp_qa_reported_device_codes.incident_number =
                                               rp_qa_patient_codes.incident_number
            AND (rp_qa_reported_device_codes.case_number =
                                                   rp_qa_patient_codes.case_number
            AND (rp_qa_reported_device_codes.part_sequence =
                                                 rp_qa_patient_codes.part_sequence
           )Can someone help me...maybe point out what I'm doing wrong.
    Note: I also tried creating this query in Microsoft Query (the simple way) and when I first create it...it works...But then if I go back in to edit the query, and refresh the query or try to Return data to Excel, it gives me a ORA-00936 error message.
    Why it works when I first create the query in Excel, I don't know. But I have to validate the queries I'm creating (SQL or not) and I can't validate it if every time I go into edit the query (which may have to happen; that's why I have to fix this before I can submit my validation).
    Anyway, any help would be greatly appreciated.

    Okay, I know I'm replying to my own threads here...but I want to add a little bit more information again.
    I was successful in figuring out that changing the :criteria to a ? worked.
    I tested this on 1 criteria at a time. Adding one more scenario ? at at time.
    It only worked up until about 3 scenarios of each criteria.
    Then when I refreshed the query in Microsoft Excel Query, I got an "out of memory" error, and then it ended up just erasing the SQL I had been using.
    Here's the SQL I had where it gave me this error. Am I possibly just making Excel work too hard? It just doesn't make sense because Toad for Oracle handled it in like 4 seconds. Which brings me back to an intial question I had. Can Excel use Toad for Oracle somehow?
    Here's the code:
    SELECT a_compl_summary.incident_number, a_compl_summary.case_number,
           a_compl_summary.part_sequence, a_compl_summary.part_number,
           a_compl_summary.lot_number, a_compl_summary.alert_date,
           a_compl_summary.entry_date, a_compl_summary.NAME,
           a_compl_summary.MONTH, a_compl_summary.product_family,
           a_compl_summary.complaint, a_compl_summary.reportable,
           a_compl_summary.product_returned, a_compl_summary.case_desc,
           a_compl_summary.failure_invest_desc, a_compl_summary.lhr_search,
           a_compl_summary.root_cause, a_compl_summary.corrective_action,
           a_compl_summary.region,
           rp_qa_reported_device_codes.reported_device_code,
           rp_qa_reported_device_codes.reported_dev_clarification,
           rp_qa_reported_device_codes.reported_dev_code_desc,
           rp_qa_patient_codes.patient_code,
           rp_qa_patient_codes.patient_code_clarif,
           rp_qa_patient_codes.patient_code_severity,
           rp_qa_patient_codes.description
      FROM chsuser.a_compl_summary,
           chsuser.rp_qa_patient_codes,
           chsuser.rp_qa_reported_device_codes
    WHERE (    (a_compl_summary.incident_number =
                                               rp_qa_patient_codes.incident_number
            AND (a_compl_summary.case_number = rp_qa_patient_codes.case_number)
            AND (a_compl_summary.part_sequence = rp_qa_patient_codes.part_sequence
            AND (a_compl_summary.incident_number =
                                       rp_qa_reported_device_codes.incident_number
            AND (a_compl_summary.case_number =
                                           rp_qa_reported_device_codes.case_number
            AND (a_compl_summary.part_sequence =
                                         rp_qa_reported_device_codes.part_sequence
            AND (rp_qa_reported_device_codes.incident_number =
                                               rp_qa_patient_codes.incident_number
            AND (rp_qa_reported_device_codes.case_number =
                                                   rp_qa_patient_codes.case_number
            AND (rp_qa_reported_device_codes.part_sequence =
                                                 rp_qa_patient_codes.part_sequence
    AND (a_compl_summary.product_division = 'CP')
            AND (    a_compl_summary.entry_date >= ?
                 AND a_compl_summary.entry_date <= ?
            AND (   a_compl_summary.product_family LIKE ?
                 OR a_compl_summary.product_family LIKE ?
                 OR a_compl_summary.product_family LIKE ?
                 OR a_compl_summary.product_family LIKE ?
                 OR a_compl_summary.product_family LIKE ?
            AND (a_compl_summary.region = ?)
            AND (   a_compl_summary.NAME = ?
                 OR a_compl_summary.NAME = ?
                 OR a_compl_summary.NAME = ?
                 OR a_compl_summary.NAME = ?
                 OR a_compl_summary.NAME = ?
            AND (a_compl_summary.complaint = ?)
            AND (   rp_qa_reported_device_codes.reported_dev_clarification LIKE
                 OR rp_qa_reported_device_codes.reported_dev_clarification LIKE
                 OR rp_qa_reported_device_codes.reported_dev_clarification LIKE
                 OR rp_qa_reported_device_codes.reported_dev_clarification LIKE
                 OR rp_qa_reported_device_codes.reported_dev_clarification LIKE
            AND (rp_qa_reported_device_codes.reported_dev_clarification NOT LIKE
               ))

  • After installing oracle getting Microsoft "Send Error Report" & crashes app

    After I installed Oracle 8i on windows XP, I am getting this error very frequently. As soon as I boot the computer I get the pop-up "Send Error Report" 4-5 times. Also I got this while using Client & Profits, MS Power Point and lots of other application. I get this pop-up and the application crashes. This is strange.
    Has anybody faced this also? Can anybody help me with this? Is it because Oracle overwrites some of Microsoft's JVM and other things..
    Plese Help!!!

    What edition you are running? PO 8i (8.1.7) had some issues with XP. Check for your edition's certification wrt Windows XP. 9i is certified with XP

  • Using Oracle Generic Connectivity to connect from Oracle to Microsoft Acces

    I am trying to connect from Oracle to Access using ODBC. I followed the steps described in oracle documentation but was not sucessful. Could you plase take a look at my code let me know where I went wrong. It is as follows :
    1)Created an ODBC connection for Microsoft Access called 'MSACCESS' (System DSN). And associated accdb1.mdb to this ODBC connection.
    2)Created a table called orders in accdb1.mdb.
    3)Added the foll lines in tnsnames.ora
    accdb1 =
    (DESCRIPTION=
    (ADDRESS=
                   (PROTOCOL=tcp)
                   (HOST=kdandapani.170systems.com)
                   (PORT=1521))
    (CONNECT_DATA=(SERVICE_NAME=accdb1)
    (HS=OK)
    4)added the following lines in listner.ora :
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=accdb1)
    (ORACLE_HOME=c:\orasrv)
    (PROGRAM=accdb1)
    5) Copied inithsodbc.ora to iniths_accdb1.ora in the ORACLE_HOME/hs/admin directory. Added the following line there :
    HS_FDS_CONNECT_INFO = MSACCESS
    6)Created the foll dblink :
    create database link access1
    using 'accdb1';
    7)tried to access table ORDERS in the MSACCESS database with the foll SQL -
    select * from orders@access1;
    Resulted in the foll error message
    ERROR at line 1:
    ORA-12154: TNS:could not resolve service name

    hi,
    I am new to Generic Connectivity i have just followed all the steps you wrote once in this forum but i m getting the following error :
    SQL> SELECT * FROM LOGIN@MSACCESS;
    SELECT * FROM LOGIN@MSACCESS
    ERROR at line 1:
    ORA-28509: unable to establish a connection to non-Oracle system
    ORA-02063: preceding line from MSACCESS
    Following are the steps you suggested in this forum :
    1)Created an ODBC connection for Microsoft Access called 'MSACCESS'. And associated accdb1.mdb to this ODBC connection.
    2)Created a table called ORDERS in accdb1.mdb.
    3)Added the foll lines in tnsnames.ora
    MSACCESS.170SYSTEMS.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = kdandapani.170systems.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = MSACCESS)
    (HS = OK)
    4)This is how the listner.ora looks after I added SID_NAME=MSACCESS :
    # LISTENER.ORA Network Configuration File: c:\orasrv\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = kdandapani)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ORALOCAL)
    (ORACLE_HOME = c:\orasrv)
    (SID_NAME = ORALOCAL)
    (SID_DESC =
    (PROGRAM = extproc)
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = c:\orasrv)
    (SID_DESC =
    (PROGRAM = hsodbc)
    (SID_NAME = MSACCESS)
    (ORACLE_HOME = c:\orasrv)
    5) Copied inithsodbc.ora to iniths_MSACCESS.ora in the ORACLE_HOME/hs/admin directory. Added the following line there :
    HS_FDS_CONNECT_INFO = MSACCESS
    6)Created the foll dblink :
    create database link MSACCESS
    using 'MSACCESS';
    7)tried to access table ORDERS in the MSACCESS database with the foll SQL -
    select * from orders@MSACCESS;
    I have used my login table instead of orders. But i got an error that i have stated earlier.
    Can you please help me ? if possible than please forward your reply to : [email protected]
    -thank you man,
    -imran

  • Oracle-forms+Microsoft SQL Server7

    I am working with Oracle Forms/Report6i to work against Microsoft SQL Server 7.
    How to set a SQLSERVER role to a give user dynamically from oracle form or report.
    Also please mail me if anyone is using oracle forms/report extensively against SQL Server.
    Any help is most welcome at [email protected]

    This forum is meant for discussions about OTN content/site and services.
    Questions about Oracle products and technologies will NOT be answered in this forum. Please post your product or technology related questions in the appropriate product or technology forums, which are monitored by Oracle product managers.
    Product forums:
    http://forums.oracle.com/forums/index.jsp?cat=9
    Technology forums:
    http://forums.oracle.com/forums/index.jsp?cat=10
    As a general guideline, please first search the forum to see if your question is already answered. You will find answers for the most frequently asked questions by simply searching the forum. This will help you to find the answer right away and will save time for all of us.

  • Oracle On Microsoft Cluster

    Hi all,
    I am in a testing enviornment.I had Microsoft 2 node cluster set up where the failover is happing.
    I installed database software on 2 nodes and from one node i configured database where my datafiles are in storage.
    I copied tnsnames,listener.ora from primary node to the second node.
    On primary node my database is running fine,but when the failover happens and wheni log to my database its showing TNS error.
    Please help..
    Regards
    Bobs

    Hi Bobs;
    What is DB version? What is OS version?
    Please see below which could be helpful for your issue:How to Set Up a Two Node Cluster for Content Server on Microsoft Windows [ID 758916.1]
    Microsoft Cluster Server and Oracle Fail Safe Quick Start Guide [ID 187410.1]
    RAC on Windows 2008: Oracle Grid Infrastructure / Clusterware Currently Incompatible with Microsoft Failover Cluster (MSFC) [ID 1157711.1]
    Database Administration in an Oracle Fail Safe/Microsoft Cluster Server Environment [ID 221202.1]
    Regard
    Helios

  • Data Access Library for Oracle like Microsoft Ent Library

    Hi there
    Is there a plan to create a data access library over the odp.net providers
    like the Microsoft Enterprise Library.
    For people who have been using Microsoft Enterprise Library for sometime.
    The coding examples pasted here on the Oracle website looks newbie and lengthy.
    Accessing the provider via a library would
    - reduces the amount of code that developers must write
    - reduces the need to write boilerplate code to perform standard tasks
    - reduces difficulties in changing the database type
    As the Microsoft Enterprise Library Team is not keen in implementing odp.net into
    the data access code.
    Is there anything you guys can do.
    It would lot better to have the same library to access Sql Server and Oracle database that way
    Thanks
    Martin A

    You will have to roll your own for ODP.NET
    Looking through the source for the Microsoft Enterprlise Library, you use the System.Data.OracleClient as an example.
    It can be found here: [EntLibSrc Location]\App Blocks\Src\Data\Oracle\
    You can also look at the Enterprise Library Contrib (http://www.codeplex.com/entlibcontrib) which provides community contributions to MEL - there is an open issue for ODP.NET, found here:
    http://www.codeplex.com/entlibcontrib/WorkItem/View.aspx?WorkItemId=3167

  • Oracle for Microsoft XP Professional

    Will Oracle 8i Personal Edition Version 8.1.5 for
    Microsoft Windows NT/2000 run on Microsoft XP Professional?
    Thanks

    Did you get an answer to this?

  • Interfacing Oracle with Microsoft SQL?

    Hi,
    My workplace uses Microsoft SQL server and I'm trying to encourage our IT department to install 10g express so we can make use of Application Express.
    One problem is that the Apex application would need to access data stored in the Microsoft SQL server (there is no chance of converting it to an Oracle database anytime soon).
    Are there any popular solutions for interfacing the two databases?
    We would be looking at perhaps 100-500 queries on the Microsoft database per day, nothing very demanding.
    Regards,
    David

    hinpong:
    Thank you for the suggestion, I am open to other ideas. I am not sure what other tools are out there that will meet my needs.
    Our IT department has written applications with Visual Studio and Ajax but is unable to maintain or fully debug them. They are not thrilled with the prospect of me writing a program that interfaces direclty with their database but a separate database and the web-based development environment of Apex is a possibility.
    We have been planning on not linking the two databases at all but if our IT department were able to handle something such as setting up a script to replicate the data on a daily basis, perhaps we could get the link regardless.
    We need to retrieve a part number, given a part name, from the MSSQL database, nothing more. This would only need to be retrieved when new records are being created.
    What other tools would you recommend given this scenario?
    The database will have about 30 fields, less than 100 queries per day, and up to 5 new records per day. It is not very demanding at all, in my opinion, and I wouldn't have a problem even writing something with php/mysql if that were an option but it is not.
    Regards,
    David

  • XML / Oracle BI / Microsoft Word / Easy solution?

    Hello everyone,
    I'm working for the first time with this, so be gentle on me ;)
    I have a simple XML:
    <TEST>
    <SECTION>A2
    <TEXT> ABCDEFG </TEXT>
    </SECTION>
    <SECTION>A1
    <TEXT> JKLMNOP </TEXT>
    </SECTION>
    </TEST>
    How can i do the condition :
    if SECTION = A1 , show TEXT(in the text element)...
    <?if@column:SECTION!= 'A1'?><?TEXT?><?end if?>
    But this is only showing the text = ABCDEFG .
    Help? :D

    I'd like to add an Oracle BI plug in for Microsoft Word 2007 No worries, just run "OracleBIOffice.exe -AddOracleBIpluginWord"...

  • Oracle to microsoft excel

    i would like to query a view and convert the result into microsoft excel(.xls) and store it in file system. Actually is it possible. If yes how? Immediate reply would be highy appreciated.
    Thanks in advance,
    shravan
    null

    Hi Try This.
    Select all the columns from a the table like...
    Select empno &#0124; &#0124; ',' &#0124; &#0124; ename &#0124; &#0124; ',' &#0124; &#0124; sal from emp;
    Spool this into mydata.csv ( Note the Ext)
    Then Open the file in excel.
    When u give SQLPLUS in the cmd like use sqlplus -s.
    U Can also try UTL_FILE
    Regards,
    Ganesh R

  • OracleAS SSO - Microsoft Active Directory External Authentication Plug-in

    hi ,
    I recently inherited support of a Oracle SSO/OID environment where we use AD and a external Authentication Plug-
    in to talk to it as user credentials are managed in AD,
    We have a lot of domain controllers for AD in our env , so my questions is
    1) How do I find out which AD server is the plugin currently referring to ,
    I need to know this info ASAP as lot of AD servers are getting decomissioned and I want to make sure the SSO env
    is not talking to a AD server that would get decomissioned soon

    hi,
    Look in the integration part in oidadmin. ActiveChgImp
    $ORACLE_HOME/bin/oidadmin
    or look for ad2oid.properties
    or look at this URL http://www.oracle.com/technology/obe/obe_as_10g/im/ads_import/import.htm
    is what I used to configure ours
    Regards

  • Oracle in Microsoft SSRS

    I am trying to create few report in Mircosoft SQL Server Reporting Services where DB is Oracle.
    I am writing all queries in Oracle and it is beign executed in Oracle.
    I am trying to use below Stored Procedure which i have written for a report. But when i am executing it in Oracle itself it is giving me error. It is getting complie very well...
    Please help me out to find out the error.
    The error message is
    "encountred symbol TEST_RPT_PROC when expecting one of the following := .( @ %"
    Stored Procedure is
    CREATE OR REPLACE PROCEDURE TEST_RPT_PROC IS
    cursor qresult is SELECT sql_id_cnt,username FROM em_monitor.sql_ovr30_sec_curr_ite order by sql_id_cnt;
    aresult qresult%ROWTYPE;
    BEGIN
    OPEN qresult;
    LOOP
    FETCH qresult INTO aresult;
    EXIT WHEN QRESULT%NOTFOUND;
    DBMS_OUTPUT.put_line(aresult.sql_id_cnt);
    END LOOP;
    CLOSE QRESULT;
    END;

    The error is caused by calling the procedure incorrectly.
    The procedure is called incorrectly as you seem to want to treat a PL/SQL stored procedure like a T-SQL stored procedure. This is not possible. You cannot execute a PL/SQL as if it is a query. It cannot return a result set like a select statement (as one can using T-SQL stored procs).
    PL is a full blown procedural language. It is similar to Pascal, C and other languages. It is nothing at all like T-SQL.
    The approach you are using to "write" a report using a PL/SQL proc is totally wrong. One does not use Oracle and PL/SQL in that fashion. And it will take more than one posting to explain the differences, why PL/SQL is by far superior than T-SQL, what cursors are in Oracle, how clients can use a reference handle to interact directly with a SQL cursor, and so on.
    I suggest that you start with the basics Oracle concepts and progress from there (see http://tahiti.oracle.com), or consider going on Oracle courses or getting a colleague that is skilled in Oracle to tutor you.

Maybe you are looking for

  • .PDF file transfer(SAP XI ) along with file name to SAP R3

    I would like to transfer a .PDF file along with its file name to target system.I need to have target structure like,   <Target>     <field1>     <Field2> /Target> Field1should be mapped to file name( i can do this by using dynamic configuration and a

  • Web Uploading - seeking a faster way

    I have been using Lightroom's flash web gallery facility to help with a friends website gallery. I like it, but I am frustrated by how slow it is to update to the web server. Even for one small change, it seems to want to reload the whole lightroom d

  • Panasonic DP-3030 not working (Snow Leopard 10.6.4)

    Hi I'm trying to use the Panasonic DP-3030 with snow leopard, with no luck. Used the panasonic stock drivers (for leopard) and also the generic apple drivers. The printer remains silent, no output, nothing on the queue list. Is there something that c

  • Legacy Timesheet System and Oracle Projects

    Dear All, Is it possible to interface legacy timesheet system with Oracle Projects. The intention is to enter timesheets/hours thru the legacy system and calculation of revenue and invoice in Oracle Projects. 1)Is this achievable, without issues? 2)H

  • CPU Idling during encode in Adobe Media Encoder - why?

    Wonder if anyone can shed some light on this for me. Basically, just encoding a very short video in Adobe Media Encoder (AME) and it's not taking too long but I happened to notice that my CPU activity was a bit idle despite it performing this task. S