ProC和Tuxedo问题,求大神帮忙解决一下~!!!~~!

theturecolor123 2018-03-09 04:40:29
我在Linux下编写了一个结合tuxedo和proc的程序,因为是第一次,然后就出现了非常多的错误,然后调来调去始终有一个问题解决不了,错误提示如下:

Syntax error at line 47, column 28, file service.pc:
Error at line 47, column 28 in file service.pc
EXEC SQL SELECT TRANSLATE INTO :translates
. . . . . . . . . . . . . . . 1
PCC-S-02201, Encountered the symbol "INTO" when expecting one of the following:
(
Error at line 0, column 0 in file service.pc
PCC-F-02102, Fatal error while doing C preprocessing



pcscfg.cfg文件是这样写的:
sys_include=($ORACLE_HOME/precomp/public,/usr/include,/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/include,/usr/lib/gcc/x86_64-redhat-linux/4.1.1/include,/usr/lib64/gcc/x86_64-suse-linux/4.1.2/include,/usr/lib64/gcc/x86_64-suse-linux/4.3/include,/usr/lib/gcc/x86_64-redhat-linux/4.4.4/include)
sys_include=$ORACLE_HOME/lib
sys_include=/usr/bin
sys_include=/home/tuxedo/oracle/tuxedo11gR1/include
sys_include=/home/tuxedo/oracle/tuxedo11gR1/lib
sys_include=/home/tuxedo/oracle/tuxedo11gR1/jre/lib/amd64/server
ltype=short
define=__x86_64__
QLCHECK=SEMANTICS
parse=none



.bash_profile是这样的:
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:/home/oracle/bin
export PATH
#========= about tuxedo under this line ==============================
TUXDIR=/home/tuxedo/oracle/tuxedo11gR1; export TUXDIR
JAVA_HOME=$TUXDIR/jre; export JAVA_HOME
JVMLIBS=$JAVA_HOME/lib/amd64/server:$JAVA_HOME/jre/bin
PATH=$TUXDIR/bin:$JAVA_HOME/bin:$PATH; export PATH
COBCPY=:$TUXDIR/cobinclude; export COBCPY
COBOPT="-C ANS85 -C ALIGN=8 -C NOIBMCOMP -C TRUNC=ANSI -C OSEXT=cbl"; export COBOPT
SHLIB_PATH=$TUXDIR/lib:$JVMLIBS:$SHLIB_PATH; export SHLIB_PATH
LIBPATH=$TUXDIR/lib:$JVMLIBS:$LIBPATH; export LIBPATH
LD_LIBRARY_PATH=$TUXDIR/lib:$JVMLIBS:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH
WEBJAVADIR=$TUXDIR/udataobj/webgui/java; export WEBJAVADIR
#========= about tuxedo before this line =============================
#========= about oracle under this line ==============================
export ORACLE_SID=orcl
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export PATH=/usr/sbin:$PATH
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=/usr/lib:$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib:$ORACLE_HOME/rdbms/lib/:/usr/lib:/usr/local/lib:$LD_LIBRARY_PATH
export PATH=$PATH:/sbin:/usr/sbin:$ORACLE_HOME/lib:$ORACLE_HOME/sqldeveloper
#========= about oracle befor this line ==============================





到底是哪里出错了?求大神指教

...全文
390 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
kaixian2003 2019-10-17
  • 打赏
  • 举报
回复
把源代码贴出来看一下
theturecolor123 2018-03-09
  • 打赏
  • 举报
回复
各位大神,不要吝啬您的聪明才智,帮帮小弟啊

1,220

社区成员

发帖
与我相关
我的任务
社区描述
企业软件 中间件技术
社区管理员
  • 中间件
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