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 » Environment variables: best practice

Post new topic  Reply to topic
 Environment variables: best practice « View previous topic :: View next topic » 
Author Message
aks
PostPosted: Wed Apr 28, 2004 2:53 pm    Post subject: Environment variables: best practice Reply with quote

Voyager

Joined: 19 Jul 2002
Posts: 84

Hello,
I have a message flow which takes a concatenation of fixed-length COBOL copybook records (could be hundreds) that are tranformed to one XML document that represents an insurance policy.

Till now, I have at the beginning of the flow split the concatenation into the fixed-length chunks, and based on the record type, used OutputLocalEnvironment.Destination.RouterList.DestinationData to route each chunk to its appropriate subflow which resets the content descriptor to the copybook MRM and then does a transformation. Each subflow's transformation creates various parts of the XML tree and stores them in Environment variables.

The final compute nodes assembles the XML parts from the Environment.Variables tree into the final well-formed and validatable XML document to goes to an MQOutput node.

I am concerned about memory usage and overhead (if there is any?) and my question is that is there a better way of doing this, or is what I am doing reasonable?

Any help or suggestions would be appreciated
Thanks
Alan
Back to top
View user's profile Send private message
fschofer
PostPosted: Wed Apr 28, 2004 11:18 pm    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,
take a look at the CREATE .. PARSE statement.
Using it you can do your parsing in one compute node
by specifiying the MRM message for each fixed-length chunk.
Greetings Frank
Back to top
View user's profile Send private message Send e-mail
Yanghui
PostPosted: Thu Apr 29, 2004 12:23 am    Post subject: Reply with quote

Disciple

Joined: 08 May 2002
Posts: 151
Location: Dublin, Ireland

Hi, there,

The idea of repeatedly using subflow to build parts of output is very risky design. The more times subflows are called, the more nodes message would go through, then the more memory or stack would be required. We all know the maximum number of nodes one message can go through within message flow is limited. Actually my expereience has told me it's quite easy to reach the limition.

So, my opinion is that before finalizing message flow structure, check the maximue number of nodes a message could go through in the worst scenario. Don't let it exceed 400, sometimes even less...

The best luck

-Yanghui
Back to top
View user's profile Send private message Send e-mail
aks
PostPosted: Fri Apr 30, 2004 2:38 am    Post subject: Reply with quote

Voyager

Joined: 19 Jul 2002
Posts: 84

The subflows are not actually subflows but Compute nodes within the main flow. But I suppose it does not make a difference?

I often create temporary XML trees (from OutpoutRoot.XML.blah.. down etc) to store data, later to attach to other parts of an xml tree, but is it possible to create temporary MRM trees, like OutputRoot.MRM.blah.. that can be used to parse one of my chunks and create output MRM fields within one Compute node, rather than flowing the chunk into a RCD node and then accessing the MRM in a following Compute node?

Alan
Back to top
View user's profile Send private message
fschofer
PostPosted: Fri Apr 30, 2004 2:49 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,
as i said, take a look at the CREATE ... PARSE statement.

Example:
Code:
CREATE LASTCHILD OF OutputRoot.MRM.BLA PARSE ( SUBSTRING(InputBody."BLOB" FROM pos FOR 100), MQENC_NATIVE, codepage, mset, messagename, cwfname);


codepage, mset, messagename, cwfname
are variables which held appropriate informations about the message set, ...
Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
aks
PostPosted: Fri Apr 30, 2004 2:57 am    Post subject: Reply with quote

Voyager

Joined: 19 Jul 2002
Posts: 84

Thanks Frank - I'll give it a go
Back to top
View user's profile Send private message
aks
PostPosted: Sun May 02, 2004 2:36 pm    Post subject: Reply with quote

Voyager

Joined: 19 Jul 2002
Posts: 84

Hi,
without even looping through my chunks (ie just looking at the first 600 byte chunk) I'm having problems.

Here's some code:

PATH ZstreamXAProcedures, ZstreamXAFunctions;

CREATE COMPUTE MODULE "BatchDownload"
CREATE FUNCTION main() RETURNS BOOLEAN BEGIN
DECLARE msgLen INTEGER LENGTH(InputRoot.BLOB.BLOB);
DECLARE outRef REFERENCE TO InputBody;

CALL initialize();

CREATE LASTCHILD OF OutputRoot.MRM.temp PARSE (SUBSTRING(InputBody."BLOB" FROM pos FOR 600), "InputRoot"."MQMD"."Encoding", "InputRoot"."MQMD"."CodedCharSetId", 'DTCODC008Q001', 'DZFMT1', 'CWF');

