本人查询了错误:
ORA-12545: Connect failed because target host or object does not exist
Cause: The address specified is not valid, or the program being connected to does not exist.
看了错误,本人改了data_bat.pc代码,数据库连接处改成如下:
-------------------------------------------------------------------------------
EXEC SQL BEGIN DECLARE SECTION;
VARCHAR uid[200];
EXEC SQL END DECLARE SECTION;