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 Discussion » 2540 when attempting to use CCDT file with amqsputc

Post new topic  Reply to topic
 2540 when attempting to use CCDT file with amqsputc « View previous topic :: View next topic » 
Author Message
jeasterly
PostPosted: Thu Dec 03, 2020 1:08 pm    Post subject: 2540 when attempting to use CCDT file with amqsputc Reply with quote

Newbie

Joined: 03 Dec 2020
Posts: 1

All,

I am attempting to connect to a queue manager using a CCDT file using the same amqsputc program. However, each time I run the program, I receive the following error:

12/03/2020 02:09:35 PM - Process(36656.713) User(mqm) Program(amqrmppa)
Host(mars) Installation(Installation1)
VRMF(9.1.0.4) QMgr(QM1)
Time(2020-12-03T20:09:35.478Z)
CommentInsert1(TEST_CHANNEL)
CommentInsert2(36656)
CommentInsert3(venus (10.70.17.130))

AMQ9999E: Channel 'TEST_CHANNEL' to host 'venus (10.70.17.130)' ended
abnormally.

EXPLANATION:
The channel program running under process ID 36656 for channel 'TEST_CHANNEL'
ended abnormally. The host name is 'venus (10.70.17.130)'; in some cases
the host name cannot be determined and so is shown as '????'.
ACTION:
Look at previous error messages for the channel program in the error logs to
determine the cause of the failure. Note that this message can be excluded
completely or suppressed by tuning the "ExcludeMessage" or "SuppressMessage"
attributes under the "QMErrorLog" stanza in qm.ini. Further information can be
found in the System Administration Guide.

I created the CLNTCONN channel as seen below:

define channel(TEST_CHANNEL) chltype(clntconn) trptype(tcp) conname('10.38.13.119(1419)') qmname(QM1) replace

This is how I am attempting to connect to QM1:

amqsputc SYSTEM.DEFAULT.LOCAL.QUEUE QM1

Please let me know if you have any suggestions on how I can resolve this issue!
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Dec 03, 2020 2:24 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Why is the destination host Venus when the conname in the CCDT points to a different ip?
You did not say how you set your environment variables...
Can you please show them
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
gbaddeley
PostPosted: Thu Dec 03, 2020 4:06 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2494
Location: Melbourne, Australia

Quote:
Look at previous error messages for the channel program in the error logs to
determine the cause of the failure.

What was in the previous error message in AMQERR01.LOG ?

You can test the client connection attributes using amqscnxc, before attempting to use a CCDT.
https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.2.0/com.ibm.mq.dev.doc/q024090_.html

If you are on a UNIX platform you make need to escape the parentheses on the port number :
amqscnxc -x mymachine.com\(1415\) -c MY.SVRCONN MYQMGRNAME
_________________
Glenn
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 Discussion » 2540 when attempting to use CCDT file with amqsputc
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.