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 » IBM MQ Installation/Configuration Support » Conn to MQ via CCDT by qload NOK, via CCDT by MQ Explorer OK

Post new topic  Reply to topic
 Conn to MQ via CCDT by qload NOK, via CCDT by MQ Explorer OK « View previous topic :: View next topic » 
Author Message
t603
PostPosted: Tue Mar 25, 2014 4:07 am    Post subject: Conn to MQ via CCDT by qload NOK, via CCDT by MQ Explorer OK Reply with quote

Voyager

Joined: 16 Oct 2012
Posts: 88
Location: Prague, the Czech Republic, Europe

Good afternoon,

I have a problem connecting to AIX MQ Server, command level 7.0.1, from my Windows computer using CCDT using qload, version 1.9. Connection is not SSLed. The error message is
Code:
C:\temp\qload>qload -m BK1.QM -i rybarst_outA -f out.txt -l mqic32
QLOAD Program by Paul Clarke [ V1.9 Build:Jun 19 2012 ]
MQCONN on object 'BK1.QM' returned 2058 QMgr name error..


Before discussing correctness of CCDT, I would like to note, that I can connect to the same AIX MQ Server from the same Windows computer via the same CCDT by MQ Explorer, version 7.5.0.2. So I suppose, that CCDT is OK. Moreover, I can connect to the same AIX MQ Server from the same Windows computer using qload without CCDT, but using MQSERVER variable.

So I suppose, that I have an error in the way, how i invoke qload using CCDT. Based on the configurations below, can someone point me to the error?

Thank You in advance for Your answer, Stepan

MQ Explorer settings - works OK:

Code:
General.Queue manager name: BK1.QM using 'file:/C:/temp/qload/bk1.qm_batch11.unix.csob.cz.tab'
General.Connection type: Client
General.Channel definition table: file:/C:/temp/qload/bk1.qm_batch11.unix.csob.cz.tab
General.Refresh interval (seconds): 300
General.Autoreconnect: No
General.Wait interval: 300
General.Expiry interval (seconds): 300
SSL key repositories.Trusted Certificate Store.Store name:
SSL key repositories.Trusted Certificate Store.Password:
SSL key repositories.Personal Certificate Store.Store name:
SSL key repositories.Personal Certificate Store.Password:


qload NOT using CCDT settings - works OK:

Code:
rem DEFINE CHANNEL(SCC_SYS) CHLTYPE(CLNTCONN) TRPTYPE(TCP) CONNAME(batch11.unix.csob.cz) QMNAME(BK1.QM) REPLACE
rem runmqsc BK1.QM < runmqscSource.txt > out.txt
cls
del /q out.txt
echo %PATH%
set MQCCSID=912
set MQIPADDRV=MQIPADDR_IPV4
set MQSERVER=SCC_SYS/TCP/batch11.unix.csob.cz(1414)
qload -m BK1.QM -i rybarst_outA -f out.txt -l mqic32
pause 1000


qload using CCDT settings - works NOT OK:

Code:
rem DEFINE CHANNEL(SCC_SYS) CHLTYPE(CLNTCONN) TRPTYPE(TCP) CONNAME(batch11.unix.csob.cz) QMNAME(BK1.QM) REPLACE
rem runmqsc BK1.QM < runmqscSource.txt > out.txt
cls
del /q out.txt
echo %PATH%
set MQCCSID=912
set MQCHLIB=C:\temp\qload
set MQCHLTAB=bk1.qm_batch11.unix.csob.cz.tab
set MQIPADDRV=MQIPADDR_IPV4
qload -m BK1.QM -i rybarst_outA -f out.txt -l mqic32
pause 1000
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Tue Mar 25, 2014 3:07 pm    Post subject: Reply with quote

Jedi Knight

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

Typo MQCHLLIB vs MQCHLIB ?
_________________
Glenn
Back to top
View user's profile Send private message
t603
PostPosted: Wed Mar 26, 2014 2:26 am    Post subject: Reply with quote

Voyager

Joined: 16 Oct 2012
Posts: 88
Location: Prague, the Czech Republic, Europe

gbaddeley wrote:
Typo MQCHLLIB vs MQCHLIB ?

Yes, You are right. Thank You very much.

And moreover remove space from the end of the SET commands! My fault. Otherwise the path to the CCDT is
Code:
"C:\temp\qload \bk1.qm_batch11.unix.csob.cz.tab "

which is indeed invalid path - space between directory and file.
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 » IBM MQ Installation/Configuration Support » Conn to MQ via CCDT by qload NOK, via CCDT by MQ Explorer OK
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.