is it z.x or .z.x?
.z.x gives a tring, which you need to put a : in front of and then cast to symbol
Sent from my iPhone
Or you can use “hsym” too.
data:(“SFJ”;“,”) 0:hsym `$.z.x 0
hsym is a function in kdb+ that can converts a symbol into a file name, a hostname, or an ipaddress
All hsym does adds a colon “:” in front of passed symbol if it is not there already which effectively turns a file name into a file handle or a hostname into a handle to host etc. here is the hsym def: hysm:{$[“:”=first string x;x;`$“:”,string x]}