ramlakshman
Technical User
I am having the files from IBM for AIX
which is for Oracle PL/SQL support
I have changed it accordingly for HP UNIX.
According to their script I have created the following shared library for mqi.c
make -f $ORACLE_HOME/rdbms/demo/demo_rdbms.mk extproc_nocallback
SHARED_LIBNAME=mqi.so OBJS="mqi.o"
Instead of the below mentioned script given by them I used the libmqm.sl from /opt/mqm/lib
make -f $ORACLE_HOME/rdbms/demo/demo_rdbms.mk extproc_nocallback
SHARED_LIBNAME=$MQ_LIBPATH/mqseries.so OBJS="/usr/mqm/lib/libmqm.a"
I have created the following objects in Oracle given by IBM
mqpack.sql
mqseries.con
mqseries.def
after executing mqget.sql
After executing the procedure mqget.sql
I am getting the following error
MQCONN: CompCode=2 Reason=2059
MQOPEN: CompCode=2 Reason=2018
MQGET: CompCode=2 Reason=2018
MQCLOSE: CompCode=2 Reason=2018
MQDISC: CompCode=2 Reason=2018
message < >
PL/SQL procedure successfully completed.
Also we have added the following entries in TNSNAMES.ORA
extproc_connection_data= (DESCRIPTION =
(ADDRESS=(PROTOCOL=IPC)(KEY=extproc))
(CONNECT_DATA=(SID=extproc)))
In the LISTENER.ORA
LSNRextproc =
(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=extproc))
SID_LIST_LSNRextproc =
(SID_LIST=(SID_DESC=(SID_NAME=extproc)
(ORACLE_HOME=/oracle/oracle/8.1.7.64)(PROGRAM=extproc)(ENVS=LD_LIBRARY_PATH=/opt/mqm/lib)))
I gave all the permission to the oracle user.
In my case oracle user is "dbora7ap".
Please help me to proceed.
TIA
S. Ram Kumar
which is for Oracle PL/SQL support
I have changed it accordingly for HP UNIX.
According to their script I have created the following shared library for mqi.c
make -f $ORACLE_HOME/rdbms/demo/demo_rdbms.mk extproc_nocallback
SHARED_LIBNAME=mqi.so OBJS="mqi.o"
Instead of the below mentioned script given by them I used the libmqm.sl from /opt/mqm/lib
make -f $ORACLE_HOME/rdbms/demo/demo_rdbms.mk extproc_nocallback
SHARED_LIBNAME=$MQ_LIBPATH/mqseries.so OBJS="/usr/mqm/lib/libmqm.a"
I have created the following objects in Oracle given by IBM
mqpack.sql
mqseries.con
mqseries.def
after executing mqget.sql
After executing the procedure mqget.sql
I am getting the following error
MQCONN: CompCode=2 Reason=2059
MQOPEN: CompCode=2 Reason=2018
MQGET: CompCode=2 Reason=2018
MQCLOSE: CompCode=2 Reason=2018
MQDISC: CompCode=2 Reason=2018
message < >
PL/SQL procedure successfully completed.
Also we have added the following entries in TNSNAMES.ORA
extproc_connection_data= (DESCRIPTION =
(ADDRESS=(PROTOCOL=IPC)(KEY=extproc))
(CONNECT_DATA=(SID=extproc)))
In the LISTENER.ORA
LSNRextproc =
(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=extproc))
SID_LIST_LSNRextproc =
(SID_LIST=(SID_DESC=(SID_NAME=extproc)
(ORACLE_HOME=/oracle/oracle/8.1.7.64)(PROGRAM=extproc)(ENVS=LD_LIBRARY_PATH=/opt/mqm/lib)))
I gave all the permission to the oracle user.
In my case oracle user is "dbora7ap".
Please help me to proceed.
TIA
S. Ram Kumar