'&' character in SQL behaves erratic (waits for input sometimes does not)

Hi everyone,
I have a C program using OCI which sends insert, update and delete statements to an Oracle database. Now there was a case when I tried to insert a statement say INSERT INTO EMP(EMPNO, ENAME) VALUES(7000,'Jack & Jill'). This statement was hanging when I sent it once and then I realised that & is a special character which causes the statement to wait for an input. So we had to use escape characters probably so that the statement would not hang.
Sometime later (a day later) I deleted the record and put in the same one again and this time it worked without hanging.
Is there some reason why this can be do. The OCI code has not changed, but I do not know if the Oracle DBAs did any changes to the server to accept & as okay. The DBAs say that they are not aware of any changes made.
Does anyone know why this can happen? Or is there someway this '&' issue can be sorted out?
Thanks
Kind Regards
Aby Philip

Aby,
I have a similar problem when running scripts in SQL*PLUS. In this case I resolved problem using concat (||), like this example
<code>
INSERT INTO EMP(EMPNO, ENAME) VALUES(7000,'Jack '||'&'||' Jill')
</code>
Sergio
Hi everyone,
I have a C program using OCI which sends insert, update and delete statements to an Oracle database. Now there was a case when I tried to insert a statement say INSERT INTO EMP(EMPNO, ENAME) VALUES(7000,'Jack & Jill'). This statement was hanging when I sent it once and then I realised that & is a special character which causes the statement to wait for an input. So we had to use escape characters probably so that the statement would not hang.
Sometime later (a day later) I deleted the record and put in the same one again and this time it worked without hanging.
Is there some reason why this can be do. The OCI code has not changed, but I do not know if the Oracle DBAs did any changes to the server to accept & as okay. The DBAs say that they are not aware of any changes made.
Does anyone know why this can happen? Or is there someway this '&' issue can be sorted out?
Thanks
Kind Regards
Aby Philip

