🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.protocols.ibm
Article #505

"PACKED COMP-3" format

#505
From: Steven Jukoff
Date: Tue, 17 Jul 1990 18:49
15 lines
1040 bytes
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
Technical Details
Message-ID: <556@synopsys.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!hercules!fernwood!synopsys!synopsys.synopsys.com!stevej

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!hercules!fernwood!synopsys!synopsys.synopsys.com!stevej
From: stevej@synopsys.com (Steven Jukoff)
Newsgroups: comp.protocols.ibm
Subject: "PACKED COMP-3" format
Keywords: cobol packed-decimal
Message-ID: <556@synopsys.COM>
Date: 17 Jul 90 18:49:49 GMT
Sender: stevej@synopsys.com
Organization: Synopsys Inc., Mountain View, Ca
Lines: 15