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 » MQ-CICS Bridge: MQ Message

Post new topic  Reply to topic
 MQ-CICS Bridge: MQ Message « View previous topic :: View next topic » 
Author Message
bvasanth
PostPosted: Tue May 04, 2004 7:14 pm    Post subject: MQ-CICS Bridge: MQ Message Reply with quote

Apprentice

Joined: 03 May 2004
Posts: 27
Location: Chennai, India

I am using MQ-CICS bridge for invoking CICS 3270 tranaction from java program. I have difficulty in finding and designing MQ messages for CICS bridge. Can anyone help me on how to find and design MQ messages (esp BRMQ vector that needs to be passed in input messages and parse output BRMQ messages? Client is a Java program.
Thanks,
Vasanth
Back to top
View user's profile Send private message
bob_buxton
PostPosted: Wed May 05, 2004 1:56 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

The description of the BRMQ vectors is in the MQ application programming guide and in the CICS external interfaces guide.
You can request that the bridge return an Application Data Structure Descriptor on Send map and Receive Map Request vectors which can be used to help interpret/construct the Application Data Structure.

I have no experience in using Java to create MQ messages.
You should note that bridge messages must not include an MQHRF2 header.
_________________
Bob Buxton
Ex-Websphere MQ Development
Back to top
View user's profile Send private message
bvasanth
PostPosted: Wed May 05, 2004 7:13 pm    Post subject: Reply with quote

Apprentice

Joined: 03 May 2004
Posts: 27
Location: Chennai, India

I have set INIT, REQUEST, and REPLY queues. I have also set init queue of REQUEST queue as INIT, and process of REQUEST q is CICS_BRIDGE (i.e CKBR). Then I have started CKIT with INIT q. Now the input use count of INIT is 1 and that of REQUEST is 0. Should I separately start CKBR with q as REQUEST?
Back to top
View user's profile Send private message
bob_buxton
PostPosted: Thu May 06, 2004 12:33 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

Your REQUEST queue should be defined with attribute
INDXTYPE(CORRELID) INITQ(INITQ) TRIGTYPE(FIRST) TRIGGER
PROCESS('CICS_BRIDGE')

When the first message is put on the REQUEST queue the queue manager will automatically put a message onto the INITQ which will cause CKTI to start the CKBR transaction.

Full details on triggering are in the Application Programming Guide and there are several discussions on these forums.
_________________
Bob Buxton
Ex-Websphere MQ Development
Back to top
View user's profile Send private message
bvasanth
PostPosted: Thu May 06, 2004 1:53 am    Post subject: Reply with quote

Apprentice

Joined: 03 May 2004
Posts: 27
Location: Chennai, India

Thanks for info. I am getting the following error in CICS log after message:
CKBR 0000326 Auth=LOCAL, WaitInterval=-1, Q=REQUESTQUEUE
05/05/2004 19:56:54 CICS1 CKBR Security violation by user MYUSERID for resource DFLTCICS.DFHSTART in class SURROGAT. SAF codes are (X'00000004',X'00000000'). ESM codes are (X'00000004',X'00000000'). ESM codes are (X'00000004',X'00000000')
Is this anything to do with AUTH=LOCAL parameters?
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 » MQ-CICS Bridge: MQ Message
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.