ILE COBOL Programmer's Guide

Separate Sign Position (For Portability)

If you plan to port your program or data to a different machine, you might want to code the sign as a separate digit in storage:

05  PRICE             PIC S99V9   SIGN IS LEADING, SEPARATE.

This ensures that the convention your machine uses for storing a non-separate sign will not cause strange results when you use a machine that uses a different convention.


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