ILE COBOL Programmer's Guide


Sign Representation and Processing

Sign representation affects the processing and interaction of your numeric data.

Given X'sd', where s is the sign representation and d represents the digit, the valid sign representations for external decimal (USAGE DISPLAY) without the SIGN IS SEPARATE clause) are :

Positive: A, C, E, and F.

Negative: B and D.

Signs generated internally are F for positive and unsigned, and D for negative.

Given X'ds', where d represents the digit and s is the sign representation, the valid sign representations for internal decimal (USAGE PACKED-DECIMAL) ILE COBOL data are:

Positive: A, C, E, and F.

Negative: B and D.

Signs generated internally are F for positive and unsigned, and D for negative.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]