Skip to content Skip to sidebar Skip to footer

Can Not Provide For Host Variables In Antlr3 Sql Grammar

I have a SQL grammar which do not have support for host variables. I want to provide support for host variables in that but a situation that I have encountered is tricky. There is

Solution 1:

JSON_OBJECT('KEY' : VALUE) 

syntax is not supported in IBM i COBOL. This can only be provided in the form of

JSON_OBJECT (KEYkey VALUE value) 

In the case of COBOL when COLON is followed by something, it should be treated as host variable.

Post a Comment for "Can Not Provide For Host Variables In Antlr3 Sql Grammar"