Ok, I was trying to avoid suggesting this before (due to possible issues in Jupyter), but the simplest solution to your program is to copy the "EViews32.ini" file from
Code: Select all
C:\Users\<username>\AppData\Roaming\IHS EViews\EViewsto
Code: Select all
C:\Users\<username>\AppData\Roaming\IHS EViews\EViewsDLLagain.
Once copied, restart your kernel and you should be able to run the same commands as you could in regular EViews (except for the XOPEN command).
Steve
For a more detailed explanation (and a more surgical answer), read the following:
Add-Ins / AIPZ Explanation
Add-ins are "registered" with EViews by dragging and dropping the add-in's AIPZ file onto the EViews window. EViews will see that it's an add-in file, unzip it, and then run the install.prg that is usually inside the zip file. This install program runs the EDXADD command along with the associated ProgID of the add-in's Database Manager class.
So if you have the add-in's AIPZ file, and you'd like to use it in your Jupyter environment, then run the following command in Jupyter:
Once installation is complete, you should be able to use that add-in's objects (such as GSQLEDX) in your commands. Here's an example of what that RUN command looks like using the aim_solve add-in I manually downloaded from our downloads page.

- 2023-02-24_07h32_06.png (3.81 KiB) Viewed 10599 times
No AIPZ File
If you don't have the AIPZ file, and since your add-in has already been installed onto your system, then you could potentially just register the ProgID of the database manager by running the following:
but you'll need to know the ProgId of your GSQLEDX Database manager class. Here's an example of what that looks like for our CustomDBMgr class that we provided in our EDX samples code.

- 2023-02-24_07h33_35.png (17.09 KiB) Viewed 10599 times
You can see that after I called EDXADD with the "edxsamples.customdbmgr" class from the code sample, I was able to use it in the following DBOPEN command and then fetch a series from it.
Look in EViews32.ini
One thing that could help you find the details for your GSQLEDX add-in is to look in your EViews32.ini file located here:
Code: Select all
C:\Users\<username>\AppData\Roaming\IHS EViews\EViews\EViews32.ini
Open it using Notepad and then scroll all the way to the bottom to find the section that starts "[Database Extensions]". Under here you should see a bunch of "COMX=" lines, one for each registered EDX on your system. Scan thru that list to see if you can find the one that contains "name=GSQLEDX". When found, the value right after the first "=" sign is the ProgID of each database manager. Here it is on my system (in red):

- 2023-02-24_07h41_57.png (6.1 KiB) Viewed 10599 times
If you find the value, try to call EDXADD with that value in Jupyter to see if that resolves your DBOPEN error.