Page 1 of 1

Using ODBC connection via DS Basic

Posted: Tue Jan 07, 2014 8:12 am
by roy
Hi all,
in previous versions there was an ODBC header file in the dsinclude folder under each project.
I now notice on a 8.5 installation that this file is no longer there.

does that mean that we can no longer use a Basic routine/job control to use the DS Basic language to connect and utilize the odbc connection to the DB ?

Thanks for your time :),

Posted: Tue Jan 07, 2014 3:31 pm
by ray.wurlod
Use this one.

Code: Select all

$INCLUDE UNIVERSE.INCLUDE ODBC.H

Posted: Wed Jan 08, 2014 6:08 am
by roy
Thanks Ray,
So that is the new/correct location now a days?

I do recall it being under ther dsinclude few versions back.

Cheers,

Posted: Wed Jan 08, 2014 4:56 pm
by ray.wurlod
The UNIVERSE.INCLUDE location has been available since version 1.0.

Posted: Mon Feb 10, 2014 6:08 am
by roy
ray.wurlod wrote:The UNIVERSE.INCLUDE location has been available since version 1.0.
Not saying it wasn't.
A few (maybe more) versions back there was also an odbc.h under the include main directory.
Now I seen its a miss from that location

Posted: Mon Feb 10, 2014 8:29 am
by chulett
So have you found it elsewhere?

Posted: Mon Feb 10, 2014 8:55 am
by roy
back in the old days (not V1 but V 4.2.1)
I had the ODBC.H in the regular include directory
maybe it was a version fluke :roll: