Precompilers and OCI (MOSC)

MOSC Banner

Pro*C precomplier failed when using dblink with option common_parser=yes

edited Apr 6, 2015 10:00AM in Precompilers and OCI (MOSC) 1 commentAnswered

We hit an Oracle error : "CSF-S-00000, ORA-01041: internal error. hostdef extension doesn't exist" when precompile a Pro*C source using dblink .

content of tested file test4.pc :

int f1 () {

  int i1;

 

EXEC SQL  SELECT column1 into :i1 from table1@dblink1;

 

  return (0);

}

Precompile with common_parser=yes :

proc common_parser=yes iname=test4.pc

Pro*C/C++: Release 11.1.0.7.0 - Production on Fri Mar 27 16:35:30 2015

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

System default option values taken from: /lect/intra/mw/as/precomp/admin/pcscfg.cfg

Error at line 4, column 2 in file test4.pc

EXEC SQL  SELECT column1 into :i1 from table1@dblink1;

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center