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.

BUG? file operation belonging to STORE command only lower case accepted

db-geekAug 18 2021

When I'm using "STORE" command in SQLcl with uppercase file operation like "REPLACE" for storing of actual SQLcl settings, "STORE" fails with error "SP2-0603: Illegal STORE command".
But when file operation "replace" is used lowercase, a file is created without any problem. This effects also other available file operations belonging to "STORE" like "CREATE" or "APPEND". And is independent, if STORE is used in upper or lower case.
To reproducing this behaviour, following commands can be used:

version
help store
store set save.tmp CREATE
store set save.tmp APPEND
store set save.tmp REPLACE
STORE SET save.tmp CREATE
STORE SET save.tmp APPEND
STORE SET save.tmp REPLACE
STORE SET save.tmp create
STORE SET save.tmp append
STORE SET save.tmp replace

Result:
grafik.pngIn SQL*Plus, "STORE" accepts all possible file operations case insensitive which I also would expect by SQLcl.

Comments
Post Details
Added on Aug 18 2021
1 comment
98 views