Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!wuarchive!texbell!texsun!newstop!sun!khb From: khb@chiba.Eng.Sun.COM (Keith Bierman - SPD Advanced Languages) Newsgroups: comp.lang.fortran Subject: Re: "PACKED COMP-3" format Message-ID: Date: 18 Jul 90 00:49:36 GMT References: <557@synopsys.COM> Sender: news@sun.Eng.Sun.COM Organization: Sun MegaSystems Lines: 36 In-reply-to: stevej@synopsys.synopsys.com's message of 17 Jul 90 18:51:55 GMT In article <557@synopsys.COM> stevej@synopsys.synopsys.com (Steven Jukoff) writes: ... [Sorry for the Fortran post. There is no COBOL newsgroup.] There is an alt.cobol. I passed this off to a COBOL-fiend and this was his response: To: khb@chiba Subject: Re: up your alley ? > Does anyone know how to define or describe the data format > of the COBOL "PACKED COMP-3" format? In Micro Focus COBOL it simply means BCD (2 digits to a packed byte) Trivial to convert to integer. The mileage may vary with other vendors. The "USAGE IS COMP-x" clause often means floating point, which scares the panties right off most good honest COBOL programmers. Please forward this elucidation to comp.lang.fortran next time you're passing. Regards, ... So COBOL programmers fear honest floating point.... ;> -- Keith H. Bierman |*My thoughts are my own. !! kbierman@Eng.Sun.COM It's Not My Fault | MTS --Only my work belongs to Sun* khb@chiba.Eng.Sun.COM I Voted for Bill & | Advanced Languages/Floating Point Group (415 336 2648) Opus "When the going gets Weird .. the Weird turn PRO"