Hello Team,
Version: SQLcl: Release 4.2.0.16.131.1023 from May 13th
If I create with script a script over the command prompt, I get:
SQL> script
2 ctx.write("Hello Word\n");
3 /
- javax.script.ScriptException: <eval>:1:27 Expected an operand but found /
ctx.write("Hello Word\n");/
^ in <eval> at line number 1 at column number 27
at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:455)
at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:522)
Last Week in the old version this works.
If I call the same from a file it works.
Other way to execute this?
Best Regards
Gunther