Unable to execute map in SQL

Hi,
I have a map which conditionally inserts data tables. The map works fine if I execute using from OWB UI. It inserts data as expected.
The same map if executed from PL/SQL it doesn't execute.
Status from PL/SQL...
declare
v varchar2(1000);
begin
map_abc.main(v,123);
end;
Audit run id = 270625
Return result = OK
Execution status = COMPLETE
No. task errors = 0
No. task warnings = 0
No. errors = 0
No. selected = 0
No. inserted = 0
No. updated = 0
No. deleted = 0
No. discarded= 0
No. merged = 0
No. corrected= 0
select mr.execution_audit_id,
mr.map_name "Map Name"
, to_char(r.start_time,'DD-MON hh24:mi') "Exec Date"
, to_char(trunc(r.elapse_time/60))
|| 'm '
|| to_char(r.elapse_time - 60 * trunc(r.elapse_time/60))
|| 's' "Exec Time"
, nvl(r.number_records_merged,0)+nvl(r.number_records_inserted,0)+nvl(r.number_records_updated,0) "No Records"
from all_rt_audit_map_runs mr
, all_rt_audit_step_runs r
, all_rt_audit_step_run_targets t
where execution_audit_id = 270625
and mr.map_run_id = r.map_run_id
and mr.map_run_id = t.map_run_id
and r.step_id = t.step_id
and r.run_status = 'COMPLETE'
order by r.start_time DESC;
No Rows found
---- Status from OWB
Returns Audit id 270634.
Audit ID MapName Exec Date Time Rows
270634     "MAP_ABC"     16-JUL 13:53     0m 0s     1
270634     "MAP_ABC"     16-JUL 13:53     0m 0s     0
270634     "MAP_ABC"     16-JUL 13:53     0m 0s     0
270634     "MAP_ABC"     16-JUL 13:53     0m 0s     2
Any Ideas/thoughts
-DvvB
Edited by: user512679 on Jul 17, 2009 9:56 AM

It only happens when any previous execution of the map in SQL fails then all the subsequent map executions completes 'OK' without processing any rows and without logging any audit information.
Execute the map in New SQL session to have successful execution.
-DvvB

