cancel
Showing results for 
Search instead for 
Did you mean: 

How to include a file (INL.H)

Former Member
0 Kudos

Hi community,

we try to include a .h-file by using EXEC SQL INCLUDE INL;  SQLPP gives error message "E2619 include file not found"; we've also tried to use the -I option for SQLPP, but this option is not recognized (help page is displayed when invoking with  -I).

Version:  SQL Anywhere Embedded SQL Version 16.0.0.1948

Many thanks for Your help.

Accepted Solutions (1)

Accepted Solutions (1)

former_member188493
Contributor
0 Kudos

Try EXEC SQL INCLUDE 'INL.H';

Former Member
0 Kudos

Hello Breck,

thanks for the answer, but unfortunately it doesn't work.

Currently we insert the content of the h-file into the c-source. So it works - and for the moment is also ok. The fixing will be in the later phase of the project.

former_member188493
Contributor
0 Kudos

Have you tried specifying the full path specification for the file? It may be looking in the "current directory" and that might not be where the file is. The message "file not found" is unlikely to be a bug in SQL Anywhere.

What documentation are you using to guide you with sqlpp? The sqlpp -I (uppercase i) option is not documented and AFAIK never has been. In V5 there was a sqlpp -l (lowercase L) but that was for login userid and password.

The reason for that question is this: If the docs for some other vendor's utility "like sqlpp" are being used, it may be misleading in other, even more important, ways.

Answers (0)