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:
In SQL*Plus, "STORE" accepts all possible file operations case insensitive which I also would expect by SQLcl.