$ZCMDLINE can be stacked with NEW and updated with SET
Final Release Note
The $ZCMDLINE environment variable can be stacked with the NEW command and updated with the SET command. [#1033 (closed)]
Description
Here is a test case to reproduce the problem:
$ env | grep ^ydb
ydb_dir=/tmp/test
$ ls -l $ydb_dir
ls: cannot access '/tmp/test': No such file or directory
$ . /usr/local/lib/yottadb/r138/ydb_env_set
$ yottadb -run %XCMD 'd ^GDE'
%GDE-I-LOADGD, Loading Global Directory file
/tmp/test/r1.38_x86_64/g/yottadb.gld
%GDE-I-VERIFY, Verification OK
%GDE-E-MISSINGDELIM, Delimiter dash expected before object ^GDE
GDE> q
%GDE-I-NOACTION, Not updating Global Directory /tmp/test/r1.38_x86_64/g/yottadb.gld
$ yottadb -dir 'd ^GDE'
YDB>xecute "d ^GDE"
%GDE-I-LOADGD, Loading Global Directory file
/tmp/test/r1.38_x86_64/g/yottadb.gld
%GDE-I-VERIFY, Verification OK
%GDE-E-MISSINGDELIM, Delimiter dash expected before object ^GDE
GDE>
After that, GDE appears to run correctly. It is not known whether or not this is an upstream bug.
Draft Release Note
The $ZCMDLINE environment variable can be stacked with the NEW command and updated with the SET command. [#1033 (closed)]
Edited by K.S. Bhaskar