Posted: Thu Jan 16, 2003 10:06 am Post subject: question about Signed & Sign Orientation in CWF
Apprentice
Joined: 27 Jun 2002 Posts: 39 Location: New York
Hello,
I am using 2.1 CSD02.
I created MRM(CWF) msg set and imported Cobol copybook with some PIC S9(15)V9(2) USAGE COMP-3 fields.
These fields have Member Properties on CWF tab grayed out so I can not change them even if I check out them.
All these packed decimal fields generated Signed=Yes and SignOrientation=NotApplicable on CWF tab.
When I send my data it comes without the sign if the value is positive and with '-' when negative.
When data has positive value my flow fails with following error:
"BIP5505E: Data conversion failed: data invalid. Type of data being read: packed decimal, no sign found"
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
IS this field used for parsing your input data? You are you generating your input data? Since this is a COMP-3 field the data should be generated by appropriate program (COBOL). Data in Packed decimal (COMP-3) fields is structured differently. I am sure the error will go away if you generate your input data properly.
Sign Orientaion is only applicable for Extended Decimals (PIC 9.. clause only). _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
I have PL/I program that generates data and it does not generate '+' when value is positive but it generates '-' when negative. Cobol include field is declared as S9(5) COMP-3 and WMQI expects always sign for such a declaration. This is finantial data and it can be negative.
What should i do in my MRM to make it work? Is there any way to modify SignOrientation field after the import?
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