Posted: Thu Aug 03, 2006 6:39 pm Post subject: strange 2059 error, appreciate for your help, 3x a million!
Newbie
Joined: 31 Jul 2006 Posts: 2
1.I install the MQ601 on AIX52, the amqsput and the amqsget are successful. but the imqsput always report 2059. and my compile command is:
xlc -o imqsput imqsput.cpp -qchars=signed -I/home/developer/ktl_ref/AIX/mqm/include/ -L/home/developer/ktl_ref/AIX/mqm/lib -limqs23ia -limqb23ia -lmqm
2. I wrote some tools by C++ which are compiled as non-threaded and muti-threaded programs. the non-thread is successful but the muti-thread always report 2059. the compile command is:
# for server thread
/usr/vacpp/bin/xlC -qchars=signed -L/usr/lib -L/usr/mqm/lib -limqs23ia_r -limqb23ia_r -lmqm_r -lpthread -I/usr/vac/include -I/usr/mqm/inc -o singleAgent_s_r Agent.o util.o config.o mq_operator.o
I reinstall the MQ6.0.1 two times but failed again. I am sure the QM is running and I don not use a client connection.
Is the Queue Manager set to default? Even if it's the only queue manager on the box try setting it to default in the mqs.ini file and see what happens. From looking at you command, the queue manager isnt specified so I reckon it'll try to take the default, and if the default isnt set then you'll get a 2059 message (QMANAGER NOT AVAILABLE).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum