Issue 5640: anomaly in that unsigned integers are mapped to signed integers
Issue 5857: COBOL Language Mapping Section: 1.2.1.2
Issue 5640: anomaly in that unsigned integers are mapped to signed integers (cobol-rtf)
Click here for this issue's archive.
Nature: Uncategorized Issue
Severity:
Summary: While skimming the CORBA->COBOL mapping of IDL constructs, I noticed an
anomaly in that unsigned integers are mapped to signed integers:
> IDL Name
> COBOL Representation Integer Range COBOL Typedef
>
> unsigned short
> PIC S9(05) BINARY 0 to 2^16 CORBA-unsigned-short
> unsigned long
> PIC S9(10) BINARY 0 to 2^32 CORBA-unsigned-long
> unsigned long long
> PIC S9(18) BINARY 18 numerics CORBA-unsigned-longlong
> enum
> PIC S9(10) BINARY CORBA-enum
>
> 1.4.1 Basic Integer Types
>
> The mapping of long long,
> and unsigned long long
> was made to PIC S9(18)
> and PIC 9(18).
Presumably the statement of section 1.4.1 is the correct one?
Resolution:
Revised Text:
Actions taken:
September 3, 2002: received issue
Discussion:
Issue 5857: COBOL Language Mapping Section: 1.2.1.2 (cobol-rtf)
Click here for this issue's archive.
Nature: Revision
Severity: Minor
Summary: "4. If the identifier is greater than 30 characters, then truncate right to 30 characters."
After this step there might be a hyphen at the end of the identifier. This should be truncated, too.
Resolution:
Revised Text:
Actions taken:
February 12, 2003: received issue
Discussion: