kdb Developer Level 2 Capstone Project-1.5

https://learninghub.kx.com/forums/topic/kdb-developer-level-2-capstone-project-1-5

 Hi team,
while completing my level-2 certification, facing below issue on task 1.5 :

So I have created handle to get data from port 5457, using :

refServiceHandle:hopen `::5457

But when I am trying to call getOptionRef api, I am getting BLOCKED error.
Please check screenshots.

getOptionRef should be a symbol, not a string:

refServiceHandle(`getOptionRef; uniqueOpts)

Hi Durgesh,

Were you able to resolve this issue?

Many thanks,

Megan

Hi team, I tried martin's approach but still getting the BLOCKED as return.
Can you please help in this, please have a look at screenshot.

Thanks for your attention. :)

Not yet Megan

Ok solved!!
Thank you Martin and Regan, below code worked fine....

optRef:refServiceHandle(`getOptionRef; `uniqueOpts)


Many thanks to this wonderful community !!

Great to hear @Durgesh !!

If you require any further assistance, please feel free to let me know :)

Megan