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 » IMS header values for C++ client

Post new topic  Reply to topic
 IMS header values for C++ client « View previous topic :: View next topic » 
Author Message
ydsk
PostPosted: Wed Feb 28, 2007 1:19 pm    Post subject: IMS header values for C++ client Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Hi,
I am trying to send a request msg from a Windows C++ client to an IMS transaction via a AIX qmgr and IMS bridge as shown below" :

C++ client on Windows ---> MQ5.3 on AIX ---> MQ5.3 on mainframe --> IMS bridge --> IMS.

And the Response comes back thru the same path.

I am using the IBM provided sample imsbridge.cpp but I need to change the values in the IMS header to suit my transaction. I am also trying to use RFHutilc.

msg.setFormat ("MQIMSVS ");

imqIMSBridgeHeader imshdr;
imshdr.setAuthenticator (" ");
imshdr.setEncoding (MQENC_NATIVE);
imshdr.setCharacterSet (MQCCSI_Q_MGR);
imshdr.setHeaderFlags (MQIIH_NONE);
imshdr.setFormat (MQFMT_IMS_VAR_STRING);
imshdr.setReplyToFormat (MQFMT_IMS_VAR_STRING);
imshdr.setLogicalTerminalOverride ("MASTER ");
imshdr.setMessageFormatServicesMapName ("MODU03 ");
imshdr.setSecurityScope (MQISS_CHECK);
imshdr.setCommitMode (MQICM_COMMIT_THEN_SEND);
imshdr.setTransactionState (MQITS_NOT_IN_CONVERSATION);
imshdr.setTransactionInstanceId();

I know some of them take default values but I want to know to which of them I need to feed values. Of course I have the message data ready.

Our IMS team doesn't understand the above parameters because they are specific to MQ.

Can someone pls suggest what common values the above parameters can take ( other than those that are dependent on individual transactions ) ?

Thanks.
ydsk.
Back to top
View user's profile Send private message
ydsk
PostPosted: Wed Feb 28, 2007 1:24 pm    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

I know MQ and I know C++.
I am new to IMS bridge so I am asking you this question.
Pls post your responses.

thnx.
ydsk
Back to top
View user's profile Send private message
tleichen
PostPosted: Thu Mar 01, 2007 12:58 pm    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

Your question does not make it clear what the difficulty is. You have already echoed the sample code here. Given that, it should be intuitive what to change. Which fields are you wanting to change? I would assume LTERM and/or MFS map name...
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
ydsk
PostPosted: Thu Mar 01, 2007 3:38 pm    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Hi,
My question is: do I need to change any of the fields in IIH ? Can I use defaults always ? or most of the time ?

I am new to IMS so I don't know which of them I need to change, if any.

Pls suggest.

thanks.
ydsk.
Back to top
View user's profile Send private message
ydsk
PostPosted: Mon Mar 26, 2007 12:41 pm    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Posted the question in "Mainframes and CICS" forum in a separate thread as the question is different from the one in this post.

Thank you.
ydsk.
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 » IMS header values for C++ client
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.