Christian,
HUMMMMM, Maybe I am about to show my ignorance, BUT....I have been doing MF programming fo 29 years and have never came across this type of format. The display format is x'SDSDSDSDSD' and the packed format is x'DDDDDS'. Lets forget about WMQI for a minute, how do you tell COBOL that you have a numeris format of x'DDDDDD'????? This is interesting, if it exist??? My mom used to say, "if you don't learn something new everyday your stupid" Today may be one of my occasional non-stupid days!!!!!!!! bobbee PS. I have tried but my manager is going on Sunday to Vegas and I have to stay and cover. Plus my contract is up in March and the future looks bleak. I want to go and meet all at the conference. Hopefully I'll see you all next year. Have a good time without me!!
From: "Bock, Christian" <[EMAIL PROTECTED]> Reply-To: MQSeries List <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: WMQI2.1 - COBOL Definition in MRM Date: Fri, 7 Feb 2003 09:33:58 +0100 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 definition: PIC XXX Content: 326478 Byte structure: 32|64|78 (1. byte: 32, 2. byte: 64, 3. byte: 78) (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
_________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