Similar Messages

  • Unable to execute the following sql statement in Jdev10g -- custom sql quer

    Hi All,
    I have requirement where I need to execute the below Query String through Jdev10g to Sql Server 2005.
    Query string -- select * from table where #InputString
    << Input String -- col3 like 'col%' and col1 like 'col2%' ...... >>
    Here the Input string will be generated by the client and the results will be transferred back to the client. Can any one help how to do this? Input string would like
    col1 like 'col%' and col2 like 'col2%' and so on.. and this is dynamic which can be changed in runtime like col3 like 'col3%' and col1 like 'col1%' and so on..
    I have tokenized the string and assinged the values and executed the custom string through Input parameters for all the fileds instead of only search string .. since table having so many null fields not receiving the exact row counts and records.. hence I have to pass only the Input string as I mentioned like Query String.. If some body got the same concern please let me know..
    Your help would be greatly appreciated..
    Thanks & Regards,
    Khasim

    Hi All,
    Even though the answer is a bit tedious by formulating the where clause with all fields and dynamic parameters, I achieved the goal. But we do have another option to use orcl:query-database in the transformation. But this one give tedious results when you are trying to achieve multiple rows from this. If some one have a better idea to utilize this query-database function, you are most welcome.
    Thanks & Regards,
    Khasim

  • Unable to execute Map from Database link

    Hi
    Been trying to research this issue but have had no luck in finding an answer. Here is the situation:
    We have an apex application that resides on database "A"
    Our OWB Design Repository (11.1.0.7) and Runtime Environment both exist on database "B"
    Maps exists and execute under normal procedures as the "ETL" user on database "B", However we would like to allow the "APEX" user to execute a map from database "A" across a database link to a user that can execute the map without any issue.
    When we try to execute the map across the database link from toad or sqlplus we get no error returned, the procedure runs and kicks off a map execution (as seen in ALL_RT_AUDIT_EXECUTIONS) or from the control center executions. However the Map execution immediately fails with no explanation as to why??
    what makes even less sense is that the user on database "B" that the database link connects to.. can execute the same procedure all day long if logged directly into database "B".. but the moment you try to call it across the database link.. it errors with no message as to why.
    We are calling the "WB_WORKSPACE_MANAGEMENT.SET_WORKSPACE".. so that is not the issue.. I am assuming this is either a bug.. or we are missing an additional call/privilege. The user for the database link is a registered user in the workspace, obviously this works since the database link user can run the procedure if logged in locally to database "B"
    Any thoughts???

    Figured out our problem..
    Found RETURN_CODE column in ALL_RT_AUDIT_EXECUTIONS table.. point to -2064 which is an ora-2064
    NOTE 1026597.6 - CALLING REMOTE PACKAGE RECEIVES ORA-2064 explains that a commit is issued in a coordinated session from an RPC procedure call with OUT parameters or function call. Action: simplify remote update statement.
    The problem here is that "Commit Control" was set to Automatic for the mappings we were calling. Oracle does not like when a transaction is initiated on database "A" and has a commit issued on database "B" from the map.
    Makes sense.. we switched the commit control to "Manual" and are able to process correctly by issuing a commit from the session on database "A"
    Hope this helps anyone that runs into this issue themselves..

  • SQL-02100: Unable to open message file (SQL-02113)

    Hi,
    We use Oracle 8.1.7 on HP-UX and got today quite a lot of error :
    SQL-02100: Unable to open message file (SQL-02113)
    What could be the problem?
    From what I found in the internet :
    SQL-02100 Out of memory (i.e., could not allocate)
    Cause: SQLLIB was unable to allocate enough memory to execute the program.
    Action: Allocate more memory to the user session, then rerun the program. If the error persists, call Oracle Customer Support for assistance.
    SQL-02113 Unable to open message file
    Cause: SQLLIB was unable to find or open the SQLLIB message file, SQL*.MSB.
    Action: Check that this file exists in the MESG directory and that it is readable.
    But I dont know much detail about that. Anyone can suggest what should be checked?
    I compared the .../rdbms/mesg folder with other 8.1.7 installation and it is the same (number of files, permissions).
    Please help.
    Thanks

    Check if your ORACLE_HOME environment variable is set correctly, if not set it and try again.
    Regards,
    PP

  • Activity monitor unable to execute queries againest the server?

    2012 SQL Serevr SSMS
    Activity monitor unable to execute queries againest the server?
    any ideas???
    ebro

    Hi,
    Please check if there are useful message in SQL error log. If there is lock the memory message was logged in the error log, you may enable
    lock pages in memory option for the SQL Server service account and see how it works.
    Also, apply the service pack and updates of SQL Server.
    To enable the lock pages in memory option, please see:
    Enable the Lock Pages in Memory Option (Windows)
    http://msdn.microsoft.com/en-us/library/ms190730.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Manually execute mapping - ORA-01017: invalid username/password

    Hi Gurus,
    I know this is an old thread. But I can't solve this problem anyway.
    Environment: OWB 10.2.0.1
    I've developed a simple mapping for test purpose. I've deployed it successfully and I can execute the package generated from the mapping in SQL*PLUS without any problem. But when executing this mapping in OWB, I always got this error:
    ORA-01017: invalid username/password; logon denied;
    I've registered the location for both the source and target location. I've also checked the "Share location password" preference.
    What else I'm supposed to do?
    Jeffrey

    Finally, I figured out the solution by myself.
    It's a bug of OW(even in 11g). The workaround for this is : Set the location schema user password to the same password as the location user.
    Edited by: jzhao on Apr 16, 2010 1:20 PM

  • Unable to execute a remote proc

    Hi I am unable to execute a remote procedure from forms6i, and that procedure runs coolly form sql plus console. I just dont get any exception or error. Thats really pathetic for me now.
    I need help.
    thanx Rajeev

    Hi ,
    Remote procedure means the procedure in database. My database is in solaris, d2k on win2k and other database on win2k. I am executing a remote procedure on solaris Oracle db to poll data from win2k db using forms, i.e. on button click. The form user and the solaris db users are same. I am using dblink here.
    Hope this helps in clarifying my query further.
    thanx

  • Text Message: Unable to execute file for security ...

    Whenever I'm viewing a text message, when I try to open up the "Options" menu, I see the above message, "Text Message: Unable to execute file for security reasons". This doesn't seem to impact the functionality of the menu at all, everything seems to work.
    Anyone ever come across this before?
    I've updated the phone (Nokia E66) to the latest software, and I've only got one application installed other than the default base install (Google calendar sync utility), removing that doesn't change the problem.
    Thanks in advance!

    I get the same error after SW update to latest version when I try to run some apps 

  • Unable to load the necessary SQL connectivity library

    I am installing an older (non-Microsoft) program (32bit) that manages mail online and it requires an access to SQL Server to create database to complete installation. I am installing it on Windows Server 2003 standard. This program
    I am installing recommends SQL Server 2000. We are now running SQL Server 2005 on a separate server. For connectivity, I installed SQL server 2005 tools (full install) on the same 2003 server as the program so that this program could manage to locate
    SQL server 2005 and connect to it in order to create necessary tables and complete the installation. I already manually created the database for this program on SQL Server 2005. I created ODBC SQL Server connection string (User DSN). However, during
    installation, I am getting the following error message:
    ERROR: Setup is unable to load the necessary SQL connectivity library. This indicates that the proper client-side SQL utilities are not installed on your system. Setup cannot continue.
    Could this error be SQL Server version specific and the program only likes SQL 2000 client tools and not 2005? Are there major differences between libraries versions? Should there be something else configured? What am I missing? Thanks in advance.

    ERROR: Setup is unable to load the necessary SQL connectivity library. This indicates that the proper client-side SQL utilities are not installed on your system. Setup cannot continue.
    Could this error be SQL Server version specific and the program only likes SQL 2000
    client tools and not 2005?
    Tools are tools, not a connectivity library and by the error message the right connectivity library is missing. Ask the software vendor which one is required or look it up on the other machine, where the application works.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Unable to execute SDT request JAVA_EE during the JAVA---Input_adm_user_pwd

    Dear Friends
    I am stuck in CONFIGURATION PHASE of EHP5 Upgrade.
    The ABAP phase has been completed but stuck in the Java processing  INPUT_ADM_USER_PWD
    "unable to execute the SDT request Java_EE operation configure on
    hostname dbserver1 instance 02 Modules execution failed.
    Execution of the unit PREPARE failed. Connection to the Upgrade Tool was closed."
    TROUBLE TICKET LOG
    Trouble Ticket Report
    Installation of enhancement package 1 for SAP NetWeaver 7.0
    SID................: $(/J2EE/StandardSystem/SAPSystemName)
    Hostname...........: $(/J2EE/SAPGlobalHost)
    Install directory..: $(/J2EE/StandardSystem/SAPSIDDirectory)
    Upgrade directory..: $(/JUMP/DIR/MAIN)
    Database...........: $(/J2EE/DBSystem/DBInfoName)
    Operating System...: $(/J2EE/StandardSystem/ServiceInstance/BCCentralServicesInstanceHost/OpSysType)
    JDK version........: $(/SystemProperties/JavaVersion) $(/SystemProperties/JavaVendor)
    SAPJup version.....: $(/MAIN_VERSION)
    Source release.....: $(/ER_CODE)
    Target release.....: $(/J2EE/ShadowSystem/Version)
    Start release SP...: $(/J2EE/StandardSystem/SPLevel)
    Target release SP..: $(/J2EE/ShadowSystem/SPLevel)
    Current usages.....: $(/J2EE/StandardSystem/Usages/StrCurrentUsages)
    ABAP stack present.: $(/J2EE/StandardSystem/BCSystemPresent)
    The execution of  ended in error.
    Could not perform operation on secure store. See previous messages.
    Could not perform operation on secure store. See previous messages.
    Class com.sap.security.core.server.secstorefs.SecStoreFS method createStoreWithEncryption has thrown the exception com.sap.security.core.server.secstorefs.FileIOException
    com.sap.security.core.server.secstorefs.FileIOException: I/O error on file "e:\usr\sap\PRD\SYS\global\security\data\JUpgrade.key".
    java.io.FileNotFoundException: e:\usr\sap\PRD\SYS\global\security\data\JUpgrade.key (The system cannot find the path specified)
    More information can be found in the log file .
    Use the information provided to trouble-shoot the problem. There might be an OSS note providing a solution to this problem. Search for OSS notes with the following search terms:
    com.sap.sdt.util.secstore.SecureStoreException
    Could not perform operation on secure store. See previous messages.
    INPUT_ADM_USER_PWD
    INIT
    PREPARE
    NetWeaver Enhancement Package Installation
    SAPJup
    Java Enhancement Package Installation
    Regards
    Anwer Waseem
    Edited by: Anwer Waseem on Nov 9, 2011 11:48 PM

    TROUBLE TICKET LOG
    Trouble Ticket Report
    Installation of enhancement package 1 for SAP NetWeaver 7.0
    The execution of ended in error.
    Could not perform operation on secure store. See previous messages.
    Could not perform operation on secure store. See previous messages.
    Class com.sap.security.core.server.secstorefs.SecStoreFS method createStoreWithEncryption has thrown the exception com.sap.security.core.server.secstorefs.FileIOException
    com.sap.security.core.server.secstorefs.FileIOException: I/O error on file "e:\usr\sap\PRD\SYS\global\security\data\JUpgrade.key".
    java.io.FileNotFoundException: e:\usr\sap\PRD\SYS\global\security\data\JUpgrade.key (The system cannot find the path specified)*
    its locating on drive e:\ which is wrong directory, the global directory are avaiable on drive S:\; this is the reasons that processing are ending with error.
    Please advise how to resolve ASAP.
    More information can be found in the log file .
    Use the information provided to trouble-shoot the problem. There might be an OSS note providing a solution to this problem. Search for OSS notes with the following search terms:
    com.sap.sdt.util.secstore.SecureStoreException
    Could not perform operation on secure store. See previous messages.
    CHECK_PREPARE_UNIT
    Regards
    Anwer Waseem

  • Unable to Execute a Report to send PAN XML messages out of SNC

    Hi All,
    We are unable to Execute a Report /SCA/DM_TIMESERIES_OUT to send Product Activity Notifications in the form of XML messages out of SNC. We have manitained some Planned Reciepts data in SNC and would like to transfer it out to ECC.
    Could anyone help in understanding if we have to maintain mandatory settings before executing this report.
    Thanks & Regards,
    Sadiq

    Hi Pravin,
    As per the documentation(http://help.sap.com/saphelp_snc70/helpdata/EN/48/6bdb4767a431cbe10000000a42189d/frameset.htm), we have tried both the manual and automatic features to configure the output from SNC in the form of XML messages.
    The manual method gave a message "Time series data for selection is empty" and the Automated method could trigger the XML messages on every incoming message from ECC but we are unable to see the Planned Receipts in that XML messages.
    Was just wondering if we can see the Planned Receipt info by changing the settings of this report or by using any other simillar report as the PR info is very important for our development.
    Thanks & Regards,
    Sadiq

  • Error while checking in a document: Unable to execute service

    Hi,
    I am using oracle UCM 11g. When i am checking in a document, i am getting error as "Unable to execute service CHECKIN_NEW_SUB and function validateCheckinData."
    In stacktrace found this is caused by:
    "Unable to find query or idc data source with 'DdeletedRows'. "
    How to resolve this?
    Thanks in advance

    Please refer to this thread ...may be u get ur answer out of it...........................
    Error while checking in and storing: C:\ ..... (Message no. 26253)
    regards,
    Tushar Dave

  • Error while executing one pl/sql

    i am facing one error while executing a pls/sql
    kindly suggest the possible cause and solution for the same
    declare
    ERROR at line 1:
    ORA-08102: index key not found, obj# 31850, dba 104863849 (2)
    ORA-06512: at "ERP.DELBATCHID", line 24
    ORA-06512: at line 13

    08102, 00000, "index key not found, obj# %s, dba %s (%s)"
    // *Cause:  Internal error: possible inconsistency in index
    // *Action:  <b>Send trace file to your customer support representative, along
    //           with information on reproducing the error</b>

  • Unable To Execute Files In The Temporary Directory. Setup Aborted. Error 5: Access Is Denied.

    Hi Everyone,
    Whenever I install some new software in my new laptop I get this error:-
    Unable To Execute Files In The Temporary Directory. Setup Aborted. Error 5: Access Is Denied.
    I have tried synchronizing the clocks but it doesn't remove the problem.
    These softwares work on another laptop that i have, which also runs windows 7.
    Can someone please tell me the solution as this is extremely urgent.
    Thanks In Advance.
    -Michael

    In short:
    ============
    My permissions were all fine, so if anyone has trouble resolving the issue after sorting permissions then make sure you try fully disabling your anti-virus / anti-spyware / firewall applications, because that was the cause for me.
    In detail:
    ============
    Problem:
    Failed to install this application
    - http://www.ssware.com/cryptoobfuscator/download.htm
    - on Windows 8.1 x64
    - Get error message "Unable To Execute Files In The Temporary Directory. Setup Aborted. Error 5: Access Is Denied."
    First Candidate Solution
    The issue turns out to NOT be security rights on the Temp folder
    ESET Smart Security HIPS Advanced Memory Scanner is the cause
    http://kb.eset.com/esetkb/index?page=content&id=SOLN2908&actp=search&viewlocale=en_US&searchid=1392804914417
    Instead, I went and turned off all the ESS protections one by one and it turned out to be HIPS that is causing this false positive.
    In fact, it is the Advanced Memory Scanner option under HIPS that is causing the error, while the application in question is legit (using Inno Setup and presumably trying to write to the user temp folder, not sure whether just logs or to execute from there)
    Furthermore, Smart Security logs have no entries under HIPS even though I ticked "Log all blocked operations" under the HIPS "Advanced setup" - it was quite a journey to find out the cause :)
    Thank you. I have the same OS and installed ESET Smart Security as well. And it is resolved now.
    I just want to add, that by "Temporarily disable protection" and "Temporarily disable firewall", it doesn't work. You have to disable HIPS, as KristjanL said. 

  • Unable to execute rules twice after applying Planning 9.3.1.1.11

    Hi All,
    Just wondering whether someone has come across this issue.
    We have just applied Planning 9.3.1.1.11 on a Windows platform.
    As a result, we are unable to execute the same rule twice from within the AAS console on any client machine and get the following error:
    "You must be connected to database to execute a rule."
    Once we get this error we cannot exeucte any other business tules and need to log back in to the AAS console to fix the problem.
    If we open up the AAS console on the AAS server, we can rule the rules as many times as we like. The error only comes up when executing a same rule from a client machine.
    In Planning web we can execute any business rules multiple times. However, if a user gets the above error in the AAS console, he/she is then unable to execute rules in Planning web unless he/she logs out and logs back in.
    We are using Planning 9.3.1.1.11, AAS 9.3.1.3.07 and HBR 9.3.1.1.11 on the server.
    However the AAS version on the client side is 9.3.1.1.9 and I think this may be what s causing the issue.
    The HBR patch for 9.3.1.1.11 is a server patch and cannot be installed on client machines. I am therefore unable to upgrade the AAS console on client machines to 9.3.1.1.11.
    Has anyone come across this?
    Thanks for your help.
    Seb

    Hi John,
    I worked it out last night... The readme for 9.3.1.1.11 is not very clear and I dont think it mentions patching each client.
    Below are the steps:
    1 - Close down the AAS console
    2 - Copy the newly deployed easclientplugin.jar, cmdlnlauncher.jar and identitymigration.jar from the AAS server and paste them under Hyperion\AnalyticAdministrationServices\console\lib on your client machine. Overwrite existing files if necessary.
    3 - Copy the new MigrateIdentities.bat from the AAS server and paste it under Hyperion\AnalyticAdministrationServices\console\bin on your client machine. Overwrite existing files if necessary.
    4 - Log on to the AAS console and go to Help - About and ensure that the HBR version is now 9.3.1.1.11
    5 - From the AAS console try and execute the same HBR twice.
    Thanks for your help.
    Seb

Maybe you are looking for

  • FCP- Motion- FCP?!

    HI ALL, 1) FCP for Scale-In the video will be unsharp ; Motion will be the best tool for Zoom-In (Scale-In)? 2) Say, Mastered/Edited video in FCP then send to Motion for further effects processing and now do the video be able to return to FCP after s

  • How do I change PDF file to word document?

    How do I change a pdf file to a word document?

  • Open CL for Adobe Premiere Pro CS 5.5

    How can i use AMD Radeon R9 M290X with 4 GB inside an iMac 5K with Premiere Pro CS 5.5 to use the GPU supporting of Mercury Playback Engine. Is there a patch or update for CS 5.5 available which support this. I want to stay with CS 5.5 now, i am happ

  • I havent been getting a reply to emails for almost a week

    why is customer service not responding to my emails

  • Download data from sharepoint using script

    Hi, Can someone please help me and let me know how can i download data automatically from sharepoint server. URL - MyDomain.sharepoint.com/_layouts/15/WopiFrame.aspx?sourcedoc=%1-2-3-4%7D&file=MPS.xlsx&action=default I want to create a script which w