RobWunderlich / Qlikview-Components

A library for common Qlikview Scripting tasks
197 stars 98 forks source link

Syntax Error during DB extract with Qlik 12.2 Nov 2017 SR 2 #73

Closed Frogy76 closed 5 years ago

Frogy76 commented 6 years ago

Hallo we upgraded yesterday our Qlik Environment from 11.2 to 12.2.

After the upgrade the QVC.DbExtract Method fails with the followin Syntax Error

Syntax error Unknown statement: [app_aut_batch]: // vTablename is set by the IncrementalSetup routine. REM [app_aut_batch]: // vTablename is set by the IncrementalSetup routine. REM

BR

Bastian

RobWunderlich commented 6 years ago

The problem is due to the new "BNF script mode" introduced in V12. You can fix the problem by adding this as the first line of your script:

///$bnf off

RobWunderlich commented 6 years ago

///$bnf off should be considered a workaround. I will make a code fix so $bnf off is not required.

RobWunderlich commented 5 years ago

Fixed in release v11.3. ///$bnf off is no longer required.