Similar Messages

  • '&' character erratic in SQL (sometimes waits for input, sometimes does not)

    Hi everyone,
    I have a C program using OCI which sends insert, update and delete statements to an Oracle database. Now there was a case when I tried to insert a statement say INSERT INTO EMP(EMPNO, ENAME) VALUES(7000,'Jack & Jill'). This statement was hanging when I sent it once and then I realised that & is a special character which causes the statement to wait for an input. So we had to use escape characters probably so that the statement would not hang.
    Sometime later (a day later) I deleted the record and put in the same one again and this time it worked without hanging.
    Is there some reason why this can be do. The OCI code has not changed, but I do not know if the Oracle DBAs did any changes to the server to accept & as okay. The DBAs say that they are not aware of any changes made.
    Does anyone know why this can happen? Or is there someway this '&' issue can be sorted out?
    Thanks
    Kind Regards
    Aby Philip

    Hi !!
    I really could not figure out why it had gone thru the second time..
    A way o get around it would be to modiy ur sql like :-
    insert into .... ('sini'||'&'||'somakumar');
    Has to do the work ;
    Reagrds
    Sini Somakumar

  • Waiting for approval item does not execute attached procedure !

    Hi.
    Using 3.0.8 on Solaris.
    Create one custom item type and associate one on plsql procedure to be run in place when item is listed within its folder.
    Go to folder, add item, look for the plsql result : Good it's working !
    After that create an item as a create with approval ACL and come back as folder owner, look at the plsql result : NOTHING !!!
    My PLSQL procedure is displaying some attributs in order for the folder owner to approve or not the waiting item. So if wainting for approval items does not execute associated plsql function as they are "waiting" (active=0) then I've got some problems!
    Any suggestions ?

    Hi all,
    Thanks very much for your feedback.
    In reply to Brian's suggestions
    1. I checked to see if WS14500013 was defined as general task; it was not and this has has now been rectified. Went through the other workflows also.
    Double checked the contents of the tables:
    APPROVAL_TABLE, ITEM_APPROVAL_TABLE, ITEM_APPROVAL_OBJECT.
    All appeared OK.
    Created a simple one line SC. Invoked approval preview and the message: 'Approval step without ad-hoc capability. No preview possible' was displayed. This is odd since WS14500015 and sub-workflows do not use AD-HOC approval. Or am I not understanding this correctly.
    Followed Smitas suggestions but to no effect.
    Here are the contents of the said tables which I lifted from the workflow tables:
    Again, many thanks for your responses...
    **APPROVAL_TABLE****
    NAME="APPROVERLIST:ApproverList:"   <APPROVAL_INDEX>0000000001</APPROVAL_INDEX>
    <APPROVAL_BRANCH>0000000001
    <APPROVAL_AGENT>USMGRR11000 
    <APPROVAL_STATE>0000000002 
    <INITIAL_AGENT>USMGRR11000
    <INITIAL_INDEX>0000000002
    **ITEM_APPROVAL_OBJECT***.
    NAME="ITEMAPPOBJTABLE:ItemAppObjTable:" - <item>
      <SC_GUID>957117374BC6434882B0BFD5462A2724</SC_GUID>
      <APP_CRIT_NAME1>COST_CTR</APP_CRIT_NAME1>
      <APP_CRIT_NAME2>ORDER_NO</APP_CRIT_NAME2>
      <APP_CRIT_NAME3 />
      <APP_CRIT_VALUE1>R11000</APP_CRIT_VALUE1>
      <APP_CRIT_VALUE2 />
      <APP_CRIT_VALUE3 />
      <APPROVAL_OBJECT_GUID>9E6EFAC500B681458284BBB60BF99C8A
    *****ITEM_APPROVAL_TABLE***,
    NAME="APPROVALITEMLIST:ApprovalItemList:"
    <item>
    <APPROVAL_OBJECT_GUID>9E6EFAC500B681458284BBB60BF99C8A  <APPROVAL_ITEM_GUID>1137519335F51C4DB3D2844A8AD484C0

  • IMessage just says "waiting for activation" and does not work

    help!!

    If you get an error when trying to activate iMessage or FaceTime - Apple Support
    Per the link if it has been more than 24 hours you will need to contact Apple support.
    Or update your device to IOS 8.1.3

  • I have restored my iphone 3g, put it in my husbands name and it just keeps sying waiting for activation and will not connect to the wifi

    I have restored my iphone 3g, it is no longer connected to At%t want to use it as a ipod(which I have been doing)  Now my phone just says waiting for activation it
    does not recognise the wifi.. help

    http://support.apple.com/kb/ht3406

  • Media movement for ... waiting for input since...

    Hi, guys!
    *1. I created rotation policy:*
    ob> lsrot -l
    rp_test:
    Rotation rule 1: vl_test : windowclosed : 15 minutes
    Rotation rule 2: test_offsite : expiration : disabled
    UUID: e915b170-5416-102e-b112-000b5df3a54e
    *2. and seted vaulting policy:*
    ob> lsp vaulting/autorunmmjobs
    autorunmmjobs yes
    but I don't want what to do after vaulting )
    ob> lsj
    Job ID Sched time Contents State
    4 none media movement for vl_test waiting for input since 2011/04/29.11:38
    ob> catxcr --tail 25 4
    2011/04/29.11:38:54 ______________________________________________________________________
    2011/04/29.11:38:54
    2011/04/29.11:38:54 Transcript for job 4 running on dbsora98
    2011/04/29.11:38:54
    2011/04/29.11:38:54 Processing media movement requests for location vl_test
    2011/04/29.11:38:54 Considering volumes:
    2011/04/29.11:38:54 mf_test-000001 (b927cfe85411102ab8e000b5df3a54e)
    2011/04/29.11:38:54 Processing volume mf_test-000001 (b927cfe85411102ab8e000b5df3a54e)
    2011/04/29.11:38:54 go .. volume movement completed, continue
    2011/04/29.11:38:54 goall .. all volume movement completed for this job
    2011/04/29.11:38:54 quit .. give up and abort this media movement
    2011/04/29.11:38:54 : 2011/04/29.11:41:39
    2011/04/29.11:41:39 :
    ob> lsv -l -v mf_test-000001
    Volume OID: 104
    Volume ID: mf_test-000001
    Barcode: b927cfe85411102ab8e000b5df3a54e
    Volume sequence: 1
    Media family: mf_test
    Rotation policy: rp_test
    Current location: vl_test
    Label host: dbsora98
    Created: 2011/04/29.10:53
    Closes: 2011/04/29.11:23 (closed)
    Expires: 2011/04/29.11:53
    Space remaining: none
    Original OID: 104
    What does mean this message? I must do something to continue job. Is it possible to automate this?

    Your robot musn't be correctly ejecting the media to a loadport.
    Do you see loadports available from obtool lsvol -l -L vtl_test ?
    Thank
    Rich

  • T-SQL and CLR types for return value do not match

    Hi I am trying to create a CLR function to call a webservice, the CLR function return data type is double, whether I try
    to create this as a table valued funcion or a scalar to return a distance travelled value I am receiving the error below. I've tried changing data types around in the CLR side and the SQL side but keep receiving the same error message, any help would be appreciated,
    Thank you,
    [Microsoft.SqlServer.Server.SqlFunction(Name = "DistanceCalc")]
    public static Double DistanceCalc(Double SrcLat, Double SrcLong,
    Double DestLat, Double DestLong)
    MileageWS ws = new MileageWS();
    ws.Url = "http://test.isp.ca/Distance.asmx";
    int intUom = 0; // 0 = Mile, 1 = KM
    RouteType RouteMethod = RouteType.Practical;
    Requester RequestedFrom = Requester.LinkRoute;
    Double distance;
    distance = ws.GetDistanceInfoForLonLat(SrcLat, SrcLong, DestLat, DestLong, intUom, RouteMethod, RequestedFrom);
    return distance;
    CREATE FUNCTION DistanceCalc
    @SrcLat as float, @SrcLong as float,
    @DestLat as float, @DestLong as float
    RETURNS TABLE (Distance float)
    External NAME CLRfunctions.RIFunctions.DistanceCalc
    GO
    Error received when try to Create function ...
    1, Level 16, State 2, Procedure pcMiler, Line 6
    CREATE FUNCTION for "pcMiler" failed because T-SQL and CLR types for return value do not match.

    You defined at table-valued CLR function, but I think you meant to define a scalar CLR function. That might be the cause of the error.
    RETURNS TABLE (Distance float)
    should be
    RETURNS (Distance float)

  • The requested operation could not be performed because OLE DB provider "MSOLAP" for linked server does not support the required transaction interface.

    I am getting the following error when attempting to INSERT the results of an "EXEC(@MDXQuery) at SSAS LinkedServer":
    The requested operation could not be performed because OLE DB provider "MSOLAP" for linked server does not support the required transaction interface.
    Here is code that illustrates what I am doing:
    DECLARE @MDX varchar(max);
    SET @MDX='
    SELECT
    [Measures].[Extended Service Count]
    } ON COLUMNS,
    NON EMPTY [Organization].[By Manufacturer].[Manufacturer]
    ON ROWS
    FROM (
    SELECT
    {[Organization].[Org Tree].&[2025],[Organization].[Org Tree].&[2040]} ON 0
    FROM [MyCube]
    /* Test 1 */
    EXECUTE(@MDX) at SSASLinkedServer;
    /* Test 2 */
    DECLARE @ResultsB TABLE (
    Manufacturer varchar(255)
    , ExtendedServiceCount float
    INSERT INTO @ResultsB (Manufacturer, ExtendedServiceCount) EXECUTE(@MDX) at SSASLinkedServer;
    Test 1 succeeds, returning expected results, and Test 2 fails returning the error mentioned above.
    Other articles I've found so far don't seem to apply to my case.  I am not creating any explicit transactions in my code.   When I use OPENQUERY, I am able to do the insert just fine, but not when I use EXEC @MDX at LinkedServer.
    Unfortunately in some variations of the query, I run into the 8800 character limit on OPENQUERY, so I need to use this other approach.
    Any ideas?
    -Tab Alleman

    Hi Tab,
    In this case, SQL Server Analysis Services doesn’t support Distributed Transactions by design. Here is a similar thread about this issue for your reference, please see:
    http://social.technet.microsoft.com/Forums/en-US/8b07be45-01b6-49d4-b773-9f441c0e44c9/olaplinked-server-error-msolap-for-linked-server-olaplinked-server-does-not-support-the?forum=sqlanalysisservices
    One workaround is that use SQLCMD to execute the EXEC AT command and saved the results to a file, then import using SSIS.
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

  • Migration from 9i to 11g Transparent Gateway results in a) ORA-12704: character set mismatch b) ORA-02070: database ... does not support SYS_OP_C2C in this context

    Migration from 9i to 11g Transparent Gateway results in a) ORA-12704: character set mismatch b) ORA-02070: database ... does not support SYS_OP_C2C in this context
    What Transparent Gateway (TG) 11g configuration steps prevent the following errors?:
    a) ORA-12704: character set mismatch
    b) ORA-02070: database <DB_link_name> does not support SYS_OP_C2C in this context
    Hints:
    The current 9i TG works with the existing views and packages.  These same db objects will not compile using the new 11g TG.
    The db objects are on an Oracle 10g database linked to an SQL Server 2008 R2 database.
    Since the 9i TG works I assume a configuration to the 11g TG will get it working same as before.  But what...
    Is is something controlled by these parameters?  (Sorry, I don't know how this stuff works.  I'm the application developer.  My DBAs setup the Transparent Gateways.):
      Parameters in the Gateway Startup Shell script:
        ORA_NLS33
        NLS_LANG
      Parameters in the initsid.ora file:
        HS_LANGUAGE
        HS_NLS_DATE_FORMAT
        HS_NLS_DATE_LANGUAGE
    I'm avoiding the known workaround to refactor the VIEWS and PACKAGES to contain CAST() statements to explicitly match the data types.  A server side fix to the 11g TG is preferred. 
    Sample code:
    a) ORA-12704: character set mismatch
       ... is caused by SQL that works with my 9i TG but not with my 11g TG.  It's a snippit from my view that won't compile:
                      select status_code                  -- Oracle VARCHAR2(30)
                      from   ora_app_interfaces
                     UNION
                      select "StatusCode" as status_code  -- SQL Server NVARCHAR(30)
                      from   SqlAppInterfaces
       Example workaround that I'm avoiding:
                      select status_code
                      from   ora_app_interfaces
                     UNION
                      select CAST("StatusCode" as VARCHAR(30)) as status_code
                      from   SqlAppInterfaces
    b) ORA-02070: database <DB_link_name> does not support SYS_OP_C2C in this context
       A line of code in the procedure that compiles correctly but fails to execute:
               -- Insert into SQL Server from Oracle
               insert into PatientMedRecNum ( 
                  "PatID",         -- SQL Server INT
                  "MedRecNum",     -- SQL Server NVARCHAR(11)
                  "Hospital")      -- SQL Server NVARCHAR(30)
               values (
                  pi_pat_id,       -- Oracle NUMBER
                  pi_med_rec_num,  -- Oracle VARCHAR2
                  pi_hospital);    -- Oracle VARCHAR2
    I'd guess the errors are caused by the TG's implicit conversion between the Oracle VARCHAR2 and the SQL Server NVARCHAR... but this works fine on the 9i TG... how do I set it up to work on the 11g TG? 
    Thanks!

    Trace of 11g TG... generating errors due to lack of automatic mapping from SQL NVARCHAR to Oracle NVARCHAR, where the previous 9g TG mapped from SQL NVARCHAR to Oracle VARCHAR2.
    Oracle Corporation --- MONDAY    SEP 22 2014 13:35:08.186
    Heterogeneous Agent Release
    11.2.0.4.0
    Oracle Corporation --- MONDAY    SEP 22 2014 13:35:08.186
    Version 11.2.0.4.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "UCS2"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "FALSE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "TRUE"
    setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    setting HS_FDS_ARRAY_EXEC to default of "TRUE"
    Exiting hgosdip, rc=0
    ORACLE_SID is "xxxDEV"
    Product-Info:
      Port Rls/Upd:4/0 PrdStat:0
    Agent:Oracle Database Gateway for MSSQL
    Facility:hsa
    Class:MSSQL, ClassVsn:11.2.0.4.0_0019, Instance:xxxDEV
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=178
    HS_LANGUAGE not specified
    rc=1239980 attempting to get LANG environment variable.
    HOCXU_SEM_VER=102000
    Entered hgolofn at 2014/09/22-13:35:08
    RC=-1 from HOSGIP for "PATH"
    Setting PATH to "C:\oracle\product\11.2.0\tg_2\dg4msql\driver\lib"
    Exiting hgolofn, rc=0 at 2014/09/22-13:35:08
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2014/09/22-13:35:08
    Entered hgolgon at 2014/09/22-13:35:08
    reco:0, name:abaccess, tflag:0
    Entered hgosuec at 2014/09/22-13:35:08
    uencoding=UTF16
    Entered shgosuec at 2014/09/22-13:35:08
    Exiting shgosuec, rc=0 at 2014/09/22-13:35:08
    shgosuec() returned rc=0
    Exiting hgosuec, rc=0 at 2014/09/22-13:35:08
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    HOSGIP for "HS_FDS_DEFAULT_OWNER" returned "dbo"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2014/09/22-13:35:08
    HS_FDS_CONNECT_INFO = "sqlserverxxx/sqlinstancexxx/SQL_Server_2008_xxx_DEV"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2014/09/22-13:35:08
    dsn: sqlserverxxx/sqlinstancexxx/SQL_Server_2008_xxx_DEV, name:xxx_admin
    optn:
    Entered hgocip at 2014/09/22-13:35:08
    dsn:sqlserverxxx/sqlinstancexxx/SQL_Server_2008_xxx_DEV
    Exiting hgocip, rc=0 at 2014/09/22-13:35:08
    Entered shgogohn at 2014/09/22-13:35:08
    ohn is 'OraGtw11g_home2'
    Exiting shgogohn, rc=0 at 2014/09/22-13:35:08
    RC=-1 from HOSGIP for "HS_FDS_ENCRYPT_SESSION"
    using 0 as default value for "HS_FDS_ENCRYPT_SESSION"
    RC=-1 from HOSGIP for "HS_FDS_VALIDATE_SERVER_CERT"
    using 1 as default value for "HS_FDS_VALIDATE_SERVER_CERT"
    Entered hgocont_OracleCsidToIANA at 2014/09/22-13:35:08
    Returning 2252
    Exiting hgocont_OracleCsidToIANA at 2014/09/22-13:35:08
    Exiting hgogenconstr, rc=0 at 2014/09/22-13:35:08
    Entered hgopoer at 2014/09/22-13:35:08
    hgopoer, line 231: got native error 5701 and sqlstate 01000; message follows...
    [Oracle][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Changed database context to 'Xxx_XXX_DEV'. {01000,NativeErr = 5701}[Oracle][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Changed language setting to us_english. {01000,NativeErr = 5703}
    Exiting hgopoer, rc=0 at 2014/09/22-13:35:08
    hgocont, line 2764: calling SqlDriverConnect got sqlstate 01000
    Entered hgolosf at 2014/09/22-13:35:08
    Exiting hgolosf, rc=0 at 2014/09/22-13:35:08
    DriverName:HGmsss23.dll, DriverVer:07.01.0093 (B0098, U0065)
    DBMS Name:Microsoft SQL Server, DBMS Version:10.00.2531
    Exiting hgocont, rc=0 at 2014/09/22-13:35:08 with error ptr FILE:hgocont.c LINE:2764 ID:SQLDriverConnect
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 128 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2014/09/22-13:35:08
    Entered hgoulcp at 2014/09/22-13:35:08
    Entered hgowlst at 2014/09/22-13:35:08
    Exiting hgowlst, rc=1 at 2014/09/22-13:35:08
    SQLGetInfo returns Y for SQL_PROCEDURES
    SQLGetInfo returns 0x1f for SQL_OWNER_USAGE
    TXN Capable:2, Isolation Option:0xf
    SQLGetInfo returns 128 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 128 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 134 for SQL_MAX_PROCEDURE_NAME_LEN
    HOSGIP returned value of "TRUE" for HS_FDS_QUOTE_IDENTIFIER
    SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
    13 instance capabilities will be uploaded
    capno:1992, context:0x0001ffff, add-info:        0
    capno:3042, context:0x00000000, add-info:        0, translation:"42"
    capno:3047, context:0x00000000, add-info:        0, translation:"57"
    capno:3049, context:0x00000000, add-info:        0, translation:"59"
    capno:3050, context:0x00000000, add-info:        0, translation:"60"
    capno:3066, context:0x00000000, add-info:        0
    capno:3067, context:0x00000000, add-info:        0
    capno:3068, context:0x00000000, add-info:        0
    capno:3069, context:0x00000000, add-info:        0
    capno:3500, context:0x00000001, add-info:       91, translation:"42"
      capno:3501, context:0x00000001, add-info:       93, translation:"57"
    capno:3502, context:0x00000001, add-info:      107, translation:"59"
    capno:3503, context:0x00000001, add-info:      110, translation:"60"
    Exiting hgoulcp, rc=0 at 2014/09/22-13:35:08
    Entered hgouldt at 2014/09/22-13:35:08
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2014/09/22-13:35:08
    Entered hgobegn at 2014/09/22-13:35:08
    tflag:0 , initial:1
    hoi:0x12ee18, ttid (len 32) is ...
      xxx
      xxx
    tbid (len 10) is ...
      0: 09000F00 0FAC1E00 010A [..........]
    Exiting hgobegn, rc=0 at 2014/09/22-13:35:08
    Entered hgodtab at 2014/09/22-13:35:08
    count:1
      table: XXX_INTERFACE
    Allocate hoada[0] @ 0000000005F58270
    Entered hgopcda at 2014/09/22-13:35:08
    Column:1(InterfaceID): dtype:2 (NUMERIC), prc/scl:20/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
    Entered hgopcda at 2014/09/22-13:35:08
    Column:2(TableName): dtype:-9 (WVARCHAR), prc/scl:30/0, nullbl:0, octet:60, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
    Entered hgopcda at 2014/09/22-13:35:08
    Column:3(TableID): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
    Entered hgopcda at 2014/09/22-13:35:08
    Column:4(StatusCode): dtype:-9 (WVARCHAR), prc/scl:30/0, nullbl:0, octet:60, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
    Entered hgopcda at 2014/09/22-13:35:08
    Column:5(StatusTimestamp): dtype:93 (TIMESTAMP), prc/scl:23/3, nullbl:0, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
    Entered hgopcda at 2014/09/22-13:35:08
    Column:6(InterfaceLog): dtype:-9 (WVARCHAR), prc/scl:400/0, nullbl:1, octet:800, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
    The hoada for table XXX_INTERFACE follows...
    hgodtab, line 1073: Printing hoada @ 0000000005F58270
    MAX:6, ACTUAL:6, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR,0x400:UNICODE_COLUMN)
    DTY NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
      3 DECIMAL N         22         22 20/  0    0   0   0 InterfaceID
    12 VARCHAR N         60         60 128/ 30 1000   0 440 TableName
      4 INTEGER N          4 4   0/  0    0   0   0 TableID
    12 VARCHAR N         60         60 128/ 30 1000   0 440 StatusCode
    91 DATE N         16         16 0/  0    0   0   0 StatusTimestamp
    12 VARCHAR Y        800        800 129/144 1000   0 440 InterfaceLog
    Exiting hgodtab, rc=0 at 2014/09/22-13:35:08
    Entered hgodafr, cursor id 0 at 2014/09/22-13:35:08
    Free hoada @ 0000000005F58270
    Exiting hgodafr, rc=0 at 2014/09/22-13:35:08
    Entered hgotcis at 2014/09/22-13:35:08
    Calling SQLStatistics for XXX_INTERFACE
    IndexType=SQL_TABLE_STAT: cardinality=0
    IndexType=1: PK_XXX_Interface
    IndexType=3: IX_TableID
    IndexType=3: IX_TableName
    Calling SQLColumns for dbo.SQL_app_INTERFACE
    #1 Column "InterfaceID": dtype=2, colsize=20, decdig=0, char_octet_length=0, cumulative avg row len=15
    #2 Column "TableName": dtype=-9, colsize=30, decdig=0, char_octet_length=60, cumulative avg row len=60
    #3 Column "TableID": dtype=4, colsize=10, decdig=0, char_octet_length=0, cumulative avg row len=64
    #4 Column "StatusCode": dtype=-9, colsize=30, decdig=0, char_octet_length=60, cumulative avg row len=109
    #5 Column "StatusTimestamp": dtype=93, colsize=23, decdig=3, char_octet_length=0, cumulative avg row len=125
    #6 Column "InterfaceLog": dtype=-9, colsize=400, decdig=0, char_octet_length=800, cumulative avg row len=725
    3 Index(es) found:
      Index: PK_XXX_Interface, type=1, ASCENDING, UNIQUE, cardinality=0
    #1 Column 1: InterfaceID
      Index: IX_TableID, type=3, ASCENDING, NON-UNIQUE, cardinality=0
    #1 Column 3: TableID
      Index: IX_TableName, type=3, ASCENDING, NON-UNIQUE, cardinality=0
    #1 Column 2: TableName
    Exiting hgotcis, rc=0 at 2014/09/22-13:35:08

  • RW Cronacle : JCS-02041: cannot wait on job that does not exist (yet)

    Hi all,
    We are facing a new problem when submitting our maintaining variants scripts.
    The script failed and returns the error
    JCS-02041: cannot wait on job that does not exist (yet)
    Have you ever met this kind of error ? What kind of issue could it be ?
    Thank you very much for you answers.
    Regards,
    Scheduling team

    Anton,
    Here are the informations (I hope that will help you) :
    JCS Object Database   7.0.3.43 
    Cronacle Repository
    JCS Redwood Reports Module     7.0.2 
    Cronacle Reports Module    
    JCS Redwood Mail Module     7.0.2 
    Cronacle Mail Module  
    JCS PM4W   7.0.2 
    Cronacle Process Manager for Web   
    JCS RSI   7.0.4   SP3 production
    Cronacle for SAP solutions
    JCS Modules      7.0.4       SP3 production
    Cronacle Module Installer    
    We didn't change many things in the varedit script, we have just deleted some parameters we don't maintain :
    create or replace script "RSI"."C4_SC_POA0_J_000_00_VE_FEN4A"
    ( "INSTANCE"        in varchar2(15)     not null
                        description         'SAP instance'
                        input format        'UPPERCASE'
                        default             expr('EP1'
    , "CLIENT"          in varchar2(3)      not null
                        description         'Client'
                        default             expr('900'
    , "ABAP_PROGRAM_NAME" in varchar2(32)     not null
                        description         'Abap program name'
                        input format        'UPPERCASE'
                        default             expr('abap_program_name'
    , "ABAP_VARIANT_NAME" in varchar2(14)     not null
                        description         'Abap variant name'
                        input format        'UPPERCASE'
                        default             expr('abap_program_variant'
    , "PAR_P_NAME"      in varchar2(128)    null
                        description         'P_NAME'
                        groupname           "Option"
    , "PAR_P_PATH"      in varchar2(128)    null
                        description         'P_PATH'
                        groupname           "Option"
                        default             expr('/tmp/'
    , constraint        "VARIANT_LIST"
                        prequery            0 rows
                        message             'Please choose a valid variant combination'
                        optional
                        check               (
                        select  apv.abap_variant_name
                        into    ABAP_VARIANT_NAME
                        from    rsi_program_variants_view apv
                        where   apv.instance          = :INSTANCE
                        and     apv.client            = :CLIENT
                        and     apv.abap_program_name = :ABAP_PROGRAM_NAME
    Edited by: Architecture Architecture on Dec 7, 2009 5:59 PM

  • SQL Error: ORA-00942: table or view does not exist + CX_RS_SQL_ERROR

    HI ,
    we are facing below issue while activating info object xxxxxxxx
    " SQL Error: ORA-00942: table or view does not exist "  and   " CX_RS_SQL_ERROR  "
    can any one help us out to resolve this issue.
    Thanks,
    EDK......

    Hi,
    Check the corrections given in the note 990764:
    Reason and Prerequisites
    Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
    ORA-00942: table or view does not exist
    Fehler in CL_SQL_RESULT_SET  Include NEXT_PACKAGE
    RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
    Solution
    SAP NetWeaver 2004s BI
               Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
    In urgent cases you can implement the correction instructions.
    The correction instructions contain the tightened inspection for characteristics.
    Regards,
    Anil Kumar Sharma .P

  • Java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist while invoking a DBAdapter

    I have a WebService which is invoked , the request is routed through the mideator to the DBAdapter .DBAdapter interacts with the database and replies the result.
    I send in the CreditCardNumber in the request and recieve its Status (VALID,INVALID). i get this error every time . i have tried almost every thing to fix this . Please help me with same .
    Below is the complete error stacktrace.
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [getCreditValidationSelect], Descriptor name: [getCreditValidation.Creditcardinfo]. Caused by java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist . See root exception for the specific exception. This exception is considered retriable, likely due to a communication failure. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "942" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Thanks in advance

    Can you please check the following
    a. check the JNDI Configuration. ( check for the value used for XADatasourceName )
    b. check the Data source created for the User.
    c. Incase you have updated the existing JNDI then you need to update the adapter with the New Deployment Plan.
    Thanks,
    Sunil Gopal

  • I had just upgraded my OS to the OS X Mavericks.  After doing so, I noticed that my MS Outlook for Mac 2011 does not sync with the calendar/contacts/notes, thus, also not sync these info with my iPhone4s anymore.  Please help, thank you.

    Dear Sirs,
    I had just upgraded my OS to the OS X Mavericks.  After doing so, I noticed the following changes:
    1) My MS Outlook for Mac 2011 does not sync with my Mac book's calendar/contacts/notes.
    2) My iPhone4s does not sync with my Mac book's calendar/contacts/notes anymore.
    Please help, thank you.
    aawwii

    Correct, USB local sync was taken away from iphones and ipads with 10.9.1 and 2. We are not allowed to speculate on rumours it might come back in 10.9.3 plus new iTunes. Either wait and see or explore Syncmate 5 beta free trial.
    icloud still works.
    Cant help with the Outlook problem.

  • InvalidRecordException: Input record does not have a valid Id.

    I am trying to export data from hybris to endeca. I have set up the index schema, index element, cas config, added properties.
    I have added queries the index elements but somehow the recordstore are not exporting the data to endeca. When, I checked the recordstore for data, it returned an empty file. I have checked the record store config for data and it shows record.spec available. Not sure why I am getting the InvalidRecordException.
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <recordStoreConfiguration xmlns="http://recordstore.itl.endeca.com/">
    <changePropertyNames/>
    <idPropertyName>record.spec</idPropertyName>
    <jdbmSettings/>
    </recordStoreConfiguration>
    ERROR [hyend2exportcronjob1360880300110::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (hyend2exportcronjob1360880300110) [EndecaRecordStoreService] Exception during writing records to record store
    com.endeca.itl.recordstore.InvalidRecordException: Input record does not have a valid Id.
    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:141)
    at $Proxy146.writeRecords(Unknown Source)
    at com.endeca.itl.recordstore.RecordStoreWriter.doFlush(RecordStoreWriter.java:170)
    at com.endeca.itl.recordstore.RecordStoreWriter.flush(RecordStoreWriter.java:145)
    at com.endeca.itl.recordstore.RecordStoreWriter.close(RecordStoreWriter.java:163)
    at de.hybris.platform.hyend2.services.endeca.impl.DefaultEndecaRecordStoreService.writeRecordsToRecordStore(DefaultEndecaRecordStoreService.java:125)
    at de.hybris.platform.hyend2.services.endeca.impl.DefaultEndecaRecordStoreService.writeRecords(DefaultEndecaRecordStoreService.java:98)
    at de.hybris.platform.hyend2.services.impl.DefaultExportService.exportSchema(DefaultExportService.java:456)
    at de.hybris.platform.hyend2.services.impl.DefaultExportService.exportSchema(DefaultExportService.java:210)
    at de.hybris.platform.hyend2.services.impl.DefaultExportService.export(DefaultExportService.java:121)
    at de.hybris.platform.hyend2.jobs.ExportJob.perform(ExportJob.java:67)
    at de.hybris.platform.hyend2.jobs.ExportJob.perform(ExportJob.java:1)
    at de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob.performCronJob(ServicelayerJob.java:40)
    at de.hybris.platform.cronjob.jalo.Job.execute(Job.java:1294)
    at de.hybris.platform.cronjob.jalo.Job.performImpl(Job.java:813)
    at de.hybris.platform.cronjob.jalo.Job.access$1(Job.java:772)
    at de.hybris.platform.cronjob.jalo.Job$JobRunable.run(Job.java:677)
    at de.hybris.platform.util.threadpool.PoolableThread.run(PoolableThread.java:198)

    This was due to the dropping of recordstores which were not getting recreated. Using environment parameters (host and port) on the command line to create the recordstore for data resolved the issue.

  • The bp id for org unit does not exist

    Dear expert,
    after transport the org structure from dev to qty system , we found the bp id for org unit does not exist in qty system.
    in ppoma_crm, we can see there is a bp id assigned to the org unit. however, when use tcode 'bp' to check the bp id, the system can not fould a valid id.
    what can we do to solve the issue?
    will there any impact if we keep no bp id for the org unit?

    Hi,
    You can use the transaction CRM_OM_BP_INTEGRATE.
    Select the Org unit and enter the org id in the input field and execute it.
    Select the org unit from the result list and click on the button Start Repair. This will create a BP without errors for the respective org unit.
    Regards,
    PP

Maybe you are looking for

  • Passing file location as URL parameter for xml query

    Hi all, A quick question regarding using a parameter to set the source URL in an XML query template. When assigning the URL, the static text works perfectly eg: //<servername>/<folder>/samplefile.xml . The xml is returned as required. However, we wis

  • Aperture crashes after tethered shooting...help

    When I use Aperture 3.1 on 27" iMac with 4 GB memory, and I have  shot a burst of 3-5 images on my tethered 5D, I experience the spinning beach ball, and totally unresponsive Aperture, have to force quit or it eventually quits on its own. Any ideas?

  • I.E 9 + Adobe PDF toolbar ( Convert  )

    Hello All,             I'm seeking some help relating to the Adobe PDF toolbar / add-on not appearing. For the life of me, this toolbar will not enable itself when I click on the "enable " option. In Manage Add-ons, under Tools, in I.E9 It shows the

  • Row Total Query

    Hi All, I want to calculate the total expense amount from the Service call screen. I have one UDF U_amt and I want to have total expense amount in it. I am using following stored procedure, IF @transaction_type = 'U' AND @Object_type = '191' BEGIN UP

  • 1Z0-046

    Hi everyone, I'm a student a newly certified 10g OCP. Since I'm not working I would like to improve my skills through oracle 10g and linux. But I searched in vain goods books to prepare the the 1Z0-046 exam. Can someone help me to find? Thanks