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 » amqsbcg is not found anywhere

Post new topic  Reply to topic Goto page 1, 2  Next
 amqsbcg is not found anywhere « View previous topic :: View next topic » 
Author Message
samsansam
PostPosted: Sun Apr 13, 2014 5:22 pm    Post subject: amqsbcg is not found anywhere Reply with quote

Apprentice

Joined: 19 Mar 2014
Posts: 41

I am trying to see why the message are going to DLQ , I know how to do it by using amqsbcg.
I have done many times with different environments except for one environment.
I could not find amqsbcg any where.
Under /opt/mqm/samp, I have the following files:
mqs.ini , ccdid.tbl , ccsid.new, service.env and mqclient. . There is no bin file there.

Also I looked under /opt/mqm/bin, I could not found amqsbcg or amqsbcg.c.

I am running websphere mq version 7.0.1.5 on solaris

I tried to find it with find command but the result come with nothing, So , I believe it was deleted or never
installed.

Is there any to install amqsbcg or copy from different environment? would it be a problem to my queue manager if I copy amqsbcg from different environment?

I know there is a different way to check the message in DLQ by using DLH (Dead Letter Header), but I have never used this way and I don't know how to create the table rule?
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Sun Apr 13, 2014 6:42 pm    Post subject: Reply with quote

Jedi Knight

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

You need to install the MQ Samples for samp/bin to contain amqsbcg, amqsput, amqsget etc. Alternatively, you can copy the binary program from another server of the same type and MQ version.
_________________
Glenn
Back to top
View user's profile Send private message
samsansam
PostPosted: Sun Apr 13, 2014 7:16 pm    Post subject: Reply with quote

Apprentice

Joined: 19 Mar 2014
Posts: 41

Thank you gbaddeley for answring.

Where do I download it from? do you know what support pack are they under ? If I want copy it from different environment, do I copy everything under /opt/mqm/samp/bin ? I did copy amqsbcg from different environment but it did not run in the missing environment. Do I have to copy everything under samp file?
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Mon Apr 14, 2014 7:26 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

samsansam,

It is on the installation media and is not a support pac. There are several support packs that will allow you to inspect the msgs on a DLQ.

MS0P or IH03 (RfhUtilC) and others to be sure.

I would not just copy it from another install. Do it the right way.
Back to top
View user's profile Send private message AIM Address
samsansam
PostPosted: Mon Apr 14, 2014 12:30 pm    Post subject: Reply with quote

Apprentice

Joined: 19 Mar 2014
Posts: 41

JosephGramig , My life will be more easy if I am allow to use MSOP or IH03, for security reasons both support pack is prohibited to be used. I was hoping I can just copy the amqsbcg from different environment, in the same time am worry if that will cause any issue to the queue manager. I tried with DLH, but I stock with the rule.tb thing.

Thank you for your respond
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Apr 14, 2014 12:44 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

samsansam wrote:
My life will be more easy if I am allow to use MSOP or IH03, for security reasons both support pack is prohibited to be used.


If you can't use those, how does your security policy allow amqsbcg??

samsansam wrote:
I tried with DLH, but I stock with the rule.tb thing.


Then amqsbcg is unlikely to be much more help. Or any help. Though I accept it doesn't require rules.

Question - when you've determined why the messages are on the DLQ (using amqsbcg we shall assume) what do you plan to do about them? In the absence of MS0P or IH03?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Apr 14, 2014 1:15 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Vitor wrote:
...Question - when you've determined why the messages are on the DLQ (using amqsbcg we shall assume) what do you plan to do about them? In the absence of MS0P or IH03?

runmqdlq and pipe in a rules file?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Mon Apr 14, 2014 4:04 pm    Post subject: Reply with quote

Jedi Knight

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

samsansam wrote:
I did copy amqsbcg from different environment but it did not run in the missing environment. Do I have to copy everything under samp file?

