Author |
Message
|
ankurlodhi |
Posted: Mon Aug 29, 2011 9:18 am Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
u wont belive that, i didn't migrated that queue manager, and at that time my senior was there, i was just trying to get as much help as i can,
and as u guys said check the kernal, I suggested them of checking the kernal and the system admin found out the error he had made, while migrating, |
|
Back to top |
|
 |
Vitor |
Posted: Mon Aug 29, 2011 9:29 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ankurlodhi wrote: |
u wont belive that |
No I don't believe a word of this.
ankurlodhi wrote: |
i didn't migrated that queue manager |
Yet you said you did.
ankurlodhi wrote: |
I suggested them of checking the kernal and the system admin found out the error he had made, while migrating, |
A sys admin can't migrate a queue manager from v5.3 to v7.0
A v5.3 queue manager shouldn't be using kernal setting for what you were talking about. A v7.0 queue manager can't.
You sound convincing, then you come out with this.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ankurlodhi |
Posted: Mon Aug 29, 2011 10:15 am Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
that time it was not migrated if u remeber properly, that time mq 5.3's whole setting was copied and dumped to another machine,
so it was not a version migration, |
|
Back to top |
|
 |
mvic |
Posted: Mon Aug 29, 2011 10:28 am Post subject: Re: mq client connetion successful but status not found. |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
So, back to my questions:
Has your client disconnected at the time you do DIS CHS?
If your client was still connected I think you would see results from DIS CHS.
I think, if you saw no results from DIS CHS then your client must have disconnected. It does this by calling MQDISC, typically. It does this before ending, typically. |
|
Back to top |
|
 |
ankurlodhi |
Posted: Mon Aug 29, 2011 10:35 am Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
It like i send the msg and press enter 2 times
when it gives the message"message sent successfully"
after that when i go and check dis chs(*) i dont find any status
the time gap between these 2 actions may be something around 1 min
so can it be that client disconnects right after sending the message |
|
Back to top |
|
 |
mvic |
Posted: Mon Aug 29, 2011 10:40 am Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
ankurlodhi wrote: |
It like i send the msg and press enter 2 times |
This is amqsputc? That'll make the program disconnect and end, correct?
If so, then you have no connection any more, and you have no DIS CHS output for that connection any more. |
|
Back to top |
|
 |
ankurlodhi |
Posted: Mon Aug 29, 2011 10:49 am Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
yap it is ampsputc,
you mean to say, once after quiting the amqsputc, it automaticaly closes the connection between the client and server , thats why i dont get any status |
|
Back to top |
|
 |
mvic |
Posted: Mon Aug 29, 2011 10:53 am Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
ankurlodhi wrote: |
you mean to say, once after quiting the amqsputc, it automaticaly closes the connection between the client and server |
The client is your amqsputc application, so yes when you have quitted the application, there is no client application any more, and the connection is ended.
Quote: |
thats why i dont get any status |
Correct. |
|
Back to top |
|
 |
ankurlodhi |
Posted: Mon Aug 29, 2011 11:00 am Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
thanks for your help.  |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Aug 29, 2011 11:18 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9475 Location: US: west coast, almost. Otherwise, enroute.
|
ankurlodhi wrote: |
you mean to say, once after quiting the amqsputc, it automaticaly closes the connection between the client and server , thats why i dont get any status |
Take a look a the source code for amqsput(c).
Each time you type some data, and press ENTER, amqsput(c) puts one message to the queue.
If you press ENTER on a null line (without typing any data), amqsput(c) closes the queue, and disconnects from the qmgr. _________________ 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 |
|
 |
ankurlodhi |
Posted: Mon Aug 29, 2011 11:21 am Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
where can i find these source codes as in windows these are .exe |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Aug 29, 2011 11:24 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
ankurlodhi wrote: |
where can i find these source codes as in windows these are .exe |
Always check the InfoCenter before posting.
Always. |
|
Back to top |
|
 |
mvic |
Posted: Mon Aug 29, 2011 11:30 am Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
ankurlodhi wrote: |
where can i find these source codes as in windows these are .exe |
Please search for the answer, as it is very easy to find.
Hint: search the Information Center or Google for the words: source for amqsputc |
|
Back to top |
|
 |
gbaddeley |
Posted: Mon Aug 29, 2011 7:25 pm Post subject: Re: mq client connetion successful but status not found. |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
ankurlodhi wrote: |
I defined a client conn channel , I send the msg from the client box,
msg reached the destination queue but still
DIS CHS(*)
15 : DIS CHS(*)
AMQ8420: Channel Status not found.
how i dont get it what should i do about this? |
You will see Channel Status on a SVRCONN channel while there is a client app running on it.
eg. run the amqsputc program, but don't press Enter on a blank line to end the program. Do a DIS CHS(*) and the channel status should be displayed. Press Enter to end the program, and it will disconnect from MQ. Do a DIS CHS(*) and the channel status will now be gone. _________________ Glenn |
|
Back to top |
|
 |
|