Skip to main content

What is the maximum PIC size for a COMP-3 field?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Defining a field with  S9(31) COMP-3 returns the message :

* 213-S*****************************                                         **

**    Item is longer than USAGE allows or contains too many numeric positions

Resolution:

According to the ANSI standard, numbers are limited to 18 significant decimal digits.  All significant digits must be within 18 digits of the decimal point.

Old KB# 2061

0 replies

Be the first to reply!