Author |
Message
|
bvasanth |
Posted: Tue May 04, 2004 7:14 pm Post subject: MQ-CICS Bridge: MQ Message |
|
|
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 |
|
 |
bob_buxton |
Posted: Wed May 05, 2004 1:56 am Post subject: |
|
|
 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 |
|
 |
bvasanth |
Posted: Wed May 05, 2004 7:13 pm Post subject: |
|
|
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 |
|
 |
bob_buxton |
Posted: Thu May 06, 2004 12:33 am Post subject: |
|
|
 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 |
|
 |
bvasanth |
Posted: Thu May 06, 2004 1:53 am Post subject: |
|
|
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 |
|
 |
|