Author |
Message
|
brgmo |
Posted: Thu Jun 14, 2007 9:12 am Post subject: mqsCRIPTS ON lINUX |
|
|
Master
Joined: 03 Jun 2002 Posts: 227
|
Hi All,
Can someone help me in getting the mq scripts for linux. Also, any idea how to setup the BATCHSIZE attribute using scripts as i can't find any reference to it in the mqseries command reference pdf guide.
Regards
brgmo. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jun 14, 2007 9:16 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
There are no MQ scripts specifically for linux - at least not supplied by IBM as part of the MQ product.
There are the same facilities on Linux for managing and scripting MQ as there are on every other Unix platform.
There is an entire manual devoted to Scripting MQ.
Read it.
You have a history of not appearing to read documentation. This is lazy and irresponsbile, if this is what you are doing. It is part of your job to learn how to do the things your employer pays you to do. Please try harder. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Jun 14, 2007 1:14 pm Post subject: |
|
|
Guest
|
Please read the MQ V6 Script Command Reference manual. Script commands are consistent across all supported platforms. |
|
Back to top |
|
 |
brgmo |
Posted: Fri Jun 15, 2007 2:02 am Post subject: |
|
|
Master
Joined: 03 Jun 2002 Posts: 227
|
Jeff,
After reading documents only, i post the request on this site. It is very obvious that i am not getting answers in the manual and so i request getting it from the site which offers great help. I have been searching in the mq script document regarding setting of BATCHSIZE and i couldn't find any description and that's why i posted on the net. So, i request you to take back your words and if you know the answer,then please be kind to help me.
Regards
brgmo. |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Fri Jun 15, 2007 2:17 am Post subject: |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
How about ALTER statement ?
Have you checked it ? _________________ Marcin |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 15, 2007 2:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
brgmo wrote: |
I have been searching in the mq script document regarding setting of BATCHSIZE and i couldn't find any description and that's why i posted on the net. |
You'll find it described in the MQ Script Document as a command parameter. Quite clearly and prominently. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
sebastianhirt |
Posted: Fri Jun 15, 2007 2:29 am Post subject: |
|
|
Yatiri
Joined: 07 Jun 2004 Posts: 620 Location: Germany
|
brgmo wrote: |
BATCHSIZE and i couldn't find any description and that's why i posted on the net. |
It is BATCHSZ rather then Batchsize. Go and look for that. You might also find some hints in the intercommunication manual |
|
Back to top |
|
 |
brgmo |
Posted: Fri Jun 15, 2007 2:30 am Post subject: |
|
|
Master
Joined: 03 Jun 2002 Posts: 227
|
Yes, it doesn't have any such option of setting the BATCHSIZE parameter. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 15, 2007 2:37 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
brgmo wrote: |
Yes, it doesn't have any such option of setting the BATCHSIZE parameter. |
But if you thought outside the box and searched for "batch size" (or even looked carefully) you'd fall over the reference.
How easy do you need it? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Fri Jun 15, 2007 2:43 am Post subject: |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
Hm,
I wouldn't say it is the most complicated problem I've ever seen.
Code: |
ALTER channel ('place here your channel name') CHLTYPE(place here your channel type) BATCHSZ(place here your new value) |
_________________ Marcin |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 15, 2007 2:47 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
marcin.kasinski wrote: |
Hm,
I wouldn't say it is the most complicated problem I've ever seen.
Code: |
ALTER channel ('place here your channel name') CHLTYPE(place here your channel type) BATCHSZ(place here your new value) |
|
I think the poster's been confused by IBM calling the parameter the wrong thing, and not adequately describing the parameter to identify it as a batch size parameter. I mean:
Quote: |
BATCHSZ(integer)
The maximum number of messages that can be sent through a channel before taking a checkpoint. The maximum batch size actually used is the lowest of the following:
The BATCHSZ of the sending channel
The BATCHSZ of the receiving channel
On z/OS, three less than the maximum number of uncommitted messages allowed at the sending queue manager (or one if this value is zero or less). On platforms other than z/OS, the maximum number of uncommitted messages allowed at the sending queue manager (or one if this value is zero or less).
On z/OS, three less than the maximum number of uncommitted messages allowed at the receiving queue manager (or one if this value is zero or less). On platforms other than z/OS, the maximum number of uncommitted messages allowed at the receiving queue manager (or one if this value is zero or less).
The maximum number of uncommitted messages is specified by the MAXUMSGS parameter of the ALTER QMGR command.
This parameter is valid only for channels with a channel type (CHLTYPE) of SDR, SVR, RCVR, RQSTR, CLUSSDR, or CLUSRCVR.
The value must be in the range 1 through 9999. |
How would you determine that this has anything to do with batch size?  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
brgmo |
Posted: Fri Jun 15, 2007 2:51 am Post subject: |
|
|
Master
Joined: 03 Jun 2002 Posts: 227
|
Guys,
I am extremly sorry. I was looking at the wrong place in docs and so couldn't get proper explaination.Thanks a lot once again.
Regards
brgmo. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 15, 2007 2:57 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
brgmo wrote: |
I am extremly sorry. I was looking at the wrong place in docs and so couldn't get proper explaination.Thanks a lot once again.
|
You should raise this with IBM if their search feature is giving you the wrong place in the documentation. Or the version you found didn't indicate BATCHSZ (and where to find it described) as part of the ALTER command. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
UglyAngelX |
Posted: Fri Jun 15, 2007 5:40 am Post subject: |
|
|
Voyager
Joined: 04 Dec 2001 Posts: 90 Location: BEARS FAN IN STEELER COUNTRY
|
I really think this is just another.....thanks for doing the work for me fellas...post. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 15, 2007 5:45 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
UglyAngelX wrote: |
I really think this is just another.....thanks for doing the work for me fellas...post. |
Yeah - my sarcasm is just not what it once was.
Still, it's an interesting philosophical point. If you've had to wait a day to be told something you could have read in a minute, have you achieved a saving of effort?
Sort of a Dlibert one hand clapping. Or the first sign of the week's coffee intake catching up with me. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|