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 Discussion » mqsCRIPTS ON lINUX

Post new topic  Reply to topic
 mqsCRIPTS ON lINUX « View previous topic :: View next topic » 
Author Message
brgmo
PostPosted: Thu Jun 14, 2007 9:12 am    Post subject: mqsCRIPTS ON lINUX Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 14, 2007 9:16 am    Post subject: Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Thu Jun 14, 2007 1:14 pm    Post subject: Reply with quote

Guest




Please read the MQ V6 Script Command Reference manual. Script commands are consistent across all supported platforms.
Back to top
brgmo
PostPosted: Fri Jun 15, 2007 2:02 am    Post subject: Reply with quote

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
View user's profile Send private message
marcin.kasinski
PostPosted: Fri Jun 15, 2007 2:17 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

How about ALTER statement ?
Have you checked it ?
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Fri Jun 15, 2007 2:26 am    Post subject: Reply with quote

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
View user's profile Send private message
sebastianhirt
PostPosted: Fri Jun 15, 2007 2:29 am    Post subject: Reply with quote

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
View user's profile Send private message
brgmo
PostPosted: Fri Jun 15, 2007 2:30 am    Post subject: Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

Yes, it doesn't have any such option of setting the BATCHSIZE parameter.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jun 15, 2007 2:37 am    Post subject: Reply with quote

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
View user's profile Send private message
marcin.kasinski
PostPosted: Fri Jun 15, 2007 2:43 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Fri Jun 15, 2007 2:47 am    Post subject: Reply with quote

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
View user's profile Send private message
brgmo
PostPosted: Fri Jun 15, 2007 2:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri Jun 15, 2007 2:57 am    Post subject: Reply with quote

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
View user's profile Send private message
UglyAngelX
PostPosted: Fri Jun 15, 2007 5:40 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri Jun 15, 2007 5:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » mqsCRIPTS ON lINUX
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.