|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
CDS Upgrade On WIN NT |
« View previous topic :: View next topic » |
Author |
Message
|
tinglan |
Posted: Mon Feb 24, 2003 8:09 am Post subject: CDS Upgrade On WIN NT |
|
|
Newbie
Joined: 06 May 2002 Posts: 5
|
I have not applied any CSDs on Webshere MQI V2.1 since the initial installation of the software in 2001. I've learned the most current support pack CDS04 is available for download. Can I just apply the CDS04 and skip the prior CDS01, CDS02, and CDS03? Please advice. Thank you so very much.
Alone
[/b] |
|
Back to top |
|
 |
kirani |
Posted: Mon Feb 24, 2003 12:50 pm Post subject: Re: CDS Upgrade On WIN NT |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
tinglan wrote: |
Can I just apply the CDS04 and skip the prior CDS01, CDS02, and CDS03? Please advice.
|
Yes! You will have to recreate config mgr. Pls go thru readme.txt file before you install any CSD. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
tinglan |
Posted: Wed Feb 26, 2003 10:54 pm Post subject: |
|
|
Newbie
Joined: 06 May 2002 Posts: 5
|
Hello Kirani,
Thanks for the advice. I now have run into a problem which might/might not have related to the CSD (my MQSI is on WINNT currently updated with CSD02). I have a message flow that processes the incoming request message from a main frame (COBOL copybook), and then converts to XML reply message. I was planning to also process the incoming XML request message and then convert to COBOL copybook format reply message as well if this would have worked out fine. I know I will need to add a filter node to seperate the incoming message for the different format, CWF and XML.
For that I have created a message set with 2 physical layers, CWF and XML, and then the Language Bindings is COBOL. I imported 2 COBOL CPY into MQSI. also created 2 Messages, Msg1Request (Identifier=Msg1RequestID) and Msg1Reply (Identifier=Msg1ReplyID). both messages are created with corresponding Types where the Compound Type was added. The MQInput node was setup as Message Domain=MRM, Message Set ID=DQQKV5G07G001, Message Format=CWF. The flow has just 3 nodes for the incoming COBOL Copybook format only: MQINPUT->COMPUTE-->MQOUTPUT. and ESQL as follows: (Copy message headers)
DECLARE I INTEGER;
SET I = 1;
WHILE I < CARDINALITY(InputRoot.*[]) DO
SET OutputRoot.*[I] = InputRoot.*[I];
SET I=I+1;
END WHILE;
-- Enter SQL below this line. SQL above this line might be regenerated, causing any modifications to be lost.
DECLARE J INTEGER;
DECLARE tempCount INTEGER;
SET OutputRoot.Properties.MessageSet = 'DQQKV5G07G001';
SET OutputRoot.Properties.MessageType = 'Msg1ReplyID';
-- Transform MRM to XML
SET "OutputRoot"."XML"."Message.(XML.attr)bodyType" ='ACCORD';
SET "OutputRoot"."XML"."Message.(XML.attr)sourceLogicalId" ='ABC1122';
SET "OutputRoot"."XML"."Message.(XML.attr)destinationLogicalID" ='DEF3344';
SET "OutputRoot"."XML"."Message"."DWordReply"."RequestID" = TRIM ("InputRoot"."MRM"."CDD_REQUEST_ID");
SET "OutputRoot"."XML"."Message"."DWordReply"."ReturnCode" = TRIM ("InputRoot"."MRM"."CDD_RETURN_CODE");
SET tempCount = "InputRoot"."MRM"."CDD_TABLE_COUNT";
SET J =1;
WHILE (J <=tempCount )
DO
SET "OutputRoot"."XML"."Message"."DWordReply"."DWordData"."DWord" = TRIM ("InputRoot"."MRM"."TBL-D-WORD[J]");
SET "OutputRoot"."XML"."Message"."DWordReply"."DWordData"."DWordDescription" = TRIM ("InputRoot"."MRM"."TBL-D-WORD-DESC[J]");
SET J = J +1;
END WHILE;
SET OutputRoot.MQMD.Format = 'MQSTR';
------------------------------------------------------------------------
01 CDD-RETURN-MESSAGE.
05 CDD-REQUEST-ID PIC X(10) VALUE 'SMEP'.
05 CDD-RETURN-CODE PIC X(02).
05 CDD-TABLE-COUNT PIC 9(02).
05 CDD-D-WORD-DATA.
10 D-WORD-TABLE.
15 D-WORD-TBL OCCURS 5 TIMES
INDEXED BY DW-TBL-NDX.
20 TBL-D-WORD PIC X(14).
20 TBL-D-WORD-DESC PIC X(49).
When I test the flow, I created a text file with a string of data that would map to the imported copybook above, I then use the online tool RFHUTIL to put the message (provided the text data file) into the MQInput. I received exception error plus other errors display on the Event Viewer (MQSeries Admin Tool). What did I do wrong? Do I need to include any headers on the text data file? Do I must specify Message Domain=BLOB instead of MRM in the MQInput? Did I code the data element that has OCCURS and INDEXED on it correctly?
Thank you in advance for your help!
TL |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|