Good Afternoon,
We are using Data Services 14.1.1.460. The Source and Target for my job is a SQL Server 2008 database. The job I'm working in is very simple. Our source database tables are filled with records and have a flag that indicates whether the record is an Insert, Update Before, Update After or Delete record. Our job then traverses through the Source and updates the target table based on the operation type. This is done with a Map_CDC_Operation transform.
I would like to use Transaction Control on the Target/Destination table in case an error (such as a duplicate key) is found so we can roll back all changes done in the current run. So I've set the Transaction Control option to On in the Target table and the Transaction order is set to 0.
When I run the job I get the following error:
4292 6952 SYS-170101 6/25/2014 10:34:03 AM |Session CTI_ODS_RA|Work flow CTI_ODS_RA_WF|Work flow APPDB_WF|Data flow APPDB_DF
4292 6952 SYS-170101 6/25/2014 10:34:03 AM System Exception <ACCESS_VIOLATION> occurred.
4292 6952 SYS-170101 6/25/2014 10:34:03 AM Call stack:
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x0000000080180B0E, ODBCSqlLen::setAt()+0078 byte(s),
4292 6952 SYS-170101 6/25/2014 10:34:03 AM d:\ds_sprel\src\dataservices\dataintegrator\codeline\code\src\conn\odbcsqllen.cpp, line 0145+0019 byte(s)
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x00000000805A7814, LoadDB::moveRowData()+1604 byte(s),
4292 6952 SYS-170101 6/25/2014 10:34:03 AM d:\ds_sprel\src\dataservices\dataintegrator\codeline\code\src\loader\loaddb.cpp, line 4679+0021 byte(s)
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x00000000805A7C0B, LoadDB::moveRowData()+0363 byte(s),
4292 6952 SYS-170101 6/25/2014 10:34:03 AM d:\ds_sprel\src\dataservices\dataintegrator\codeline\code\src\loader\loaddb.cpp, line 4731+0069 byte(s)
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x00000000805C20BC, LoadDB::process_insert()+3084 byte(s),
4292 6952 SYS-170101 6/25/2014 10:34:03 AM d:\ds_sprel\src\dataservices\dataintegrator\codeline\code\src\loader\loaddb.cpp, line 4306
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x000000008069EAC9, LoadDBTran::execute_load_data()+0505 byte(s),
4292 6952 SYS-170101 6/25/2014 10:34:03 AM d:\ds_sprel\src\dataservices\dataintegrator\codeline\code\src\loader\loaddbtran.cpp, line 0233
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x000000008069FB37, LoadDBTran::load_data()+1815 byte(s),
4292 6952 SYS-170101 6/25/2014 10:34:03 AM d:\ds_sprel\src\dataservices\dataintegrator\codeline\code\src\loader\loaddbtran.cpp, line 0493
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x000000008069FDD5, LoadDBTran::execute()+0581 byte(s),
4292 6952 SYS-170101 6/25/2014 10:34:03 AM d:\ds_sprel\src\dataservices\dataintegrator\codeline\code\src\loader\loaddbtran.cpp, line 0596
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x000000008018D2FA, XTran_desc::execute()+0442 byte(s),
4292 6952 SYS-170101 6/25/2014 10:34:03 AM d:\ds_sprel\src\dataservices\dataintegrator\codeline\code\src\core\xtran.cpp, line 0678
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x0000000080F012B9, Rww_thread::main()+0249 byte(s), d:\ds_sprel\src\dataservices\dataintegrator\codeline\code\src\rww\rww.cpp,
4292 6952 SYS-170101 6/25/2014 10:34:03 AM line 0451
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x0000000000A2438E, RWThreadFunctionImp::run()+0126 byte(s)
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x0000000000A0C184, RWRunnableImp::exec()+0372 byte(s)
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x0000000000A24643, RWThreadImp::exec()+0051 byte(s)
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x0000000000A25F59, RWThreadImp::_setTimeSliceQuantum()+0169 byte(s)
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x00000000756A37D7, endthreadex()+0071 byte(s)
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x00000000756A3894, endthreadex()+0260 byte(s)
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x00000000778859ED, BaseThreadInitThunk()+0013 byte(s)
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 0x0000000077ABC541, RtlUserThreadStart()+0033 byte(s)
4292 6952 SYS-170101 6/25/2014 10:34:03 AM Registers:
4292 6952 SYS-170101 6/25/2014 10:34:03 AM RAX=0000000000001389 RBX=00000000092E3C40 RCX=0000000020202020 RDX=0000000000000001 RSI=0000000000001389
4292 6952 SYS-170101 6/25/2014 10:34:03 AM RDI=000000000C99B8C0 RBP=0000000009473F50 RSP=000000000BD5BC78 RIP=0000000080180B0E FLG=0000000000010212
4292 6952 SYS-170101 6/25/2014 10:34:03 AM R8=0000000000000001 R9=0000000000000000 R10=0000000000000000 R11=000000000BD5BC50 R12=000000000004A7A5
4292 6952 SYS-170101 6/25/2014 10:34:03 AM R13=0000000000001389 R14=000000000945AB90 R15=0000000000000000
4292 6952 SYS-170101 6/25/2014 10:34:03 AM Exception code: C0000005 ACCESS_VIOLATION
4292 6952 SYS-170101 6/25/2014 10:34:03 AM Fault address: 0000000180180B0E 01:000000000017FB0E C:\Program Files (x86)\SAP BusinessObjects\Data Services\bin\acta.dll
4292 6952 SYS-170101 6/25/2014 10:34:03 AM ==========================================================
4292 6952 SYS-170101 6/25/2014 10:34:03 AM Collect the following and send to Customer Support:
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 1. Log files(error_*, monitor_*, trace_*) associated with this failed job.
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 2. Exported ATL file of this failed job.
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 3. DDL statements of tables referenced in this failed job.
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 4. Data to populate the tables referenced in the failed job. If not possible, get the last few rows (or sample of them) when
4292 6952 SYS-170101 6/25/2014 10:34:03 AM the job failed.
4292 6952 SYS-170101 6/25/2014 10:34:03 AM 5. Core dump, if any, generated from this failed job.
4292 6952 SYS-170101 6/25/2014 10:34:03 AM ==========================================================
If I run without the Transaction Control set to On I do not get the error, but then we're not running in a transaction.
The amount of records we're working with is only 10,000. If I lower the number of records to, say, 4000, the job runs fine. The records are about 20 columns each, but almost all values are null, so we're not working with that much data here.
I've tried searching SAP forums and other forums but I haven't found a solution that works for me. If any one has any ideas about what's happening here and/or needs more information about the problem please let me know!