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 » MRM - COBOL Definition

Post new topic  Reply to topic
 MRM - COBOL Definition « View previous topic :: View next topic » 
Author Message
Christian_B
PostPosted: Fri Feb 07, 2003 7:00 am    Post subject: MRM - COBOL Definition Reply with quote

Newbie

Joined: 07 Feb 2003
Posts: 1

Hello everyone,
we have the problem to define a field in MRM, which is a number in the mainframe format „packed without sign“ (which is a common format in old Cobol programs on MVS), meaning that the field is defined as PIC X in COBOL, but contains two digits in each byte, just as a packed-decimal field, where the last byte hasn’t a digit and the sign but two digits.
Example:
COBOL defninition: PIC XXX
Content: 326478
Byte structure: 32|64|78 (1. byte: 32, 2. byte: 64, 3. byte: 7
(The packed decimal definition would be 4 bytes: 03|26|47|8C).

The problem is to map the field into a string containing the right number.

Has anybody struggled with this problem before and can tell me how to do the MRM definitions?

Regards
Christian
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MRM - COBOL Definition
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.