Skip to Main Content

SQLcl

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

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,181 views