Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Open SQL Statement: Table AUFK does not exist.

Former Member
0 Kudos

Hi,

I encountered a weird situation. At the code attached, I try to read data from another server, but an error states that table AUFK is unknow or does not exist. If I comment CLIENT SPECIFIED and CONNECTION (GC_CONT), everything works well. What's the problem?

Best regards,

ts

3 REPLIES 3

venkat_aileni
Contributor

Former Member
0 Kudos

hi, T S,

Addition 4

... CONNECTION {con|(con_syntax)}

Note

This addition is for internal use only.
It cannot be used in application programs

Effect

The Open SQL command is not executed on the standard database but on the specified secondary database connection. The database connection can be specified statically with con or dynamically as the content of con_syntax, where the field con_syntax must belong to the type c or string. The database connection must be specified with a name that is in column CON_NAME in table DBCON.

The addition CONNECTION must be specified immediately after the name of the database table or after the addition CLIENT SPECIFIED.

Regards,

Archer

Former Member
0 Kudos

Problem solved. The connection hasn't been built.