'&' 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
Similar Messages
-
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 -
'&' 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 PhilipAby,
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 -
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, 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.. helphttp://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 -
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 AllemanHi 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
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 teamAnton,
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 -
PL/SQL: ORA-00942: table or view does not exist
Hi
i have logged into my schema and trying to access the database "DAD" which has the table name "SCHOOL"
i wrote a function which should give me new_sno when i give it the old_sno
and i have this errors , pls help
CREATE OR REPLACE FUNCTION ORIG_SN(OSNO in Number,OTN in Number)
RETURN Number IS
NEW_SNO Number:=0;
BEGIN
SELECT new_sno AS NEW_SNO
FROM DAD.SCHOOL
WHERE ORIG_SNO = OSNO AND ORIG_TN = OTN;
RETURN NEW_SNO;
END ORIG_SN;
Warning: Function created with compilation errors.
Errors for FUNCTION ORIG_SN:
LINE/COL ERROR
5/1 PL/SQL: SQL Statement ignored
6/15 PL/SQL: ORA-00942: table or view does not exist
Thanks in advance ..Try this,
CREATE VIEW SCHOOL_VIEW AS SELECT * FROM DAD.SCHOOL;and then change your function like
CREATE OR REPLACE FUNCTION ORIG_SN(OSNO in Number,OTN in Number)
RETURN Number IS
my_new_sno Number:=0;
BEGIN
SELECT new_sno INTO my_new_sno FROM SCHOOL_VIEW WHERE ORIG_SNO = OSNO AND ORIG_TN = OTN;
RETURN my_new_sno;
END ORIG_SN;and see if it is getting created without any errors.
-Arun
Edited by: Arunkumar Ramamoorthy on Aug 15, 2009 1:56 AM -
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.
aawwiiCorrect, 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 -
|Error SQL: ORA-14400: inserted partition key does not map to any partition
I have an installation of ECC6 with BI7 in which consolidated through SEM-BCS OBCS_C10 with the cube, which I have version 100 for fiscal data, 101 data for IFRS and IFRS Copying a 301 version.
The client will ask me the empty version of the 301 in the cube OBCS_C10.
Before switching to empty the cube "Target Real-Time Data Can Be Loaded With Data; Planning Not Allowed."
To empty the cube using transaction RSA1 / manage / contents / Delete Selection.
However, the data is not erased and revise the job gives me the error:
Resumen log job para job BI_INDXD51A1NTCIYWU06OKZZESN1R94 / 07520600
Log job
Hora
Txt.mje.no codificado
04.02.2009
07:52:06
El job ha sido lanzado.
04.02.2009
07:52:06
Paso 001 iniciado (programa RSINDEX1, variante &0000000000108, usuario ACHUY)
04.02.2009
07:52:10
SQL: 04.02.2009 07:52:10 ACHUY
04.02.2009
07:52:10
DELETE FROM DDSTORAGE WHERE DBSYSABBR = 'ORA'
04.02.2009
07:52:10
AND INDEXNAME = ' ' AND TABNAME =
04.02.2009
07:52:10
'/BI0/D0BCS_C101
04.02.2009
07:52:10
SQL-END: 04.02.2009 07:52:10 00:00:00
04.02.2009
07:52:10
SQL: 04.02.2009 07:52:10 ACHUY
04.02.2009
07:52:10
DELETE FROM DDSTORAGE WHERE DBSYSABBR = 'ORA'
04.02.2009
07:52:10
AND INDEXNAME = ' ' AND TABNAME =
04.02.2009
07:52:10
'/BI0/D0BCS_C101
04.02.2009
07:52:10
SQL-END: 04.02.2009 07:52:10 00:00:00
04.02.2009
07:52:10
SQL: 04.02.2009 07:52:10 ACHUY
04.02.2009
07:52:10
CREATE TABLE "/BI0/0100000076" PCTFREE 00
04.02.2009
07:52:10
PCTUSED 00 INITRANS 001 TABLESPACE PSAPSR3
04.02.2009
07:52:10
STORAGE (INITIAL 0000000016 K NEXT
04.02.2009
07:52:10
0000000016 K MINEXTENTS 0000000001 MAXEXTENTS
04.02.2009
07:52:10
UNLIMITED PCTINCREASE 0000 FREELISTS 001
04.02.2009
07:52:10
FREELIST GROUPS 01) AS SELECT DISTINCT DIMID FROM
04.02.2009
07:52:10
"/BI0/D0BCS_C101" "DIM" , "/BI0/SCS_VERSION"
04.02.2009
07:52:10
"MD1" WHERE "DIM"."SID_0CS_VERSION" = "MD1"."SID"
04.02.2009
07:52:10
AND ( "MD1"."CS_VERSION" BETWEEN '301' AND '301'
04.02.2009
07:52:10
SQL-END: 04.02.2009 07:52:10 00:00:00
04.02.2009
07:52:25
SQL: 04.02.2009 07:52:25 ACHUY
04.02.2009
07:52:25
DELETE FROM DDSTORAGE WHERE DBSYSABBR = 'ORA'
04.02.2009
07:52:25
AND INDEXNAME = ' ' AND TABNAME = '/BI0/F0BCS_C10
04.02.2009
07:52:25
SQL-END: 04.02.2009 07:52:25 00:00:00
04.02.2009
07:52:25
SQL: 04.02.2009 07:52:25 ACHUY
04.02.2009
07:52:25
DELETE FROM DDSTORAGE WHERE DBSYSABBR = 'ORA'
04.02.2009
07:52:25
AND INDEXNAME = ' ' AND TABNAME = '/BI0/F0BCS_C10
04.02.2009
07:52:25
SQL-END: 04.02.2009 07:52:25 00:00:00
04.02.2009
07:52:25
SQL: 04.02.2009 07:52:25 ACHUY
04.02.2009
07:52:25
CREATE TABLE "/BI0/0100000030" PCTFREE 10
04.02.2009
07:52:25
PCTUSED 00 INITRANS 001 TABLESPACE PSAPSR3
04.02.2009
07:52:25
STORAGE (INITIAL 0000000016 K NEXT
04.02.2009
07:52:25
0000000000 K MINEXTENTS 0000000001 MAXEXTENTS
04.02.2009
07:52:25
2147483645 PCTINCREASE 0000 FREELISTS 001
04.02.2009
07:52:25
FREELIST GROUPS 01) PARTITION BY RANGE
04.02.2009
07:52:25
("KEY_0BCS_C10P") ( PARTITION "/BI0/F0BCS_C100"
04.02.2009
07:52:25
VALUES LESS THAN (0) TABLESPACE "PSAPSR3",
04.02.2009
07:52:25
PARTITION "/BI0/F0BCS_C100000000019" VALUES LESS
04.02.2009
07:52:25
THAN (0000000019) TABLESPACE "PSAPSR3", PARTITION
|
04.02.2009
07:52:25
"/BI0/F0BCS_C100000000276" VALUES LESS THAN
04.02.2009
07:52:25
(0000000276) TABLESPACE "PSAPSR3", PARTITION
04.02.2009
07:52:25
"/BI0/F0BCS_C100000000277" VALUES LESS THAN
04.02.2009
07:52:25
(0000000277) TABLESPACE "PSAPSR3") AS SELECT *
04.02.2009
07:52:25
FROM "/BI0/F0BCS_C10" WHERE "KEY_0BCS_C101" NOT
04.02.2009
07:52:25
IN ( SELECT "DIMID" FROM "/BI0/0100000076"
04.02.2009
07:52:29
SQL-END: 04.02.2009 07:52:29 00:00:04
04.02.2009
07:52:29
Error SQL: ORA-14400: inserted partition key does not map to any partition
04.02.2009
07:52:29
Error de sistema: CREATE_TABLE_AS_SELECT/RSDU_EXEC_SQL /BI0/0100000030 14400
04.02.2009
07:52:29
El job ha sido cancelado tras excepción de sistema ERROR_MESSAGE.
Someone has an idea how to fix this?This is the SQL of the insert
The partition condition of the table is the column ("KEY_0BCS_C10P")
SELECT * FROM "/BI0/F0BCS_C10" WHERE "KEY_0BCS_C101" NOT IN ( SELECT "DIMID" FROM "/BI0/0100000076" )
This is the info of the /BIO/0100000076 TABLE
SQL> SELECT "DIMID" FROM sapsr3."/BI0/0100000076";
DIMID
6
SQL>
And this are the rows that I think are not included in the partitions of the table
1 SELECT DISTINCT KEY_0BCS_C10P, KEY_0BCS_C101 FROM SAPSR3."/BI0/F0BCS_C10"
2 WHERE KEY_0BCS_C10P > 277
3* AND "KEY_0BCS_C101" NOT IN ( SELECT "DIMID" FROM SAPSR3."/BI0/0100000076" )
SQL> /
KEY_0BCS_C10P KEY_0BCS_C101
284 4
285 4
293 3
292 4
293 4
293 5
285 3
290 4
292 5
283 4
285 5
KEY_0BCS_C10P KEY_0BCS_C101
291 5
292 3
291 4
14 rows selected.
SQL> -
RE: my input fields does not display when running the page
my input fields does not display when running the page
why is that so?Hi,
Can you send the HTML code for us?
Afonso
Maybe you are looking for
-
IN MIR4 one qty is showing in GR/IR and one qty in Price differnce
Dear Sir, We have made a PO for 10 QTy. frist 8 qty deliverd . we have made miro transaction.GR qty is equal to IR Qty.In Next sRest two quantity recived. AFter good receipt (MIGO) when we will do MIR4 & simulate it. One qty is showing
-
How do you verify the completeness of a restoration drill?
One responsibility of the DBA is to ensure the database backups are usable. Running the restore / recover commands in rman is easy. However, how would you verify the correctness of the restoration? Or do you believe that when rman says it's Ok and or
-
Hi to all! I have this sample data: CREATE TABLE person(id NUMBER PRIMARY KEY, first_name VARCHAR2(30), father_id NUMBER REFERENCES person(id), mother_id NUMBER REFERENCES person(id)); INSER
-
Two internal tables with different structures
Hi Experts, I Have two internal tables. Table 1 structure: Name Age Table 2 structure : Name age branch Now the table 1 has some 5 data's and table 2 is empty. First i want to move that 5 data's from table 1 to table 2. Then the branch field is same
-
Should I delete the motion 4 library before installing motion 5?
I just got a new Mac Pro with Yosemite on it, and I just installed FCP 7 last night, and when I tried to launch Motion, I discovered that Motion 4 won't run on Yosemite. I'm a little puzzled about why the installer still let me install it -- I thoug