I use sybase15.7 client and 15.0.3 server get this issue.
I use sybase 15.5 client and 15.0.3 server donot get this
issue

when i use blk_bind always get a error "CT-LIBRARY Client
Message #4 - blk_bind(): blk layer: user error: Parameter
colnum has an illegal value x"

As my know this error will be rasied when column value in
blk_bind() is 0 or exceed the column of table,my
table have 5 column,I call below code will rasied
this error:
CS_DataFormat( datafmt1, CS_INT_TYPE,
sizeof(CS_INT),1,CS_FMT_UNUSED);
CS_DataFormat( datafmt2, CS_INT_TYPE,
sizeof(CS_INT),1,CS_FMT_UNUSED);
CS_DataFormat( datafmt3, CS_CHAR_TYPE,
10,1,CS_FMT_NULLTERM);
CS_DataFormat( datafmt4, CS_FLOAT_TYPE,
sizeof(CS_FLOAT),1,CS_FMT_UNUSED);
CS_DataFormat( datafmt5, CS_CHAR_TYPE,
10,1,CS_FMT_NULLTERM);

void CS_DataFormat(CS_DATAFMT &pDFmt, CS_INT nType, CS_INT
nLength,
CS_INT nCount,CS_INT nFormat, void *pLocale)
{
pDFmt.datatype = nType;
pDFmt.maxlength = nLength;
pDFmt.count = nCount;
pDFmt.format = nFormat;
}

retcode = blk_bind(blkdesc, 1,
&datafmt1,(BYTE*)&id,&lLength[0],NULL);
retcode = blk_bind(blkdesc, 2,
&datafmt2,(BYTE*)&nid,&lLength[1],NULL);
retcode = blk_bind(blkdesc, 3, &datafmt3,(BYTE*)name
,&lLength[2],NULL);
retcode = blk_bind(blkdesc, 4,
&datafmt4,(BYTE*)&float,&lLength[3],NULL);
retcode = blk_bind(blkdesc, 5, &datafmt5,(BYTE*)data
,&lLength[4],NULL);

blk_init return CS_SUCCESS,so why five calls all
return CS_FAIL

Thanks