Posted: Tue Jan 21, 2003 5:26 am Post subject: problem with receiving unsign intiger into CWF
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;
};
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
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