# Capstone Fundamental Ex 1.5

**URL:** <https://forum.kx.com/t/capstone-fundamental-ex-1-5/13027>\
**Category:** Community Support\
**Tags:** kx-academy\
**Created:** [October 11, 2023, 2:58pm UTC](https://forum.kx.com/t/capstone-fundamental-ex-1-5/13027 "2023-10-11T14:58:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pravigak1](https://avatars.discourse-cdn.com/v4/letter/p/5daacb/32.png) [@pravigak1](https://forum.kx.com/u/pravigak1)\
**Post date:** [October 11, 2023, 2:58pm UTC](https://forum.kx.com/t/capstone-fundamental-ex-1-5/13027/1 "2023-10-11T14:58:00Z")

</div>

refServiceHandle: hopen `::5010 \*\*1.5 Using the handle `refServiceHandle`and the`uniqueOpts`variable we created before, call the `getOptionRef`API and retrieve the associated Options Reference data. Store the returned table in a variable`optRef`.\*\*

optRef: refServiceHandle(`getOptionRef;uniqueOpts)

Using this line of code is not working. IPC says blocked. How do I fix it?

---

<div class="post-metadata">

**Author:** ![megan\_mcp1](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@megan\_mcp1](https://forum.kx.com/u/megan_mcp1)\
**Post date:** [October 11, 2023, 4:43pm UTC](https://forum.kx.com/t/capstone-fundamental-ex-1-5/13027/2 "2023-10-11T16:43:00Z")

</div>

Hi&nbsp;!

Can you try&nbsp;

refServiceHandle: hopen 5010;

instead of&nbsp;

refServiceHandle: hopen `::5010

Let me know if this works,

Megan

---

<div class="post-metadata">

**Author:** ![pravigak1](https://avatars.discourse-cdn.com/v4/letter/p/5daacb/32.png) [@pravigak1](https://forum.kx.com/u/pravigak1)\
**Post date:** [October 11, 2023, 4:46pm UTC](https://forum.kx.com/t/capstone-fundamental-ex-1-5/13027/3 "2023-10-11T16:46:00Z")

</div>

Hi&nbsp;&nbsp;

It still says its blocked unfortunately.&nbsp;

Praviga.&nbsp;

---

<div class="post-metadata">

**Author:** ![megan\_mcp1](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@megan\_mcp1](https://forum.kx.com/u/megan_mcp1)\
**Post date:** [October 11, 2023, 4:53pm UTC](https://forum.kx.com/t/capstone-fundamental-ex-1-5/13027/4 "2023-10-11T16:53:00Z")

</div>

&nbsp;can you download your notebook and send it to me so I can take a closer look?

You can dm me on here or email me (mmcparland@kx.com).

Thanks,

Megan

---

<div class="post-metadata">

**Author:** ![megan\_mcp1](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@megan\_mcp1](https://forum.kx.com/u/megan_mcp1)\
**Post date:** [October 11, 2023, 5:42pm UTC](https://forum.kx.com/t/capstone-fundamental-ex-1-5/13027/5 "2023-10-11T17:42:00Z")

</div>

&nbsp;

I notice for your uniqueOpts variable you’ve declared it as:

uniqueOpts: enlist (select distinct option\_id from trade)

&nbsp;Tables are created out of lists, so by&nbsp;enlisting&nbsp;the option\_id column you are creating a list of a list.

Since we already have our list, we just want to convert this into a list format. To do this you can use the exec&nbsp; keyword.&nbsp;

Once you’ve edited this, it should work fine.

Thanks,

Megan

---

<div class="post-metadata">

**Author:** ![pravigak1](https://avatars.discourse-cdn.com/v4/letter/p/5daacb/32.png) [@pravigak1](https://forum.kx.com/u/pravigak1)\
**Post date:** [October 11, 2023, 5:59pm UTC](https://forum.kx.com/t/capstone-fundamental-ex-1-5/13027/6 "2023-10-11T17:59:00Z")

</div>

Thanks Megan! It’s working for me now! &nbsp;
