Skip to Main Content

SQLcl: MCP Server & SQL Prompt

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

issue running .js scripts in sqlcl 21.2

esears1Jul 6 2021

I have a login script that will run a javascript file that basically sets my sqlprompt (it is based on the one by Kris Rice). It was working fine until I upgraded to sqlcl 21.2. Is there something different in 21.2 in order to run javascript files? Anytime i run a .js script file all I get is the following:
SQL> script c:\users\xxxx\source\scripts\oracle\sqlcl\newprompt.js
!ScriptCommand.1!SQL>
SQL>

It never changes the prompt. anyone experience the same?

Comments
Post Details
Added on Jul 6 2021
20 comments
1,408 views