No, amqsbcg does not require anything else in that directory. You need to copy it from exactly the same type of environment (ie. you can't use Linux X86 program on AIX). It also needs to be a fully licensed MQ environment I don't recommend copying MQ files around, but it is a quick way to get you out of the situation until you can arrange for the MQ Samples to be installed.
_________________
Glenn
Back to top
View user's profile Send private message
samsansam
PostPosted: Mon Apr 14, 2014 9:15 pm    Post subject: Reply with quote

Apprentice

Joined: 19 Mar 2014
Posts: 41

Thank you all for responding.
Vitor . the message in DLQ is not important because we can send it again but the reason to be there is more important.
If I know the reason, I would fix the problem. According to our security policy (which I did not write and cannot change) amqsbcg is secured more thn other support packs.

gbaddeley. yeas I did copy from the same type environment but no luck and I agree with you for not recommending copying MQ files.

Looks like what exerk said would be my best option here. I did created rule table and run the runmqdlq. everything was ok and I received no errors and I got the following message (AMQ8708: Dead-letter queue handler started to process
INPUTQ(SYSTEM.DEAD.LETTER.QUEUE)


Now what to do ? where do I found the out put of runmqdlq? here is my rules:

inputqm(MyQMGRName) inputq(SYSTEM.DEAD.LETTER.QUEUE)
REASON(MQRC_Q_FULL) ACTION(RETRY) RETRY(5)
REASON(MQRC_PUT_INHIBITED) ACTION(RETRY) RETRY(5)
ACTION(FWD) FWDQ(DLH)
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Apr 14, 2014 9:55 pm    Post subject: Reply with quote

Grand High Poobah

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

You see the action of the handler by the way the DLQ depth changes. However remember the DLH is real fast...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
gbaddeley
PostPosted: Tue Apr 15, 2014 3:45 pm    Post subject: Reply with quote

Jedi Knight

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

samsansam wrote:
Now what to do ? where do I found the out put of runmqdlq? here is my rules:

inputqm(MyQMGRName) inputq(SYSTEM.DEAD.LETTER.QUEUE)
REASON(MQRC_Q_FULL) ACTION(RETRY) RETRY(5)
REASON(MQRC_PUT_INHIBITED) ACTION(RETRY) RETRY(5)
ACTION(FWD) FWDQ(DLH)


runmqdlq does not produce any output. Assume it will precisely follow the rules it is given.
_________________
Glenn
Back to top
View user's profile Send private message
samsansam
PostPosted: Wed Apr 16, 2014 11:09 am    Post subject: Reply with quote

Apprentice

Joined: 19 Mar 2014
Posts: 41

So how do I know why do I have message in DLQ using runmqdlq? I do understand what the table rules will do , but all what I want is reasons why some of my message keep going to DLQ
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Apr 16, 2014 11:16 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

samsansam wrote:
So how do I know why do I have message in DLQ using runmqdlq?

You don't know why a message ended up in the DLQ with runmqdlq. Runmqdlq is the dead-letter queue handler application. It's function is to process messages in the DLQ.
samsansam wrote:
I do understand what the table rules will do , but all what I want is reasons why some of my message keep going to DLQ

You will need to use a browse utility, like amqsbcg, to view the ReasonCode in the DLH.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
samsansam
PostPosted: Wed Apr 16, 2014 11:23 am    Post subject: Reply with quote

Apprentice

Joined: 19 Mar 2014
Posts: 41

bruce ,
amqsbcg is what I always use with other environments. One of my environment has not MQ sample tools , looks amqsbcg was deleted or never installed.

If you read my first post you would understand my problem . Thank you for your respond
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Apr 16, 2014 12:42 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

samsansam wrote:
bruce ,
amqsbcg is what I always use with other environments. One of my environment has not MQ sample tools , looks amqsbcg was deleted or never installed.

If you read my first post you would understand my problem . Thank you for your respond

I did read your post. I do understand that those in power did not install the utility programs. Can you write a program? If so, write a program that browses message in the DLQ, extracts information from the DLH, and produces a report.

If you can't write a program, and you can't use the supplied utility programs, how can you be expected to do your job - without the necessary tools?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » amqsbcg is not found anywhere
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.