Symptom
- When extracting data from Embedded RSSD(SQLAnywhere17) using bcp out, it fails with a TDS protocol error. For example, you want to bcp out data from table 'rs_classes',
% bcp SAMPLE_RS_ERSSD..rs_classes out rs_classes.out -USAMPLE_RS_RSSD_prim -P***** -SSAMPLE_RS_ERSSD -c
CTLIB Message: - L4/O1/S5/N1/5/0:
ct_connect(): protocol specific layer: external error: There is a tds protocol error. Premature end of the datastream was encountered.
Establishing connection failed. - Or, bcp aborts with core dump
% bcp SAMPLE_RS_ERSSD..rs_classes out rs_classes.out -USAMPLE_RS_RSSD_prim -P**** -SSAMPLE_RS_ERSSD -c
bcp: malloc.c:2382: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
Abort (core dumped)
Read more...
Environment
- SAP Replication Server 16.0 SP04 PL06 HF1
- SDK for SAP ASE 16.0 SP04 PL06 HF1
Product
SAP Adaptive Server Enterprise SDK 16.0 ; SAP Replication Server 16.0
Keywords
BULK OUT, crash , KBA , BC-SYB-REP , Sybase Replication Server (standalone) , BC-SYB-SDK , SDK , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview