|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
TANDEM-MVS |
« View previous topic :: View next topic » |
Author |
Message
|
kavithadhevi |
Posted: Mon Oct 27, 2003 12:34 pm Post subject: TANDEM-MVS |
|
|
 Master
Joined: 14 May 2002 Posts: 201 Location: USA
|
Hi,
I need some help.
1. What do i need to pass for MVS QueueManager to accept messages from a Tandem QueueManager.
2. Does Tandem support MQIIH structure to pass message to MVS bridge.
3. How do i achieve the message format conversion.
I appreciate if anyone who has knowledge in this subject could give me some startup. _________________ Thanks in Advance.
Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com |
|
Back to top |
|
 |
mqonnet |
Posted: Mon Oct 27, 2003 1:10 pm Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
1. You should be able to even run amqsput sample and put messages from Tandem qm to MVS qm.
2. MQIIH is a Standard MQ structure and is supported on all platforms as any other MQ Structure.
3. Either specifying CONVERT(YES) on your channel def, or coding in your app to do the convert on Get.
Cheers
Kumar |
|
Back to top |
|
 |
kavithadhevi |
Posted: Mon Oct 27, 2003 1:52 pm Post subject: |
|
|
 Master
Joined: 14 May 2002 Posts: 201 Location: USA
|
Thank you Kumar for the immediate response.
Where could i find more information regarding MQIIH support on Tandem. I checked all Tandem Manual, i didnt see any, so i am concerned about it.
Can you help me out please. _________________ Thanks in Advance.
Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com |
|
Back to top |
|
 |
mqonnet |
Posted: Mon Oct 27, 2003 1:59 pm Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
As i mentioned earlier, MQIIH is NOT a Platform SPECIFIC Structure. It is an MQ Structure and is documented only in the Family manuals available on the web. As far as platform specific manuals are concerned, you only have the installation guide and the admin guide.
You do not have MQ manuals specific for platform.
So, to answer your question again, you have to look into the family manuals for the same.
Cheers
Kumar |
|
Back to top |
|
 |
LuisFer |
Posted: Mon Oct 27, 2003 9:40 pm Post subject: |
|
|
 Partisan
Joined: 17 Aug 2002 Posts: 302
|
I can send you (if wou want) a C source that Puts an IMS TX on a Remote Queue (by example) (Remote to OTMA queue on MVS) with the IIH structure. It works fine on NSK .
LuisFer |
|
Back to top |
|
 |
kavithadhevi |
Posted: Tue Oct 28, 2003 5:59 am Post subject: |
|
|
 Master
Joined: 14 May 2002 Posts: 201 Location: USA
|
A sample code would surely help me out to understand. If you say that it works on NSK to MVS.
I would like to look at the code, which might give a better understanding. _________________ Thanks in Advance.
Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com |
|
Back to top |
|
 |
mrlinux |
Posted: Tue Oct 28, 2003 6:54 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Here is a perl script that will work
use MQSeries;
use MQSeries::QueueManager;
use MQSeries::Message;
use MQSeries::Message::IIH;
$qmgr = MQSeries::QueueManager->new
(
QueueManager => ' ', ClientConn =>{ 'ChannelName'=> 'SYSTEM.DEF.SVRCONN','TransportType'=> 'TCP','ConnectionName' => "HOSTNAME(PORT)"}) || die("Unable to connect to queue manager\n");
#
# Create a message to be put on a queue going to IMS
#
my $putmsg = MQSeries::Message->new (MsgDesc=>{Format=> MQFMT_IMS});
$PutMsgOpts = {
Options => {MQPMO_SET_IDENTITY_CONTEXT}
};
my $mainMessage = MQSeries::Message::IIH->
new(MsgDesc=>{UserIdentifier=>"mqsiserv",Format=> MQFMT_IMS, ReplyToQ => "AAAAA"},
Header => {
Encoding => MQENC_INTEGER_REVERSED,
StrucId => MQIIH_STRUC_ID,
StrucLength => MQIIH_LENGTH_1,
Format => MQFMT_IMS_VAR_STRING,
Flags => MQIIH_NONE,
LTermOverride => 'MASTER ',
MFSMapName => ' ',
ReplyToFormat => MQFMT_IMS_VAR_STRING,
Authenticator => ' ',
TranInstanceId => MQITII_NONE,
TranState => MQSeries::MQITS_NOT_IN_CONVERSATION,
CommitMode => MQSeries::MQICM_SEND_THEN_COMMIT,
SecurityScope => MQISS_CHECK,
Reserved => ' ',
},
Data => { Transaction => 'IMS_TRAN_CODE',
Body => 'DATA_FOR_TRANSACTION',
},
);
$qmgr->Put1(PutMsgOpts =>$PutMsgOpts, Message => $mainMessage, Queue => "AAAA",); _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|