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 » long running UOW -

Post new topic  Reply to topic
 long running UOW - « View previous topic :: View next topic » 
Author Message
ivanachukapawn
PostPosted: Mon Oct 18, 2010 9:47 am    Post subject: long running UOW - Reply with quote

Knight

Joined: 27 Oct 2003
Posts: 561

In response to this problem FJ Saper wrote (in 2006)

Quote:
a) never do a prepare commit or a rollback and disconnect
b) do a prepare commit but never commit or rollback and disconnect...


I wonder about prepare commit - a) indicates that I should never do a prepare commit while b) indicates that I could do a prepare commit but never commit or rollback and disconnect. I'm just wondering what this advice actually intended to advise.

I have long running UOWs and related problems and am trying to investigate and debug via http://www-01.ibm.com/support/docview.wss?rs=171&context=SSFKSJ&dc=DA400&uid=swg27010604&loc=en_US&cs=UTF-8&lang=en&rss=ct171websphere

Any help would be appreciated.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Oct 18, 2010 10:12 am    Post subject: Reply with quote

Grand High Poobah

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

It looks like the problem you are having might not be relate to that old post.

Make sure you have sufficient log space to cover your long running transactions...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ivanachukapawn
PostPosted: Tue Oct 19, 2010 6:38 am    Post subject: Reply with quote

Knight

Joined: 27 Oct 2003
Posts: 561

You wrote:
Quote:
It looks like the problem you are having might not be relate to that old post.

Make sure you have sufficient log space to cover your long running transactions...


I'm still interested in your 2006 advice to never do a prepare commit, but I followed your advice and found that multiple jobs actually do very large units of work. The jobs in question are jury-rigging an FTP by sandwiching multiple MQPUTs between start trans and commit. These puts are for messages which have max message length of 100mb. Often the transactions transmit >1GB in multiple MQPUTs. I suspect the log sizes are not sufficient to handle this as you suggest. I would like to run some tests (not in production) to 1) duplicate the problem 2) expand the log sizes to find out if the problem can be solved. I have an alarming ignorance of all things Z-MQ and need help. Looking at the manuals I see CSQUTIL COPYPAGE but don't know if this may be relevant to increase log space. Is this a viable way to increase/expand the log file allocations, and if so, how should I go about determining which page sets to COPYPAGE?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Oct 19, 2010 6:51 am    Post subject: Reply with quote

Grand High Poobah

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

ivanachukapawn wrote:
I have an alarming ignorance of all things Z-MQ and need help.


You need the assitance of a local z/OS systems programmer. Seriously. The z/OS platform is nothing like distributed & you will almost certainly need a sys prog to run the jobs you need due to RACF considerations.

ivanachukapawn wrote:
Looking at the manuals I see CSQUTIL COPYPAGE but don't know if this may be relevant to increase log space.


No. Page sets are queue storage.

Try this manual. I repeat, if you do not have experience with z/OS generally do not mess with this and find someone who does. Both the log files and the BSDS are VSAM files that must be modified with z/OS utilities and with some care or your queue manager will turn to a pile of cream cheese in the bottom of the address space.

Even if the sys prog says, "oh, write some JCL & I'll run it for you" don't fall for it. To quote a famous film character:

Quote:
It's a trap!


Get them to amend the files for you based on the JCL used to create the queue manager.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Tue Oct 19, 2010 9:52 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

z/OS uses linear logging. so there should be "enough" log space. however, if active logs are too small some data from the current UOW may also be in the log archives. In case of a backout of that uow it increases time required for the backout.
Or you may fill up your active logs if archiving is not able to catch up. This can harm the whole queuemanager.

So you should make sure your UOW can be covered by the active logs.

I addition, there is a "maximun number of uncomitted messagtes within a unit of work" - parameter for each queuemanager. A you deal with (few?) big messages i assume you will not hit this limit, but this is also something that you should take into account when dealing with big UOWs.

Of course pageset storage is an option too and has to be verified. If these big messages are send via MQ channels, you should also consider setting proper channel parameters, e.g. batchsize 1 and whatever is recommended for large messages.

As Vitor already said - see your local z/OS MQ sysprog....... he should be aware of things that needs to be checked for large UOWs and big messages....
_________________
Regards, Butcher
Back to top
View user's profile Send private message
ivanachukapawn
PostPosted: Sun Oct 24, 2010 2:02 pm    Post subject: Reply with quote

Knight

Joined: 27 Oct 2003
Posts: 561

I haven't found the reference to batchsize = 1. Hypothetically, if my UOW consisted of 30 100MB messages (between start trans and commit) would batchsize = 1 be the recommended setting?
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Mon Oct 25, 2010 1:05 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

i would use it, others mileage may vary.
_________________
Regards, Butcher
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 IBM MQ Support » long running UOW -
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.