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 » Anonymous Reference, creating PCF message & debug mode

Post new topic  Reply to topic
 Anonymous Reference, creating PCF message & debug mode « View previous topic :: View next topic » 
Author Message
AndyT
PostPosted: Wed Mar 07, 2007 10:56 am    Post subject: Anonymous Reference, creating PCF message & debug mode Reply with quote

Novice

Joined: 05 Nov 2003
Posts: 17
Location: Work

Using the technique published in an earlier thread http://www.mqseries.net/phpBB2/viewtopic.php?t=23254&highlight=pcf+esql I have created a flow that formats and sends a PCF request message. However, after reading the help on anonymous field references, I am not clear on how the 'parameters' in the message are getting created.

This code results in six fields in the final output message for the first parameter structure.
Code:

DECLARE refRequest REFERENCE TO OutputRoot.MQPCF;
...
SET refRequest.Parameter[1] = MQCA_Q_NAME;
SET refRequest.Parameter[1].*   = inObjName;


When I step through the ESQL in debug mode I see Parameter[1] given value 2016 (MQCA_Q_NAME) but nothing else until I execute
Code:
SET OutputRoot.BLOB.BLOB = ASBITSTREAM(OutputRoot.MQPCF);


After that statement the first Parameter structure in the output message contains:
X'00000004' - MQCFT_STRING
X'00000028' - Length of the parameter structure
X’000007E0' - MQCA_Q_NAME
X’00000333’ - CCSID (819)
X’00000012’ - Length of the inObjName variable
Hex representation of inObjName

At what point are the fields that I do not explicitly set being created?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Mar 08, 2007 5:41 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I'm sure they're being created by the MQPCF parser.
_________________
I am *not* the model of the modern major general.
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 » Anonymous Reference, creating PCF message & debug mode
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.