# Converting C8 to C11 - Window ERROR: Variable is not found by GUID in the data schema

**URL:** <https://clarionhub.com/t/converting-c8-to-c11-window-error-variable-is-not-found-by-guid-in-the-data-schema/6839>\
**Category:** questions\
**Tags:** c11, migration\
**Created:** [December 12, 2023, 2:50pm UTC](https://clarionhub.com/t/converting-c8-to-c11-window-error-variable-is-not-found-by-guid-in-the-data-schema/6839 "2023-12-12T14:50:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thys](https://clarionhub.com/user_avatar/clarionhub.com/thys/32/3399_2.png) [@Thys](https://clarionhub.com/u/Thys)\
**Post date:** [December 12, 2023, 2:50pm UTC](https://clarionhub.com/t/converting-c8-to-c11-window-error-variable-is-not-found-by-guid-in-the-data-schema/6839/1 "2023-12-12T14:50:03Z")

</div>

I've started helping a team to convert their apps from C8 to C11. The app and dct are converted automatically, but the window definitions seem to have problems like the following:

> !!\> ERROR: Variable is not found by GUID in the data schema. Last known name: \*\*\*\*

I've also seen errors for invalid SEQ tokens. Has anyone dealt with this before?

Thanks

---

<div class="post-metadata">

**Author:** ![CarlBarnes](https://clarionhub.com/user_avatar/clarionhub.com/carlbarnes/32/1859_2.png) [@CarlBarnes](https://clarionhub.com/u/CarlBarnes)\
**Post date:** [December 12, 2023, 6:27pm UTC](https://clarionhub.com/t/converting-c8-to-c11-window-error-variable-is-not-found-by-guid-in-the-data-schema/6839/2 "2023-12-12T18:27:34Z")

</div>

> [@Thys](#):
>
> ERROR: Variable is not found by GUID in the data schema. Last known name: \*\*\*\*

The IDE wants to connect USE() Variables on Window / Report to the Procedure’s Data Pad i.e. “data schema” that the IDE knows about. It does not know about your embed declarations or other procedures.

You will always have to Delete these `!!> Error` lines in the Window… Editor, they will Not be auto cleaned up. Often after the last END there will be more `!!> Error` lines to delete so always page down to the bottom.

Sometimes you can just delete these lines and they don’t come back, but I would check the below fixes first.

If the USE() variable is for a File then if you add the file to the Data Pad that will fix it. E.g. USE(Cus:Name) you would add CUSTOMER file to Local Files. Note that you are now opening and closing that file in the Procedure which you may not want.

If the USE() variable is declared in a Data Embed then you’ll have to add it to Local Data.

* * *

> [@Thys](#):
>
> I’ve also seen errors for invalid #SEQ() tokens. Has anyone dealt with this before?

I’ve seen it happen. Usually you just need to enter the correct (number) the template and its variables still exist. I export the Procedure to a TXA and look for the `[ADDITION]` to get the `[INSTANCE] INSTANCE #` that is the #SEQ(). Or you can look back in C8 and try that number. Example:

![image](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/a/af40bd048f6ef9e25ccbcd51b2cc3376f3309d96.png)

 ![image](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/0/00686a7571448424beb5af21ddc911a6534b8d96.png)

 ![image](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/f/f7962409149c3a2b436493d121177ede8343a3fc.png)

---

<div class="post-metadata">

**Author:** ![Thys](https://clarionhub.com/user_avatar/clarionhub.com/thys/32/3399_2.png) [@Thys](https://clarionhub.com/u/Thys)\
**Post date:** [December 12, 2023, 6:53pm UTC](https://clarionhub.com/t/converting-c8-to-c11-window-error-variable-is-not-found-by-guid-in-the-data-schema/6839/3 "2023-12-12T18:53:10Z")

</div>

Thanks Carl. I got one more solved with your help. Many more to go. Hopefully they follow the same pattern.