MOVE outRef TO OutputRoot.MRM.temp;
SET OutputRoot.XML."ZstreamXA"."Header"."Request"."Subcodes".Subcode[1]."Name" = outRef."DZFMT1_HEADER_REC"."DZFMT1_REC_ID";

DELETE FIELD OutputRoot.MRM;


END;

CREATE PROCEDURE initialize()
BEGIN
DECLARE I INTEGER 1;
DECLARE J INTEGER CARDINALITY(InputRoot.*[]);
WHILE I < J DO
SET OutputRoot.*[I] = InputRoot.*[I];
SET I = I + 1;
END WHILE;

SET OutputRoot.Properties.MessageDomain = 'XML';
SET OutputRoot.Properties.MessageSet = getZstreamXAMRMId();
SET OutputRoot.Properties.MessageType = 'ZstreamXA';
SET OutputRoot.Properties.MessageFormat = 'XML';
SET OutputRoot.MQMD.Format = MQFMT_STRING;
SET OutputRoot.MQMD.Expiry = -1;
END;

-- **********************

END MODULE;
The trace says that the field, outRef."DZFMT1_HEADER_REC"."DZFMT1_REC_ID"; is null, but I know it isn't.

2004-05-03 08:31:18.032962 1904 UserTrace BIP2537I: Node 'ZstreamXABatchDownload.Compute': Executing statement 'CREATE LASTCHILD OF OutputRoot.MRM PARSE(SUBSTRING(InputBody.BLOB FROM pos FOR 600), InputRoot.MQMD.Encoding, InputRoot.MQMD.CodedCharSetId, 'DTCODC008Q001', 'DZFMT1', 'CWF');' at (.BatchDownload.main, 26.4).
2004-05-03 08:31:18.033264 1904 UserTrace BIP2538I: Node 'ZstreamXABatchDownload.Compute': Evaluating expression 'SUBSTRING(InputBody.BLOB FROM pos FOR 600)' at (.BatchDownload.main, 26.46).
2004-05-03 08:31:18.033430 1904 UserTrace BIP2538I: Node 'ZstreamXABatchDownload.Compute': Evaluating expression 'InputBody.BLOB' at (.BatchDownload.main, 26.56).
2004-05-03 08:31:18.033596 1904 UserTrace BIP2538I: Node 'ZstreamXABatchDownload.Compute': Evaluating expression 'pos' at (.BatchDownload.main, 26.7.
2004-05-03 08:31:18.035448 1904 UserTrace BIP2539I: Node 'ZstreamXABatchDownload.Compute': Finished evaluating expression 'SUBSTRING(InputBody.BLOB FROM pos FOR 600)' at (.BatchDownload.main, 26.46). This resolved to 'SUBSTRING(X'31504f4c49535952454e4557414c203230303430313331313435353237303030303030202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203232353320323030383731312042523031323136474c47323030343031323731323031353837202020202030303030303130303030323030343033313720303030304e2020202035333230303837313120353330483134303331204255502020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203230303430333137323030353033313730344d5252414a4f484e20202020202020205041444449434b202020202020202020202020202020202020202020202020202020202020202020202020202020202031322059414c504120524f4144202020202020202020202020202020202020202020202020202020202020202020202020204d4152494e4f20202020202020202020202020202020202020534120353034393030303136353937312020202020202020202020343234322020203132202020202020203139393630333137202020202020202020202050414444494a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203232353320323030383731312042523031323136474c47323030343031323731323031353837204750472030303030303530303031323030343033313720303030304e2020202030303030303030303c4750533142532f3e42656572204d616e75666163747572696e672020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020204e4e4e4e4e4e4e4e2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203232353320323030383731312042523031323136474c47323030343031323731323031353837204750472030303030303530303031323030343033313720303030304e2020202030303030303030303c47504d5342532f3e5377696d6d696e67202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020204e4e4e4e4e4e4e4e2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203232353320323030383731312042523031323136474c47323030343031323731323031353837205645485630303031303330303031323030343033313720303030364e2020202030303030303030302020304d325455453432372020202020202020202020303142202020202020203131362058203420454e434c4f53454420545241494c455220202020202020202020202020202020202020202020202020202020202020202020202020205350454336305a54205442412020202020202020202020202020202020202020202020202020202020202020202020202053544431255349202030303030353020203430353034394b494e4753544f4e205041524b2020202020202020202020202020202020202020202020202020205341205356303030303031303030303035303030303030554e4c494d4954454420202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020303030303030303030303030303030303030202020202020202020202020202020202020202020202020202020202020202020303030303030303030313936305370656369616c7320202020202020202020202020202020202020202020202020202020202020203030303030303030313939363033313731312020202020547261696c6572202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203232353320323030383731312042523031323136474c47323030343031323731323031353837205645485630303031303730303031323030343033313720303030364e202020203230303430333137323030353033313756454856435320202020202020202020202020202020303030303030353030302b303030303030353030302b303030303030303030302b303030303030303030302b303030303030303630352b303030303030303630352b303030303030303030302b303030303030303030302b303030303030303030302b303030303030303030302b303030303030363130352b303030303030363130352b303030303030353535352b303030303030353535352b303030303030303530302b303030303030303530302b3030303030303535302b3030303030303535302b31303030303030303030303035302b3030303030303030302b30303030303030303030303030302b2020202020202020202020204754475420202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203232353320323030383731312042523031323136474c47323030343031323731323034353037204c49424c30303031303330303031323030343033313720303030374e2020202030303030303030302031322059414c504120524f414420202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020204d4152494e4f20202020202020202020202020202020202020202020202020202020202020202020534120353034394b4e303432343241303130303030303030303030303235304f4343555252454e4345303030303030303031303030303630303030303130303030303030303030303235304f4343555252454e434530303030303030303130303030363030303030303030303030303030303030303030202020202020202020202020202020202020202020202020202020202020202020203030303030303030303030303030303033364d2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202043617270656e747279205365727669636573202d20557020546f20342050656f706c6520202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203232353320323030383731312042523031323136474c47323030343031323731323034353037204c49424c30303031303430303032323030343033313720303030374e2020202030303030303030304e4e4e4e3030303030303030302b4e3030303030303030302b4e3030303030303030303030303030303030302b3030303030303030303035393533352b3030303030303030302b30303030302b202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202042524f4b4c4e4b2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203232353320323030383731312042523031323136474c47323030343031323731323034353037204c49424c30303031303730303031323030343033313720303030374e20202020323030343033313732303035303331374c494250524f20202020202020202020202020202020303030303031343838342b303030303031343838342b303030303030303030302b303030303030303030302b303030303030313830312b303030303030313830312b303030303030303030302b303030303030303030302b303030303030303030302b303030303030303030302b303030303031383137332b303030303031383137332b303030303031343839392b303030303031343839392b303030303030313438382b303030303030313438382b3030303030333237342b3030303030333237342b32303030303030303030303239382b3030303030303030302b30303030303030303030303030302b2020202020202020202020204754475420202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203232353320323030383731312042523031323136474c47323030343031323731323034343737204c49424c30303031303730303032323030343033313720303030374e20202020323030343033313732303035303331374c494250554220202020202020202020202020202020303030303034343635312b303030303034343635312b303030303030303030302b303030303030303030302b303030303030353430332b303030303030353430332b303030303030303030302b303030303030303030302b303030303030303030302b303030303030303030302b303030303035343531392b303030303035343531392b303030303034343639362b303030303034343639362b303030303030343436352b303030303030343436352b3030303030393832332b3030303030393832332b32303030303030303030303839332b3030303030303030302b30303030303030303030303030302b2020202020202020202020204754475420202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203232353320323030383731312042523031323136474c47323030343031323731323130333237204253522030303031303330303031323030343033313720303030384e2020202030303030303030302020202020313220202059414c504120524f41442020202020202020202020202020204d4152494e4f2020202020202020202020202020202020202020202020202020202020202020202053412035303439202034323432413030303030303030303031303059303030303035303030303633313630363331364e3030303030303030304e4e30303030303020202020202020202020202020202020202043617270656e747279205365727669636573202d20557020546f20342050656f706c65202020202020202020202020202020202020202020202020202020202020204b20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203232353320323030383731312042523031323136474c47323030343031323731323130333237204253522030303031303430303032323030343033313720303030384e20202020303030303030303020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303020202020202020202020303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030302020202020202020202020202020202020202020203232353320323030383731312042523031323136474c47323030343031323731323130333237204253522030303031303730303031323030343033313720303030384e202020203230303430333137323030353033313742535253415320202020202020202020202020202020303030303033313538302b303030303033313538302b303030303030303030302b303030303030303030302b303030303030333832312b303030303030333832312b303030303030303030302b303030303030303030302b303030303030303030302b303030303030303030302b303030303033383535392b303030303033383535392b303030303033313631312b303030303033313631312b303030303030333135382b303030303030333135382b3030303030363934382b3030303030363934382b32303030303030303030303633322b3030303030303030302b30303030303030303030303030302b20202020202020202020202047544754202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020207c' FROM 1 FOR 600)'. The result was 'X'31504f4c49535952454e4557414c20323030343031333131343535323730303030303020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020''.
2004-05-03 08:31:18.044506 1904 UserTrace BIP2538I: Node 'ZstreamXABatchDownload.Compute': Evaluating expression 'InputRoot.MQMD.Encoding' at (.BatchDownload.main, 26.92).
2004-05-03 08:31:18.044691 1904 UserTrace BIP2538I: Node 'ZstreamXABatchDownload.Compute': Evaluating expression 'InputRoot.MQMD.CodedCharSetId' at (.BatchDownload.main, 26.123).
2004-05-03 08:31:18.045032 1904 UserTrace BIP2537I: Node 'ZstreamXABatchDownload.Compute': Executing statement 'MOVE outRef TO OutputRoot.MRM;' at (.BatchDownload.main, 28.5).
2004-05-03 08:31:18.045217 1904 UserTrace BIP2537I: Node 'ZstreamXABatchDownload.Compute': Executing statement 'SET OutputRoot.XML.ZstreamXA.Header.Request.Subcodes.Subcode[1].Name = outRef.DZFMT1_HEADER_REC.DZFMT1_REC_ID;' at (.BatchDownload.main, 29.5).
2004-05-03 08:31:18.045427 1904 UserTrace BIP2538I: Node 'ZstreamXABatchDownload.Compute': Evaluating expression 'outRef.DZFMT1_HEADER_REC.DZFMT1_REC_ID' at (.BatchDownload.main, 29.86).
2004-05-03 08:31:18.045610 1904 UserTrace BIP2543E: Node 'ZstreamXABatchDownload.Compute': (.BatchDownload.main, 29.93) : Failed to navigate to path element because it does not exist.
2004-05-03 08:31:18.045816 1904 UserTrace BIP2567I: Node 'ZstreamXABatchDownload.Compute': Assigning NULL to 'OutputRoot.XML.ZstreamXA.Header.Request.Subcodes.Subcode[1].Name', thus deleting it.
2004-05-03 08:31:18.045999 1904 UserTrace BIP2537I: Node 'ZstreamXABatchDownload.Compute': Executing statement 'DELETE FIELD OutputRoot.MRM;' at (.BatchDownload.main, 32.4).
2004-05-03 08:31:18.049674 1904 UserTrace BIP4124I: Message propagated to 'out' terminal of compute node 'ZstreamXABatchDownload.Compute'.


I must be doing something fundamentally wrong?
Thanks
Alan

DELETE FIELD OutputRoot.MRM;


END;

-- *************************************************************************************************
-- ******************** Procedures *****************************************************************
-- *************************************************************************************************

CREATE PROCEDURE initialize()
BEGIN
DECLARE I INTEGER 1;
DECLARE J INTEGER CARDINALITY(InputRoot.*[]);
WHILE I < J DO
SET OutputRoot.*[I] = InputRoot.*[I];
SET I = I + 1;
END WHILE;

SET OutputRoot.Properties.MessageDomain = 'XML';
SET OutputRoot.Properties.MessageSet = getZstreamXAMRMId();
SET OutputRoot.Properties.MessageType = 'ZstreamXA';
SET OutputRoot.Properties.MessageFormat = 'XML';
SET OutputRoot.MQMD.Format = MQFMT_STRING;
SET OutputRoot.MQMD.Expiry = -1;
END;

-- **********************

END MODULE;
Back to top
View user's profile Send private message
fschofer
PostPosted: Sun May 02, 2004 3:54 pm    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi Alan

Please try
MOVE outRef TO OutputRoot.MRM.temp.MRM;
instead of
MOVE outRef TO OutputRoot.MRM.temp;

The second MRM is created by the PARSE statement.

I usually check the created subtree by copying it to the LocalEnvironment
and adding a trace node behind my compute node to view it.

Greetings Frank
Back to top
View user's profile Send private message Send e-mail
aks
PostPosted: Sun May 02, 2004 5:09 pm    Post subject: Reply with quote

Voyager

Joined: 19 Jul 2002
Posts: 84

Thanks again Frank - that did the trick

I may have some more questions soon, so please stay tuned!

Regards
Alan
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 » Environment variables: best practice
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.