SAP Knowledge Base Article - Preview

2128381 - Compiler Error 158005 when using like() function - SAP ESP, SAP HANA SDS


  • The project CCL is calling the like(string,pattern) function.
  • When the data type of the string parameter is a string variable (rather than a literal string), the compiler reports the following syntax error:

File:<filename>.ccl  Line:<line number in ccl file>  [ESP-3-158005] Invalid syntax at or before "<stream or window name>".
Please verify that the syntax is correct.
Using a keyword without quotes for an identifier could also give this error.



  • SAP Event Stream Processor (ESP) 5.1 SP08 and SP09
  • SAP HANA Smart Data Streaming (SDS) Support Package Stack 09


SAP Event Stream Processor 5.1 ; SAP HANA 1.0 smart data streaming


like patindex compile processing streaming , KBA , BC-SYB-ESP , Sybase ESP (Event Stream Processor) , 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.