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 » Sending IMS Commands on Bridge Queue.

Post new topic  Reply to topic
 Sending IMS Commands on Bridge Queue. « View previous topic :: View next topic » 
Author Message
jigjim
PostPosted: Mon Jun 07, 2004 12:45 pm    Post subject: Sending IMS Commands on Bridge Queue. Reply with quote

Apprentice

Joined: 30 Mar 2004
Posts: 41

Hi,

I use Java and MQ Client connection to connect with MQ Series on z/os. When I use "CMDMASK DIS A" I get the response back. When I try to do it the IMS Command way i.e "/DIS A" it dosent work.

If I use msg.format = MQC.MQFMT_IMS_VAR_STRING; I dont use the IIH Header and my command is: "CMDMASK DIS A". This works But it doesnt work with "/DIS A"

If i use msg.format = MQC.MQFMT_IMS; I use the following IIH Header which I got from IBM's sample code. Then the command "CMDMASK DIS A" works but "/DIS A" still doesnt work.

In both the cases I calculate the requisite LL, ZZ.
Any ideas on how to make the command "/DIS A" work?

Also why in IIH header is the "MQIMSVS" set twice ?

Code:
            msg.writeString("IIH ");         // MQIIH_STRUCT_ID
            msg.writeInt(1);            // MQIIH_VERSION_1
            msg.writeInt(84);                  // MQIIH_LENGTH_1
            msg.writeInt(0);                    // 4 byte reserved 
            msg.writeInt(0);                    // 4 byte reserved
            msg.writeString("MQIMSVS ");        // MQFMT_IMS_VAR_STRING
            msg.writeInt(0);                                 // MQIIH_NONE
            msg.writeString("MASTER  ");                     // 8 byte ltermoverride
            msg.writeString("MODU03  ");                     // 8 byte mfsmapname
            msg.writeString("MQIMSVS ");                     // MQFMT_IMS_VAR_STRING
            msg.writeString("        ");                     // 8 byte authenticator
            msg.writeString("0000000000000000");             // 16 byte transid
            msg.writeString(" ");                            // MQITS_NOT_IN_CONVERSATION
            msg.writeString("0");                            // MQICM_COMMIT_THEN_SEND
            msg.writeString("C");                            // MQIIS_CHECK
            msg.writeString(" ");                            // 1 byte reserved


Thanks

Jigs
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 » Sending IMS Commands on Bridge Queue.
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.