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 » global unit of work on as/400

Post new topic  Reply to topic
 global unit of work on as/400 « View previous topic :: View next topic » 
Author Message
brgmo
PostPosted: Mon Dec 08, 2003 2:24 pm    Post subject: global unit of work on as/400 Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

Hi All
Can i update queue and a database simultaneously on AS/400 using mqseries classes for java or in other words is global unit of work concept supported on as/400.

regards
brgmo
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Dec 08, 2003 2:36 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If you have an XA compliant datasource for your database on AS/400, and you configure your queue manager to act as a transaction manager for the database, including supplying (and possibly compiling) a switch file.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
leongor
PostPosted: Tue Dec 09, 2003 12:43 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

Jeff, I think at AS/400 there is no support for Queue Manager to be transaction manager.
If you need global UOW you must use AS/400 Commitment Control to act as transaction manager.
MQ and Database are only resource managers in this case.
_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Tue Dec 09, 2003 6:29 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

The AS/400 does have a OS level Commit/Control logic to allow you to do the UOW transaction, I was under the impression with the release of
MQ v5.2 they added that support to MQSeries, I could be wrong though.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
leongor
PostPosted: Tue Dec 09, 2003 8:53 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

Only for internal UOW. If you want global one you need to use OS/400 Commitment Control.
Here from WebSphere MQ for iSeries System Administration Guide :
Quote:

A local unit of work is one in which the only resources updated are those of the WebSphere MQ queue manager. Here, syncpoint coordination is provided by the queue manager itself using a dual-phase commit process and the MQI calls MQBACK and MQCMIT.

WebSphere MQ for iSeries can support and participate in global units of work as a resource manager, coordinated by the OS/400 COMMIT and ROLLBACK commands.

_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
Back to top
View user's profile Send private message
brgmo
PostPosted: Tue Dec 09, 2003 10:33 am    Post subject: Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

how to establish connection between os/400 commitment control and websphere mq for iSeries or as/400
Back to top
View user's profile Send private message
mrlinux
PostPosted: Tue Dec 09, 2003 11:04 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Actually that is done by a system command, I cant remember the command, but it is in one as400 os system manuals
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
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 » global unit of work on as/400
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.