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 » Handling Money Format (PIC -$999,999.99)

Post new topic  Reply to topic
 Handling Money Format (PIC -$999,999.99) « View previous topic :: View next topic » 
Author Message
garyweik
PostPosted: Fri Jul 26, 2002 5:16 am    Post subject: Handling Money Format (PIC -$999,999.99) Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
kirani
PostPosted: Fri Jul 26, 2002 8:01 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
garyweik
PostPosted: Fri Jul 26, 2002 11:40 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
kirani
PostPosted: Fri Jul 26, 2002 11:48 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
garyweik
PostPosted: Mon Jul 29, 2002 10:31 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Handling Money Format (PIC -$999,999.99)
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.