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 » Control command not working in my mq command console

Post new topic  Reply to topic
 Control command not working in my mq command console « View previous topic :: View next topic » 
Author Message
apraj397
PostPosted: Wed Jun 23, 2010 9:06 pm    Post subject: Control command not working in my mq command console Reply with quote

Newbie

Joined: 18 Jun 2010
Posts: 7

Hi To All

i put some test message in queue1 using amqsput queue1 command.then i can't browse these message in command console.amqsbcg queue1 command not working in my mq command console.but my mq explorer shows current queue depth. it display o/s system error.

how to find out mq sample programe for v 6.0 & how to download it.in my system have only two sample programe like dot net & java sample in following dir
C:\Program Files\IBM\WebSphere MQ\tools\soap\samples

Thanks & Regards
muthumariappan

[b]
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Jun 23, 2010 9:14 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Have you tried reading the manuals to find out what are command console inputs and what are utility programs? Have you played around with MQExplorer to see whether there is a facility within it to browse messages? Have you bothered to do any self-study etc.?
_________________
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
shashivarungupta
PostPosted: Thu Jun 24, 2010 12:20 am    Post subject: Re: Control command not working in my mq command console Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

apraj397 wrote:

i put some test message in queue1 using amqsput queue1 command.then i can't browse these message in command console.amqsbcg queue1 command not working in my mq command console.but my mq explorer shows current queue depth. it display o/s system error.


Code:
C:\Documents and Settings\Administrator>AMQSPUT TEST QM1
Sample AMQSPUT0 start
target queue is TEST
HELLO

Sample AMQSPUT0 end

C:\Documents and Settings\Administrator>AMQSBCG TEST QM1

AMQSBCG0 - starts here
**********************

 MQOPEN - 'TEST'


 MQGET of message number 1
****Message descriptor****

  StrucId  : 'MD  '  Version : 2
  Report   : 0  MsgType : 8
  Expiry   : -1  Feedback : 0
  Encoding : 546  CodedCharSetId : 437
  Format : 'MQSTR   '
  Priority : 0  Persistence : 0
  MsgId : X'414D5120514D3120202020202020202079A4214C20003702'
  CorrelId : X'000000000000000000000000000000000000000000000000'
  BackoutCount : 0
  ReplyToQ       : '                                                '
  ReplyToQMgr    : 'QM1                                             '
  ** Identity Context
  UserIdentifier : 'XYZ    '
  AccountingToken :
   X'160105150000000F50B9215E9C92613B2D9F04F401000000000000000000000B'
  ApplIdentityData : '                                '
  ** Origin Context
  PutApplType    : '11'
  PutApplName    : 'WebSphere MQ\bin\amqsput.exe'
  PutDate  : '20100624'    PutTime  : '08141984'
  ApplOriginData : '    '

  GroupId : X'000000000000000000000000000000000000000000000000'
  MsgSeqNumber   : '1'
  Offset         : '0'
  MsgFlags       : '0'
  OriginalLength : '-1'

****   Message      ****

 length - 5 bytes

00000000:  4845 4C4C 4F                            'HELLO           '



 No more messages
 MQCLOSE
 MQDISC
C:\Documents and Settings\Administrator>


by the way.. YOu should have given 'what' error you are getting ? You should have given 'what' you have tried to do so ? You should have given 'what' command you gave ? You should have given your 'mq' / 'system' details ?
Read MQPrimer/IBM InfoCenter , that would help you !!!!

_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Control command not working in my mq command console
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.