Hi Morag,
Got the log file error.
Sharing the error below:
----- amqccita.c : 1755 -------------------------------------------------------
17-06-2022 12:06:54 - Process(13640.13) User(SYSTEM) Program(taFlowEngine.exe)
Host(PIPLMUMDT034) Installation(Installation1)
VRMF(9.2.3.0)
Time(2022-06-17T06:36:54.381Z)
ArithInsert1(11001)
CommentInsert1(quickstart-cp4i-test-ibm-mq.cp4i-portall.svc)
CommentInsert2(TCP/IP)
CommentInsert3(SB.SVRCONN)
AMQ9202E: Remote host not available, retry later.
EXPLANATION:
The attempt to allocate a conversation using TCP/IP to host
'quickstart-cp4i-test-ibm-mq.cp4i-portall.svc' for channel SB.SVRCONN was not
successful. However the error may be a transitory one and it may be possible to
successfully allocate a TCP/IP conversation later.
In some cases the remote host cannot be determined and so is shown as '????'.
ACTION:
Try the connection again later. If the failure persists, record the error
values and contact your systems administrator. The return code from TCP/IP is
11001 (X'0'). The reason for the failure may be that this host cannot reach the
destination host. It may also be possible that the listening program at host
'quickstart-cp4i-test-ibm-mq.cp4i-portall.svc' was not running. If this is the
case, perform the relevant operations to start the TCP/IP listening program,
and try again.
----- amqccita.c : 1755 -------------------------------------------------------
The above error message is visible frequently.
Kindly, give me the resolution for this.
Thanks
------------------------------
Abhiram Emmadishetty
------------------------------
Original Message:
Sent: Fri June 17, 2022 12:40 AM
From: Morag Hughson
Subject: Unable to find dspmqerr Application file in MQ 9.0
Hi Abhiram,
It's a Windows cmd file. It only works on Windows. I suspect it would be quite simple to make an equivalent Linux shell script. I keep it in my tools directory which is in my path. It's a handy thing to have a known place that is in your path where you can keep handy tools like this. Where you put it doesn't matter though so long as it is in your path.
Create a file called mqerror.cmd (or call it anything else that makes sense to you if you want a different name, just ensure it has the .cmd file extension) and copy my provided contents into the file. Save it.
Now from the command, either just type:
mqerror
which will then run notepad to show your the system/client error log.
Or type:-
mqerror MQG1
(where MQG1 is my queue manager name - replace it with your own queue manager name) and that will run notepad to show you the queue manager error log.
I am not sure what else I can tell you. It is a very simple Windows cmd file.
Please ask any specific questions that I have not covered.
Cheers,
Morag
------------------------------
Morag Hughson
MQ Technical Education Specialist
MQGem Software Limited
Website: https://www.mqgem.com
Original Message:
Sent: Thu June 16, 2022 11:47 PM
From: Abhiram Emmadishetty
Subject: Unable to find dspmqerr Application file in MQ 9.0
Hi,
As you've shared mqerror.cmd , How can i use this and in which location.
@REM first parameter into this batch file is the target qmgr
@if "%1" EQU "" (
@start notepad %MQ_DATA_PATH%\errors\AMQERR01.LOG
) ELSE (
@start notepad %MQ_DATA_PATH%\qmgrs\%1\errors\AMQERR01.LOG
)
Kindly, give me in detail like location, path/ it's navigation.
Thanks
------------------------------
Abhiram Emmadishetty
Original Message:
Sent: Thu June 16, 2022 07:50 AM
From: Morag Hughson
Subject: Unable to find dspmqerr Application file in MQ 9.0
As you can see from my example script, the error log for a queue manager is in:
%MQ_DATA_PATH%\qmgrs\%1\errors\AMQERR01.LOG
where %1 is the queue manager name.
Morag
Morag
------------------------------
Morag Hughson
MQ Technical Education Specialist
MQGem Software Limited
Website: https://www.mqgem.com
Original Message:
Sent: Thu June 16, 2022 07:19 AM
From: Abhiram Emmadishetty
Subject: Unable to find dspmqerr Application file in MQ 9.0
Hi,
Ya understood. Where can i check the MQ logs in my local machine.
Currently, I've an MQ based application ready and tested successful. After completion of testing, I need to check the MQ log. Where can i find it?
As well as how can i check the MQ error log on CP4I?
------------------------------
Abhiram Emmadishetty
Original Message:
Sent: Thu June 16, 2022 06:53 AM
From: Morag Hughson
Subject: Unable to find dspmqerr Application file in MQ 9.0
The command you are looking for is an MQ Appliance only command. It only exists on the MQ Appliance because you cannot directly interact with the file system on an appliance. When you run MQ on commodity hardware, such as the Windows box illustrated in your question, you can look at the file system as much as you like.
If you want something similar you might like the command file I wrote called mqerror.cmd with the following contents:-
@REM first parameter into this batch file is the target qmgr
@if "%1" EQU "" (
@start notepad %MQ_DATA_PATH%\errors\AMQERR01.LOG
) ELSE (
@start notepad %MQ_DATA_PATH%\qmgrs\%1\errors\AMQERR01.LOG
)
If it doesn't do what you want, you can always edit it to do whatever you need.
Cheers,
Morag
------------------------------
Morag Hughson
MQ Technical Education Specialist
MQGem Software Limited
Website: https://www.mqgem.com
Original Message:
Sent: Thu June 16, 2022 06:38 AM
From: Abhiram Emmadishetty
Subject: Unable to find dspmqerr Application file in MQ 9.0
Hi,
I was trying to check the queue log error file in MQ 9.0 using
dspmqerr -m QMgrName Filename

I'm unable to check this because dspmqerr application file is not available in bin folder.

I checked in bin and all folders I wasn't find that. In previous versions its availble but not in latest or 9.0 version.
Kindly, give me the resolution to check the logs in my local.
------------------------------
Abhiram Emmadishetty
------------------------------