Error when running SQL over DB2/400 database

Folks,
I'm trying to execute an SQL statement which works well on DB2/400 but doesn't like it in Java embedded SQL.
The statement looks like this...
select rrn(a) from BLMINTF1 a where RDTUSC = 050106 or RDTADC = 050106 or RDTBPC = 050106 or RDTCDC = 050106 or RDTE1C = 050106
and the error I get is as follows...
java.sql.SQLException: An undefined column name was detected.
java/lang/Throwable.<init>(Ljava/lang/String;)V+4 (Throwable.java:94)
java/lang/Exception.<init>(Ljava/lang/String;)V+1 (Exception.java:42)
java/sql/SQLException.<init>(Ljava/lang/String;Ljava/lang/String;I)V+1 (SQLException.java:43)
com/ibm/as400/access/JDError.throwSQLException(Ljava/lang/String;)V+0 (JDError.java:394)
com/ibm/as400/access/JDServerRow.findField(Ljava/lang/String;)I+0 (JDServerRow.java:313)
com/ibm/as400/access/AS400JDBCResultSet.findColumn(Ljava/lang/String;)I+0 (AS400JDBCResultSet.java:552)
com/ibm/as400/access/AS400JDBCResultSet.getString(Ljava/lang/String;)Ljava/lang/String;+0 (AS400JDBCResultSet.java:31
gmi/pme/ReadIntRateXML.updatetable(Ljava/lang/String;I)V+0 (ReadIntRateXML.java:135)
gmi/pme/ReadIntRateXML.main(^Ljava/lang/String;)V+0 (ReadIntRateXML.java:45)
Any help will be greatly appreciated.
Thanks in advance.

(Oops, ignore the above, a missing /code tag ate most of my post)
So does this work:
select 42 from BLMINTF1 a where RDTUSC = 050106 or RDTADC = 050106 or RDTBPC = 050106 or RDTCDC = 050106 or RDTE1C = 050106
There is a chance that the driver for some odd reason doesn't understand a particular SQL function. That's less likely than a simple typo though. Usually JDBC drivers don't care about the SQL they execute, they just pass it to the server. Command line SQL tools may have extra commands, but rarely functions like that.
I'd still print out the SQL string just before execution. I've seen things like this often enough:
    String s =
        "select x from foo" +
        "where x = 1";Note the lack of space between "foo" and "where", resulting in "foowhere".

Similar Messages

  • Getting Error when running sql from concurrent program in R12

    Hi All,
    I created concurrent program and attached EXECUTABLE which executable method as SQL plus .
    Using this program I am running one SQL file in R12 when I am running I am getting below error .
    Same king of program I have define in 11i and running it is running can anyone please help me if I need to do any set ups or security thing to resave this problem.
    ERROR:
    ORA-01017: invalid username/password; logon denied
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] | /
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] | /
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    Concurrent Manager encountered an error while running SQL*Plus for your concurrent request 3162719.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Regrds,
    Sridhar.

    user12000862 wrote:
    Hi all,
    Thanks a lot giving replay below simple code I have put in my SQL file for testing Eventhough it is giving error .
    Table which i am using in Apps schema only.
    declare
    BEGIN
    insert into BRCD_HZ_DNB_XTBL_TEST values (666,'Y','547','Y','12254','TESTING','N','Y');
    commit;
    END;
    /Try this instead
    WHENEVER SQLERROR EXIT FAILURE ROLLBACK;
    WHENEVER OSERROR EXIT FAILURE ROLLBACK;
    insert into BRCD_HZ_DNB_XTBL_TEST values (666,'Y','547','Y','12254','TESTING','N','Y');
    commit;
    exit;HTH
    Srini

  • Winsock error when running SQL Server Stored Proc

    I have a SQL Server stored procedure that is trying to read emails from an IMAP server (I am using mail.dll from www.limilabs.com).
    The SP works fine on my local computer/db, and the code also runs fine when run from a console application on my remote server. When I try to run it from SQL Server however I get this error message:
    Msg 6522, Level 16, State 1, Procedure GetEmails, Line 0A .NET Framework error occurred during execution of user-defined routine or aggregate "GetEmails": Limilabs.Client.ServerException: The requested name is valid, but no data of the requested type was found ---> System.Net.Sockets.SocketException: The requested name is valid, but no data of the requested type was foundSystem.Net.Sockets.SocketException:    at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)   at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)   at System.Net.Sockets.Socket.Connect(String host, Int32 port)   at Limilabs.Client.ClientBase.Connect(String host, Int32 port, Boolean useSSL)Limilabs.Client.ServerException:    at Limilabs.Client.ClientBase.Connect(String host, Int32 port, Boolean useSSL)   at StoredProcedures.GetEmails()
    I suspect it is something to do with permissions (??) but it is beyond my knowledge of SQL Server. Anyone have some pointers? I am using the IP for the IMAP server, I have switched off the firewall.
    Thanks

    Reading emails in a stored procedure? Hm...
    Unless you are impersonating the actual user in your CLR procedure, the access will be under the service account for SQL Server. If this is Local Servic or similar and may not have the permission or configuration to access whatever System.Net.Dns.InternalGetHostByName
    is trying to access.
    Try running SQL Server under a domain account to see what happens.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • "ORA-00054 Resource Busy Error"  when running SQL*Loader in Parallel

    Hi all,
    Please help me on an issue. We are using Datastage which uses sql*loader to load data into an Oracle Table. SQL*Loader invokes 8 parallel sessions for insert on the table. When doing so, we are facing the following error intermittently:
    SQL*Loader-951: Error calling once/load initialization
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00054: resource busy and acquire with NOWAIT specifiedSince the control file is generated automatically by datastage, we cannot modify/change the options and test. Control File for the same is:
    OPTIONS(DIRECT=TRUE, PARALLEL=TRUE, SKIP_INDEX_MAINTENANCE=YES)
    LOAD DATA INFILE 'ora.2958.371909.fifo.1' "FIX 1358"
    APPEND INTO TABLE X
    x1 POSITION(1:8) DECIMAL(15,0)  NULLIF  (1:8)  = X'0000000000000000',
    x2 POSITION(9:16) DECIMAL(15,0)  NULLIF  (9:16)  = X'0000000000000000',
    x3 POSITION(17:20) INTEGER  NULLIF  (17:20)  = X'80000000',
    IDNTFR  POSITION(21:40)   NULLIF  (21:40)  = BLANKS,
    IDNTFR_DTLS  POSITION(41:240)   NULLIF  (41:240)  = BLANKS,
    FROM_DATE  POSITION(241:259) DATE "YYYY-MM-DD HH24:MI:SS"  NULLIF  (241:259)  = BLANKS,
    TO_DATE  POSITION(260:278) DATE "YYYY-MM-DD HH24:MI:SS"  NULLIF  (260:278)  = BLANKS,
    DATA_SOURCE_LKPCD  POSITION(279:283)   NULLIF  (279:283)  = BLANKS,
    EFFECTIVE_DATE  POSITION(284:302) DATE "YYYY-MM-DD HH24:MI:SS"  NULLIF  (284:302)  = BLANKS,
    REMARK  POSITION(303:1302)   NULLIF  (303:1302)  = BLANKS,
    OPRTNL_FLAG  POSITION(1303:1303)   NULLIF  (1303:1303)  = BLANKS,
    CREATED_BY  POSITION(1304:1311) DECIMAL(15,0)  NULLIF  (1304:1311)  = X'0000000000000000',
    CREATED_DATE  POSITION(1312:1330) DATE "YYYY-MM-DD HH24:MI:SS"  NULLIF  (1312:1330)  = BLANKS,
    MODIFIED_BY  POSITION(1331:1338) DECIMAL(15,0)  NULLIF  (1331:1338)  = X'0000000000000000',
    MODIFIED_DATE  POSITION(1339:1357) DATE "YYYY-MM-DD HH24:MI:SS"  NULLIF  (1339:1357)  = BLANKS
    )- it occurs intermittently. When this job runs, no one will be accessing the database or the tables.
    - When we do not run in parallel, then we are not facing the error but it is very slow (obviously).

    Just in case, I am also attaching the Datastage Logs:
       Item #: 466
       Event ID: 1467
       Timestamp: 2009-06-02 23:03:19
       Type: Info
       User Name: dsadm
       Message: main_program: APT configuration file: /clu01/datastage/Ascential/DataStage/Configurations/default.apt
         node "node1"
              fastname "machine_name"
              pools ""
              resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
              resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
         node "node2"
              fastname "machine_name"
              pools ""
              resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
              resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
         node "node3"
              fastname "machine_name"
              pools ""
              resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
              resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
         node "node4"
              fastname "machine_name"
              pools ""
              resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
              resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
          node "node5"
              fastname "machine_name"
              pools ""
              resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
              resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
         node "node6"
              fastname "machine_name"
              pools ""
              resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
              resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
        node "node7"
              fastname "machine_name"
              pools ""
              resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
              resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
       node "node8"
              fastname "machine_name"
              pools ""
              resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
              resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
       Item #: 467
       Event ID: 1468
       Timestamp: 2009-06-02 23:03:20
       Type: Warning
       User Name: dsadm
       Message: main_program: Warning: the value of the PWD environment variable (/clu01/datastage/Ascential/DataStage/DSEngine) does not appear to be a synonym for the current working directory (/clu01/datastage/Ascential/DataStage/Projects/Production).  The current working directory will be used, but if your ORCHESTRATE job does not start up correctly, you should set your PWD environment variable to a value that will work on all nodes of your system.
       Item #: 468
       Event ID: 1469
       Timestamp: 2009-06-02 23:03:32
       Type: Warning
       User Name: dsadm
       Message: Lkp_1: Input dataset 1 has a partitioning method other than entire specified; disabling memory sharing.
       Item #: 469
       Event ID: 1470
       Timestamp: 2009-06-02 23:04:22
       Type: Warning
       User Name: dsadm
       Message: Lkp_2: Input dataset 1 has a partitioning method other than entire specified; disabling memory sharing.
       Item #: 470
       Event ID: 1471
       Timestamp: 2009-06-02 23:04:30
       Type: Warning
       User Name: dsadm
       Message: Xfmer1: Input dataset 0 has a partitioning method other than entire specified; disabling memory sharing.
       Item #: 471
       Event ID: 1472
       Timestamp: 2009-06-02 23:04:30
       Type: Warning
       User Name: dsadm
       Message: Lkp_2: When checking operator: Operator of type "APT_LUTProcessOp": will partition despite the
    preserve-partitioning flag on the data set on input port 0.
       Item #: 472
       Event ID: 1473
       Timestamp: 2009-06-02 23:04:30
       Type: Warning
       User Name: dsadm
       Message: SKey_1: When checking operator: A sequential operator cannot preserve the partitioning
    of the parallel data set on input port 0.
       Item #: 473
       Event ID: 1474
       Timestamp: 2009-06-02 23:04:30
       Type: Warning
       User Name: dsadm
       Message: SKey_2: When checking operator: Operator of type "APT_GeneratorOperator": will partition despite the
    preserve-partitioning flag on the data set on input port 0.
       Item #: 474
       Event ID: 1475
       Timestamp: 2009-06-02 23:04:30
       Type: Warning
       User Name: dsadm
       Message: buffer(1): When checking operator: Operator of type "APT_BufferOperator": will partition despite the
    preserve-partitioning flag on the data set on input port 0.
       Item #: 475
       Event ID: 1476
       Timestamp: 2009-06-02 23:04:30
       Type: Info
       User Name: dsadm
       Message: Tgt_member: When checking operator: The -index rebuild option has been included; in order for this option to be
    applicable and to work properly, the environment variable APT_ORACLE_LOAD_OPTIONS should contain the options
    DIRECT and PARALLEL set to TRUE, and the option SKIP_INDEX_MAINTENANCE set to YES;
    this variable has been set by the user to `OPTIONS(DIRECT=TRUE, PARALLEL=TRUE, SKIP_INDEX_MAINTENANCE=YES)'.
       Item #: 476
       Event ID: 1477
       Timestamp: 2009-06-02 23:04:35
       Type: Info
       User Name: dsadm
       Message: Tgt_member_idtfr: When checking operator: The -index rebuild option has been included; in order for this option to be
    applicable and to work properly, the environment variable APT_ORACLE_LOAD_OPTIONS should contain the options
    DIRECT and PARALLEL set to TRUE, and the option SKIP_INDEX_MAINTENANCE set to YES;
    this variable has been set by the user to `OPTIONS(DIRECT=TRUE, PARALLEL=TRUE, SKIP_INDEX_MAINTENANCE=YES)'.
       Item #: 477
       Event ID: 1478
       Timestamp: 2009-06-02 23:04:41
       Type: Warning
       User Name: dsadm
       Message: Lkp_2,6: Ignoring duplicate entry at table record 1; no further warnings will be issued for this table
       Item #: 478
       Event ID: 1479
       Timestamp: 2009-06-02 23:04:41
       Type: Warning
       User Name: dsadm
       Message: Tgt_member_idtfr,0: SQL*Loader-951: Error calling once/load initialization
       Item #: 479
       Event ID: 1480
       Timestamp: 2009-06-02 23:04:41
       Type: Warning
       User Name: dsadm
       Message: Tgt_member_idtfr,0: ORA-00604: error occurred at recursive SQL level 1
       Item #: 480
       Event ID: 1481
       Timestamp: 2009-06-02 23:04:41
       Type: Warning
       User Name: dsadm
       Message: Tgt_member_idtfr,0: ORA-00054: resource busy and acquire with NOWAIT specified
       Item #: 481
       Event ID: 1482
       Timestamp: 2009-06-02 23:04:41
       Type: Warning
       User Name: dsadm
       Message: Tgt_member_idtfr,6: SQL*Loader-951: Error calling once/load initialization
       Item #: 482
       Event ID: 1483
       Timestamp: 2009-06-02 23:04:41
       Type: Warning
       User Name: dsadm
       Message: Tgt_member_idtfr,6: ORA-00604: error occurred at recursive SQL level 1
       Item #: 483
       Event ID: 1484
       Timestamp: 2009-06-02 23:04:41
       Type: Warning
       User Name: dsadm
       Message: Tgt_member_idtfr,6: ORA-00054: resource busy and acquire with NOWAIT specified
       Item #: 484
       Event ID: 1485
       Timestamp: 2009-06-02 23:04:41
       Type: Fatal
       User Name: dsadm
       Message: Tgt_member_idtfr,6: The call to sqlldr failed; the return code = 256;
    please see the loader logfile: /clu01/datastage/Ascential/DataStage/Scratch/ora.23335.478434.6.log for details.
       Item #: 485
       Event ID: 1486
       Timestamp: 2009-06-02 23:04:41
       Type: Fatal
       User Name: dsadm
       Message: Tgt_member_idtfr,0: The call to sqlldr failed; the return code = 256;
    please see the loader logfile: /clu01/datastage/Ascential/DataStage/Scratch/ora.23335.478434.0.log for details.

  • MS VC++ Runtime Library error when running SQL Server Profiler

    Environment:
    - Windows Server 2008 R2 Standard
    - SQL Server 2008 R2 Enterprise with SP2 and CU11
    When starting up the SQL Server Profiler tool, I faced the following issue
    Event log:
    Faulting application name: Profiler.exe, version: 2009.100.1600.1, time stamp: 0x4bb679f5
    Faulting module name: MSVCR80.dll, version: 8.0.50727.6229, time stamp: 0x4ec352ab
    Exception code: 0x40000015
    Fault offset: 0x000046b4
    Faulting process id: 0xb60
    Faulting application start time: 0x01cfb084ee490685
    Faulting application path: C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\Profiler.exe
    Faulting module path: C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6229_none_d089f796442de10e\MSVCR80.dll
    Report Id: 311be94c-1c78-11e4-af71-463500000031
    Any advises?
    Thanks.

    Thanks Erland. Not sure what I am missing and need to apply. As said my environment was already applied SP2 and CU11. Please can you give me more information? A link to download or things like that would be much appreciated.
    SQL Server engine might be patched but profiler may not be. Check the file properties of PROFILER.EXE.
    The error which you are seeing an exception due to VC++
    Can you please run .net verification tool and make sure they are consistent?
    http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Connection error when running sql*plus from within a Makefile

    As part of our build process the commands to install/update our database schema are executed from a Makefile (along with all the other build/test commands). We've been running our build under several system configurations, but have hit a hitch with one specific one. So far this has worked with Windows XP (cygwin) against a Express Edition DB and Red Hat ES 5 against Oracle 11g.
    I am now trying to get the build running on a Ubuntu 8.04 workstation with the Oracle Express Edition installed. From the command line I can execute a simple command line such:
    echo "SELECT 5 as foo from dual"|sqlplus user/password
    Now if I put the same command in a Makefile, I receive the following error message:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27123: unable to attach to shared memory segment
    Linux Error: 22: Invalid argument
    Additional information: 1
    Additional information: 32769
    This error seems to pop up a lot when a client is not properly configured (atleast the googling I've done has said as much), but my client is clearly working as I can connect outside of the Makefile. Is there possible some info that gets lost when make executes the process? Any ideas of what I could do to fix this?

    see 115753.1 note on metalink , it clearly explains why you are encountering this .

  • SQL serever 2012 Setup has encountered an error when running a windows installer file

    I am trying to install SQL server 2012 Express on a windows 7 PC for 2 days now. I feel like banging my head against the wall.
    I keep getting the following errors here's the full log
    The following error has occurred:
    SQL Server Setup has encountered an error when running a Windows Installer file.
    Windows Installer error message: An error occurred during the installation of assembly 'Microsoft.VC80.ATL,version="8.0.50727.6229",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32"'. Please refer
    to Help and Support for more information. HRESULT: 0x8007054F. Windows Installer file: C:\Users\Receno\AppData\Local\Temp\SQL Server 2012\Setup\1033_ENU_LP\x64\setup\sqlsupport_msi\SqlSupport.msi Windows Installer log file: C:\Program Files\Microsoft SQL Server\110\Setup
    Bootstrap\Log\20150109_213740\SqlSupport_Cpu64_1_ComponentUpdate_1.log
    Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and continue setup.
    For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.2100.60&EvtType=0xDC80C325

    hmmm..so which hotfix do I apply ?
    SQL Server 2012
    All (Global) x64
    2012_RTM_DAC_CU11_2908007_11_0_2424_x64
    SQL Server 2012
    All (Global) x64
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x64
    SQL Server 2012
    All (Global) x64
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x64
    SQL Server 2012
    All (Global) x64
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x64
    SQL Server 2012
    All (Global) x64
    2012_RTM_RSShrPnt_CU11_2908007_11_0_2424_x64
    SQL Server 2012
    All (Global) x86
    2012_RTM_DAC_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global) x86
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global) x86
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global) x86
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_DAC_CU11_2908007_11_0_2424_x64
    <input id="chk471373" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x64
    <input id="chk471368" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x64
    <input id="chk471370" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x64
    <input id="chk471371" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_RSShrPnt_CU11_2908007_11_0_2424_x64
    <input id="chk471374" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_DAC_CU11_2908007_11_0_2424_x86
    <input id="chk471372" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x86
    <input id="chk471369" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x86
    <input id="chk471367" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_DAC_CU11_2908007_11_0_2424_x64
    <input id="chk471373" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x64
    <input id="chk471368" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x64
    <input id="chk471370" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x64
    <input id="chk471371" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_RSShrPnt_CU11_2908007_11_0_2424_x64
    <input id="chk471374" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_DAC_CU11_2908007_11_0_2424_x86
    <input id="chk471372" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x86
    <input id="chk471369" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x86
    <input id="chk471367" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_DAC_CU11_2908007_11_0_2424_x64
    <input id="chk471373" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x64
    <input id="chk471368" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x64
    <input id="chk471370" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x64
    <input id="chk471371" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_RSShrPnt_CU11_2908007_11_0_2424_x64
    <input id="chk471374" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_DAC_CU11_2908007_11_0_2424_x86
    <input id="chk471372" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x86
    <input id="chk471369" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x86
    <input id="chk471367" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x86

  • Got RMAN error when running RMAN backup of archivelogs on physical standby database

    Got below error when running RMAN backup of datafiles and archivelogs on physical standby database.
    RMAN-06820: WARNING: failed to archive current log at primary database
    ORACLE error from target database:
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-00942: table or view does not exist
    Could anyone help me? Thanks,

    Hello;
    When you connect RMAN to the source database as TARGET you must specify a password even if RMAN uses operating system authentication.
    So the errors ORA-17627 and ORA-00942 appear to be cause and effect.
    What version of Oracle?  ( 11.2.0.4 according to the tag )
    Can you post your backup script?
    Best Regards
    mseberg
    Update
    According to :
    Database Error Messages 11g Release 2 (11.2) E17766-03
    RMAN-06820: WARNING: failed to archive current log at primary database
    Cause: An attempt to switch the archived log at the primary database failed.
    So I would check my Primary alert log for an issue.
    Message was edited by: mseberg

  • Error when running a report in BPC NW

    I am getting the following error when running a report for my application in BPC NW.
    EVDRE encountered an error retrieving data from the Web Server (retrying in (X) seconds).
    This error comes with this dialog option box to either continue or cancel retrying retrieving data. Retrying doesn't help either.
    Any report I run (on any of my appsets), I get this error. I used the EVDRE function and also tried running a report using the template as the basis. But I get the error either way.
    Does anyone know why this error is occurs or how to debug this issue. I saw some information about this in earlier threads but could  not make much out of it.
    Appreciate any assistance.

    Sanjay,
      This  is a   very  generic  error...Couple  of  places  to  look  for....
    1)Reprocess the application (Modify application + Reassign SQL Index + Process Application)
    2)optimizing the application sometimes helps (Full Optimize + Compress Database + Index defragmentation).
    3)Create a "evdataserver_debug.txt" in user's private publication folder on  server side to populate very detail level logging  and  check  the  log on client side EVDRE_LOG.txt for  further  peek  into  where  things  are getting  messed up.
    if  evdataserver_debug.txt does not  get  populated on BPC 5.x...it  is  an  issue  with  IIS authetication on Application server.
    4)You have to check the event viewer into .NET server and also the BPC logs which can be found into
    BPC\Logging  for  further  details  ..
    Hope  this  helps..
    Edited by: Vishal Mahawadhi on Jun 24, 2009 9:50 AM

  • ORA-06502 - Error when running "Ask The Expert 0.9"

    Hi ,
    I successfully installed "Ask the Expert" package with Apex 3.0 on Oracle 10g Database 10.2.0.1.0. No error ocurred during the import in my Apex environment.
    Besides that, i'm having problems when i tried to run the "Aks the Expert". It always shows the following message errors:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Error Unable to write activity log.
    I think it was a problem with APEX instalation, but i could run the Sample Application of Apex without any problem.
    I opened an SR in Metalink, but to my surprise, the analist of support don't know what's wrong with the demo "Ask de Expert".
    The debug function of the application show the following commands before the error ocurrs:
    0.01:
    0.01: S H O W: application="103" page="1" workspace="" request="" session="6648566035252817"
    0.01: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    0.01: alter session set nls_language="AMERICAN"
    0.01: alter session set nls_territory="AMERICA"
    0.01: NLS: CSV charset=WE8MSWIN1252
    0.01: ...NLS: Set Decimal separator="."
    0.01: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.02: ...Setting session time_zone to -03:00
    0.02: NLS: Language=en-us
    0.02: Application 103, Authentication: CUSTOM2, Page Template: 667896385843019243
    0.02: ...Determine if user "N3COUTINHO" workspace "951808960237899" can develop application "103" in workspace "951808960237899"
    0.02: ...ok to reuse builder session for user:nobody
    0.03: ...Application session: 6648566035252817, user=nobody
    0.03: ...Determine if user "N3COUTINHO" workspace "951808960237899" can develop application "103" in workspace "951808960237899"
    0.03: Session: Fetch session header information
    0.03: ...Metadata: Fetch page attributes for application 103, page 1
    0.03: Fetch session state from database
    0.03: Branch point: BEFORE_HEADER
    0.03: Fetch application meta data
    0.04: Computation point: BEFORE_HEADER
    0.04: ...Perform computation of item: P1_CLEAN_CRITERIA, type=FUNCTION_BODY
    0.04: ...Performing function body computation
    0.06: ...Session State: Save "P1_CLEAN_CRITERIA" - saving same value: ""
    0.06: Processing point: BEFORE_HEADER
    0.06: ...Process "Read and Write Activity Cookie": PLSQL (BEFORE_HEADER) declare l_cookie_id number; begin owa_util.mime_header('text/html', FALSE); -- ate_api.read_activity_cookie; l_cookie_id := ate_api.fetch_activity_cookie_val( 'COOKIE_ID' ); -- if l_cookie_id is null then l_cookie_id :=
    Content-type: text/html; charset=ISO-8859-1 Set-Cookie: activity_ask_expert=1|2400346189796; expires=Wed, 01-Jan-2020 08:00:00 GMT; path=/;
    0.06: Encountered unhandled exception in process type PLSQL
    0.06: Show ERROR page...
    0.06: Performing rollback...
    Please, could any one help me to solve this problem ? Metalink couldn't help me diagnosing what's wrong.
    Thanks,
    Sergio Coutinho

    Hi,
    I don´t know if it help the analisis, but i collect some informations about my environment:
    1) HTML DB version
    3.0.1
    2) Database version
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    3) Database server operating system (as well, if 32-bit or 64-bit)
    Solaris 5.9 - 64 bits
    4) Database Parameters:
    PARAMETER VALUE
    NLS_CALENDAR GREGORIAN
    NLS_CHARACTERSET WE8ISO8859P1
    NLS_COMP BINARY
    NLS_CURRENCY $
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_DUAL_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_LANGUAGE AMERICAN
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NUMERIC_CHARACTERS .,
    NLS_RDBMS_VERSION 10.2.0.1.0
    NLS_SORT BINARY
    NLS_TERRITORY AMERICA
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    Could it explain why ASK THE EXPERT is running on hosted apex site and it´s
    generating error when running in my environment?
    Thanks for the help !
    Sergio

  • Ora-3113 when running sql in sqlplus mts. dedicated works fine

    when i try to execute a simple query (return 1 row), from sqlplus (in the server database) by shared connection, i recive ora-3113. by dedicated conection it works fine. environment datas : server side (windows 2003 server; 10.2.0.1).
    part of my trace file :
    nsprecv: normal exit
    nsrdr: got NSPTDA packet
    nsrdr: NSPTDA flags: 0x40
    nsrdr: normal exit
    nsdo: entry
    nsdo: cid=0, opcode=85, bl=2001, what=0, uflgs=0x0, cflgs=0x1
    nsdo: nsctx: state=6, flg=0x620d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    nserror: entry
    nsdo: error exit
    nsdo: nsctxrnk=0
    nsdo: error exit
    nioqer: entry
    nioqer: incoming err = 12151
    nioqce: entry
    nioqce: exit
    nioqer: returning err = 3113
    nioqer: exit
    nioqrc: exit
    nioqbr: entry
    nioqbr: state = normal (0)
    nioqsm: entry
    nioqsm: Sending break packet (1)...
    nsdo: entry
    nsdo: cid=0, opcode=67, bl=1, what=17, uflgs=0x100, cflgs=0x3
    nsdo: rank=64, nsctxrnk=0
    nsdo: nsctx: state=3, flg=0x420d, mvd=0
    nsdo: nsctxrnk=0
    nsdo: error exit
    nioqsm: send-break: failed to send break...
    nioqper: error from send-marker
    nioqper: nr err code: 0
    nioqper: ns main err code: 12583
    nioqper: ns (2) err code: 0
    nioqper: nt main err code: 0
    nioqper: nt (2) err code: 0
    nioqper: nt OS err code: 0
    nioqsm: exit
    nioqer: entry
    nioqer: incoming err = 12152
    nioqce: entry
    nioqce: exit
    nioqer: returning err = 3113
    nioqer: exit
    nioqbr: returning 3113
    nioqbr: exit
    nioqds: entry
    nioqds: disconnecting...
    thanks

    Thread continued at -->
    ora-3113 when running sql in sqlplus mts. dedicated works fine

  • Error when installing Lync components (Install CS-Database and Enable-CS Computer Fail)

    Receiving the following error when running the Lync components install wizard.  I believe the issue is related to having run the service and installed the database once before, but had an issue installing all of the Lync FE components due to a server
    FQDN renaming issue. Server was then named properly, removing the appended suffix, re-ran and redeployed the topology, all great. Now, when running the Lync component install wizard again, we receive the following errors related to installation of the databases
    and local stores. I noticed another article related to this problem and per the article, I uninstalled SQL Server, rebooted, re-installed SQL Server from scratch, rebooted, then went back to the Lync FE to run the Lync component wizard again, resulting in
    these errors:
    An error occurred while applying SQL script for the feature RtcDatabaseStore. For details, see the log file 'C:\Users\ADMINISTRATOR.ECSMARTSUITE\AppData\Local\Temp\2\Create-RtcDatabaseStore-ECSS-LYNCFE_rtclocal-[2014_07_25][16_56_00].log'An error occurred
    while applying SQL script for the feature LyssStore. For details, see the log file 'C:\Users\ADMINISTRATOR.ECSMARTSUITE\AppData\Local\Temp\2\Create-LyssStore-ECSS-LYNCFE_lynclocal-[2014_07_25][16_56_20].log'An error occurred while applying SQL script for the
    feature LyssStore. For details, see the log file 'C:\Users\ADMINISTRATOR.ECSMARTSUITE\AppData\Local\Temp\2\Create-LyssStore-ECSS-LYNCFE_lynclocal-[2014_07_25][16_56_20].log'
    Looking at each of the three logs, received the following errors (in order of each log file listed above):
    1.  Creating login ECSS-LYNCFE\RTC Component Local Group.  The server principal 'ECSS-LYNCFE\RTC Component Local Group' already exists.
    2.  Directory lookup for the file "\\ECSS-LYNCFE\D$\CsData\LyssStore\lynclocal\DbPath\lyss.mdf" failed with the operating system error 5(Access is denied.)

    It really looks like permissions - just for the heck of it, use a domain admin account to do this.  Make sure you're in the local admin group on the server.  
    Check out the following link:
    http://social.technet.microsoft.com/Forums/lync/en-US/9c4615cd-3fd8-46c3-a962-543e0528c26d/edge-server-installcsdatabase-fails-with-the-server-principal-servernamertc-component-local?forum=lyncdeploy
    Here is a quote:
    Install SQl management Studio and check if a SQL instance already exists. If so check the DBs and you'll see that the login already exist. Uninstall SQL and leave just Lync core components. Restart and reinstall afterwards. You have this problem probably because you cahnged the name of the machine after runing Lync setup. Hence thesql instance refuse the login.
    We just solved this problem this way
    if my post is helpful - please click on the green arrow. (please excuse, in advance, any perceived sarcasm/humor - as I often forget it does not translate through text) :)

  • SQL2005 cluster error MDB-05053  Errors when executing sql command: p nr="

    Hi all,
    We are migrating from 32 bit to x64 bit machines. SQL 2005 database on windows 2003.
    I am trying to install E 4.7-200 SR1 on the clustered nodes. The installation manuals for 4.7 are very old and there is nothing for SQL2005 installation.
    Now that some how we were able to have SQL up and running in clustered environment (It only took 10 days), After installing CI, I am not able to deploy the database and database creation phase is failing with the following error:
    MDB-05053  Errors when executing sql command: <p nr="0"/>.
    I am heavily relying on our server managment team on clustering and hoping they have done a good job, However I need some guidelines which can help me in verifying what they have done is correct and meets SAP and SQL requirments and issues we are facing is actually install problems not cluster.
    SAP install manuals are not detailed in this regards. Also manuals are out dataed and they only show the sql 2000 clustering pre-requisit for 4.7 installls.
    Can any one with clustering experience please help.
    Calling out NPC, As his sql installation and upgrade manual has helped me with stand alone installs, Hoping he has some thing for clustering as well.
    Regards,
    KG

    Hi,
    What installation CD/DVD are you using?
    Try look at SAP note [924288|https://service.sap.com/sap/support/notes/924288],
    and note [969699|https://service.sap.com/sap/support/notes/969699],
    and note [967124|https://service.sap.com/sap/support/notes/967124],
    and note [106275|https://service.sap.com/sap/support/notes/106275].
    In special the last note say at the end:
    "3. You must use the 51031444 CD to install Enterprise 4.7 on an x64 platform with SQL Server 2005. This CD installs the central instances and database instances. To convert the A and B nodes in MSCS, use the SAP NetWeaver 04 SR1 installation master CD or DVD."
    Hope this helps
    Regards
    Rolf

  • CCMS monitoring for DB2/400 database backup.

    Hi,
    sap on iseries experts,
    We need a good monitoring for the alerts from DB2/400 database backup failure with CCMS for a solution manager management.
    Actually I don,t see a specific node (or MTE class) inside CCMS for this alert;
    But DB12 display well the daily backup status . . . . . . . .
    Can anybody help me ?
    Kind Regards
    Fabio

    Hi all,
    I'm searching also for such an possibilty.
    When running Oracle there is following MTE:
    RZ20 -> SAP CCMS Technical Expert Monitors -> All Monitoring Contexts -> Oracle -> Backup/restore -> Backup status -> Last succ
    Does anybody know a method to monitor the backup with SAP on Iseries?
    Tobias

  • ODBC error when running query on WEBI XI R2

    Hi all,
    I have a newly installed XIR2 on Win 2003 (32-bit), I created a simple Universe pointing to MSSQL 2005. I encountered the error below when running a query from WEBI:
    Database Error: [Microsoft] [ODBC Driver Manager] Data source name not found and no default driver specified. Error: WIS 10901
    Any ideas? Thanks!
    Cheers,
    Arms

    Hi Armstrong,
    If you are using an ODBC connection, make sure the connection is defined exactly the same on the server as it defined on your computer... With SQL you can try to create an OLE DB connection, then when you export the universe, the connection will still work... ODBC connections need to be created on all machines if you plan to use the desktop tools.
    Hope this helps
    Jacques

Maybe you are looking for

  • Help with exporting document and generating an enumerated value error

    Can anyone help me figure out why I cannot get this script to export the document and save it for the web? I keep getting the same frustrating "Enumerated Value expected". here is the script thus far: * attempting to create a script to insert names a

  • I just tried to move a folder I had under favorites to an external drive and it disappeared (puff of smoke)

    I just tried to move a folder from under favorites (in finder) to an external drive and it disappeared (puff of smoke) - how can I undo this (find it)

  • Cenvat clearance

    Hi After posting part 1 and part 11 entries of excise invoice at the time of GR, when we do invoice verification  CENVAT clearnace is not happening. What setting I ve to do?  I think CENVAT DEBIT account key( NVV  - i am not sure) is not coming into

  • Publishing to non .mac account problem

    Hi HELP! I think I have bitten off more than I can chew.... Having fallen in love with iWeb I took the plunge and published the website I created to my Partners site (as the iWeb one I wrote was 100% better than his) I used 'Easy Iweb Publisher' to u

  • Apps are slow or not working

    i just got my ipod touch 4th gen restored and the apps i get put on are eather not loading or are very slow. why is that?