Saving the entire namespace works if you do the following:
:testsave.bin set get
.
However if you try to hopen into another q session and send the same command it doesn’t work? Maybe I’m missing something simple?
h" (:testsave.bin set get
.) "
Thoughts?
Works for me:server..q)key:.
s#2016.01.01
2016.01.022016.01.03
2016.01.04q.exe
symq)\p 5001client..q)h:hopen 5001q)h":ws set get
."server..q)key:.
s#2016.01.01
2016.01.022016.01.03
2016.01.04q.exe
symws//notice the ws at the end//but all that is doing is setting the server root namespace down to a file of the working directory of the server//are you sure that's what you want?perhaps you want to retrieve the server session and store to your own session?client...
:ws set h"get."//thats retrieving the root workspace of the server, firing it over ipc, and setting to your local working directoryHTH,Sean ________________________________ From: personal-kdbplus@googlegroups.com [personal-kdbplus@googlegroups.com] on behalf of rtrader [inventorriz@gmail.com]Sent: 21 October 2016 14:28To: Kdb+ Personal DevelopersSubject: [personal kdb+] get/set while using hopenSaving the entire namespace works if you do the following:
:testsave.bin set get .However if you try to hopen into another q session and send the same command it doesn't work? Maybe I'm missing something simple?h" (
:testsave.bin set get `.) "Thoughts?-- Submitted via Google Groups
What is actual error returned?
What is in name space?
I pretty new but could something exist in . that can’t be saved.
Is h ok and not stale? e.g. does h".z.t" return a time?
Got it to work, think the issue was my namespace that I was testing on was empty? Not entirely sure what was going on