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 » problem with receiving unsign intiger into CWF

Post new topic  Reply to topic
 problem with receiving unsign intiger into CWF « View previous topic :: View next topic » 
Author Message
miron
PostPosted: Tue Jan 21, 2003 5:26 am    Post subject: problem with receiving unsign intiger into CWF Reply with quote

Apprentice

Joined: 27 Jun 2002
Posts: 39
Location: New York

Hello,

I have a problem with receiving unsigned integer or float data into my CWF MRM msg set. I imported same test structure in both Cobol and C representation. In case of C CWF tab has defaulted 'Signed' to 'Yes' and 'Sign Orientation' to 'Not Applicable'. This means that data that is received into these fields should always contain the sign.
In case of Cobol 'Signed' fields was dependent on Cobol PIC definition.
However data that I am receiving does not contain sign when the value is positive and contain '-' when value is negative. WMQI fails during parsing with folowing msg:
"BIP5505E: Data conversion failed: data invalid. Type of data being read: packed decimal, no sign found"

How can I receive such a data into my CWF msg set?
Thank you.

Here is test C:
struct XX {
int TEST1_CNT;
double TEST2_CNT;
float TEST3_CNT;
};

and some tests i did with Cobol:
01 COBTEST1.
02 WMQI_HEADER.
03 TEST1_CNT PIC 9(4) USAGE COMP.
03 TEST2_CNT PIC S9(4) USAGE COMP.
03 TEST3_CNT PIC 9(4)V9(2) USAGE COMP.
03 TEST4_CNT PIC S9(4)V9(2) USAGE COMP.
03 TEST5_CNT PIC 9(4) USAGE COMP-3.
03 TEST6_CNT PIC S9(4) USAGE COMP-3.
03 TEST7_CNT PIC 9(4)V9(2) USAGE COMP-3.
03 TEST8_CNT PIC S9(4)V9(2) USAGE COMP-3.
Back to top
View user's profile Send private message
kirani
PostPosted: Sun Jan 26, 2003 6:59 pm    Post subject: Reply with quote

Jedi Knight

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

What is your input data layout? Is it COBOL or C structure? How are you putting data on the queue? When exactly do you get this error?
Sign Orientation is only applicable for COBOL PIC 9 fields (Extended Decimal).
_________________
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 » problem with receiving unsign intiger into CWF
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.