|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
????? Please - thanks kiran |
« View previous topic :: View next topic » |
Author |
Message
|
RAM |
Posted: Sat Dec 07, 2002 9:21 pm Post subject: ????? Please - thanks kiran |
|
|
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 |
|
 |
kirani |
Posted: Sun Dec 08, 2002 3:25 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|