From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_20,INVALID_DATE, MSGID_SHORT autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!hercules!fernwood!synopsys!synopsys.synopsys.com!stevej From: stevej@synopsys.synopsys.com (Steven Jukoff) Newsgroups: comp.lang.ada Subject: PACKED COMP-3 data translation Keywords: cobol packed-decimal Message-ID: <555@synopsys.COM> Date: 17 Jul 90 18:47:26 GMT Sender: stevej@synopsys.com Organization: Synopsys Inc., Mountain View, Ca List-Id: Does anyone know how to define or describe the data format of the COBOL "PACKED COMP-3" format? Given the definition, I need to write a 'C' routine to convert it to an integer: 32 bit 2's complement. I don't expect to have a problem with the routine given the correct definition. This is a "real-world" problem. Thanks in advance and you may have the code if I get the definition. Steven Jukoff, Phone: (415)962-5407 Synopsys, Inc. FAX: (415)965-8637 1098 Alta Ave DDN: stevej@synopsys.com Mountain View, CA 94043 UUCP: ..!uunet!fernwood!synopsys!stevej