For Programmers: Free Programming Magazines  


Home > Archive > Cobol > August 2005 > Re: COMP-? / Extension USAGEs









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: COMP-? / Extension USAGEs
William M. Klein

2005-08-09, 4:59 pm

You are right and I was wrong. (As someone who does NOT use OS/400, I always
get those two ). Thanks for the correction.

--
Bill Klein
wmklein <at> ix.netcom.com
"Vincent Danion" <vfollowedbyname@scort.com> wrote in message
news:3lr45jF13vq4nU1@individual.net...
> William M. Klein a écrit :
>
>
> Are you sure about that ?
>
> I read in "ILE COBOL for AS/400 Programmer's Guide, Version 4", page 151:
>
> "COMP-4 is synonymous with BINARY, and COMP and COMP-3 are synonymous
> with PACKED-DECIMAL."
>
> My understanding (regarding IBM compilers) is that:
> - COMP-3 always means PACKED-DECIMAL, either on mainframe or on OS/400.
> - COMP-4 always means BINARY, either on mainframe or on OS/400.
> - However COMP means BINARY on mainframe, but PACKED-DECIMAL on OS/400.
>
> Am I right or not ?
>
> --
> Vincent Danion



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com