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 » ????? Please - thanks kiran

Post new topic  Reply to topic
 ????? Please - thanks kiran « View previous topic :: View next topic » 
Author Message
RAM
PostPosted: Sat Dec 07, 2002 9:21 pm    Post subject: ????? Please - thanks kiran Reply with quote

Newbie

Joined: 07 Dec 2002
Posts: 2

Hi Guys!

1. i'm converting data from EBCDIC to ASCII(win 2000).ie. getting input message as BLOB(EBCDIC) It the input node i checked convert = yes and left Encoding and CharCodeset fields blanks. Is this going to take care by the WMQI 2.1? if not what are values i need to set
Encoding = ?
CharCodeset = ?


2. I have field defined as
Physical Format: Packed Decimal
Total Length: 5 Byts
Virtual Decimal: 2
Signed: Yes
which is float
what is the value i may expect in my input message which is BLOB

3. I have field defined as
Physical Format: Extended Decimal
Total Length: 17 Byts
Signed: Yes
which is Integer

in my input blob message(EBCDIC) is got the values as 123456789012345BB (B-BLank space) i'm geting CWF error. i guess B-is a string character so it gives error. Please, correct me if i'm wrong. Is there any way in WMQI where we can set blank spaces to zero's.


Please help , it's very urgent to me....

Thanks,
Ram


Last edited by RAM on Sun Dec 08, 2002 6:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
kirani
PostPosted: Sun Dec 08, 2002 3:25 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

1. You could use Convert=YES option in MQInput node to convert your input data into ASCII format only if your MQMD.Format is set to MQSTRBBB (where B is space char. You could set following values for Encoding and CCSID for Windows 200,
Encoding = 546
CCSID = 437

This logic will not work if your input data contains BINARY data (COMP fields).

2. In order to refer to correct value of this field you should first parse your input message using appropriate MRM-CWF message definition. In COBOL terms, PIC clause for this field would be: PIC S9(7)V9(2) COMP-3, so the max value you can store into this field is 9999999.99

3. Change your MRM-field definition to have appropriate data types as per your input data. If this cannot be done then use some ESQL code to replace char data with 0's in your input message.
_________________
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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ????? Please - thanks kiran
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.