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 » WebSphere Message Broker (ACE) Support » Dynamic ReplyTo queue

Post new topic  Reply to topic
 Dynamic ReplyTo queue « View previous topic :: View next topic » 
Author Message
rajmq
PostPosted: Thu Oct 25, 2007 5:59 am    Post subject: Reply with quote

Partisan

Joined: 29 Sep 2002
Posts: 331
Location: USA

Hi All,

The entire thread was more useful to resolve my issue,

How do i send the dynamic ReplytoQ value from bar file ?

Instead of hotcoding the value like..
SET OutputRoot.MQMD.ReplyToQ = 'RAJ_BAK';

What i did i have cofigured the value in the bar file using promote property but this value is showing 'null'

Any suggestions ?

TIA

_________________
IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified System Administrator - WebSphere Business Integration Message Broker V6.0
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 25, 2007 6:01 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981



Moderators, please split this.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 25, 2007 6:16 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

rajmq wrote:

Any suggestions ?


RTFM?

Diagnose the problem?

Don't post on irrelevant threads (unless your flow is sending PCF messages)?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rajmq
PostPosted: Thu Oct 25, 2007 7:02 am    Post subject: Reply with quote

Partisan

Joined: 29 Sep 2002
Posts: 331
Location: USA

Using this, i am able to do the get disable for any flow queue but i couldn't able to see the request replyQ value in the trace which is specified in the bar file !!


ESQL Code :

SET OutputRoot.MQMD = InputRoot.MQMD;
SET OutputRoot.Properties.Encoding = MQENC_NATIVE;
SET OutputRoot.MQMD.MsgType = MQMT_REQUEST;
SET OutputRoot.MQMD.Format = MQFMT_ADMIN;
SET OutputRoot.MQMD.ReplyToQ = '';--Environment.Variables.ReplyQ;
SET OutputRoot.MQMD.MsgSeqNumber = 1;


/* Command is 'Change Queue: Inhibit GET from queue'. */
CREATE FIELD OutputRoot.MQPCF;
DECLARE refRequest REFERENCE TO OutputRoot.MQPCF;
SET refRequest.Type = MQCFT_COMMAND;
SET refRequest.StrucLength = MQCFH_STRUC_LENGTH;
SET refRequest.Version = MQCFH_CURRENT_VERSION;
SET refRequest.Command = MQCMD_CHANGE_Q;
SET refRequest.MsgSeqNumber = 1;
SET refRequest.Control = MQCFC_LAST;


/* First parameter: Queue Name. */
SET refRequest.Parameter[1] = MQCA_Q_NAME;
SET refRequest.Parameter[1].* =Environment.Variables.SourceQueue;


/* Second parameter: Queue Type. */
SET refRequest.Parameter[2] = MQIA_Q_TYPE;
SET refRequest.Parameter[2].* = MQQT_LOCAL;

/* Third parameter: Allow/Inhibit GET.*/
SET refRequest.Parameter[3] = MQIA_INHIBIT_GET;
SET refRequest.Parameter[3].* = MQQA_GET_INHIBITED;

SET OutputRoot.BLOB.BLOB = asbitstream(OutputRoot.MQPCF);
SET OutputRoot.MQPCF = null;
SET OutputRoot.MQRFH2 = null;
SET OutputRoot.MQMD.Format = MQFMT_ADMIN;

Trace :


UserTrace BIP4060I: Data ''(
(0x01000000):Properties = (
(0x03000000):MessageSet = NULL
(0x03000000):MessageType = NULL
(0x03000000):MessageFormat = NULL
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 819
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = TRUE
(0x03000000):CreationTime = GMTTIMESTAMP '2007-10-25 13:49:12.670'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
(0x03000000):ContentType = NULL
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'TEST.VERFIACTION.V1'
(0x03000000):Transactional = TRUE
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 819
(0x03000000):Format = 'MQADMIN '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 1
(0x03000000):Expiry = -1
(0x03000000):Feedback = 0
(0x03000000):Priority = 0
(0x03000000):Persistence = 1
(0x03000000):MsgId = X'414d512045495031424b31442020202040daf645022c2923'
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000'
(0x03000000):BackoutCount = 1
(0x03000000):ReplyToQ = ''
(0x03000000):ReplyToQMgr = 'LINXBK1T '
(0x03000000):UserIdentifier = 'mqm '
(0x03000000):AccountingToken = X'0431313437000000000000000000000000000000000000000000000000000006'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 28
(0x03000000):PutApplName = 'WebSphere MQ Client for Java'
(0x03000000):PutDate = DATE '2007-10-25'
(0x03000000):PutTime = GMTTIME '13:49:12.670'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'

(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000000):BLOB = (
(0x03000000):BLOB = X'0100000024000000010000000800000001000000010000000000000000000000030000000400000028000000e0070000b804000014000000
4d42494c4c2e5452'......

TIA

_________________
IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified System Administrator - WebSphere Business Integration Message Broker V6.0
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 25, 2007 7:06 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What do you mean "set on the BAR file"? Set in a User Defined Property? Set on some node?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 25, 2007 7:08 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

And what have you already checked? Is the value properly set? Did the deply work? Is the value correctly exported? Is it in a lower level flow? Etc? Etc?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rajmq
PostPosted: Thu Oct 25, 2007 7:15 am    Post subject: Reply with quote

Partisan

Joined: 29 Sep 2002
Posts: 331
Location: USA

Actually i have configured the replyq value in the MQOutputNode,
(MQOutputNode -Request Menu -ReplyToQ tab)
_________________
IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified System Administrator - WebSphere Business Integration Message Broker V6.0
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 25, 2007 7:22 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

rajmq wrote:
Actually i have configured the replyq value in the MQOutputNode,
(MQOutputNode -Request Menu -ReplyToQ tab)


But this has nothing to do with setting it in the bar file, dynamically or anything else. This just instructs the MQOutput node to use the value in the MQMD.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 25, 2007 7:24 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac04570_.htm

Did you also check the "Request" box?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
rajmq
PostPosted: Thu Oct 25, 2007 7:46 am    Post subject: Reply with quote

Partisan

Joined: 29 Sep 2002
Posts: 331
Location: USA

Yes, and Message context is : SetIdentify !!

Thanks !!
_________________
IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified System Administrator - WebSphere Business Integration Message Broker V6.0
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 » WebSphere Message Broker (ACE) Support » Dynamic ReplyTo 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.