|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Handling Money Format (PIC -$999,999.99) |
« View previous topic :: View next topic » |
Author |
Message
|
garyweik |
Posted: Fri Jul 26, 2002 5:16 am Post subject: Handling Money Format (PIC -$999,999.99) |
|
|
 Apprentice
Joined: 28 Jun 2002 Posts: 30 Location: Miamisburg, Ohio
|
My COBOL Copybook has a field defined as PIC -$999,999.99 which was translated into a Fixed Length String with a Length of 5 which is obviously wrong. What should the proper translation be for CWF?
Thanks,
Gary
Last edited by garyweik on Fri Jul 26, 2002 11:41 am; edited 1 time in total |
|
Back to top |
|
 |
kirani |
Posted: Fri Jul 26, 2002 8:01 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Gary,
This could be a bug in MRM COBOL importer. _________________ 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 |
|
 |
garyweik |
Posted: Fri Jul 26, 2002 11:40 am Post subject: |
|
|
 Apprentice
Joined: 28 Jun 2002 Posts: 30 Location: Miamisburg, Ohio
|
For any one interested, I did some research and determined the following:
For PIC -$999,999.99
The "-" will be "-" if negative and blank otherwise and occupy one space.
PICTURE Value of Data Edited Result
-$999,999.99 -123456.78 -$123,456.78
-$999,999.99 +123456.78 $123,456.78
So, the translated format should have been a STRING of length 12, right?
Thanks,
Gary |
|
Back to top |
|
 |
kirani |
Posted: Fri Jul 26, 2002 11:48 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
I am not an COBOL expert! But, I agree with you, the STRING length should have been 12.
You could open a PMR with IBM for this. _________________ 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 |
|
 |
garyweik |
Posted: Mon Jul 29, 2002 10:31 am Post subject: |
|
|
 Apprentice
Joined: 28 Jun 2002 Posts: 30 Location: Miamisburg, Ohio
|
How do you open a PMR with IBM about WMQI? Every number I've tried leads down a path of customer-no-service.
Thanks,
Gary |
|
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
|
|
|
|