ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » amqsbcg 2012 error

Post new topic  Reply to topic
 amqsbcg 2012 error « View previous topic :: View next topic » 
Author Message
JScherbel
PostPosted: Thu Jan 26, 2006 10:37 am    Post subject: amqsbcg 2012 error Reply with quote

Newbie

Joined: 04 Jan 2006
Posts: 4

I'm trying to run this binary and getting a 2012 error. I'm running it as my own user (since I don't have access to mqm) but I'd expect a 2035 error if it were a perms issue.

If I'm running this on the same Linux box as the server, what should my env var be for MQSERVER? I'm doing:

export MQSERVER='SYSTEM.DEF.SVRCONN'/TCP/'127.0.0.1'

Help!!!
Back to top
View user's profile Send private message
vennela
PostPosted: Thu Jan 26, 2006 10:52 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

amqsbcg doesn't need any MQ server variable
Back to top
View user's profile Send private message Send e-mail Visit poster's website
csmith28
PostPosted: Thu Jan 26, 2006 11:12 am    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

vennela wrote:
amqsbcg doesn't need any MQ server variable


Nor does it nead a SVRCONN Channel/protocol/IP. You only need to set those variable is you are using amqsbcgc
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Jan 26, 2006 12:37 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

There are a number of hits for 2012 here if you use the search button. They seem to either talk about problems using XA commits or bad / missing MQ and Op system files.

Since you are using the sample program, we can exclude the XA problems. Do any other samples (amqsput / get) work?

Try a find for -name amq*, you should only have those files in /opt/mqm /usr/shr/locale and /var/mqm directories. Links in /usr/lib and /usr/bin should be symlinks.
_________________
-wayne


Last edited by wschutz on Thu Jan 26, 2006 12:52 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail AIM Address
mvic
PostPosted: Thu Jan 26, 2006 12:43 pm    Post subject: Re: amqsbcg 2012 error Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

JScherbel wrote:
I'm trying to run this binary and getting a 2012 error

Am not sure why the 2012 (MQRC_ENVIRONMENT_ERROR). Kindly post the output you see on the console - preferably everything including the command you type and the stdout/stderr from the app.

Also what version of MQ, what version/distribution of Linux? Could be an NPTL/LinuxThreads problem - in which case you'll need to look at the setting for LD_ASSUME_KERNEL etc.

Be sure to read carefully http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.amq1ac.doc/amq1ac0102.htm
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » amqsbcg 2012 error
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.