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 » IBM MQ API Support » Help Please MQSeries and IMS

Post new topic  Reply to topic
 Help Please MQSeries and IMS « View previous topic :: View next topic » 
Author Message
mq_series
PostPosted: Wed Nov 06, 2002 10:29 pm    Post subject: Help Please MQSeries and IMS Reply with quote

Apprentice

Joined: 29 Oct 2001
Posts: 30

Hi,

Can we use OTMA bridge for incoming requests and IMS adapter for sending replies.

I mean to ask can we use GU call for reading the MQseries input message and use MQCONN,MQPUT calls for sending replies in the same IMS application.

Regards

RKV
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Thu Nov 07, 2002 9:48 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

I pretty sure the answer is no but I will defer to anyone who has actually tried this.

A better question is WHY?

I mean if you can do MQCONN, MQOPEN, MQPUT, etc.. then why can't you do MQOPEN, MQGET, etc.. ? Not having the MQ IMS Bridge in the middle will also shave off a few milliseconds from your transaction.

later
Roger...
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
mq_series
PostPosted: Sun Nov 10, 2002 10:15 pm    Post subject: Reply with quote

Apprentice

Joined: 29 Oct 2001
Posts: 30

Thanks Boss for your reply.

Can you please guide me on this .

1) The Incoming as well as Outgoing message are using MQRFH2 header.Can we use cobol structures like

01 INPUT-MSG.
03 w001-MQRFH-HEADER.
05 w001-MQRFH-STRUCID PIC X(04) VALUE 'RFH '.
05 w001-MQRFH-VERSION PIC S9(09) BINARY VALUE 2.
05 w001-MQRFH-STRUCLENGTH PIC S9(09) BINARY VALUE Length of the RFH Header.
05 w001-MQRFH-ENCODING PIC S9(09) BINARY VALUE Encoding of the target platform.
05 w001-MQRFH-CODEDCHARSETID PIC S9(09) BINARY VALUE Coded Character SetID of the target platform.
05 w001-MQRFH-FORMAT PIC X(0 VALUE SPACES.
05 w001- MQRFH-FLAGS PIC S9(09) BINARY VALUE 0.
05 w001-MQRFH-NMVALUECCSID PIC S9(09) BINARY VALUE Coded Character SetID target platform.
05 w001-MQRFH-NMVALUELEN PIC S9(09) BINARY VALUE Sum of Lengths of the next 2 fields viz MQRFH-NMVALUEDATA-1 & MQRFH-NMVALUEDATA-2 .
05 w001-MQRFH-NMVALUEDATA-1 PIC X(xx) VALUE ------------------------


for reading the input message and a similar structure as shown below for doing the MQPUT .Why I am asking this because I think for reading /sending the cobol structure must not be preceded with w001 or w002.Please correct me if I am wrong.

01 OUTPUT-MSG.
03 woo2-MQRFH-HEADER.
05 woo2-MQRFH-STRUCID PIC X(04) VALUE 'RFH '.
05 woo2-MQRFH-VERSION PIC S9(09) BINARY VALUE 2.
05 woo2-MQRFH-STRUCLENGTH PIC S9(09) BINARY VALUE Length of the RFH Header.
05 woo2-MQRFH-ENCODING PIC S9(09) BINARY VALUE Encoding of the target platform.
05 woo2-MQRFH-CODEDCHARSETID PIC S9(09) BINARY VALUE Coded Character SetID of the target platform.
05 woo2-MQRFH-FORMAT PIC X(0 VALUE SPACES.
05 woo2- MQRFH-FLAGS PIC S9(09) BINARY VALUE 0.
05 woo2-MQRFH-NMVALUECCSID PIC S9(09) BINARY VALUE Coded Character SetID target platform.
05 woo2-MQRFH-NMVALUELEN PIC S9(09) BINARY VALUE Sum of Lengths of the next 2 fields viz MQRFH-NMVALUEDATA-1 & MQRFH-NMVALUEDATA-2 .
05 woo2-MQRFH-NMVALUEDATA-1 PIC X(xx) VALUE ------------------------


Regards

RKV
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Mon Nov 11, 2002 9:56 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

First you want to use the MQ IMS Bridge now you want to use RFH2. What version of MQ do you have on the mainframe?

RFH2 is ONLY supported by the latest versions of MQ. Just a word of warning, if the your version of MQ does not support RFH2 then handling the binary will be a real pain.

later
Roger...
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
mq_series
PostPosted: Tue Nov 12, 2002 12:01 pm    Post subject: Reply with quote

Apprentice

Joined: 29 Oct 2001
Posts: 30

Hi Roger,
Actually request messages are coming from a MQSI hub to MQSeries on mainframe . On mainframe after processing we need to send reply to MQSI hub which will route it to some destination.

RFH2 header is there in both request/reply messages.
The version of MQseries on mainframe is 5.2. I think MQSeries5.2 support RFH2 header.

RKV
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 » IBM MQ API Support » Help Please MQSeries and IMS
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.